diff --git a/README.md b/README.md index 02b265060d7..ee1bd5a0512 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ locally: ```shell script docker build -t oryd/sdk:latest . -docker run --mount type=bind,source="$(pwd)",target=/project --name sdk --user "$(id -u):$(id -g)" -it oryd/sdk:latest /bin/sh +docker run --mount type=bind,source="$(pwd)",target=/project --name sdk -it oryd/sdk:latest /bin/bash ``` ### Debugging Failing Tests on CI diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAccountExperienceThemeVariablesTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAccountExperienceThemeVariablesTests.cs new file mode 100644 index 00000000000..16d801e0fda --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientAccountExperienceThemeVariablesTests.cs @@ -0,0 +1,877 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Ory.Client.Model; +using Ory.Client.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Ory.Client.Test.Model +{ + /// + /// Class for testing ClientAccountExperienceThemeVariables + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ClientAccountExperienceThemeVariablesTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ClientAccountExperienceThemeVariables + //private ClientAccountExperienceThemeVariables instance; + + public ClientAccountExperienceThemeVariablesTests() + { + // TODO uncomment below to create an instance of ClientAccountExperienceThemeVariables + //instance = new ClientAccountExperienceThemeVariables(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ClientAccountExperienceThemeVariables + /// + [Fact] + public void ClientAccountExperienceThemeVariablesInstanceTest() + { + // TODO uncomment below to test "IsType" ClientAccountExperienceThemeVariables + //Assert.IsType(instance); + } + + /// + /// Test the property 'Accent' + /// + [Fact] + public void AccentTest() + { + // TODO unit test for the property 'Accent' + } + + /// + /// Test the property 'BgDefault' + /// + [Fact] + public void BgDefaultTest() + { + // TODO unit test for the property 'BgDefault' + } + + /// + /// Test the property 'BorderRadiusBranding' + /// + [Fact] + public void BorderRadiusBrandingTest() + { + // TODO unit test for the property 'BorderRadiusBranding' + } + + /// + /// Test the property 'BorderRadiusButtons' + /// + [Fact] + public void BorderRadiusButtonsTest() + { + // TODO unit test for the property 'BorderRadiusButtons' + } + + /// + /// Test the property 'BorderRadiusCards' + /// + [Fact] + public void BorderRadiusCardsTest() + { + // TODO unit test for the property 'BorderRadiusCards' + } + + /// + /// Test the property 'BorderRadiusForms' + /// + [Fact] + public void BorderRadiusFormsTest() + { + // TODO unit test for the property 'BorderRadiusForms' + } + + /// + /// Test the property 'BorderRadiusGeneral' + /// + [Fact] + public void BorderRadiusGeneralTest() + { + // TODO unit test for the property 'BorderRadiusGeneral' + } + + /// + /// Test the property 'ButtonPrimaryBgDefault' + /// + [Fact] + public void ButtonPrimaryBgDefaultTest() + { + // TODO unit test for the property 'ButtonPrimaryBgDefault' + } + + /// + /// Test the property 'ButtonPrimaryBgDisabled' + /// + [Fact] + public void ButtonPrimaryBgDisabledTest() + { + // TODO unit test for the property 'ButtonPrimaryBgDisabled' + } + + /// + /// Test the property 'ButtonPrimaryBgHover' + /// + [Fact] + public void ButtonPrimaryBgHoverTest() + { + // TODO unit test for the property 'ButtonPrimaryBgHover' + } + + /// + /// Test the property 'ButtonPrimaryBorderDefault' + /// + [Fact] + public void ButtonPrimaryBorderDefaultTest() + { + // TODO unit test for the property 'ButtonPrimaryBorderDefault' + } + + /// + /// Test the property 'ButtonPrimaryBorderDisabled' + /// + [Fact] + public void ButtonPrimaryBorderDisabledTest() + { + // TODO unit test for the property 'ButtonPrimaryBorderDisabled' + } + + /// + /// Test the property 'ButtonPrimaryBorderHover' + /// + [Fact] + public void ButtonPrimaryBorderHoverTest() + { + // TODO unit test for the property 'ButtonPrimaryBorderHover' + } + + /// + /// Test the property 'ButtonPrimaryFgDefault' + /// + [Fact] + public void ButtonPrimaryFgDefaultTest() + { + // TODO unit test for the property 'ButtonPrimaryFgDefault' + } + + /// + /// Test the property 'ButtonPrimaryFgDisabled' + /// + [Fact] + public void ButtonPrimaryFgDisabledTest() + { + // TODO unit test for the property 'ButtonPrimaryFgDisabled' + } + + /// + /// Test the property 'ButtonPrimaryFgHover' + /// + [Fact] + public void ButtonPrimaryFgHoverTest() + { + // TODO unit test for the property 'ButtonPrimaryFgHover' + } + + /// + /// Test the property 'ButtonSecondaryBgDefault' + /// + [Fact] + public void ButtonSecondaryBgDefaultTest() + { + // TODO unit test for the property 'ButtonSecondaryBgDefault' + } + + /// + /// Test the property 'ButtonSecondaryBgDisabled' + /// + [Fact] + public void ButtonSecondaryBgDisabledTest() + { + // TODO unit test for the property 'ButtonSecondaryBgDisabled' + } + + /// + /// Test the property 'ButtonSecondaryBgHover' + /// + [Fact] + public void ButtonSecondaryBgHoverTest() + { + // TODO unit test for the property 'ButtonSecondaryBgHover' + } + + /// + /// Test the property 'ButtonSecondaryBorderDefault' + /// + [Fact] + public void ButtonSecondaryBorderDefaultTest() + { + // TODO unit test for the property 'ButtonSecondaryBorderDefault' + } + + /// + /// Test the property 'ButtonSecondaryBorderDisabled' + /// + [Fact] + public void ButtonSecondaryBorderDisabledTest() + { + // TODO unit test for the property 'ButtonSecondaryBorderDisabled' + } + + /// + /// Test the property 'ButtonSecondaryBorderHover' + /// + [Fact] + public void ButtonSecondaryBorderHoverTest() + { + // TODO unit test for the property 'ButtonSecondaryBorderHover' + } + + /// + /// Test the property 'ButtonSecondaryFgDefault' + /// + [Fact] + public void ButtonSecondaryFgDefaultTest() + { + // TODO unit test for the property 'ButtonSecondaryFgDefault' + } + + /// + /// Test the property 'ButtonSecondaryFgDisabled' + /// + [Fact] + public void ButtonSecondaryFgDisabledTest() + { + // TODO unit test for the property 'ButtonSecondaryFgDisabled' + } + + /// + /// Test the property 'ButtonSecondaryFgHover' + /// + [Fact] + public void ButtonSecondaryFgHoverTest() + { + // TODO unit test for the property 'ButtonSecondaryFgHover' + } + + /// + /// Test the property 'ButtonSocialBgDefault' + /// + [Fact] + public void ButtonSocialBgDefaultTest() + { + // TODO unit test for the property 'ButtonSocialBgDefault' + } + + /// + /// Test the property 'ButtonSocialBgDisabled' + /// + [Fact] + public void ButtonSocialBgDisabledTest() + { + // TODO unit test for the property 'ButtonSocialBgDisabled' + } + + /// + /// Test the property 'ButtonSocialBgHover' + /// + [Fact] + public void ButtonSocialBgHoverTest() + { + // TODO unit test for the property 'ButtonSocialBgHover' + } + + /// + /// Test the property 'ButtonSocialBgProvider' + /// + [Fact] + public void ButtonSocialBgProviderTest() + { + // TODO unit test for the property 'ButtonSocialBgProvider' + } + + /// + /// Test the property 'ButtonSocialBorderDefault' + /// + [Fact] + public void ButtonSocialBorderDefaultTest() + { + // TODO unit test for the property 'ButtonSocialBorderDefault' + } + + /// + /// Test the property 'ButtonSocialBorderDisabled' + /// + [Fact] + public void ButtonSocialBorderDisabledTest() + { + // TODO unit test for the property 'ButtonSocialBorderDisabled' + } + + /// + /// Test the property 'ButtonSocialBorderHover' + /// + [Fact] + public void ButtonSocialBorderHoverTest() + { + // TODO unit test for the property 'ButtonSocialBorderHover' + } + + /// + /// Test the property 'ButtonSocialBorderProvider' + /// + [Fact] + public void ButtonSocialBorderProviderTest() + { + // TODO unit test for the property 'ButtonSocialBorderProvider' + } + + /// + /// Test the property 'ButtonSocialFgDefault' + /// + [Fact] + public void ButtonSocialFgDefaultTest() + { + // TODO unit test for the property 'ButtonSocialFgDefault' + } + + /// + /// Test the property 'ButtonSocialFgDisabled' + /// + [Fact] + public void ButtonSocialFgDisabledTest() + { + // TODO unit test for the property 'ButtonSocialFgDisabled' + } + + /// + /// Test the property 'ButtonSocialFgHover' + /// + [Fact] + public void ButtonSocialFgHoverTest() + { + // TODO unit test for the property 'ButtonSocialFgHover' + } + + /// + /// Test the property 'ButtonSocialFgProvider' + /// + [Fact] + public void ButtonSocialFgProviderTest() + { + // TODO unit test for the property 'ButtonSocialFgProvider' + } + + /// + /// Test the property 'CreatedAt' + /// + [Fact] + public void CreatedAtTest() + { + // TODO unit test for the property 'CreatedAt' + } + + /// + /// Test the property 'DialogBgDefault' + /// + [Fact] + public void DialogBgDefaultTest() + { + // TODO unit test for the property 'DialogBgDefault' + } + + /// + /// Test the property 'DialogBgSubtle' + /// + [Fact] + public void DialogBgSubtleTest() + { + // TODO unit test for the property 'DialogBgSubtle' + } + + /// + /// Test the property 'DialogBorderDefault' + /// + [Fact] + public void DialogBorderDefaultTest() + { + // TODO unit test for the property 'DialogBorderDefault' + } + + /// + /// Test the property 'DialogFgDefault' + /// + [Fact] + public void DialogFgDefaultTest() + { + // TODO unit test for the property 'DialogFgDefault' + } + + /// + /// Test the property 'DialogFgMute' + /// + [Fact] + public void DialogFgMuteTest() + { + // TODO unit test for the property 'DialogFgMute' + } + + /// + /// Test the property 'DialogFgSubtle' + /// + [Fact] + public void DialogFgSubtleTest() + { + // TODO unit test for the property 'DialogFgSubtle' + } + + /// + /// Test the property 'FormsBgDefault' + /// + [Fact] + public void FormsBgDefaultTest() + { + // TODO unit test for the property 'FormsBgDefault' + } + + /// + /// Test the property 'FormsBgDisabled' + /// + [Fact] + public void FormsBgDisabledTest() + { + // TODO unit test for the property 'FormsBgDisabled' + } + + /// + /// Test the property 'FormsBgHover' + /// + [Fact] + public void FormsBgHoverTest() + { + // TODO unit test for the property 'FormsBgHover' + } + + /// + /// Test the property 'FormsBorderDefault' + /// + [Fact] + public void FormsBorderDefaultTest() + { + // TODO unit test for the property 'FormsBorderDefault' + } + + /// + /// Test the property 'FormsBorderDisabled' + /// + [Fact] + public void FormsBorderDisabledTest() + { + // TODO unit test for the property 'FormsBorderDisabled' + } + + /// + /// Test the property 'FormsBorderError' + /// + [Fact] + public void FormsBorderErrorTest() + { + // TODO unit test for the property 'FormsBorderError' + } + + /// + /// Test the property 'FormsBorderFocus' + /// + [Fact] + public void FormsBorderFocusTest() + { + // TODO unit test for the property 'FormsBorderFocus' + } + + /// + /// Test the property 'FormsBorderHover' + /// + [Fact] + public void FormsBorderHoverTest() + { + // TODO unit test for the property 'FormsBorderHover' + } + + /// + /// Test the property 'FormsBorderSuccess' + /// + [Fact] + public void FormsBorderSuccessTest() + { + // TODO unit test for the property 'FormsBorderSuccess' + } + + /// + /// Test the property 'FormsBorderWarn' + /// + [Fact] + public void FormsBorderWarnTest() + { + // TODO unit test for the property 'FormsBorderWarn' + } + + /// + /// Test the property 'FormsCheckboxBgChecked' + /// + [Fact] + public void FormsCheckboxBgCheckedTest() + { + // TODO unit test for the property 'FormsCheckboxBgChecked' + } + + /// + /// Test the property 'FormsCheckboxBgDefault' + /// + [Fact] + public void FormsCheckboxBgDefaultTest() + { + // TODO unit test for the property 'FormsCheckboxBgDefault' + } + + /// + /// Test the property 'FormsCheckboxBorderChecked' + /// + [Fact] + public void FormsCheckboxBorderCheckedTest() + { + // TODO unit test for the property 'FormsCheckboxBorderChecked' + } + + /// + /// Test the property 'FormsCheckboxBorderDefault' + /// + [Fact] + public void FormsCheckboxBorderDefaultTest() + { + // TODO unit test for the property 'FormsCheckboxBorderDefault' + } + + /// + /// Test the property 'FormsCheckboxFgChecked' + /// + [Fact] + public void FormsCheckboxFgCheckedTest() + { + // TODO unit test for the property 'FormsCheckboxFgChecked' + } + + /// + /// Test the property 'FormsCheckboxFgDefault' + /// + [Fact] + public void FormsCheckboxFgDefaultTest() + { + // TODO unit test for the property 'FormsCheckboxFgDefault' + } + + /// + /// Test the property 'FormsFgDefault' + /// + [Fact] + public void FormsFgDefaultTest() + { + // TODO unit test for the property 'FormsFgDefault' + } + + /// + /// Test the property 'FormsFgError' + /// + [Fact] + public void FormsFgErrorTest() + { + // TODO unit test for the property 'FormsFgError' + } + + /// + /// Test the property 'FormsFgMute' + /// + [Fact] + public void FormsFgMuteTest() + { + // TODO unit test for the property 'FormsFgMute' + } + + /// + /// Test the property 'FormsFgSubtle' + /// + [Fact] + public void FormsFgSubtleTest() + { + // TODO unit test for the property 'FormsFgSubtle' + } + + /// + /// Test the property 'FormsFgSuccess' + /// + [Fact] + public void FormsFgSuccessTest() + { + // TODO unit test for the property 'FormsFgSuccess' + } + + /// + /// Test the property 'FormsFgWarn' + /// + [Fact] + public void FormsFgWarnTest() + { + // TODO unit test for the property 'FormsFgWarn' + } + + /// + /// Test the property 'FormsRadioBgChecked' + /// + [Fact] + public void FormsRadioBgCheckedTest() + { + // TODO unit test for the property 'FormsRadioBgChecked' + } + + /// + /// Test the property 'FormsRadioBgDefault' + /// + [Fact] + public void FormsRadioBgDefaultTest() + { + // TODO unit test for the property 'FormsRadioBgDefault' + } + + /// + /// Test the property 'FormsRadioBorderChecked' + /// + [Fact] + public void FormsRadioBorderCheckedTest() + { + // TODO unit test for the property 'FormsRadioBorderChecked' + } + + /// + /// Test the property 'FormsRadioBorderDefault' + /// + [Fact] + public void FormsRadioBorderDefaultTest() + { + // TODO unit test for the property 'FormsRadioBorderDefault' + } + + /// + /// Test the property 'FormsRadioFgChecked' + /// + [Fact] + public void FormsRadioFgCheckedTest() + { + // TODO unit test for the property 'FormsRadioFgChecked' + } + + /// + /// Test the property 'FormsRadioFgDefault' + /// + [Fact] + public void FormsRadioFgDefaultTest() + { + // TODO unit test for the property 'FormsRadioFgDefault' + } + + /// + /// Test the property 'FormsToggleBgChecked' + /// + [Fact] + public void FormsToggleBgCheckedTest() + { + // TODO unit test for the property 'FormsToggleBgChecked' + } + + /// + /// Test the property 'FormsToggleBgDefault' + /// + [Fact] + public void FormsToggleBgDefaultTest() + { + // TODO unit test for the property 'FormsToggleBgDefault' + } + + /// + /// Test the property 'FormsToggleBorderChecked' + /// + [Fact] + public void FormsToggleBorderCheckedTest() + { + // TODO unit test for the property 'FormsToggleBorderChecked' + } + + /// + /// Test the property 'FormsToggleBorderDefault' + /// + [Fact] + public void FormsToggleBorderDefaultTest() + { + // TODO unit test for the property 'FormsToggleBorderDefault' + } + + /// + /// Test the property 'FormsToggleFgChecked' + /// + [Fact] + public void FormsToggleFgCheckedTest() + { + // TODO unit test for the property 'FormsToggleFgChecked' + } + + /// + /// Test the property 'FormsToggleFgDefault' + /// + [Fact] + public void FormsToggleFgDefaultTest() + { + // TODO unit test for the property 'FormsToggleFgDefault' + } + + /// + /// Test the property 'Id' + /// + [Fact] + public void IdTest() + { + // TODO unit test for the property 'Id' + } + + /// + /// Test the property 'LinksLinkDefault' + /// + [Fact] + public void LinksLinkDefaultTest() + { + // TODO unit test for the property 'LinksLinkDefault' + } + + /// + /// Test the property 'LinksLinkDisabled' + /// + [Fact] + public void LinksLinkDisabledTest() + { + // TODO unit test for the property 'LinksLinkDisabled' + } + + /// + /// Test the property 'LinksLinkHover' + /// + [Fact] + public void LinksLinkHoverTest() + { + // TODO unit test for the property 'LinksLinkHover' + } + + /// + /// Test the property 'LinksLinkInvertedDefault' + /// + [Fact] + public void LinksLinkInvertedDefaultTest() + { + // TODO unit test for the property 'LinksLinkInvertedDefault' + } + + /// + /// Test the property 'LinksLinkInvertedHover' + /// + [Fact] + public void LinksLinkInvertedHoverTest() + { + // TODO unit test for the property 'LinksLinkInvertedHover' + } + + /// + /// Test the property 'LinksLinkMuteDefault' + /// + [Fact] + public void LinksLinkMuteDefaultTest() + { + // TODO unit test for the property 'LinksLinkMuteDefault' + } + + /// + /// Test the property 'LinksLinkMuteHover' + /// + [Fact] + public void LinksLinkMuteHoverTest() + { + // TODO unit test for the property 'LinksLinkMuteHover' + } + + /// + /// Test the property 'SyntaxSyntax' + /// + [Fact] + public void SyntaxSyntaxTest() + { + // TODO unit test for the property 'SyntaxSyntax' + } + + /// + /// Test the property 'SyntaxSyntaxKey' + /// + [Fact] + public void SyntaxSyntaxKeyTest() + { + // TODO unit test for the property 'SyntaxSyntaxKey' + } + + /// + /// Test the property 'SyntaxSyntaxNum' + /// + [Fact] + public void SyntaxSyntaxNumTest() + { + // TODO unit test for the property 'SyntaxSyntaxNum' + } + + /// + /// Test the property 'SyntaxSyntaxValue' + /// + [Fact] + public void SyntaxSyntaxValueTest() + { + // TODO unit test for the property 'SyntaxSyntaxValue' + } + + /// + /// Test the property 'UpdatedAt' + /// + [Fact] + public void UpdatedAtTest() + { + // TODO unit test for the property 'UpdatedAt' + } + } +} diff --git a/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetActiveProjectInConsoleBodyTests.cs b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetActiveProjectInConsoleBodyTests.cs new file mode 100644 index 00000000000..9e52eb7a0b0 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client.Test/Model/ClientSetActiveProjectInConsoleBodyTests.cs @@ -0,0 +1,67 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Xunit; + +using System; +using System.Linq; +using System.IO; +using System.Collections.Generic; +using Ory.Client.Model; +using Ory.Client.Client; +using System.Reflection; +using Newtonsoft.Json; + +namespace Ory.Client.Test.Model +{ + /// + /// Class for testing ClientSetActiveProjectInConsoleBody + /// + /// + /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). + /// Please update the test case below to test the model. + /// + public class ClientSetActiveProjectInConsoleBodyTests : IDisposable + { + // TODO uncomment below to declare an instance variable for ClientSetActiveProjectInConsoleBody + //private ClientSetActiveProjectInConsoleBody instance; + + public ClientSetActiveProjectInConsoleBodyTests() + { + // TODO uncomment below to create an instance of ClientSetActiveProjectInConsoleBody + //instance = new ClientSetActiveProjectInConsoleBody(); + } + + public void Dispose() + { + // Cleanup when everything is done. + } + + /// + /// Test an instance of ClientSetActiveProjectInConsoleBody + /// + [Fact] + public void ClientSetActiveProjectInConsoleBodyInstanceTest() + { + // TODO uncomment below to test "IsType" ClientSetActiveProjectInConsoleBody + //Assert.IsType(instance); + } + + /// + /// Test the property 'ProjectId' + /// + [Fact] + public void ProjectIdTest() + { + // TODO unit test for the property 'ProjectId' + } + } +} diff --git a/clients/client/dotnet/src/Ory.Client/Client/ApiClient.cs b/clients/client/dotnet/src/Ory.Client/Client/ApiClient.cs new file mode 100644 index 00000000000..3a81de6fa82 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Client/ApiClient.cs @@ -0,0 +1,831 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Globalization; +using System.IO; +using System.Linq; +using System.Net; +using System.Reflection; +using System.Runtime.Serialization; +using System.Runtime.Serialization.Formatters; +using System.Text; +using System.Threading; +using System.Text.RegularExpressions; +using System.Threading.Tasks; +using Newtonsoft.Json; +using Newtonsoft.Json.Serialization; +using RestSharp; +using RestSharp.Serializers; +using RestSharpMethod = RestSharp.Method; +using FileIO = System.IO.File; +using Polly; +using Ory.Client.Client.Auth; +using Ory.Client.Model; + +namespace Ory.Client.Client +{ + /// + /// Allows RestSharp to Serialize/Deserialize JSON using our custom logic, but only when ContentType is JSON. + /// + internal class CustomJsonCodec : IRestSerializer, ISerializer, IDeserializer + { + private readonly IReadableConfiguration _configuration; + private readonly JsonSerializerSettings _serializerSettings = new JsonSerializerSettings + { + // OpenAPI generated types generally hide default constructors. + ConstructorHandling = ConstructorHandling.AllowNonPublicDefaultConstructor, + ContractResolver = new DefaultContractResolver + { + NamingStrategy = new CamelCaseNamingStrategy + { + OverrideSpecifiedNames = false + } + } + }; + + public CustomJsonCodec(IReadableConfiguration configuration) + { + _configuration = configuration; + } + + public CustomJsonCodec(JsonSerializerSettings serializerSettings, IReadableConfiguration configuration) + { + _serializerSettings = serializerSettings; + _configuration = configuration; + } + + /// + /// Serialize the object into a JSON string. + /// + /// Object to be serialized. + /// A JSON string. + public string Serialize(object obj) + { + if (obj != null && obj is AbstractOpenAPISchema) + { + // the object to be serialized is an oneOf/anyOf schema + return ((AbstractOpenAPISchema)obj).ToJson(); + } + else + { + return JsonConvert.SerializeObject(obj, _serializerSettings); + } + } + + public string Serialize(Parameter bodyParameter) => Serialize(bodyParameter.Value); + + public T Deserialize(RestResponse response) + { + var result = (T)Deserialize(response, typeof(T)); + return result; + } + + /// + /// Deserialize the JSON string into a proper object. + /// + /// The HTTP response. + /// Object type. + /// Object representation of the JSON string. + internal object Deserialize(RestResponse response, Type type) + { + if (type == typeof(byte[])) // return byte array + { + return response.RawBytes; + } + + // TODO: ? if (type.IsAssignableFrom(typeof(Stream))) + if (type == typeof(Stream)) + { + var bytes = response.RawBytes; + if (response.Headers != null) + { + var filePath = string.IsNullOrEmpty(_configuration.TempFolderPath) + ? Path.GetTempPath() + : _configuration.TempFolderPath; + var regex = new Regex(@"Content-Disposition=.*filename=['""]?([^'""\s]+)['""]?$"); + foreach (var header in response.Headers) + { + var match = regex.Match(header.ToString()); + if (match.Success) + { + string fileName = filePath + ClientUtils.SanitizeFilename(match.Groups[1].Value.Replace("\"", "").Replace("'", "")); + FileIO.WriteAllBytes(fileName, bytes); + return new FileStream(fileName, FileMode.Open); + } + } + } + var stream = new MemoryStream(bytes); + return stream; + } + + if (type.Name.StartsWith("System.Nullable`1[[System.DateTime")) // return a datetime object + { + return DateTime.Parse(response.Content, null, DateTimeStyles.RoundtripKind); + } + + if (type == typeof(string) || type.Name.StartsWith("System.Nullable")) // return primitive type + { + return Convert.ChangeType(response.Content, type); + } + + // at this point, it must be a model (json) + try + { + return JsonConvert.DeserializeObject(response.Content, type, _serializerSettings); + } + catch (Exception e) + { + throw new ApiException(500, e.Message); + } + } + + public ISerializer Serializer => this; + public IDeserializer Deserializer => this; + + public string[] AcceptedContentTypes => ContentType.JsonAccept; + + public SupportsContentType SupportsContentType => contentType => + contentType.Value.EndsWith("json", StringComparison.InvariantCultureIgnoreCase) || + contentType.Value.EndsWith("javascript", StringComparison.InvariantCultureIgnoreCase); + + public ContentType ContentType { get; set; } = ContentType.Json; + + public DataFormat DataFormat => DataFormat.Json; + } + /// + /// Provides a default implementation of an Api client (both synchronous and asynchronous implementations), + /// encapsulating general REST accessor use cases. + /// + public partial class ApiClient : ISynchronousClient, IAsynchronousClient + { + private readonly string _baseUrl; + + /// + /// Specifies the settings on a object. + /// These settings can be adjusted to accommodate custom serialization rules. + /// + public JsonSerializerSettings SerializerSettings { get; set; } = new JsonSerializerSettings + { + // OpenAPI generated types generally hide default constructors. + ConstructorHandling = ConstructorHandling.AllowNonPublicDefaultConstructor, + ContractResolver = new DefaultContractResolver + { + NamingStrategy = new CamelCaseNamingStrategy + { + OverrideSpecifiedNames = false + } + } + }; + + /// + /// Allows for extending request processing for generated code. + /// + /// The RestSharp request object + partial void InterceptRequest(RestRequest request); + + /// + /// Allows for extending response processing for generated code. + /// + /// The RestSharp request object + /// The RestSharp response object + partial void InterceptResponse(RestRequest request, RestResponse response); + + /// + /// Initializes a new instance of the , defaulting to the global configurations' base url. + /// + public ApiClient() + { + _baseUrl = GlobalConfiguration.Instance.BasePath; + } + + /// + /// Initializes a new instance of the + /// + /// The target service's base path in URL format. + /// + public ApiClient(string basePath) + { + if (string.IsNullOrEmpty(basePath)) + throw new ArgumentException("basePath cannot be empty"); + + _baseUrl = basePath; + } + + /// + /// Constructs the RestSharp version of an http method + /// + /// Swagger Client Custom HttpMethod + /// RestSharp's HttpMethod instance. + /// + private RestSharpMethod Method(HttpMethod method) + { + RestSharpMethod other; + switch (method) + { + case HttpMethod.Get: + other = RestSharpMethod.Get; + break; + case HttpMethod.Post: + other = RestSharpMethod.Post; + break; + case HttpMethod.Put: + other = RestSharpMethod.Put; + break; + case HttpMethod.Delete: + other = RestSharpMethod.Delete; + break; + case HttpMethod.Head: + other = RestSharpMethod.Head; + break; + case HttpMethod.Options: + other = RestSharpMethod.Options; + break; + case HttpMethod.Patch: + other = RestSharpMethod.Patch; + break; + default: + throw new ArgumentOutOfRangeException("method", method, null); + } + + return other; + } + + /// + /// Provides all logic for constructing a new RestSharp . + /// At this point, all information for querying the service is known. + /// Here, it is simply mapped into the RestSharp request. + /// + /// The http verb. + /// The target path (or resource). + /// The additional request options. + /// A per-request configuration object. + /// It is assumed that any merge with GlobalConfiguration has been done before calling this method. + /// [private] A new RestRequest instance. + /// + private RestRequest NewRequest( + HttpMethod method, + string path, + RequestOptions options, + IReadableConfiguration configuration) + { + if (path == null) throw new ArgumentNullException("path"); + if (options == null) throw new ArgumentNullException("options"); + if (configuration == null) throw new ArgumentNullException("configuration"); + + RestRequest request = new RestRequest(path, Method(method)); + + if (options.PathParameters != null) + { + foreach (var pathParam in options.PathParameters) + { + request.AddParameter(pathParam.Key, pathParam.Value, ParameterType.UrlSegment); + } + } + + if (options.QueryParameters != null) + { + foreach (var queryParam in options.QueryParameters) + { + foreach (var value in queryParam.Value) + { + request.AddQueryParameter(queryParam.Key, value); + } + } + } + + if (configuration.DefaultHeaders != null) + { + foreach (var headerParam in configuration.DefaultHeaders) + { + request.AddHeader(headerParam.Key, headerParam.Value); + } + } + + if (options.HeaderParameters != null) + { + foreach (var headerParam in options.HeaderParameters) + { + foreach (var value in headerParam.Value) + { + request.AddHeader(headerParam.Key, value); + } + } + } + + if (options.FormParameters != null) + { + foreach (var formParam in options.FormParameters) + { + request.AddParameter(formParam.Key, formParam.Value); + } + } + + if (options.Data != null) + { + if (options.Data is Stream stream) + { + var contentType = "application/octet-stream"; + if (options.HeaderParameters != null) + { + var contentTypes = options.HeaderParameters["Content-Type"]; + contentType = contentTypes[0]; + } + + var bytes = ClientUtils.ReadAsBytes(stream); + request.AddParameter(contentType, bytes, ParameterType.RequestBody); + } + else + { + if (options.HeaderParameters != null) + { + var contentTypes = options.HeaderParameters["Content-Type"]; + if (contentTypes == null || contentTypes.Any(header => header.Contains("application/json"))) + { + request.RequestFormat = DataFormat.Json; + } + else + { + // TODO: Generated client user should add additional handlers. RestSharp only supports XML and JSON, with XML as default. + } + } + else + { + // Here, we'll assume JSON APIs are more common. XML can be forced by adding produces/consumes to openapi spec explicitly. + request.RequestFormat = DataFormat.Json; + } + + request.AddJsonBody(options.Data); + } + } + + if (options.FileParameters != null) + { + foreach (var fileParam in options.FileParameters) + { + foreach (var file in fileParam.Value) + { + var bytes = ClientUtils.ReadAsBytes(file); + var fileStream = file as FileStream; + if (fileStream != null) + request.AddFile(fileParam.Key, bytes, Path.GetFileName(fileStream.Name)); + else + request.AddFile(fileParam.Key, bytes, "no_file_name_provided"); + } + } + } + + return request; + } + + /// + /// Transforms a RestResponse instance into a new ApiResponse instance. + /// At this point, we have a concrete http response from the service. + /// Here, it is simply mapped into the [public] ApiResponse object. + /// + /// The RestSharp response object + /// A new ApiResponse instance. + private ApiResponse ToApiResponse(RestResponse response) + { + T result = response.Data; + string rawContent = response.Content; + + var transformed = new ApiResponse(response.StatusCode, new Multimap(), result, rawContent) + { + ErrorText = response.ErrorMessage, + Cookies = new List() + }; + + if (response.Headers != null) + { + foreach (var responseHeader in response.Headers) + { + transformed.Headers.Add(responseHeader.Name, ClientUtils.ParameterToString(responseHeader.Value)); + } + } + + if (response.ContentHeaders != null) + { + foreach (var responseHeader in response.ContentHeaders) + { + transformed.Headers.Add(responseHeader.Name, ClientUtils.ParameterToString(responseHeader.Value)); + } + } + + if (response.Cookies != null) + { + foreach (var responseCookies in response.Cookies.Cast()) + { + transformed.Cookies.Add( + new Cookie( + responseCookies.Name, + responseCookies.Value, + responseCookies.Path, + responseCookies.Domain) + ); + } + } + + return transformed; + } + + /// + /// Executes the HTTP request for the current service. + /// Based on functions received it can be async or sync. + /// + /// Local function that executes http request and returns http response. + /// Local function to specify options for the service. + /// The RestSharp request object + /// The RestSharp options object + /// A per-request configuration object. + /// It is assumed that any merge with GlobalConfiguration has been done before calling this method. + /// A new ApiResponse instance. + private async Task> ExecClientAsync(Func>> getResponse, Action setOptions, RestRequest request, RequestOptions options, IReadableConfiguration configuration) + { + var baseUrl = configuration.GetOperationServerUrl(options.Operation, options.OperationIndex) ?? _baseUrl; + var clientOptions = new RestClientOptions(baseUrl) + { + ClientCertificates = configuration.ClientCertificates, + MaxTimeout = configuration.Timeout, + Proxy = configuration.Proxy, + UserAgent = configuration.UserAgent, + UseDefaultCredentials = configuration.UseDefaultCredentials, + RemoteCertificateValidationCallback = configuration.RemoteCertificateValidationCallback + }; + setOptions(clientOptions); + + if (!string.IsNullOrEmpty(configuration.OAuthTokenUrl) && + !string.IsNullOrEmpty(configuration.OAuthClientId) && + !string.IsNullOrEmpty(configuration.OAuthClientSecret) && + configuration.OAuthFlow != null) + { + clientOptions.Authenticator = new OAuthAuthenticator( + configuration.OAuthTokenUrl, + configuration.OAuthClientId, + configuration.OAuthClientSecret, + configuration.OAuthScope, + configuration.OAuthFlow, + SerializerSettings, + configuration); + } + + using (RestClient client = new RestClient(clientOptions, + configureSerialization: serializerConfig => serializerConfig.UseSerializer(() => new CustomJsonCodec(SerializerSettings, configuration)))) + { + InterceptRequest(request); + + RestResponse response = await getResponse(client); + + // if the response type is oneOf/anyOf, call FromJSON to deserialize the data + if (typeof(AbstractOpenAPISchema).IsAssignableFrom(typeof(T))) + { + try + { + response.Data = (T)typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content }); + } + catch (Exception ex) + { + throw ex.InnerException != null ? ex.InnerException : ex; + } + } + else if (typeof(T).Name == "Stream") // for binary response + { + response.Data = (T)(object)new MemoryStream(response.RawBytes); + } + else if (typeof(T).Name == "Byte[]") // for byte response + { + response.Data = (T)(object)response.RawBytes; + } + else if (typeof(T).Name == "String") // for string response + { + response.Data = (T)(object)response.Content; + } + + InterceptResponse(request, response); + + var result = ToApiResponse(response); + if (response.ErrorMessage != null) + { + result.ErrorText = response.ErrorMessage; + } + + if (response.Cookies != null && response.Cookies.Count > 0) + { + if (result.Cookies == null) result.Cookies = new List(); + foreach (var restResponseCookie in response.Cookies.Cast()) + { + var cookie = new Cookie( + restResponseCookie.Name, + restResponseCookie.Value, + restResponseCookie.Path, + restResponseCookie.Domain + ) + { + Comment = restResponseCookie.Comment, + CommentUri = restResponseCookie.CommentUri, + Discard = restResponseCookie.Discard, + Expired = restResponseCookie.Expired, + Expires = restResponseCookie.Expires, + HttpOnly = restResponseCookie.HttpOnly, + Port = restResponseCookie.Port, + Secure = restResponseCookie.Secure, + Version = restResponseCookie.Version + }; + + result.Cookies.Add(cookie); + } + } + return result; + } + } + + private RestResponse DeserializeRestResponseFromPolicy(RestClient client, RestRequest request, PolicyResult policyResult) + { + if (policyResult.Outcome == OutcomeType.Successful) + { + return client.Deserialize(policyResult.Result); + } + else + { + return new RestResponse(request) + { + ErrorException = policyResult.FinalException + }; + } + } + + private ApiResponse Exec(RestRequest request, RequestOptions options, IReadableConfiguration configuration) + { + Action setOptions = (clientOptions) => + { + var cookies = new CookieContainer(); + + if (options.Cookies != null && options.Cookies.Count > 0) + { + foreach (var cookie in options.Cookies) + { + cookies.Add(new Cookie(cookie.Name, cookie.Value)); + } + } + clientOptions.CookieContainer = cookies; + }; + + Func>> getResponse = (client) => + { + if (RetryConfiguration.RetryPolicy != null) + { + var policy = RetryConfiguration.RetryPolicy; + var policyResult = policy.ExecuteAndCapture(() => client.Execute(request)); + return Task.FromResult(DeserializeRestResponseFromPolicy(client, request, policyResult)); + } + else + { + return Task.FromResult(client.Execute(request)); + } + }; + + return ExecClientAsync(getResponse, setOptions, request, options, configuration).GetAwaiter().GetResult(); + } + + private Task> ExecAsync(RestRequest request, RequestOptions options, IReadableConfiguration configuration, CancellationToken cancellationToken = default(CancellationToken)) + { + Action setOptions = (clientOptions) => + { + //no extra options + }; + + Func>> getResponse = async (client) => + { + if (RetryConfiguration.AsyncRetryPolicy != null) + { + var policy = RetryConfiguration.AsyncRetryPolicy; + var policyResult = await policy.ExecuteAndCaptureAsync((ct) => client.ExecuteAsync(request, ct), cancellationToken).ConfigureAwait(false); + return DeserializeRestResponseFromPolicy(client, request, policyResult); + } + else + { + return await client.ExecuteAsync(request, cancellationToken).ConfigureAwait(false); + } + }; + + return ExecClientAsync(getResponse, setOptions, request, options, configuration); + } + + #region IAsynchronousClient + /// + /// Make a HTTP GET request (async). + /// + /// The target path (or resource). + /// The additional request options. + /// A per-request configuration object. It is assumed that any merge with + /// GlobalConfiguration has been done before calling this method. + /// Token that enables callers to cancel the request. + /// A Task containing ApiResponse + public Task> GetAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, CancellationToken cancellationToken = default) + { + var config = configuration ?? GlobalConfiguration.Instance; + return ExecAsync(NewRequest(HttpMethod.Get, path, options, config), options, config, cancellationToken); + } + + /// + /// Make a HTTP POST request (async). + /// + /// The target path (or resource). + /// The additional request options. + /// A per-request configuration object. It is assumed that any merge with + /// GlobalConfiguration has been done before calling this method. + /// Token that enables callers to cancel the request. + /// A Task containing ApiResponse + public Task> PostAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, CancellationToken cancellationToken = default) + { + var config = configuration ?? GlobalConfiguration.Instance; + return ExecAsync(NewRequest(HttpMethod.Post, path, options, config), options, config, cancellationToken); + } + + /// + /// Make a HTTP PUT request (async). + /// + /// The target path (or resource). + /// The additional request options. + /// A per-request configuration object. It is assumed that any merge with + /// GlobalConfiguration has been done before calling this method. + /// Token that enables callers to cancel the request. + /// A Task containing ApiResponse + public Task> PutAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, CancellationToken cancellationToken = default) + { + var config = configuration ?? GlobalConfiguration.Instance; + return ExecAsync(NewRequest(HttpMethod.Put, path, options, config), options, config, cancellationToken); + } + + /// + /// Make a HTTP DELETE request (async). + /// + /// The target path (or resource). + /// The additional request options. + /// A per-request configuration object. It is assumed that any merge with + /// GlobalConfiguration has been done before calling this method. + /// Token that enables callers to cancel the request. + /// A Task containing ApiResponse + public Task> DeleteAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, CancellationToken cancellationToken = default) + { + var config = configuration ?? GlobalConfiguration.Instance; + return ExecAsync(NewRequest(HttpMethod.Delete, path, options, config), options, config, cancellationToken); + } + + /// + /// Make a HTTP HEAD request (async). + /// + /// The target path (or resource). + /// The additional request options. + /// A per-request configuration object. It is assumed that any merge with + /// GlobalConfiguration has been done before calling this method. + /// Token that enables callers to cancel the request. + /// A Task containing ApiResponse + public Task> HeadAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, CancellationToken cancellationToken = default) + { + var config = configuration ?? GlobalConfiguration.Instance; + return ExecAsync(NewRequest(HttpMethod.Head, path, options, config), options, config, cancellationToken); + } + + /// + /// Make a HTTP OPTION request (async). + /// + /// The target path (or resource). + /// The additional request options. + /// A per-request configuration object. It is assumed that any merge with + /// GlobalConfiguration has been done before calling this method. + /// Token that enables callers to cancel the request. + /// A Task containing ApiResponse + public Task> OptionsAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, CancellationToken cancellationToken = default) + { + var config = configuration ?? GlobalConfiguration.Instance; + return ExecAsync(NewRequest(HttpMethod.Options, path, options, config), options, config, cancellationToken); + } + + /// + /// Make a HTTP PATCH request (async). + /// + /// The target path (or resource). + /// The additional request options. + /// A per-request configuration object. It is assumed that any merge with + /// GlobalConfiguration has been done before calling this method. + /// Token that enables callers to cancel the request. + /// A Task containing ApiResponse + public Task> PatchAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, CancellationToken cancellationToken = default) + { + var config = configuration ?? GlobalConfiguration.Instance; + return ExecAsync(NewRequest(HttpMethod.Patch, path, options, config), options, config, cancellationToken); + } + #endregion IAsynchronousClient + + #region ISynchronousClient + /// + /// Make a HTTP GET request (synchronous). + /// + /// The target path (or resource). + /// The additional request options. + /// A per-request configuration object. It is assumed that any merge with + /// GlobalConfiguration has been done before calling this method. + /// A Task containing ApiResponse + public ApiResponse Get(string path, RequestOptions options, IReadableConfiguration configuration = null) + { + var config = configuration ?? GlobalConfiguration.Instance; + return Exec(NewRequest(HttpMethod.Get, path, options, config), options, config); + } + + /// + /// Make a HTTP POST request (synchronous). + /// + /// The target path (or resource). + /// The additional request options. + /// A per-request configuration object. It is assumed that any merge with + /// GlobalConfiguration has been done before calling this method. + /// A Task containing ApiResponse + public ApiResponse Post(string path, RequestOptions options, IReadableConfiguration configuration = null) + { + var config = configuration ?? GlobalConfiguration.Instance; + return Exec(NewRequest(HttpMethod.Post, path, options, config), options, config); + } + + /// + /// Make a HTTP PUT request (synchronous). + /// + /// The target path (or resource). + /// The additional request options. + /// A per-request configuration object. It is assumed that any merge with + /// GlobalConfiguration has been done before calling this method. + /// A Task containing ApiResponse + public ApiResponse Put(string path, RequestOptions options, IReadableConfiguration configuration = null) + { + var config = configuration ?? GlobalConfiguration.Instance; + return Exec(NewRequest(HttpMethod.Put, path, options, config), options, config); + } + + /// + /// Make a HTTP DELETE request (synchronous). + /// + /// The target path (or resource). + /// The additional request options. + /// A per-request configuration object. It is assumed that any merge with + /// GlobalConfiguration has been done before calling this method. + /// A Task containing ApiResponse + public ApiResponse Delete(string path, RequestOptions options, IReadableConfiguration configuration = null) + { + var config = configuration ?? GlobalConfiguration.Instance; + return Exec(NewRequest(HttpMethod.Delete, path, options, config), options, config); + } + + /// + /// Make a HTTP HEAD request (synchronous). + /// + /// The target path (or resource). + /// The additional request options. + /// A per-request configuration object. It is assumed that any merge with + /// GlobalConfiguration has been done before calling this method. + /// A Task containing ApiResponse + public ApiResponse Head(string path, RequestOptions options, IReadableConfiguration configuration = null) + { + var config = configuration ?? GlobalConfiguration.Instance; + return Exec(NewRequest(HttpMethod.Head, path, options, config), options, config); + } + + /// + /// Make a HTTP OPTION request (synchronous). + /// + /// The target path (or resource). + /// The additional request options. + /// A per-request configuration object. It is assumed that any merge with + /// GlobalConfiguration has been done before calling this method. + /// A Task containing ApiResponse + public ApiResponse Options(string path, RequestOptions options, IReadableConfiguration configuration = null) + { + var config = configuration ?? GlobalConfiguration.Instance; + return Exec(NewRequest(HttpMethod.Options, path, options, config), options, config); + } + + /// + /// Make a HTTP PATCH request (synchronous). + /// + /// The target path (or resource). + /// The additional request options. + /// A per-request configuration object. It is assumed that any merge with + /// GlobalConfiguration has been done before calling this method. + /// A Task containing ApiResponse + public ApiResponse Patch(string path, RequestOptions options, IReadableConfiguration configuration = null) + { + var config = configuration ?? GlobalConfiguration.Instance; + return Exec(NewRequest(HttpMethod.Patch, path, options, config), options, config); + } + #endregion ISynchronousClient + } +} diff --git a/clients/client/dotnet/src/Ory.Client/Client/ApiResponse.cs b/clients/client/dotnet/src/Ory.Client/Client/ApiResponse.cs new file mode 100644 index 00000000000..c37f96fc8c1 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Client/ApiResponse.cs @@ -0,0 +1,167 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections.Generic; +using System.Net; + +namespace Ory.Client.Client +{ + /// + /// Provides a non-generic contract for the ApiResponse wrapper. + /// + public interface IApiResponse + { + /// + /// The data type of + /// + Type ResponseType { get; } + + /// + /// The content of this response + /// + Object Content { get; } + + /// + /// Gets or sets the status code (HTTP status code) + /// + /// The status code. + HttpStatusCode StatusCode { get; } + + /// + /// Gets or sets the HTTP headers + /// + /// HTTP headers + Multimap Headers { get; } + + /// + /// Gets or sets any error text defined by the calling client. + /// + string ErrorText { get; set; } + + /// + /// Gets or sets any cookies passed along on the response. + /// + List Cookies { get; set; } + + /// + /// The raw content of this response + /// + string RawContent { get; } + } + + /// + /// API Response + /// + public class ApiResponse : IApiResponse + { + #region Properties + + /// + /// Gets or sets the status code (HTTP status code) + /// + /// The status code. + public HttpStatusCode StatusCode { get; } + + /// + /// Gets or sets the HTTP headers + /// + /// HTTP headers + public Multimap Headers { get; } + + /// + /// Gets or sets the data (parsed HTTP body) + /// + /// The data. + public T Data { get; } + + /// + /// Gets or sets any error text defined by the calling client. + /// + public string ErrorText { get; set; } + + /// + /// Gets or sets any cookies passed along on the response. + /// + public List Cookies { get; set; } + + /// + /// The content of this response + /// + public Type ResponseType + { + get { return typeof(T); } + } + + /// + /// The data type of + /// + public object Content + { + get { return Data; } + } + + /// + /// The raw content + /// + public string RawContent { get; } + + #endregion Properties + + #region Constructors + + /// + /// Initializes a new instance of the class. + /// + /// HTTP status code. + /// HTTP headers. + /// Data (parsed HTTP body) + /// Raw content. + public ApiResponse(HttpStatusCode statusCode, Multimap headers, T data, string rawContent) + { + StatusCode = statusCode; + Headers = headers; + Data = data; + RawContent = rawContent; + } + + /// + /// Initializes a new instance of the class. + /// + /// HTTP status code. + /// HTTP headers. + /// Data (parsed HTTP body) + public ApiResponse(HttpStatusCode statusCode, Multimap headers, T data) : this(statusCode, headers, data, null) + { + } + + /// + /// Initializes a new instance of the class. + /// + /// HTTP status code. + /// Data (parsed HTTP body) + /// Raw content. + public ApiResponse(HttpStatusCode statusCode, T data, string rawContent) : this(statusCode, null, data, rawContent) + { + } + + /// + /// Initializes a new instance of the class. + /// + /// HTTP status code. + /// Data (parsed HTTP body) + public ApiResponse(HttpStatusCode statusCode, T data) : this(statusCode, data, null) + { + } + + #endregion Constructors + } +} diff --git a/clients/client/dotnet/src/Ory.Client/Client/Auth/OAuthAuthenticator.cs b/clients/client/dotnet/src/Ory.Client/Client/Auth/OAuthAuthenticator.cs new file mode 100644 index 00000000000..c5003c2b474 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Client/Auth/OAuthAuthenticator.cs @@ -0,0 +1,115 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Threading.Tasks; +using Newtonsoft.Json; +using RestSharp; +using RestSharp.Authenticators; + +namespace Ory.Client.Client.Auth +{ + /// + /// An authenticator for OAuth2 authentication flows + /// + public class OAuthAuthenticator : AuthenticatorBase + { + readonly string _tokenUrl; + readonly string _clientId; + readonly string _clientSecret; + readonly string? _scope; + readonly string _grantType; + readonly JsonSerializerSettings _serializerSettings; + readonly IReadableConfiguration _configuration; + + /// + /// Initialize the OAuth2 Authenticator + /// + public OAuthAuthenticator( + string tokenUrl, + string clientId, + string clientSecret, + string? scope, + OAuthFlow? flow, + JsonSerializerSettings serializerSettings, + IReadableConfiguration configuration) : base("") + { + _tokenUrl = tokenUrl; + _clientId = clientId; + _clientSecret = clientSecret; + _scope = scope; + _serializerSettings = serializerSettings; + _configuration = configuration; + + switch (flow) + { + /*case OAuthFlow.ACCESS_CODE: + _grantType = "authorization_code"; + break; + case OAuthFlow.IMPLICIT: + _grantType = "implicit"; + break; + case OAuthFlow.PASSWORD: + _grantType = "password"; + break;*/ + case OAuthFlow.APPLICATION: + _grantType = "client_credentials"; + break; + default: + break; + } + } + + /// + /// Creates an authentication parameter from an access token. + /// + /// Access token to create a parameter from. + /// An authentication parameter. + protected override async ValueTask GetAuthenticationParameter(string accessToken) + { + var token = string.IsNullOrEmpty(Token) ? await GetToken().ConfigureAwait(false) : Token; + return new HeaderParameter(KnownHeaders.Authorization, token); + } + + /// + /// Gets the token from the OAuth2 server. + /// + /// An authentication token. + async Task GetToken() + { + var client = new RestClient(_tokenUrl, + configureSerialization: serializerConfig => serializerConfig.UseSerializer(() => new CustomJsonCodec(_serializerSettings, _configuration))); + + var request = new RestRequest() + .AddParameter("grant_type", _grantType) + .AddParameter("client_id", _clientId) + .AddParameter("client_secret", _clientSecret); + + if (!string.IsNullOrEmpty(_scope)) + { + request.AddParameter("scope", _scope); + } + + var response = await client.PostAsync(request).ConfigureAwait(false); + + // RFC6749 - token_type is case insensitive. + // RFC6750 - In Authorization header Bearer should be capitalized. + // Fix the capitalization irrespective of token_type casing. + switch (response.TokenType?.ToLower()) + { + case "bearer": + return $"Bearer {response.AccessToken}"; + default: + return $"{response.TokenType} {response.AccessToken}"; + } + } + } +} diff --git a/clients/client/dotnet/src/Ory.Client/Client/Auth/OAuthFlow.cs b/clients/client/dotnet/src/Ory.Client/Client/Auth/OAuthFlow.cs new file mode 100644 index 00000000000..6094b3de206 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Client/Auth/OAuthFlow.cs @@ -0,0 +1,28 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +namespace Ory.Client.Client.Auth +{ + /// + /// Available flows for OAuth2 authentication + /// + public enum OAuthFlow + { + /// Authorization code flow + ACCESS_CODE, + /// Implicit flow + IMPLICIT, + /// Password flow + PASSWORD, + /// Client credentials flow + APPLICATION + } +} \ No newline at end of file diff --git a/clients/client/dotnet/src/Ory.Client/Client/Auth/TokenResponse.cs b/clients/client/dotnet/src/Ory.Client/Client/Auth/TokenResponse.cs new file mode 100644 index 00000000000..9627be01c27 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Client/Auth/TokenResponse.cs @@ -0,0 +1,23 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using Newtonsoft.Json; + +namespace Ory.Client.Client.Auth +{ + class TokenResponse + { + [JsonProperty("token_type")] + public string TokenType { get; set; } + [JsonProperty("access_token")] + public string AccessToken { get; set; } + } +} \ No newline at end of file diff --git a/clients/client/dotnet/src/Ory.Client/Client/Configuration.cs b/clients/client/dotnet/src/Ory.Client/Client/Configuration.cs new file mode 100644 index 00000000000..186f8aaad16 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Client/Configuration.cs @@ -0,0 +1,1007 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Net; +using System.Reflection; +using System.Security.Cryptography.X509Certificates; +using System.Text; +using System.Net.Http; +using System.Net.Security; +using Ory.Client.Client.Auth; + +namespace Ory.Client.Client +{ + /// + /// Represents a set of configuration settings + /// + public class Configuration : IReadableConfiguration + { + #region Constants + + /// + /// Version of the package. + /// + /// Version of the package. + public const string Version = "1.15.11"; + + /// + /// Identifier for ISO 8601 DateTime Format + /// + /// See https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx#Anchor_8 for more information. + // ReSharper disable once InconsistentNaming + public const string ISO8601_DATETIME_FORMAT = "o"; + + #endregion Constants + + #region Static Members + + /// + /// Default creation of exceptions for a given method name and response object + /// + public static readonly ExceptionFactory DefaultExceptionFactory = (methodName, response) => + { + var status = (int)response.StatusCode; + if (status >= 400) + { + return new ApiException(status, + string.Format("Error calling {0}: {1}", methodName, response.RawContent), + response.RawContent, response.Headers); + } + if (status == 0) + { + return new ApiException(status, + string.Format("Error calling {0}: {1}", methodName, response.ErrorText), response.ErrorText); + } + return null; + }; + + #endregion Static Members + + #region Private Members + + /// + /// Defines the base path of the target API server. + /// Example: http://localhost:3000/v1/ + /// + private string _basePath; + + private bool _useDefaultCredentials = false; + + /// + /// Gets or sets the API key based on the authentication name. + /// This is the key and value comprising the "secret" for accessing an API. + /// + /// The API key. + private IDictionary _apiKey; + + /// + /// Gets or sets the prefix (e.g. Token) of the API key based on the authentication name. + /// + /// The prefix of the API key. + private IDictionary _apiKeyPrefix; + + private string _dateTimeFormat = ISO8601_DATETIME_FORMAT; + private string _tempFolderPath = Path.GetTempPath(); + + /// + /// Gets or sets the servers defined in the OpenAPI spec. + /// + /// The servers + private IList> _servers; + + /// + /// Gets or sets the operation servers defined in the OpenAPI spec. + /// + /// The operation servers + private IReadOnlyDictionary>> _operationServers; + + #endregion Private Members + + #region Constructors + + /// + /// Initializes a new instance of the class + /// + [global::System.Diagnostics.CodeAnalysis.SuppressMessage("ReSharper", "VirtualMemberCallInConstructor")] + public Configuration() + { + Proxy = null; + UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/1.15.11/csharp"); + BasePath = "https://playground.projects.oryapis.com"; + DefaultHeaders = new ConcurrentDictionary(); + ApiKey = new ConcurrentDictionary(); + ApiKeyPrefix = new ConcurrentDictionary(); + Servers = new List>() + { + { + new Dictionary { + {"url", "https://{project_slug}.projects.oryapis.com"}, + {"description", "No description provided"}, + { + "variables", new Dictionary { + { + "project_slug", new Dictionary { + {"description", "Your Ory Network Project slug. You can find it in the [Ory Network Console](https://console.ory.sh/projects/current/developers/guides)."}, + {"default_value", "playground"}, + } + } + } + } + } + } + }; + OperationServers = new Dictionary>>() + { + { + "EventsApi.CreateEventStream", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "EventsApi.DeleteEventStream", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "EventsApi.ListEventStreams", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "EventsApi.SetEventStream", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "ProjectApi.CreateOrganization", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "ProjectApi.CreateProject", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "ProjectApi.CreateProjectApiKey", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "ProjectApi.DeleteOrganization", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "ProjectApi.DeleteProjectApiKey", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "ProjectApi.GetOrganization", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "ProjectApi.GetProject", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "ProjectApi.GetProjectMembers", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "ProjectApi.ListOrganizations", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "ProjectApi.ListProjectApiKeys", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "ProjectApi.ListProjects", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "ProjectApi.PatchProject", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "ProjectApi.PatchProjectWithRevision", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "ProjectApi.PurgeProject", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "ProjectApi.RemoveProjectMember", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "ProjectApi.SetProject", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "ProjectApi.UpdateOrganization", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "WorkspaceApi.CreateWorkspace", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "WorkspaceApi.CreateWorkspaceApiKey", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "WorkspaceApi.DeleteWorkspaceApiKey", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "WorkspaceApi.GetWorkspace", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "WorkspaceApi.ListWorkspaceApiKeys", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "WorkspaceApi.ListWorkspaceProjects", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "WorkspaceApi.ListWorkspaces", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + { + "WorkspaceApi.UpdateWorkspace", new List> + { + { + new Dictionary + { + {"url", "https://api.console.ory.sh"}, + {"description", "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces."} + } + }, + } + }, + }; + + // Setting Timeout has side effects (forces ApiClient creation). + Timeout = 100000; + } + + /// + /// Initializes a new instance of the class + /// + [global::System.Diagnostics.CodeAnalysis.SuppressMessage("ReSharper", "VirtualMemberCallInConstructor")] + public Configuration( + IDictionary defaultHeaders, + IDictionary apiKey, + IDictionary apiKeyPrefix, + string basePath = "https://playground.projects.oryapis.com") : this() + { + if (string.IsNullOrWhiteSpace(basePath)) + throw new ArgumentException("The provided basePath is invalid.", "basePath"); + if (defaultHeaders == null) + throw new ArgumentNullException("defaultHeaders"); + if (apiKey == null) + throw new ArgumentNullException("apiKey"); + if (apiKeyPrefix == null) + throw new ArgumentNullException("apiKeyPrefix"); + + BasePath = basePath; + + foreach (var keyValuePair in defaultHeaders) + { + DefaultHeaders.Add(keyValuePair); + } + + foreach (var keyValuePair in apiKey) + { + ApiKey.Add(keyValuePair); + } + + foreach (var keyValuePair in apiKeyPrefix) + { + ApiKeyPrefix.Add(keyValuePair); + } + } + + #endregion Constructors + + #region Properties + + /// + /// Gets or sets the base path for API access. + /// + public virtual string BasePath + { + get { return _basePath; } + set { _basePath = value; } + } + + /// + /// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false. + /// + public virtual bool UseDefaultCredentials + { + get { return _useDefaultCredentials; } + set { _useDefaultCredentials = value; } + } + + /// + /// Gets or sets the default header. + /// + [Obsolete("Use DefaultHeaders instead.")] + public virtual IDictionary DefaultHeader + { + get + { + return DefaultHeaders; + } + set + { + DefaultHeaders = value; + } + } + + /// + /// Gets or sets the default headers. + /// + public virtual IDictionary DefaultHeaders { get; set; } + + /// + /// Gets or sets the HTTP timeout (milliseconds) of ApiClient. Default to 100000 milliseconds. + /// + public virtual int Timeout { get; set; } + + /// + /// Gets or sets the proxy + /// + /// Proxy. + public virtual WebProxy Proxy { get; set; } + + /// + /// Gets or sets the HTTP user agent. + /// + /// Http user agent. + public virtual string UserAgent { get; set; } + + /// + /// Gets or sets the username (HTTP basic authentication). + /// + /// The username. + public virtual string Username { get; set; } + + /// + /// Gets or sets the password (HTTP basic authentication). + /// + /// The password. + public virtual string Password { get; set; } + + /// + /// Gets the API key with prefix. + /// + /// API key identifier (authentication scheme). + /// API key with prefix. + public string GetApiKeyWithPrefix(string apiKeyIdentifier) + { + string apiKeyValue; + ApiKey.TryGetValue(apiKeyIdentifier, out apiKeyValue); + string apiKeyPrefix; + if (ApiKeyPrefix.TryGetValue(apiKeyIdentifier, out apiKeyPrefix)) + { + return apiKeyPrefix + " " + apiKeyValue; + } + + return apiKeyValue; + } + + /// + /// Gets or sets certificate collection to be sent with requests. + /// + /// X509 Certificate collection. + public X509CertificateCollection ClientCertificates { get; set; } + + /// + /// Gets or sets the access token for OAuth2 authentication. + /// + /// This helper property simplifies code generation. + /// + /// The access token. + public virtual string AccessToken { get; set; } + + /// + /// Gets or sets the token URL for OAuth2 authentication. + /// + /// The OAuth Token URL. + public virtual string OAuthTokenUrl { get; set; } + + /// + /// Gets or sets the client ID for OAuth2 authentication. + /// + /// The OAuth Client ID. + public virtual string OAuthClientId { get; set; } + + /// + /// Gets or sets the client secret for OAuth2 authentication. + /// + /// The OAuth Client Secret. + public virtual string OAuthClientSecret { get; set; } + + /// + /// Gets or sets the client scope for OAuth2 authentication. + /// + /// The OAuth Client Scope. + public virtual string? OAuthScope { get; set; } + + /// + /// Gets or sets the flow for OAuth2 authentication. + /// + /// The OAuth Flow. + public virtual OAuthFlow? OAuthFlow { get; set; } + + /// + /// Gets or sets the temporary folder path to store the files downloaded from the server. + /// + /// Folder path. + public virtual string TempFolderPath + { + get { return _tempFolderPath; } + + set + { + if (string.IsNullOrEmpty(value)) + { + _tempFolderPath = Path.GetTempPath(); + return; + } + + // create the directory if it does not exist + if (!Directory.Exists(value)) + { + Directory.CreateDirectory(value); + } + + // check if the path contains directory separator at the end + if (value[value.Length - 1] == Path.DirectorySeparatorChar) + { + _tempFolderPath = value; + } + else + { + _tempFolderPath = value + Path.DirectorySeparatorChar; + } + } + } + + /// + /// Gets or sets the date time format used when serializing in the ApiClient + /// By default, it's set to ISO 8601 - "o", for others see: + /// https://msdn.microsoft.com/en-us/library/az4se3k1(v=vs.110).aspx + /// and https://msdn.microsoft.com/en-us/library/8kb3ddd4(v=vs.110).aspx + /// No validation is done to ensure that the string you're providing is valid + /// + /// The DateTimeFormat string + public virtual string DateTimeFormat + { + get { return _dateTimeFormat; } + set + { + if (string.IsNullOrEmpty(value)) + { + // Never allow a blank or null string, go back to the default + _dateTimeFormat = ISO8601_DATETIME_FORMAT; + return; + } + + // Caution, no validation when you choose date time format other than ISO 8601 + // Take a look at the above links + _dateTimeFormat = value; + } + } + + /// + /// Gets or sets the prefix (e.g. Token) of the API key based on the authentication name. + /// + /// Whatever you set here will be prepended to the value defined in AddApiKey. + /// + /// An example invocation here might be: + /// + /// ApiKeyPrefix["Authorization"] = "Bearer"; + /// + /// … where ApiKey["Authorization"] would then be used to set the value of your bearer token. + /// + /// + /// OAuth2 workflows should set tokens via AccessToken. + /// + /// + /// The prefix of the API key. + public virtual IDictionary ApiKeyPrefix + { + get { return _apiKeyPrefix; } + set + { + if (value == null) + { + throw new InvalidOperationException("ApiKeyPrefix collection may not be null."); + } + _apiKeyPrefix = value; + } + } + + /// + /// Gets or sets the API key based on the authentication name. + /// + /// The API key. + public virtual IDictionary ApiKey + { + get { return _apiKey; } + set + { + if (value == null) + { + throw new InvalidOperationException("ApiKey collection may not be null."); + } + _apiKey = value; + } + } + + /// + /// Gets or sets the servers. + /// + /// The servers. + public virtual IList> Servers + { + get { return _servers; } + set + { + if (value == null) + { + throw new InvalidOperationException("Servers may not be null."); + } + _servers = value; + } + } + + /// + /// Gets or sets the operation servers. + /// + /// The operation servers. + public virtual IReadOnlyDictionary>> OperationServers + { + get { return _operationServers; } + set + { + if (value == null) + { + throw new InvalidOperationException("Operation servers may not be null."); + } + _operationServers = value; + } + } + + /// + /// Returns URL based on server settings without providing values + /// for the variables + /// + /// Array index of the server settings. + /// The server URL. + public string GetServerUrl(int index) + { + return GetServerUrl(Servers, index, null); + } + + /// + /// Returns URL based on server settings. + /// + /// Array index of the server settings. + /// Dictionary of the variables and the corresponding values. + /// The server URL. + public string GetServerUrl(int index, Dictionary inputVariables) + { + return GetServerUrl(Servers, index, inputVariables); + } + + /// + /// Returns URL based on operation server settings. + /// + /// Operation associated with the request path. + /// Array index of the server settings. + /// The operation server URL. + public string GetOperationServerUrl(string operation, int index) + { + return GetOperationServerUrl(operation, index, null); + } + + /// + /// Returns URL based on operation server settings. + /// + /// Operation associated with the request path. + /// Array index of the server settings. + /// Dictionary of the variables and the corresponding values. + /// The operation server URL. + public string GetOperationServerUrl(string operation, int index, Dictionary inputVariables) + { + if (operation != null && OperationServers.TryGetValue(operation, out var operationServer)) + { + return GetServerUrl(operationServer, index, inputVariables); + } + + return null; + } + + /// + /// Returns URL based on server settings. + /// + /// Dictionary of server settings. + /// Array index of the server settings. + /// Dictionary of the variables and the corresponding values. + /// The server URL. + private string GetServerUrl(IList> servers, int index, Dictionary inputVariables) + { + if (index < 0 || index >= servers.Count) + { + throw new InvalidOperationException($"Invalid index {index} when selecting the server. Must be less than {servers.Count}."); + } + + if (inputVariables == null) + { + inputVariables = new Dictionary(); + } + + IReadOnlyDictionary server = servers[index]; + string url = (string)server["url"]; + + if (server.ContainsKey("variables")) + { + // go through each variable and assign a value + foreach (KeyValuePair variable in (IReadOnlyDictionary)server["variables"]) + { + + IReadOnlyDictionary serverVariables = (IReadOnlyDictionary)(variable.Value); + + if (inputVariables.ContainsKey(variable.Key)) + { + if (((List)serverVariables["enum_values"]).Contains(inputVariables[variable.Key])) + { + url = url.Replace("{" + variable.Key + "}", inputVariables[variable.Key]); + } + else + { + throw new InvalidOperationException($"The variable `{variable.Key}` in the server URL has invalid value #{inputVariables[variable.Key]}. Must be {(List)serverVariables["enum_values"]}"); + } + } + else + { + // use default value + url = url.Replace("{" + variable.Key + "}", (string)serverVariables["default_value"]); + } + } + } + + return url; + } + + /// + /// Gets and Sets the RemoteCertificateValidationCallback + /// + public RemoteCertificateValidationCallback RemoteCertificateValidationCallback { get; set; } + + #endregion Properties + + #region Methods + + /// + /// Returns a string with essential information for debugging. + /// + public static string ToDebugReport() + { + string report = "C# SDK (Ory.Client) Debug Report:\n"; + report += " OS: " + System.Environment.OSVersion + "\n"; + report += " .NET Framework Version: " + System.Environment.Version + "\n"; + report += " Version of the API: v1.15.11\n"; + report += " SDK Package Version: 1.15.11\n"; + + return report; + } + + /// + /// Add Api Key Header. + /// + /// Api Key name. + /// Api Key value. + /// + public void AddApiKey(string key, string value) + { + ApiKey[key] = value; + } + + /// + /// Sets the API key prefix. + /// + /// Api Key name. + /// Api Key value. + public void AddApiKeyPrefix(string key, string value) + { + ApiKeyPrefix[key] = value; + } + + #endregion Methods + + #region Static Members + /// + /// Merge configurations. + /// + /// First configuration. + /// Second configuration. + /// Merged configuration. + public static IReadableConfiguration MergeConfigurations(IReadableConfiguration first, IReadableConfiguration second) + { + if (second == null) return first ?? GlobalConfiguration.Instance; + + Dictionary apiKey = first.ApiKey.ToDictionary(kvp => kvp.Key, kvp => kvp.Value); + Dictionary apiKeyPrefix = first.ApiKeyPrefix.ToDictionary(kvp => kvp.Key, kvp => kvp.Value); + Dictionary defaultHeaders = first.DefaultHeaders.ToDictionary(kvp => kvp.Key, kvp => kvp.Value); + + foreach (var kvp in second.ApiKey) apiKey[kvp.Key] = kvp.Value; + foreach (var kvp in second.ApiKeyPrefix) apiKeyPrefix[kvp.Key] = kvp.Value; + foreach (var kvp in second.DefaultHeaders) defaultHeaders[kvp.Key] = kvp.Value; + + var config = new Configuration + { + ApiKey = apiKey, + ApiKeyPrefix = apiKeyPrefix, + DefaultHeaders = defaultHeaders, + BasePath = second.BasePath ?? first.BasePath, + Timeout = second.Timeout, + Proxy = second.Proxy ?? first.Proxy, + UserAgent = second.UserAgent ?? first.UserAgent, + Username = second.Username ?? first.Username, + Password = second.Password ?? first.Password, + AccessToken = second.AccessToken ?? first.AccessToken, + OAuthTokenUrl = second.OAuthTokenUrl ?? first.OAuthTokenUrl, + OAuthClientId = second.OAuthClientId ?? first.OAuthClientId, + OAuthClientSecret = second.OAuthClientSecret ?? first.OAuthClientSecret, + OAuthScope = second.OAuthScope ?? first.OAuthScope, + OAuthFlow = second.OAuthFlow ?? first.OAuthFlow, + TempFolderPath = second.TempFolderPath ?? first.TempFolderPath, + DateTimeFormat = second.DateTimeFormat ?? first.DateTimeFormat, + ClientCertificates = second.ClientCertificates ?? first.ClientCertificates, + UseDefaultCredentials = second.UseDefaultCredentials, + RemoteCertificateValidationCallback = second.RemoteCertificateValidationCallback ?? first.RemoteCertificateValidationCallback, + }; + return config; + } + #endregion Static Members + } +} diff --git a/clients/client/dotnet/src/Ory.Client/Client/ExceptionFactory.cs b/clients/client/dotnet/src/Ory.Client/Client/ExceptionFactory.cs new file mode 100644 index 00000000000..f34b770d1c7 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Client/ExceptionFactory.cs @@ -0,0 +1,23 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; + +namespace Ory.Client.Client +{ + /// + /// A delegate to ExceptionFactory method + /// + /// Method name + /// Response + /// Exceptions + public delegate Exception ExceptionFactory(string methodName, IApiResponse response); +} diff --git a/clients/client/dotnet/src/Ory.Client/Client/HttpMethod.cs b/clients/client/dotnet/src/Ory.Client/Client/HttpMethod.cs new file mode 100644 index 00000000000..fe45971a22e --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Client/HttpMethod.cs @@ -0,0 +1,34 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +namespace Ory.Client.Client +{ + /// + /// Http methods supported by swagger + /// + public enum HttpMethod + { + /// HTTP GET request. + Get, + /// HTTP POST request. + Post, + /// HTTP PUT request. + Put, + /// HTTP DELETE request. + Delete, + /// HTTP HEAD request. + Head, + /// HTTP OPTIONS request. + Options, + /// HTTP PATCH request. + Patch + } +} diff --git a/clients/client/dotnet/src/Ory.Client/Client/IAsynchronousClient.cs b/clients/client/dotnet/src/Ory.Client/Client/IAsynchronousClient.cs new file mode 100644 index 00000000000..a111a092594 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Client/IAsynchronousClient.cs @@ -0,0 +1,101 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Threading.Tasks; + +namespace Ory.Client.Client +{ + /// + /// Contract for Asynchronous RESTful API interactions. + /// + /// This interface allows consumers to provide a custom API accessor client. + /// + public interface IAsynchronousClient + { + /// + /// Executes a non-blocking call to some using the GET http verb. + /// + /// The relative path to invoke. + /// The request parameters to pass along to the client. + /// Per-request configurable settings. + /// Cancellation Token to cancel the request. + /// The return type. + /// A task eventually representing the response data, decorated with + Task> GetAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + + /// + /// Executes a non-blocking call to some using the POST http verb. + /// + /// The relative path to invoke. + /// The request parameters to pass along to the client. + /// Per-request configurable settings. + /// Cancellation Token to cancel the request. + /// The return type. + /// A task eventually representing the response data, decorated with + Task> PostAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + + /// + /// Executes a non-blocking call to some using the PUT http verb. + /// + /// The relative path to invoke. + /// The request parameters to pass along to the client. + /// Per-request configurable settings. + /// Cancellation Token to cancel the request. + /// The return type. + /// A task eventually representing the response data, decorated with + Task> PutAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + + /// + /// Executes a non-blocking call to some using the DELETE http verb. + /// + /// The relative path to invoke. + /// The request parameters to pass along to the client. + /// Per-request configurable settings. + /// Cancellation Token to cancel the request. + /// The return type. + /// A task eventually representing the response data, decorated with + Task> DeleteAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + + /// + /// Executes a non-blocking call to some using the HEAD http verb. + /// + /// The relative path to invoke. + /// The request parameters to pass along to the client. + /// Per-request configurable settings. + /// Cancellation Token to cancel the request. + /// The return type. + /// A task eventually representing the response data, decorated with + Task> HeadAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + + /// + /// Executes a non-blocking call to some using the OPTIONS http verb. + /// + /// The relative path to invoke. + /// The request parameters to pass along to the client. + /// Per-request configurable settings. + /// Cancellation Token to cancel the request. + /// The return type. + /// A task eventually representing the response data, decorated with + Task> OptionsAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + + /// + /// Executes a non-blocking call to some using the PATCH http verb. + /// + /// The relative path to invoke. + /// The request parameters to pass along to the client. + /// Per-request configurable settings. + /// Cancellation Token to cancel the request. + /// The return type. + /// A task eventually representing the response data, decorated with + Task> PatchAsync(string path, RequestOptions options, IReadableConfiguration configuration = null, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + } +} diff --git a/clients/client/dotnet/src/Ory.Client/Client/IReadableConfiguration.cs b/clients/client/dotnet/src/Ory.Client/Client/IReadableConfiguration.cs new file mode 100644 index 00000000000..88806c11d8a --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Client/IReadableConfiguration.cs @@ -0,0 +1,173 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections.Generic; +using System.Net; +using System.Net.Security; +using System.Security.Cryptography.X509Certificates; +using Ory.Client.Client.Auth; + +namespace Ory.Client.Client +{ + /// + /// Represents a readable-only configuration contract. + /// + public interface IReadableConfiguration + { + /// + /// Gets the access token. + /// + /// Access token. + string AccessToken { get; } + + /// + /// Gets the OAuth token URL. + /// + /// OAuth Token URL. + string OAuthTokenUrl { get; } + + /// + /// Gets the OAuth client ID. + /// + /// OAuth Client ID. + string OAuthClientId { get; } + + /// + /// Gets the OAuth client secret. + /// + /// OAuth Client Secret. + string OAuthClientSecret { get; } + + /// + /// Gets the OAuth token scope. + /// + /// OAuth Token scope. + string? OAuthScope { get; } + + /// + /// Gets the OAuth flow. + /// + /// OAuth Flow. + OAuthFlow? OAuthFlow { get; } + + /// + /// Gets the API key. + /// + /// API key. + IDictionary ApiKey { get; } + + /// + /// Gets the API key prefix. + /// + /// API key prefix. + IDictionary ApiKeyPrefix { get; } + + /// + /// Gets the base path. + /// + /// Base path. + string BasePath { get; } + + /// + /// Gets the date time format. + /// + /// Date time format. + string DateTimeFormat { get; } + + /// + /// Gets the default header. + /// + /// Default header. + [Obsolete("Use DefaultHeaders instead.")] + IDictionary DefaultHeader { get; } + + /// + /// Gets the default headers. + /// + /// Default headers. + IDictionary DefaultHeaders { get; } + + /// + /// Gets the temp folder path. + /// + /// Temp folder path. + string TempFolderPath { get; } + + /// + /// Gets the HTTP connection timeout (in milliseconds) + /// + /// HTTP connection timeout. + int Timeout { get; } + + /// + /// Gets the proxy. + /// + /// Proxy. + WebProxy Proxy { get; } + + /// + /// Gets the user agent. + /// + /// User agent. + string UserAgent { get; } + + /// + /// Gets the username. + /// + /// Username. + string Username { get; } + + /// + /// Gets the password. + /// + /// Password. + string Password { get; } + + /// + /// Determine whether or not the "default credentials" (e.g. the user account under which the current process is running) will be sent along to the server. The default is false. + /// + bool UseDefaultCredentials { get; } + + /// + /// Get the servers associated with the operation. + /// + /// Operation servers. + IReadOnlyDictionary>> OperationServers { get; } + + /// + /// Gets the API key with prefix. + /// + /// API key identifier (authentication scheme). + /// API key with prefix. + string GetApiKeyWithPrefix(string apiKeyIdentifier); + + /// + /// Gets the Operation server url at the provided index. + /// + /// Operation server name. + /// Index of the operation server settings. + /// + string GetOperationServerUrl(string operation, int index); + + /// + /// Gets certificate collection to be sent with requests. + /// + /// X509 Certificate collection. + X509CertificateCollection ClientCertificates { get; } + + /// + /// Callback function for handling the validation of remote certificates. Useful for certificate pinning and + /// overriding certificate errors in the scope of a request. + /// + RemoteCertificateValidationCallback RemoteCertificateValidationCallback { get; } + } +} diff --git a/clients/client/dotnet/src/Ory.Client/Client/ISynchronousClient.cs b/clients/client/dotnet/src/Ory.Client/Client/ISynchronousClient.cs new file mode 100644 index 00000000000..b0aeed1fa26 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Client/ISynchronousClient.cs @@ -0,0 +1,94 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.IO; + +namespace Ory.Client.Client +{ + /// + /// Contract for Synchronous RESTful API interactions. + /// + /// This interface allows consumers to provide a custom API accessor client. + /// + public interface ISynchronousClient + { + /// + /// Executes a blocking call to some using the GET http verb. + /// + /// The relative path to invoke. + /// The request parameters to pass along to the client. + /// Per-request configurable settings. + /// The return type. + /// The response data, decorated with + ApiResponse Get(string path, RequestOptions options, IReadableConfiguration configuration = null); + + /// + /// Executes a blocking call to some using the POST http verb. + /// + /// The relative path to invoke. + /// The request parameters to pass along to the client. + /// Per-request configurable settings. + /// The return type. + /// The response data, decorated with + ApiResponse Post(string path, RequestOptions options, IReadableConfiguration configuration = null); + + /// + /// Executes a blocking call to some using the PUT http verb. + /// + /// The relative path to invoke. + /// The request parameters to pass along to the client. + /// Per-request configurable settings. + /// The return type. + /// The response data, decorated with + ApiResponse Put(string path, RequestOptions options, IReadableConfiguration configuration = null); + + /// + /// Executes a blocking call to some using the DELETE http verb. + /// + /// The relative path to invoke. + /// The request parameters to pass along to the client. + /// Per-request configurable settings. + /// The return type. + /// The response data, decorated with + ApiResponse Delete(string path, RequestOptions options, IReadableConfiguration configuration = null); + + /// + /// Executes a blocking call to some using the HEAD http verb. + /// + /// The relative path to invoke. + /// The request parameters to pass along to the client. + /// Per-request configurable settings. + /// The return type. + /// The response data, decorated with + ApiResponse Head(string path, RequestOptions options, IReadableConfiguration configuration = null); + + /// + /// Executes a blocking call to some using the OPTIONS http verb. + /// + /// The relative path to invoke. + /// The request parameters to pass along to the client. + /// Per-request configurable settings. + /// The return type. + /// The response data, decorated with + ApiResponse Options(string path, RequestOptions options, IReadableConfiguration configuration = null); + + /// + /// Executes a blocking call to some using the PATCH http verb. + /// + /// The relative path to invoke. + /// The request parameters to pass along to the client. + /// Per-request configurable settings. + /// The return type. + /// The response data, decorated with + ApiResponse Patch(string path, RequestOptions options, IReadableConfiguration configuration = null); + } +} diff --git a/clients/client/dotnet/src/Ory.Client/Client/Multimap.cs b/clients/client/dotnet/src/Ory.Client/Client/Multimap.cs new file mode 100644 index 00000000000..e17427cb617 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Client/Multimap.cs @@ -0,0 +1,296 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; + +namespace Ory.Client.Client +{ + /// + /// A dictionary in which one key has many associated values. + /// + /// The type of the key + /// The type of the value associated with the key. + public class Multimap : IDictionary> + { + #region Private Fields + + private readonly Dictionary> _dictionary; + + #endregion Private Fields + + #region Constructors + + /// + /// Empty Constructor. + /// + public Multimap() + { + _dictionary = new Dictionary>(); + } + + /// + /// Constructor with comparer. + /// + /// + public Multimap(IEqualityComparer comparer) + { + _dictionary = new Dictionary>(comparer); + } + + #endregion Constructors + + #region Enumerators + + /// + /// To get the enumerator. + /// + /// Enumerator + public IEnumerator>> GetEnumerator() + { + return _dictionary.GetEnumerator(); + } + + /// + /// To get the enumerator. + /// + /// Enumerator + IEnumerator IEnumerable.GetEnumerator() + { + return _dictionary.GetEnumerator(); + } + + #endregion Enumerators + + #region Public Members + /// + /// Add values to Multimap + /// + /// Key value pair + public void Add(KeyValuePair> item) + { + if (!TryAdd(item.Key, item.Value)) + throw new InvalidOperationException("Could not add values to Multimap."); + } + + /// + /// Add Multimap to Multimap + /// + /// Multimap + public void Add(Multimap multimap) + { + foreach (var item in multimap) + { + if (!TryAdd(item.Key, item.Value)) + throw new InvalidOperationException("Could not add values to Multimap."); + } + } + + /// + /// Clear Multimap + /// + public void Clear() + { + _dictionary.Clear(); + } + + /// + /// Determines whether Multimap contains the specified item. + /// + /// Key value pair + /// Method needs to be implemented + /// true if the Multimap contains the item; otherwise, false. + public bool Contains(KeyValuePair> item) + { + throw new NotImplementedException(); + } + + /// + /// Copy items of the Multimap to an array, + /// starting at a particular array index. + /// + /// The array that is the destination of the items copied + /// from Multimap. The array must have zero-based indexing. + /// The zero-based index in array at which copying begins. + /// Method needs to be implemented + public void CopyTo(KeyValuePair>[] array, int arrayIndex) + { + throw new NotImplementedException(); + } + + /// + /// Removes the specified item from the Multimap. + /// + /// Key value pair + /// true if the item is successfully removed; otherwise, false. + /// Method needs to be implemented + public bool Remove(KeyValuePair> item) + { + throw new NotImplementedException(); + } + + /// + /// Gets the number of items contained in the Multimap. + /// + public int Count => _dictionary.Count; + + /// + /// Gets a value indicating whether the Multimap is read-only. + /// + public bool IsReadOnly => false; + + /// + /// Adds an item with the provided key and value to the Multimap. + /// + /// The object to use as the key of the item to add. + /// The object to use as the value of the item to add. + /// Thrown when couldn't add the value to Multimap. + public void Add(TKey key, IList value) + { + if (value != null && value.Count > 0) + { + if (_dictionary.TryGetValue(key, out var list)) + { + foreach (var k in value) list.Add(k); + } + else + { + list = new List(value); + if (!TryAdd(key, list)) + throw new InvalidOperationException("Could not add values to Multimap."); + } + } + } + + /// + /// Determines whether the Multimap contains an item with the specified key. + /// + /// The key to locate in the Multimap. + /// true if the Multimap contains an item with + /// the key; otherwise, false. + public bool ContainsKey(TKey key) + { + return _dictionary.ContainsKey(key); + } + + /// + /// Removes item with the specified key from the Multimap. + /// + /// The key to locate in the Multimap. + /// true if the item is successfully removed; otherwise, false. + public bool Remove(TKey key) + { + return TryRemove(key, out var _); + } + + /// + /// Gets the value associated with the specified key. + /// + /// The key whose value to get. + /// When this method returns, the value associated with the specified key, if the + /// key is found; otherwise, the default value for the type of the value parameter. + /// This parameter is passed uninitialized. + /// true if the object that implements Multimap contains + /// an item with the specified key; otherwise, false. + public bool TryGetValue(TKey key, out IList value) + { + return _dictionary.TryGetValue(key, out value); + } + + /// + /// Gets or sets the item with the specified key. + /// + /// The key of the item to get or set. + /// The value of the specified key. + public IList this[TKey key] + { + get => _dictionary[key]; + set => _dictionary[key] = value; + } + + /// + /// Gets a System.Collections.Generic.ICollection containing the keys of the Multimap. + /// + public ICollection Keys => _dictionary.Keys; + + /// + /// Gets a System.Collections.Generic.ICollection containing the values of the Multimap. + /// + public ICollection> Values => _dictionary.Values; + + /// + /// Copy the items of the Multimap to an System.Array, + /// starting at a particular System.Array index. + /// + /// The one-dimensional System.Array that is the destination of the items copied + /// from Multimap. The System.Array must have zero-based indexing. + /// The zero-based index in array at which copying begins. + public void CopyTo(Array array, int index) + { + ((ICollection)_dictionary).CopyTo(array, index); + } + + /// + /// Adds an item with the provided key and value to the Multimap. + /// + /// The object to use as the key of the item to add. + /// The object to use as the value of the item to add. + /// Thrown when couldn't add value to Multimap. + public void Add(TKey key, TValue value) + { + if (value != null) + { + if (_dictionary.TryGetValue(key, out var list)) + { + list.Add(value); + } + else + { + list = new List { value }; + if (!TryAdd(key, list)) + throw new InvalidOperationException("Could not add value to Multimap."); + } + } + } + + #endregion Public Members + + #region Private Members + + /** + * Helper method to encapsulate generator differences between dictionary types. + */ + private bool TryRemove(TKey key, out IList value) + { + _dictionary.TryGetValue(key, out value); + return _dictionary.Remove(key); + } + + /** + * Helper method to encapsulate generator differences between dictionary types. + */ + private bool TryAdd(TKey key, IList value) + { + try + { + _dictionary.Add(key, value); + } + catch (ArgumentException) + { + return false; + } + + return true; + } + #endregion Private Members + } +} diff --git a/clients/client/dotnet/src/Ory.Client/Model/AbstractOpenAPISchema.cs b/clients/client/dotnet/src/Ory.Client/Model/AbstractOpenAPISchema.cs new file mode 100644 index 00000000000..ff1cfab9711 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Model/AbstractOpenAPISchema.cs @@ -0,0 +1,77 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using Newtonsoft.Json; +using Newtonsoft.Json.Serialization; + +namespace Ory.Client.Model +{ + /// + /// Abstract base class for oneOf, anyOf schemas in the OpenAPI specification + /// + public abstract partial class AbstractOpenAPISchema + { + /// + /// Custom JSON serializer + /// + static public readonly JsonSerializerSettings SerializerSettings = new JsonSerializerSettings + { + // OpenAPI generated types generally hide default constructors. + ConstructorHandling = ConstructorHandling.AllowNonPublicDefaultConstructor, + MissingMemberHandling = MissingMemberHandling.Error, + ContractResolver = new DefaultContractResolver + { + NamingStrategy = new CamelCaseNamingStrategy + { + OverrideSpecifiedNames = false + } + } + }; + + /// + /// Custom JSON serializer for objects with additional properties + /// + static public readonly JsonSerializerSettings AdditionalPropertiesSerializerSettings = new JsonSerializerSettings + { + // OpenAPI generated types generally hide default constructors. + ConstructorHandling = ConstructorHandling.AllowNonPublicDefaultConstructor, + MissingMemberHandling = MissingMemberHandling.Ignore, + ContractResolver = new DefaultContractResolver + { + NamingStrategy = new CamelCaseNamingStrategy + { + OverrideSpecifiedNames = false + } + } + }; + + /// + /// Gets or Sets the actual instance + /// + public abstract Object ActualInstance { get; set; } + + /// + /// Gets or Sets IsNullable to indicate whether the instance is nullable + /// + public bool IsNullable { get; protected set; } + + /// + /// Gets or Sets the schema type, which can be either `oneOf` or `anyOf` + /// + public string SchemaType { get; protected set; } + + /// + /// Converts the instance into JSON string. + /// + public abstract string ToJson(); + } +} diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientAccountExperienceThemeVariables.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientAccountExperienceThemeVariables.cs new file mode 100644 index 00000000000..5337ef29fae --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Model/ClientAccountExperienceThemeVariables.cs @@ -0,0 +1,901 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Ory.Client.Client.OpenAPIDateConverter; + +namespace Ory.Client.Model +{ + /// + /// ClientAccountExperienceThemeVariables + /// + [DataContract(Name = "accountExperienceThemeVariables")] + public partial class ClientAccountExperienceThemeVariables : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// accent. + /// bgDefault. + /// borderRadiusBranding. + /// borderRadiusButtons. + /// borderRadiusCards. + /// borderRadiusForms. + /// borderRadiusGeneral. + /// buttonPrimaryBgDefault. + /// buttonPrimaryBgDisabled. + /// buttonPrimaryBgHover. + /// buttonPrimaryBorderDefault. + /// buttonPrimaryBorderDisabled. + /// buttonPrimaryBorderHover. + /// buttonPrimaryFgDefault. + /// buttonPrimaryFgDisabled. + /// buttonPrimaryFgHover. + /// buttonSecondaryBgDefault. + /// buttonSecondaryBgDisabled. + /// buttonSecondaryBgHover. + /// buttonSecondaryBorderDefault. + /// buttonSecondaryBorderDisabled. + /// buttonSecondaryBorderHover. + /// buttonSecondaryFgDefault. + /// buttonSecondaryFgDisabled. + /// buttonSecondaryFgHover. + /// buttonSocialBgDefault. + /// buttonSocialBgDisabled. + /// buttonSocialBgHover. + /// buttonSocialBgProvider. + /// buttonSocialBorderDefault. + /// buttonSocialBorderDisabled. + /// buttonSocialBorderHover. + /// buttonSocialBorderProvider. + /// buttonSocialFgDefault. + /// buttonSocialFgDisabled. + /// buttonSocialFgHover. + /// buttonSocialFgProvider. + /// createdAt. + /// dialogBgDefault. + /// dialogBgSubtle. + /// dialogBorderDefault. + /// dialogFgDefault. + /// dialogFgMute. + /// dialogFgSubtle. + /// formsBgDefault. + /// formsBgDisabled. + /// formsBgHover. + /// formsBorderDefault. + /// formsBorderDisabled. + /// formsBorderError. + /// formsBorderFocus. + /// formsBorderHover. + /// formsBorderSuccess. + /// formsBorderWarn. + /// formsCheckboxBgChecked. + /// formsCheckboxBgDefault. + /// formsCheckboxBorderChecked. + /// formsCheckboxBorderDefault. + /// formsCheckboxFgChecked. + /// formsCheckboxFgDefault. + /// formsFgDefault. + /// formsFgError. + /// formsFgMute. + /// formsFgSubtle. + /// formsFgSuccess. + /// formsFgWarn. + /// formsRadioBgChecked. + /// formsRadioBgDefault. + /// formsRadioBorderChecked. + /// formsRadioBorderDefault. + /// formsRadioFgChecked. + /// formsRadioFgDefault. + /// formsToggleBgChecked. + /// formsToggleBgDefault. + /// formsToggleBorderChecked. + /// formsToggleBorderDefault. + /// formsToggleFgChecked. + /// formsToggleFgDefault. + /// id. + /// linksLinkDefault. + /// linksLinkDisabled. + /// linksLinkHover. + /// linksLinkInvertedDefault. + /// linksLinkInvertedHover. + /// linksLinkMuteDefault. + /// linksLinkMuteHover. + /// syntaxSyntax. + /// syntaxSyntaxKey. + /// syntaxSyntaxNum. + /// syntaxSyntaxValue. + /// updatedAt. + public ClientAccountExperienceThemeVariables(string accent = default(string), string bgDefault = default(string), string borderRadiusBranding = default(string), string borderRadiusButtons = default(string), string borderRadiusCards = default(string), string borderRadiusForms = default(string), string borderRadiusGeneral = default(string), string buttonPrimaryBgDefault = default(string), string buttonPrimaryBgDisabled = default(string), string buttonPrimaryBgHover = default(string), string buttonPrimaryBorderDefault = default(string), string buttonPrimaryBorderDisabled = default(string), string buttonPrimaryBorderHover = default(string), string buttonPrimaryFgDefault = default(string), string buttonPrimaryFgDisabled = default(string), string buttonPrimaryFgHover = default(string), string buttonSecondaryBgDefault = default(string), string buttonSecondaryBgDisabled = default(string), string buttonSecondaryBgHover = default(string), string buttonSecondaryBorderDefault = default(string), string buttonSecondaryBorderDisabled = default(string), string buttonSecondaryBorderHover = default(string), string buttonSecondaryFgDefault = default(string), string buttonSecondaryFgDisabled = default(string), string buttonSecondaryFgHover = default(string), string buttonSocialBgDefault = default(string), string buttonSocialBgDisabled = default(string), string buttonSocialBgHover = default(string), string buttonSocialBgProvider = default(string), string buttonSocialBorderDefault = default(string), string buttonSocialBorderDisabled = default(string), string buttonSocialBorderHover = default(string), string buttonSocialBorderProvider = default(string), string buttonSocialFgDefault = default(string), string buttonSocialFgDisabled = default(string), string buttonSocialFgHover = default(string), string buttonSocialFgProvider = default(string), DateTime createdAt = default(DateTime), string dialogBgDefault = default(string), string dialogBgSubtle = default(string), string dialogBorderDefault = default(string), string dialogFgDefault = default(string), string dialogFgMute = default(string), string dialogFgSubtle = default(string), string formsBgDefault = default(string), string formsBgDisabled = default(string), string formsBgHover = default(string), string formsBorderDefault = default(string), string formsBorderDisabled = default(string), string formsBorderError = default(string), string formsBorderFocus = default(string), string formsBorderHover = default(string), string formsBorderSuccess = default(string), string formsBorderWarn = default(string), string formsCheckboxBgChecked = default(string), string formsCheckboxBgDefault = default(string), string formsCheckboxBorderChecked = default(string), string formsCheckboxBorderDefault = default(string), string formsCheckboxFgChecked = default(string), string formsCheckboxFgDefault = default(string), string formsFgDefault = default(string), string formsFgError = default(string), string formsFgMute = default(string), string formsFgSubtle = default(string), string formsFgSuccess = default(string), string formsFgWarn = default(string), string formsRadioBgChecked = default(string), string formsRadioBgDefault = default(string), string formsRadioBorderChecked = default(string), string formsRadioBorderDefault = default(string), string formsRadioFgChecked = default(string), string formsRadioFgDefault = default(string), string formsToggleBgChecked = default(string), string formsToggleBgDefault = default(string), string formsToggleBorderChecked = default(string), string formsToggleBorderDefault = default(string), string formsToggleFgChecked = default(string), string formsToggleFgDefault = default(string), string id = default(string), string linksLinkDefault = default(string), string linksLinkDisabled = default(string), string linksLinkHover = default(string), string linksLinkInvertedDefault = default(string), string linksLinkInvertedHover = default(string), string linksLinkMuteDefault = default(string), string linksLinkMuteHover = default(string), string syntaxSyntax = default(string), string syntaxSyntaxKey = default(string), string syntaxSyntaxNum = default(string), string syntaxSyntaxValue = default(string), DateTime updatedAt = default(DateTime)) + { + this.Accent = accent; + this.BgDefault = bgDefault; + this.BorderRadiusBranding = borderRadiusBranding; + this.BorderRadiusButtons = borderRadiusButtons; + this.BorderRadiusCards = borderRadiusCards; + this.BorderRadiusForms = borderRadiusForms; + this.BorderRadiusGeneral = borderRadiusGeneral; + this.ButtonPrimaryBgDefault = buttonPrimaryBgDefault; + this.ButtonPrimaryBgDisabled = buttonPrimaryBgDisabled; + this.ButtonPrimaryBgHover = buttonPrimaryBgHover; + this.ButtonPrimaryBorderDefault = buttonPrimaryBorderDefault; + this.ButtonPrimaryBorderDisabled = buttonPrimaryBorderDisabled; + this.ButtonPrimaryBorderHover = buttonPrimaryBorderHover; + this.ButtonPrimaryFgDefault = buttonPrimaryFgDefault; + this.ButtonPrimaryFgDisabled = buttonPrimaryFgDisabled; + this.ButtonPrimaryFgHover = buttonPrimaryFgHover; + this.ButtonSecondaryBgDefault = buttonSecondaryBgDefault; + this.ButtonSecondaryBgDisabled = buttonSecondaryBgDisabled; + this.ButtonSecondaryBgHover = buttonSecondaryBgHover; + this.ButtonSecondaryBorderDefault = buttonSecondaryBorderDefault; + this.ButtonSecondaryBorderDisabled = buttonSecondaryBorderDisabled; + this.ButtonSecondaryBorderHover = buttonSecondaryBorderHover; + this.ButtonSecondaryFgDefault = buttonSecondaryFgDefault; + this.ButtonSecondaryFgDisabled = buttonSecondaryFgDisabled; + this.ButtonSecondaryFgHover = buttonSecondaryFgHover; + this.ButtonSocialBgDefault = buttonSocialBgDefault; + this.ButtonSocialBgDisabled = buttonSocialBgDisabled; + this.ButtonSocialBgHover = buttonSocialBgHover; + this.ButtonSocialBgProvider = buttonSocialBgProvider; + this.ButtonSocialBorderDefault = buttonSocialBorderDefault; + this.ButtonSocialBorderDisabled = buttonSocialBorderDisabled; + this.ButtonSocialBorderHover = buttonSocialBorderHover; + this.ButtonSocialBorderProvider = buttonSocialBorderProvider; + this.ButtonSocialFgDefault = buttonSocialFgDefault; + this.ButtonSocialFgDisabled = buttonSocialFgDisabled; + this.ButtonSocialFgHover = buttonSocialFgHover; + this.ButtonSocialFgProvider = buttonSocialFgProvider; + this.CreatedAt = createdAt; + this.DialogBgDefault = dialogBgDefault; + this.DialogBgSubtle = dialogBgSubtle; + this.DialogBorderDefault = dialogBorderDefault; + this.DialogFgDefault = dialogFgDefault; + this.DialogFgMute = dialogFgMute; + this.DialogFgSubtle = dialogFgSubtle; + this.FormsBgDefault = formsBgDefault; + this.FormsBgDisabled = formsBgDisabled; + this.FormsBgHover = formsBgHover; + this.FormsBorderDefault = formsBorderDefault; + this.FormsBorderDisabled = formsBorderDisabled; + this.FormsBorderError = formsBorderError; + this.FormsBorderFocus = formsBorderFocus; + this.FormsBorderHover = formsBorderHover; + this.FormsBorderSuccess = formsBorderSuccess; + this.FormsBorderWarn = formsBorderWarn; + this.FormsCheckboxBgChecked = formsCheckboxBgChecked; + this.FormsCheckboxBgDefault = formsCheckboxBgDefault; + this.FormsCheckboxBorderChecked = formsCheckboxBorderChecked; + this.FormsCheckboxBorderDefault = formsCheckboxBorderDefault; + this.FormsCheckboxFgChecked = formsCheckboxFgChecked; + this.FormsCheckboxFgDefault = formsCheckboxFgDefault; + this.FormsFgDefault = formsFgDefault; + this.FormsFgError = formsFgError; + this.FormsFgMute = formsFgMute; + this.FormsFgSubtle = formsFgSubtle; + this.FormsFgSuccess = formsFgSuccess; + this.FormsFgWarn = formsFgWarn; + this.FormsRadioBgChecked = formsRadioBgChecked; + this.FormsRadioBgDefault = formsRadioBgDefault; + this.FormsRadioBorderChecked = formsRadioBorderChecked; + this.FormsRadioBorderDefault = formsRadioBorderDefault; + this.FormsRadioFgChecked = formsRadioFgChecked; + this.FormsRadioFgDefault = formsRadioFgDefault; + this.FormsToggleBgChecked = formsToggleBgChecked; + this.FormsToggleBgDefault = formsToggleBgDefault; + this.FormsToggleBorderChecked = formsToggleBorderChecked; + this.FormsToggleBorderDefault = formsToggleBorderDefault; + this.FormsToggleFgChecked = formsToggleFgChecked; + this.FormsToggleFgDefault = formsToggleFgDefault; + this.Id = id; + this.LinksLinkDefault = linksLinkDefault; + this.LinksLinkDisabled = linksLinkDisabled; + this.LinksLinkHover = linksLinkHover; + this.LinksLinkInvertedDefault = linksLinkInvertedDefault; + this.LinksLinkInvertedHover = linksLinkInvertedHover; + this.LinksLinkMuteDefault = linksLinkMuteDefault; + this.LinksLinkMuteHover = linksLinkMuteHover; + this.SyntaxSyntax = syntaxSyntax; + this.SyntaxSyntaxKey = syntaxSyntaxKey; + this.SyntaxSyntaxNum = syntaxSyntaxNum; + this.SyntaxSyntaxValue = syntaxSyntaxValue; + this.UpdatedAt = updatedAt; + this.AdditionalProperties = new Dictionary(); + } + + /// + /// Gets or Sets Accent + /// + [DataMember(Name = "accent", EmitDefaultValue = false)] + public string Accent { get; set; } + + /// + /// Gets or Sets BgDefault + /// + [DataMember(Name = "bg-default", EmitDefaultValue = false)] + public string BgDefault { get; set; } + + /// + /// Gets or Sets BorderRadiusBranding + /// + [DataMember(Name = "border-radius-branding", EmitDefaultValue = false)] + public string BorderRadiusBranding { get; set; } + + /// + /// Gets or Sets BorderRadiusButtons + /// + [DataMember(Name = "border-radius-buttons", EmitDefaultValue = false)] + public string BorderRadiusButtons { get; set; } + + /// + /// Gets or Sets BorderRadiusCards + /// + [DataMember(Name = "border-radius-cards", EmitDefaultValue = false)] + public string BorderRadiusCards { get; set; } + + /// + /// Gets or Sets BorderRadiusForms + /// + [DataMember(Name = "border-radius-forms", EmitDefaultValue = false)] + public string BorderRadiusForms { get; set; } + + /// + /// Gets or Sets BorderRadiusGeneral + /// + [DataMember(Name = "border-radius-general", EmitDefaultValue = false)] + public string BorderRadiusGeneral { get; set; } + + /// + /// Gets or Sets ButtonPrimaryBgDefault + /// + [DataMember(Name = "button-primary-bg-default", EmitDefaultValue = false)] + public string ButtonPrimaryBgDefault { get; set; } + + /// + /// Gets or Sets ButtonPrimaryBgDisabled + /// + [DataMember(Name = "button-primary-bg-disabled", EmitDefaultValue = false)] + public string ButtonPrimaryBgDisabled { get; set; } + + /// + /// Gets or Sets ButtonPrimaryBgHover + /// + [DataMember(Name = "button-primary-bg-hover", EmitDefaultValue = false)] + public string ButtonPrimaryBgHover { get; set; } + + /// + /// Gets or Sets ButtonPrimaryBorderDefault + /// + [DataMember(Name = "button-primary-border-default", EmitDefaultValue = false)] + public string ButtonPrimaryBorderDefault { get; set; } + + /// + /// Gets or Sets ButtonPrimaryBorderDisabled + /// + [DataMember(Name = "button-primary-border-disabled", EmitDefaultValue = false)] + public string ButtonPrimaryBorderDisabled { get; set; } + + /// + /// Gets or Sets ButtonPrimaryBorderHover + /// + [DataMember(Name = "button-primary-border-hover", EmitDefaultValue = false)] + public string ButtonPrimaryBorderHover { get; set; } + + /// + /// Gets or Sets ButtonPrimaryFgDefault + /// + [DataMember(Name = "button-primary-fg-default", EmitDefaultValue = false)] + public string ButtonPrimaryFgDefault { get; set; } + + /// + /// Gets or Sets ButtonPrimaryFgDisabled + /// + [DataMember(Name = "button-primary-fg-disabled", EmitDefaultValue = false)] + public string ButtonPrimaryFgDisabled { get; set; } + + /// + /// Gets or Sets ButtonPrimaryFgHover + /// + [DataMember(Name = "button-primary-fg-hover", EmitDefaultValue = false)] + public string ButtonPrimaryFgHover { get; set; } + + /// + /// Gets or Sets ButtonSecondaryBgDefault + /// + [DataMember(Name = "button-secondary-bg-default", EmitDefaultValue = false)] + public string ButtonSecondaryBgDefault { get; set; } + + /// + /// Gets or Sets ButtonSecondaryBgDisabled + /// + [DataMember(Name = "button-secondary-bg-disabled", EmitDefaultValue = false)] + public string ButtonSecondaryBgDisabled { get; set; } + + /// + /// Gets or Sets ButtonSecondaryBgHover + /// + [DataMember(Name = "button-secondary-bg-hover", EmitDefaultValue = false)] + public string ButtonSecondaryBgHover { get; set; } + + /// + /// Gets or Sets ButtonSecondaryBorderDefault + /// + [DataMember(Name = "button-secondary-border-default", EmitDefaultValue = false)] + public string ButtonSecondaryBorderDefault { get; set; } + + /// + /// Gets or Sets ButtonSecondaryBorderDisabled + /// + [DataMember(Name = "button-secondary-border-disabled", EmitDefaultValue = false)] + public string ButtonSecondaryBorderDisabled { get; set; } + + /// + /// Gets or Sets ButtonSecondaryBorderHover + /// + [DataMember(Name = "button-secondary-border-hover", EmitDefaultValue = false)] + public string ButtonSecondaryBorderHover { get; set; } + + /// + /// Gets or Sets ButtonSecondaryFgDefault + /// + [DataMember(Name = "button-secondary-fg-default", EmitDefaultValue = false)] + public string ButtonSecondaryFgDefault { get; set; } + + /// + /// Gets or Sets ButtonSecondaryFgDisabled + /// + [DataMember(Name = "button-secondary-fg-disabled", EmitDefaultValue = false)] + public string ButtonSecondaryFgDisabled { get; set; } + + /// + /// Gets or Sets ButtonSecondaryFgHover + /// + [DataMember(Name = "button-secondary-fg-hover", EmitDefaultValue = false)] + public string ButtonSecondaryFgHover { get; set; } + + /// + /// Gets or Sets ButtonSocialBgDefault + /// + [DataMember(Name = "button-social-bg-default", EmitDefaultValue = false)] + public string ButtonSocialBgDefault { get; set; } + + /// + /// Gets or Sets ButtonSocialBgDisabled + /// + [DataMember(Name = "button-social-bg-disabled", EmitDefaultValue = false)] + public string ButtonSocialBgDisabled { get; set; } + + /// + /// Gets or Sets ButtonSocialBgHover + /// + [DataMember(Name = "button-social-bg-hover", EmitDefaultValue = false)] + public string ButtonSocialBgHover { get; set; } + + /// + /// Gets or Sets ButtonSocialBgProvider + /// + [DataMember(Name = "button-social-bg-provider", EmitDefaultValue = false)] + public string ButtonSocialBgProvider { get; set; } + + /// + /// Gets or Sets ButtonSocialBorderDefault + /// + [DataMember(Name = "button-social-border-default", EmitDefaultValue = false)] + public string ButtonSocialBorderDefault { get; set; } + + /// + /// Gets or Sets ButtonSocialBorderDisabled + /// + [DataMember(Name = "button-social-border-disabled", EmitDefaultValue = false)] + public string ButtonSocialBorderDisabled { get; set; } + + /// + /// Gets or Sets ButtonSocialBorderHover + /// + [DataMember(Name = "button-social-border-hover", EmitDefaultValue = false)] + public string ButtonSocialBorderHover { get; set; } + + /// + /// Gets or Sets ButtonSocialBorderProvider + /// + [DataMember(Name = "button-social-border-provider", EmitDefaultValue = false)] + public string ButtonSocialBorderProvider { get; set; } + + /// + /// Gets or Sets ButtonSocialFgDefault + /// + [DataMember(Name = "button-social-fg-default", EmitDefaultValue = false)] + public string ButtonSocialFgDefault { get; set; } + + /// + /// Gets or Sets ButtonSocialFgDisabled + /// + [DataMember(Name = "button-social-fg-disabled", EmitDefaultValue = false)] + public string ButtonSocialFgDisabled { get; set; } + + /// + /// Gets or Sets ButtonSocialFgHover + /// + [DataMember(Name = "button-social-fg-hover", EmitDefaultValue = false)] + public string ButtonSocialFgHover { get; set; } + + /// + /// Gets or Sets ButtonSocialFgProvider + /// + [DataMember(Name = "button-social-fg-provider", EmitDefaultValue = false)] + public string ButtonSocialFgProvider { get; set; } + + /// + /// Gets or Sets CreatedAt + /// + [DataMember(Name = "created_at", EmitDefaultValue = false)] + public DateTime CreatedAt { get; set; } + + /// + /// Gets or Sets DialogBgDefault + /// + [DataMember(Name = "dialog-bg-default", EmitDefaultValue = false)] + public string DialogBgDefault { get; set; } + + /// + /// Gets or Sets DialogBgSubtle + /// + [DataMember(Name = "dialog-bg-subtle", EmitDefaultValue = false)] + public string DialogBgSubtle { get; set; } + + /// + /// Gets or Sets DialogBorderDefault + /// + [DataMember(Name = "dialog-border-default", EmitDefaultValue = false)] + public string DialogBorderDefault { get; set; } + + /// + /// Gets or Sets DialogFgDefault + /// + [DataMember(Name = "dialog-fg-default", EmitDefaultValue = false)] + public string DialogFgDefault { get; set; } + + /// + /// Gets or Sets DialogFgMute + /// + [DataMember(Name = "dialog-fg-mute", EmitDefaultValue = false)] + public string DialogFgMute { get; set; } + + /// + /// Gets or Sets DialogFgSubtle + /// + [DataMember(Name = "dialog-fg-subtle", EmitDefaultValue = false)] + public string DialogFgSubtle { get; set; } + + /// + /// Gets or Sets FormsBgDefault + /// + [DataMember(Name = "forms-bg-default", EmitDefaultValue = false)] + public string FormsBgDefault { get; set; } + + /// + /// Gets or Sets FormsBgDisabled + /// + [DataMember(Name = "forms-bg-disabled", EmitDefaultValue = false)] + public string FormsBgDisabled { get; set; } + + /// + /// Gets or Sets FormsBgHover + /// + [DataMember(Name = "forms-bg-hover", EmitDefaultValue = false)] + public string FormsBgHover { get; set; } + + /// + /// Gets or Sets FormsBorderDefault + /// + [DataMember(Name = "forms-border-default", EmitDefaultValue = false)] + public string FormsBorderDefault { get; set; } + + /// + /// Gets or Sets FormsBorderDisabled + /// + [DataMember(Name = "forms-border-disabled", EmitDefaultValue = false)] + public string FormsBorderDisabled { get; set; } + + /// + /// Gets or Sets FormsBorderError + /// + [DataMember(Name = "forms-border-error", EmitDefaultValue = false)] + public string FormsBorderError { get; set; } + + /// + /// Gets or Sets FormsBorderFocus + /// + [DataMember(Name = "forms-border-focus", EmitDefaultValue = false)] + public string FormsBorderFocus { get; set; } + + /// + /// Gets or Sets FormsBorderHover + /// + [DataMember(Name = "forms-border-hover", EmitDefaultValue = false)] + public string FormsBorderHover { get; set; } + + /// + /// Gets or Sets FormsBorderSuccess + /// + [DataMember(Name = "forms-border-success", EmitDefaultValue = false)] + public string FormsBorderSuccess { get; set; } + + /// + /// Gets or Sets FormsBorderWarn + /// + [DataMember(Name = "forms-border-warn", EmitDefaultValue = false)] + public string FormsBorderWarn { get; set; } + + /// + /// Gets or Sets FormsCheckboxBgChecked + /// + [DataMember(Name = "forms-checkbox-bg-checked", EmitDefaultValue = false)] + public string FormsCheckboxBgChecked { get; set; } + + /// + /// Gets or Sets FormsCheckboxBgDefault + /// + [DataMember(Name = "forms-checkbox-bg-default", EmitDefaultValue = false)] + public string FormsCheckboxBgDefault { get; set; } + + /// + /// Gets or Sets FormsCheckboxBorderChecked + /// + [DataMember(Name = "forms-checkbox-border-checked", EmitDefaultValue = false)] + public string FormsCheckboxBorderChecked { get; set; } + + /// + /// Gets or Sets FormsCheckboxBorderDefault + /// + [DataMember(Name = "forms-checkbox-border-default", EmitDefaultValue = false)] + public string FormsCheckboxBorderDefault { get; set; } + + /// + /// Gets or Sets FormsCheckboxFgChecked + /// + [DataMember(Name = "forms-checkbox-fg-checked", EmitDefaultValue = false)] + public string FormsCheckboxFgChecked { get; set; } + + /// + /// Gets or Sets FormsCheckboxFgDefault + /// + [DataMember(Name = "forms-checkbox-fg-default", EmitDefaultValue = false)] + public string FormsCheckboxFgDefault { get; set; } + + /// + /// Gets or Sets FormsFgDefault + /// + [DataMember(Name = "forms-fg-default", EmitDefaultValue = false)] + public string FormsFgDefault { get; set; } + + /// + /// Gets or Sets FormsFgError + /// + [DataMember(Name = "forms-fg-error", EmitDefaultValue = false)] + public string FormsFgError { get; set; } + + /// + /// Gets or Sets FormsFgMute + /// + [DataMember(Name = "forms-fg-mute", EmitDefaultValue = false)] + public string FormsFgMute { get; set; } + + /// + /// Gets or Sets FormsFgSubtle + /// + [DataMember(Name = "forms-fg-subtle", EmitDefaultValue = false)] + public string FormsFgSubtle { get; set; } + + /// + /// Gets or Sets FormsFgSuccess + /// + [DataMember(Name = "forms-fg-success", EmitDefaultValue = false)] + public string FormsFgSuccess { get; set; } + + /// + /// Gets or Sets FormsFgWarn + /// + [DataMember(Name = "forms-fg-warn", EmitDefaultValue = false)] + public string FormsFgWarn { get; set; } + + /// + /// Gets or Sets FormsRadioBgChecked + /// + [DataMember(Name = "forms-radio-bg-checked", EmitDefaultValue = false)] + public string FormsRadioBgChecked { get; set; } + + /// + /// Gets or Sets FormsRadioBgDefault + /// + [DataMember(Name = "forms-radio-bg-default", EmitDefaultValue = false)] + public string FormsRadioBgDefault { get; set; } + + /// + /// Gets or Sets FormsRadioBorderChecked + /// + [DataMember(Name = "forms-radio-border-checked", EmitDefaultValue = false)] + public string FormsRadioBorderChecked { get; set; } + + /// + /// Gets or Sets FormsRadioBorderDefault + /// + [DataMember(Name = "forms-radio-border-default", EmitDefaultValue = false)] + public string FormsRadioBorderDefault { get; set; } + + /// + /// Gets or Sets FormsRadioFgChecked + /// + [DataMember(Name = "forms-radio-fg-checked", EmitDefaultValue = false)] + public string FormsRadioFgChecked { get; set; } + + /// + /// Gets or Sets FormsRadioFgDefault + /// + [DataMember(Name = "forms-radio-fg-default", EmitDefaultValue = false)] + public string FormsRadioFgDefault { get; set; } + + /// + /// Gets or Sets FormsToggleBgChecked + /// + [DataMember(Name = "forms-toggle-bg-checked", EmitDefaultValue = false)] + public string FormsToggleBgChecked { get; set; } + + /// + /// Gets or Sets FormsToggleBgDefault + /// + [DataMember(Name = "forms-toggle-bg-default", EmitDefaultValue = false)] + public string FormsToggleBgDefault { get; set; } + + /// + /// Gets or Sets FormsToggleBorderChecked + /// + [DataMember(Name = "forms-toggle-border-checked", EmitDefaultValue = false)] + public string FormsToggleBorderChecked { get; set; } + + /// + /// Gets or Sets FormsToggleBorderDefault + /// + [DataMember(Name = "forms-toggle-border-default", EmitDefaultValue = false)] + public string FormsToggleBorderDefault { get; set; } + + /// + /// Gets or Sets FormsToggleFgChecked + /// + [DataMember(Name = "forms-toggle-fg-checked", EmitDefaultValue = false)] + public string FormsToggleFgChecked { get; set; } + + /// + /// Gets or Sets FormsToggleFgDefault + /// + [DataMember(Name = "forms-toggle-fg-default", EmitDefaultValue = false)] + public string FormsToggleFgDefault { get; set; } + + /// + /// Gets or Sets Id + /// + [DataMember(Name = "id", EmitDefaultValue = false)] + public string Id { get; set; } + + /// + /// Gets or Sets LinksLinkDefault + /// + [DataMember(Name = "links-link-default", EmitDefaultValue = false)] + public string LinksLinkDefault { get; set; } + + /// + /// Gets or Sets LinksLinkDisabled + /// + [DataMember(Name = "links-link-disabled", EmitDefaultValue = false)] + public string LinksLinkDisabled { get; set; } + + /// + /// Gets or Sets LinksLinkHover + /// + [DataMember(Name = "links-link-hover", EmitDefaultValue = false)] + public string LinksLinkHover { get; set; } + + /// + /// Gets or Sets LinksLinkInvertedDefault + /// + [DataMember(Name = "links-link-inverted-default", EmitDefaultValue = false)] + public string LinksLinkInvertedDefault { get; set; } + + /// + /// Gets or Sets LinksLinkInvertedHover + /// + [DataMember(Name = "links-link-inverted-hover", EmitDefaultValue = false)] + public string LinksLinkInvertedHover { get; set; } + + /// + /// Gets or Sets LinksLinkMuteDefault + /// + [DataMember(Name = "links-link-mute-default", EmitDefaultValue = false)] + public string LinksLinkMuteDefault { get; set; } + + /// + /// Gets or Sets LinksLinkMuteHover + /// + [DataMember(Name = "links-link-mute-hover", EmitDefaultValue = false)] + public string LinksLinkMuteHover { get; set; } + + /// + /// Gets or Sets SyntaxSyntax + /// + [DataMember(Name = "syntax-syntax", EmitDefaultValue = false)] + public string SyntaxSyntax { get; set; } + + /// + /// Gets or Sets SyntaxSyntaxKey + /// + [DataMember(Name = "syntax-syntax-key", EmitDefaultValue = false)] + public string SyntaxSyntaxKey { get; set; } + + /// + /// Gets or Sets SyntaxSyntaxNum + /// + [DataMember(Name = "syntax-syntax-num", EmitDefaultValue = false)] + public string SyntaxSyntaxNum { get; set; } + + /// + /// Gets or Sets SyntaxSyntaxValue + /// + [DataMember(Name = "syntax-syntax-value", EmitDefaultValue = false)] + public string SyntaxSyntaxValue { get; set; } + + /// + /// Gets or Sets UpdatedAt + /// + [DataMember(Name = "updated_at", EmitDefaultValue = false)] + public DateTime UpdatedAt { get; set; } + + /// + /// Gets or Sets additional properties + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ClientAccountExperienceThemeVariables {\n"); + sb.Append(" Accent: ").Append(Accent).Append("\n"); + sb.Append(" BgDefault: ").Append(BgDefault).Append("\n"); + sb.Append(" BorderRadiusBranding: ").Append(BorderRadiusBranding).Append("\n"); + sb.Append(" BorderRadiusButtons: ").Append(BorderRadiusButtons).Append("\n"); + sb.Append(" BorderRadiusCards: ").Append(BorderRadiusCards).Append("\n"); + sb.Append(" BorderRadiusForms: ").Append(BorderRadiusForms).Append("\n"); + sb.Append(" BorderRadiusGeneral: ").Append(BorderRadiusGeneral).Append("\n"); + sb.Append(" ButtonPrimaryBgDefault: ").Append(ButtonPrimaryBgDefault).Append("\n"); + sb.Append(" ButtonPrimaryBgDisabled: ").Append(ButtonPrimaryBgDisabled).Append("\n"); + sb.Append(" ButtonPrimaryBgHover: ").Append(ButtonPrimaryBgHover).Append("\n"); + sb.Append(" ButtonPrimaryBorderDefault: ").Append(ButtonPrimaryBorderDefault).Append("\n"); + sb.Append(" ButtonPrimaryBorderDisabled: ").Append(ButtonPrimaryBorderDisabled).Append("\n"); + sb.Append(" ButtonPrimaryBorderHover: ").Append(ButtonPrimaryBorderHover).Append("\n"); + sb.Append(" ButtonPrimaryFgDefault: ").Append(ButtonPrimaryFgDefault).Append("\n"); + sb.Append(" ButtonPrimaryFgDisabled: ").Append(ButtonPrimaryFgDisabled).Append("\n"); + sb.Append(" ButtonPrimaryFgHover: ").Append(ButtonPrimaryFgHover).Append("\n"); + sb.Append(" ButtonSecondaryBgDefault: ").Append(ButtonSecondaryBgDefault).Append("\n"); + sb.Append(" ButtonSecondaryBgDisabled: ").Append(ButtonSecondaryBgDisabled).Append("\n"); + sb.Append(" ButtonSecondaryBgHover: ").Append(ButtonSecondaryBgHover).Append("\n"); + sb.Append(" ButtonSecondaryBorderDefault: ").Append(ButtonSecondaryBorderDefault).Append("\n"); + sb.Append(" ButtonSecondaryBorderDisabled: ").Append(ButtonSecondaryBorderDisabled).Append("\n"); + sb.Append(" ButtonSecondaryBorderHover: ").Append(ButtonSecondaryBorderHover).Append("\n"); + sb.Append(" ButtonSecondaryFgDefault: ").Append(ButtonSecondaryFgDefault).Append("\n"); + sb.Append(" ButtonSecondaryFgDisabled: ").Append(ButtonSecondaryFgDisabled).Append("\n"); + sb.Append(" ButtonSecondaryFgHover: ").Append(ButtonSecondaryFgHover).Append("\n"); + sb.Append(" ButtonSocialBgDefault: ").Append(ButtonSocialBgDefault).Append("\n"); + sb.Append(" ButtonSocialBgDisabled: ").Append(ButtonSocialBgDisabled).Append("\n"); + sb.Append(" ButtonSocialBgHover: ").Append(ButtonSocialBgHover).Append("\n"); + sb.Append(" ButtonSocialBgProvider: ").Append(ButtonSocialBgProvider).Append("\n"); + sb.Append(" ButtonSocialBorderDefault: ").Append(ButtonSocialBorderDefault).Append("\n"); + sb.Append(" ButtonSocialBorderDisabled: ").Append(ButtonSocialBorderDisabled).Append("\n"); + sb.Append(" ButtonSocialBorderHover: ").Append(ButtonSocialBorderHover).Append("\n"); + sb.Append(" ButtonSocialBorderProvider: ").Append(ButtonSocialBorderProvider).Append("\n"); + sb.Append(" ButtonSocialFgDefault: ").Append(ButtonSocialFgDefault).Append("\n"); + sb.Append(" ButtonSocialFgDisabled: ").Append(ButtonSocialFgDisabled).Append("\n"); + sb.Append(" ButtonSocialFgHover: ").Append(ButtonSocialFgHover).Append("\n"); + sb.Append(" ButtonSocialFgProvider: ").Append(ButtonSocialFgProvider).Append("\n"); + sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); + sb.Append(" DialogBgDefault: ").Append(DialogBgDefault).Append("\n"); + sb.Append(" DialogBgSubtle: ").Append(DialogBgSubtle).Append("\n"); + sb.Append(" DialogBorderDefault: ").Append(DialogBorderDefault).Append("\n"); + sb.Append(" DialogFgDefault: ").Append(DialogFgDefault).Append("\n"); + sb.Append(" DialogFgMute: ").Append(DialogFgMute).Append("\n"); + sb.Append(" DialogFgSubtle: ").Append(DialogFgSubtle).Append("\n"); + sb.Append(" FormsBgDefault: ").Append(FormsBgDefault).Append("\n"); + sb.Append(" FormsBgDisabled: ").Append(FormsBgDisabled).Append("\n"); + sb.Append(" FormsBgHover: ").Append(FormsBgHover).Append("\n"); + sb.Append(" FormsBorderDefault: ").Append(FormsBorderDefault).Append("\n"); + sb.Append(" FormsBorderDisabled: ").Append(FormsBorderDisabled).Append("\n"); + sb.Append(" FormsBorderError: ").Append(FormsBorderError).Append("\n"); + sb.Append(" FormsBorderFocus: ").Append(FormsBorderFocus).Append("\n"); + sb.Append(" FormsBorderHover: ").Append(FormsBorderHover).Append("\n"); + sb.Append(" FormsBorderSuccess: ").Append(FormsBorderSuccess).Append("\n"); + sb.Append(" FormsBorderWarn: ").Append(FormsBorderWarn).Append("\n"); + sb.Append(" FormsCheckboxBgChecked: ").Append(FormsCheckboxBgChecked).Append("\n"); + sb.Append(" FormsCheckboxBgDefault: ").Append(FormsCheckboxBgDefault).Append("\n"); + sb.Append(" FormsCheckboxBorderChecked: ").Append(FormsCheckboxBorderChecked).Append("\n"); + sb.Append(" FormsCheckboxBorderDefault: ").Append(FormsCheckboxBorderDefault).Append("\n"); + sb.Append(" FormsCheckboxFgChecked: ").Append(FormsCheckboxFgChecked).Append("\n"); + sb.Append(" FormsCheckboxFgDefault: ").Append(FormsCheckboxFgDefault).Append("\n"); + sb.Append(" FormsFgDefault: ").Append(FormsFgDefault).Append("\n"); + sb.Append(" FormsFgError: ").Append(FormsFgError).Append("\n"); + sb.Append(" FormsFgMute: ").Append(FormsFgMute).Append("\n"); + sb.Append(" FormsFgSubtle: ").Append(FormsFgSubtle).Append("\n"); + sb.Append(" FormsFgSuccess: ").Append(FormsFgSuccess).Append("\n"); + sb.Append(" FormsFgWarn: ").Append(FormsFgWarn).Append("\n"); + sb.Append(" FormsRadioBgChecked: ").Append(FormsRadioBgChecked).Append("\n"); + sb.Append(" FormsRadioBgDefault: ").Append(FormsRadioBgDefault).Append("\n"); + sb.Append(" FormsRadioBorderChecked: ").Append(FormsRadioBorderChecked).Append("\n"); + sb.Append(" FormsRadioBorderDefault: ").Append(FormsRadioBorderDefault).Append("\n"); + sb.Append(" FormsRadioFgChecked: ").Append(FormsRadioFgChecked).Append("\n"); + sb.Append(" FormsRadioFgDefault: ").Append(FormsRadioFgDefault).Append("\n"); + sb.Append(" FormsToggleBgChecked: ").Append(FormsToggleBgChecked).Append("\n"); + sb.Append(" FormsToggleBgDefault: ").Append(FormsToggleBgDefault).Append("\n"); + sb.Append(" FormsToggleBorderChecked: ").Append(FormsToggleBorderChecked).Append("\n"); + sb.Append(" FormsToggleBorderDefault: ").Append(FormsToggleBorderDefault).Append("\n"); + sb.Append(" FormsToggleFgChecked: ").Append(FormsToggleFgChecked).Append("\n"); + sb.Append(" FormsToggleFgDefault: ").Append(FormsToggleFgDefault).Append("\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" LinksLinkDefault: ").Append(LinksLinkDefault).Append("\n"); + sb.Append(" LinksLinkDisabled: ").Append(LinksLinkDisabled).Append("\n"); + sb.Append(" LinksLinkHover: ").Append(LinksLinkHover).Append("\n"); + sb.Append(" LinksLinkInvertedDefault: ").Append(LinksLinkInvertedDefault).Append("\n"); + sb.Append(" LinksLinkInvertedHover: ").Append(LinksLinkInvertedHover).Append("\n"); + sb.Append(" LinksLinkMuteDefault: ").Append(LinksLinkMuteDefault).Append("\n"); + sb.Append(" LinksLinkMuteHover: ").Append(LinksLinkMuteHover).Append("\n"); + sb.Append(" SyntaxSyntax: ").Append(SyntaxSyntax).Append("\n"); + sb.Append(" SyntaxSyntaxKey: ").Append(SyntaxSyntaxKey).Append("\n"); + sb.Append(" SyntaxSyntaxNum: ").Append(SyntaxSyntaxNum).Append("\n"); + sb.Append(" SyntaxSyntaxValue: ").Append(SyntaxSyntaxValue).Append("\n"); + sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); + sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientActiveProjectInConsole.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientActiveProjectInConsole.cs new file mode 100644 index 00000000000..83584f608d7 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Model/ClientActiveProjectInConsole.cs @@ -0,0 +1,92 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Ory.Client.Client.OpenAPIDateConverter; + +namespace Ory.Client.Model +{ + /// + /// The Active Project ID + /// + [DataContract(Name = "activeProjectInConsole")] + public partial class ClientActiveProjectInConsole : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// The Active Project ID format: uuid. + public ClientActiveProjectInConsole(string projectId = default(string)) + { + this.ProjectId = projectId; + this.AdditionalProperties = new Dictionary(); + } + + /// + /// The Active Project ID format: uuid + /// + /// The Active Project ID format: uuid + [DataMember(Name = "project_id", EmitDefaultValue = false)] + public string ProjectId { get; set; } + + /// + /// Gets or Sets additional properties + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ClientActiveProjectInConsole {\n"); + sb.Append(" ProjectId: ").Append(ProjectId).Append("\n"); + sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientGetAttributesCountResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientGetAttributesCountResponse.cs new file mode 100644 index 00000000000..d8d528e1812 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Model/ClientGetAttributesCountResponse.cs @@ -0,0 +1,99 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Ory.Client.Client.OpenAPIDateConverter; + +namespace Ory.Client.Model +{ + /// + /// Response of the getAttributesCount endpoint + /// + [DataContract(Name = "getAttributesCountResponse")] + public partial class ClientGetAttributesCountResponse : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + public ClientGetAttributesCountResponse() + { + this.AdditionalProperties = new Dictionary(); + } + + /// + /// The list of data points. + /// + /// The list of data points. + [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = true)] + public List Data { get; private set; } + + /// + /// Returns false as Data should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeData() + { + return false; + } + /// + /// Gets or Sets additional properties + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ClientGetAttributesCountResponse {\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientGetMetricsEventAttributesResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientGetMetricsEventAttributesResponse.cs new file mode 100644 index 00000000000..545ccc98ea0 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Model/ClientGetMetricsEventAttributesResponse.cs @@ -0,0 +1,99 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Ory.Client.Client.OpenAPIDateConverter; + +namespace Ory.Client.Model +{ + /// + /// Response of the getMetricsEventAttributes endpoint + /// + [DataContract(Name = "getMetricsEventAttributesResponse")] + public partial class ClientGetMetricsEventAttributesResponse : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + public ClientGetMetricsEventAttributesResponse() + { + this.AdditionalProperties = new Dictionary(); + } + + /// + /// The list of data points. + /// + /// The list of data points. + [DataMember(Name = "events", IsRequired = true, EmitDefaultValue = true)] + public List Events { get; private set; } + + /// + /// Returns false as Events should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeEvents() + { + return false; + } + /// + /// Gets or Sets additional properties + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ClientGetMetricsEventAttributesResponse {\n"); + sb.Append(" Events: ").Append(Events).Append("\n"); + sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientGetMetricsEventTypesResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientGetMetricsEventTypesResponse.cs new file mode 100644 index 00000000000..d84a196ff41 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Model/ClientGetMetricsEventTypesResponse.cs @@ -0,0 +1,99 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Ory.Client.Client.OpenAPIDateConverter; + +namespace Ory.Client.Model +{ + /// + /// Response of the getMetricsEventTypes endpoint + /// + [DataContract(Name = "getMetricsEventTypesResponse")] + public partial class ClientGetMetricsEventTypesResponse : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + public ClientGetMetricsEventTypesResponse() + { + this.AdditionalProperties = new Dictionary(); + } + + /// + /// The list of data points. + /// + /// The list of data points. + [DataMember(Name = "events", IsRequired = true, EmitDefaultValue = true)] + public List Events { get; private set; } + + /// + /// Returns false as Events should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeEvents() + { + return false; + } + /// + /// Gets or Sets additional properties + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ClientGetMetricsEventTypesResponse {\n"); + sb.Append(" Events: ").Append(Events).Append("\n"); + sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientGetProjectEventsResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientGetProjectEventsResponse.cs new file mode 100644 index 00000000000..2fcf518195a --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Model/ClientGetProjectEventsResponse.cs @@ -0,0 +1,115 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Ory.Client.Client.OpenAPIDateConverter; + +namespace Ory.Client.Model +{ + /// + /// Response of the getProjectEvents endpoint + /// + [DataContract(Name = "getProjectEventsResponse")] + public partial class ClientGetProjectEventsResponse : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + public ClientGetProjectEventsResponse() + { + this.AdditionalProperties = new Dictionary(); + } + + /// + /// The list of data points. + /// + /// The list of data points. + [DataMember(Name = "events", IsRequired = true, EmitDefaultValue = true)] + public List Events { get; private set; } + + /// + /// Returns false as Events should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeEvents() + { + return false; + } + /// + /// Pagination token to be included in next page request + /// + /// Pagination token to be included in next page request + [DataMember(Name = "page_token", EmitDefaultValue = false)] + public string PageToken { get; private set; } + + /// + /// Returns false as PageToken should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializePageToken() + { + return false; + } + /// + /// Gets or Sets additional properties + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ClientGetProjectEventsResponse {\n"); + sb.Append(" Events: ").Append(Events).Append("\n"); + sb.Append(" PageToken: ").Append(PageToken).Append("\n"); + sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientGetProjectMetricsResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientGetProjectMetricsResponse.cs new file mode 100644 index 00000000000..c4d6c575e16 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Model/ClientGetProjectMetricsResponse.cs @@ -0,0 +1,99 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Ory.Client.Client.OpenAPIDateConverter; + +namespace Ory.Client.Model +{ + /// + /// Response of the getMetrics endpoint + /// + [DataContract(Name = "getProjectMetricsResponse")] + public partial class ClientGetProjectMetricsResponse : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + public ClientGetProjectMetricsResponse() + { + this.AdditionalProperties = new Dictionary(); + } + + /// + /// The list of data points. + /// + /// The list of data points. + [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = true)] + public List Data { get; private set; } + + /// + /// Returns false as Data should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeData() + { + return false; + } + /// + /// Gets or Sets additional properties + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ClientGetProjectMetricsResponse {\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientGetSessionActivityResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientGetSessionActivityResponse.cs new file mode 100644 index 00000000000..e6b82611e69 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Model/ClientGetSessionActivityResponse.cs @@ -0,0 +1,99 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Ory.Client.Client.OpenAPIDateConverter; + +namespace Ory.Client.Model +{ + /// + /// Response of the getSessionActivity endpoint + /// + [DataContract(Name = "getSessionActivityResponse")] + public partial class ClientGetSessionActivityResponse : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + public ClientGetSessionActivityResponse() + { + this.AdditionalProperties = new Dictionary(); + } + + /// + /// The list of data points. + /// + /// The list of data points. + [DataMember(Name = "data", IsRequired = true, EmitDefaultValue = true)] + public List Data { get; private set; } + + /// + /// Returns false as Data should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeData() + { + return false; + } + /// + /// Gets or Sets additional properties + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ClientGetSessionActivityResponse {\n"); + sb.Append(" Data: ").Append(Data).Append("\n"); + sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientInternalIsOwnerForProjectBySlugResponse.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientInternalIsOwnerForProjectBySlugResponse.cs new file mode 100644 index 00000000000..a1a478d2726 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Model/ClientInternalIsOwnerForProjectBySlugResponse.cs @@ -0,0 +1,105 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Ory.Client.Client.OpenAPIDateConverter; + +namespace Ory.Client.Model +{ + /// + /// ClientInternalIsOwnerForProjectBySlugResponse + /// + [DataContract(Name = "internalIsOwnerForProjectBySlugResponse")] + public partial class ClientInternalIsOwnerForProjectBySlugResponse : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ClientInternalIsOwnerForProjectBySlugResponse() + { + this.AdditionalProperties = new Dictionary(); + } + /// + /// Initializes a new instance of the class. + /// + /// ProjectID is the project's ID. (required). + public ClientInternalIsOwnerForProjectBySlugResponse(string projectId = default(string)) + { + // to ensure "projectId" is required (not null) + if (projectId == null) + { + throw new ArgumentNullException("projectId is a required property for ClientInternalIsOwnerForProjectBySlugResponse and cannot be null"); + } + this.ProjectId = projectId; + this.AdditionalProperties = new Dictionary(); + } + + /// + /// ProjectID is the project's ID. + /// + /// ProjectID is the project's ID. + [DataMember(Name = "project_id", IsRequired = true, EmitDefaultValue = true)] + public string ProjectId { get; set; } + + /// + /// Gets or Sets additional properties + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ClientInternalIsOwnerForProjectBySlugResponse {\n"); + sb.Append(" ProjectId: ").Append(ProjectId).Append("\n"); + sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentSessionExpiresAt.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentSessionExpiresAt.cs new file mode 100644 index 00000000000..b819dcbe7d5 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Model/ClientOAuth2ConsentSessionExpiresAt.cs @@ -0,0 +1,127 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Ory.Client.Client.OpenAPIDateConverter; + +namespace Ory.Client.Model +{ + /// + /// ClientOAuth2ConsentSessionExpiresAt + /// + [DataContract(Name = "oAuth2ConsentSession_expires_at")] + public partial class ClientOAuth2ConsentSessionExpiresAt : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// accessToken. + /// authorizeCode. + /// idToken. + /// parContext. + /// refreshToken. + public ClientOAuth2ConsentSessionExpiresAt(DateTime accessToken = default(DateTime), DateTime authorizeCode = default(DateTime), DateTime idToken = default(DateTime), DateTime parContext = default(DateTime), DateTime refreshToken = default(DateTime)) + { + this.AccessToken = accessToken; + this.AuthorizeCode = authorizeCode; + this.IdToken = idToken; + this.ParContext = parContext; + this.RefreshToken = refreshToken; + this.AdditionalProperties = new Dictionary(); + } + + /// + /// Gets or Sets AccessToken + /// + [DataMember(Name = "access_token", EmitDefaultValue = false)] + public DateTime AccessToken { get; set; } + + /// + /// Gets or Sets AuthorizeCode + /// + [DataMember(Name = "authorize_code", EmitDefaultValue = false)] + public DateTime AuthorizeCode { get; set; } + + /// + /// Gets or Sets IdToken + /// + [DataMember(Name = "id_token", EmitDefaultValue = false)] + public DateTime IdToken { get; set; } + + /// + /// Gets or Sets ParContext + /// + [DataMember(Name = "par_context", EmitDefaultValue = false)] + public DateTime ParContext { get; set; } + + /// + /// Gets or Sets RefreshToken + /// + [DataMember(Name = "refresh_token", EmitDefaultValue = false)] + public DateTime RefreshToken { get; set; } + + /// + /// Gets or Sets additional properties + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ClientOAuth2ConsentSessionExpiresAt {\n"); + sb.Append(" AccessToken: ").Append(AccessToken).Append("\n"); + sb.Append(" AuthorizeCode: ").Append(AuthorizeCode).Append("\n"); + sb.Append(" IdToken: ").Append(IdToken).Append("\n"); + sb.Append(" ParContext: ").Append(ParContext).Append("\n"); + sb.Append(" RefreshToken: ").Append(RefreshToken).Append("\n"); + sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientPagination.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientPagination.cs new file mode 100644 index 00000000000..2668edb92f5 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Model/ClientPagination.cs @@ -0,0 +1,115 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Ory.Client.Client.OpenAPIDateConverter; + +namespace Ory.Client.Model +{ + /// + /// ClientPagination + /// + [DataContract(Name = "pagination")] + public partial class ClientPagination : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// Items per page 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). (default to 250). + /// 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). (default to "1"). + public ClientPagination(long pageSize = 250, string pageToken = @"1") + { + this.PageSize = pageSize; + // use default value if no "pageToken" provided + this.PageToken = pageToken ?? @"1"; + this.AdditionalProperties = new Dictionary(); + } + + /// + /// Items per page 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). + /// + /// Items per page 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). + [DataMember(Name = "page_size", EmitDefaultValue = false)] + public long PageSize { get; set; } + + /// + /// 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). + /// + /// 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). + [DataMember(Name = "page_token", EmitDefaultValue = false)] + public string PageToken { get; set; } + + /// + /// Gets or Sets additional properties + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ClientPagination {\n"); + sb.Append(" PageSize: ").Append(PageSize).Append("\n"); + sb.Append(" PageToken: ").Append(PageToken).Append("\n"); + sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + // PageSize (long) maximum + if (this.PageSize > (long)1000) + { + yield return new ValidationResult("Invalid value for PageSize, must be a value less than or equal to 1000.", new [] { "PageSize" }); + } + + // PageSize (long) minimum + if (this.PageSize < (long)1) + { + yield return new ValidationResult("Invalid value for PageSize, must be a value greater than or equal to 1.", new [] { "PageSize" }); + } + + yield break; + } + } + +} diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientPaginationHeaders.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientPaginationHeaders.cs new file mode 100644 index 00000000000..96701ac8462 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Model/ClientPaginationHeaders.cs @@ -0,0 +1,102 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Ory.Client.Client.OpenAPIDateConverter; + +namespace Ory.Client.Model +{ + /// + /// ClientPaginationHeaders + /// + [DataContract(Name = "paginationHeaders")] + public partial class ClientPaginationHeaders : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// The link header contains pagination links. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). in: header. + /// The total number of clients. in: header. + public ClientPaginationHeaders(string link = default(string), string xTotalCount = default(string)) + { + this.Link = link; + this.XTotalCount = xTotalCount; + this.AdditionalProperties = new Dictionary(); + } + + /// + /// The link header contains pagination links. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). in: header + /// + /// The link header contains pagination links. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). in: header + [DataMember(Name = "link", EmitDefaultValue = false)] + public string Link { get; set; } + + /// + /// The total number of clients. in: header + /// + /// The total number of clients. in: header + [DataMember(Name = "x-total-count", EmitDefaultValue = false)] + public string XTotalCount { get; set; } + + /// + /// Gets or Sets additional properties + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ClientPaginationHeaders {\n"); + sb.Append(" Link: ").Append(Link).Append("\n"); + sb.Append(" XTotalCount: ").Append(XTotalCount).Append("\n"); + sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/clients/client/dotnet/src/Ory.Client/Model/ClientSetActiveProjectInConsoleBody.cs b/clients/client/dotnet/src/Ory.Client/Model/ClientSetActiveProjectInConsoleBody.cs new file mode 100644 index 00000000000..8e4cdc5c481 --- /dev/null +++ b/clients/client/dotnet/src/Ory.Client/Model/ClientSetActiveProjectInConsoleBody.cs @@ -0,0 +1,105 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Ory.Client.Client.OpenAPIDateConverter; + +namespace Ory.Client.Model +{ + /// + /// Set active project in the Ory Network Console Request Body + /// + [DataContract(Name = "setActiveProjectInConsoleBody")] + public partial class ClientSetActiveProjectInConsoleBody : IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ClientSetActiveProjectInConsoleBody() + { + this.AdditionalProperties = new Dictionary(); + } + /// + /// Initializes a new instance of the class. + /// + /// Project ID The Project ID you want to set active. format: uuid (required). + public ClientSetActiveProjectInConsoleBody(string projectId = default(string)) + { + // to ensure "projectId" is required (not null) + if (projectId == null) + { + throw new ArgumentNullException("projectId is a required property for ClientSetActiveProjectInConsoleBody and cannot be null"); + } + this.ProjectId = projectId; + this.AdditionalProperties = new Dictionary(); + } + + /// + /// Project ID The Project ID you want to set active. format: uuid + /// + /// Project ID The Project ID you want to set active. format: uuid + [DataMember(Name = "project_id", IsRequired = true, EmitDefaultValue = true)] + public string ProjectId { get; set; } + + /// + /// Gets or Sets additional properties + /// + [JsonExtensionData] + public IDictionary AdditionalProperties { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ClientSetActiveProjectInConsoleBody {\n"); + sb.Append(" ProjectId: ").Append(ProjectId).Append("\n"); + sb.Append(" AdditionalProperties: ").Append(AdditionalProperties).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/clients/client/go/model_account_experience_theme_variables.go b/clients/client/go/model_account_experience_theme_variables.go new file mode 100644 index 00000000000..9f7a94239a5 --- /dev/null +++ b/clients/client/go/model_account_experience_theme_variables.go @@ -0,0 +1,3487 @@ +/* +Ory APIs + +# 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) | + +API version: v1.15.11 +Contact: support@ory.sh +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "time" +) + +// checks if the AccountExperienceThemeVariables type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AccountExperienceThemeVariables{} + +// AccountExperienceThemeVariables struct for AccountExperienceThemeVariables +type AccountExperienceThemeVariables struct { + Accent *string `json:"accent,omitempty"` + BgDefault *string `json:"bg-default,omitempty"` + BorderRadiusBranding *string `json:"border-radius-branding,omitempty"` + BorderRadiusButtons *string `json:"border-radius-buttons,omitempty"` + BorderRadiusCards *string `json:"border-radius-cards,omitempty"` + BorderRadiusForms *string `json:"border-radius-forms,omitempty"` + BorderRadiusGeneral *string `json:"border-radius-general,omitempty"` + ButtonPrimaryBgDefault *string `json:"button-primary-bg-default,omitempty"` + ButtonPrimaryBgDisabled *string `json:"button-primary-bg-disabled,omitempty"` + ButtonPrimaryBgHover *string `json:"button-primary-bg-hover,omitempty"` + ButtonPrimaryBorderDefault *string `json:"button-primary-border-default,omitempty"` + ButtonPrimaryBorderDisabled *string `json:"button-primary-border-disabled,omitempty"` + ButtonPrimaryBorderHover *string `json:"button-primary-border-hover,omitempty"` + ButtonPrimaryFgDefault *string `json:"button-primary-fg-default,omitempty"` + ButtonPrimaryFgDisabled *string `json:"button-primary-fg-disabled,omitempty"` + ButtonPrimaryFgHover *string `json:"button-primary-fg-hover,omitempty"` + ButtonSecondaryBgDefault *string `json:"button-secondary-bg-default,omitempty"` + ButtonSecondaryBgDisabled *string `json:"button-secondary-bg-disabled,omitempty"` + ButtonSecondaryBgHover *string `json:"button-secondary-bg-hover,omitempty"` + ButtonSecondaryBorderDefault *string `json:"button-secondary-border-default,omitempty"` + ButtonSecondaryBorderDisabled *string `json:"button-secondary-border-disabled,omitempty"` + ButtonSecondaryBorderHover *string `json:"button-secondary-border-hover,omitempty"` + ButtonSecondaryFgDefault *string `json:"button-secondary-fg-default,omitempty"` + ButtonSecondaryFgDisabled *string `json:"button-secondary-fg-disabled,omitempty"` + ButtonSecondaryFgHover *string `json:"button-secondary-fg-hover,omitempty"` + ButtonSocialBgDefault *string `json:"button-social-bg-default,omitempty"` + ButtonSocialBgDisabled *string `json:"button-social-bg-disabled,omitempty"` + ButtonSocialBgHover *string `json:"button-social-bg-hover,omitempty"` + ButtonSocialBgProvider *string `json:"button-social-bg-provider,omitempty"` + ButtonSocialBorderDefault *string `json:"button-social-border-default,omitempty"` + ButtonSocialBorderDisabled *string `json:"button-social-border-disabled,omitempty"` + ButtonSocialBorderHover *string `json:"button-social-border-hover,omitempty"` + ButtonSocialBorderProvider *string `json:"button-social-border-provider,omitempty"` + ButtonSocialFgDefault *string `json:"button-social-fg-default,omitempty"` + ButtonSocialFgDisabled *string `json:"button-social-fg-disabled,omitempty"` + ButtonSocialFgHover *string `json:"button-social-fg-hover,omitempty"` + ButtonSocialFgProvider *string `json:"button-social-fg-provider,omitempty"` + CreatedAt *time.Time `json:"created_at,omitempty"` + DialogBgDefault *string `json:"dialog-bg-default,omitempty"` + DialogBgSubtle *string `json:"dialog-bg-subtle,omitempty"` + DialogBorderDefault *string `json:"dialog-border-default,omitempty"` + DialogFgDefault *string `json:"dialog-fg-default,omitempty"` + DialogFgMute *string `json:"dialog-fg-mute,omitempty"` + DialogFgSubtle *string `json:"dialog-fg-subtle,omitempty"` + FormsBgDefault *string `json:"forms-bg-default,omitempty"` + FormsBgDisabled *string `json:"forms-bg-disabled,omitempty"` + FormsBgHover *string `json:"forms-bg-hover,omitempty"` + FormsBorderDefault *string `json:"forms-border-default,omitempty"` + FormsBorderDisabled *string `json:"forms-border-disabled,omitempty"` + FormsBorderError *string `json:"forms-border-error,omitempty"` + FormsBorderFocus *string `json:"forms-border-focus,omitempty"` + FormsBorderHover *string `json:"forms-border-hover,omitempty"` + FormsBorderSuccess *string `json:"forms-border-success,omitempty"` + FormsBorderWarn *string `json:"forms-border-warn,omitempty"` + FormsCheckboxBgChecked *string `json:"forms-checkbox-bg-checked,omitempty"` + FormsCheckboxBgDefault *string `json:"forms-checkbox-bg-default,omitempty"` + FormsCheckboxBorderChecked *string `json:"forms-checkbox-border-checked,omitempty"` + FormsCheckboxBorderDefault *string `json:"forms-checkbox-border-default,omitempty"` + FormsCheckboxFgChecked *string `json:"forms-checkbox-fg-checked,omitempty"` + FormsCheckboxFgDefault *string `json:"forms-checkbox-fg-default,omitempty"` + FormsFgDefault *string `json:"forms-fg-default,omitempty"` + FormsFgError *string `json:"forms-fg-error,omitempty"` + FormsFgMute *string `json:"forms-fg-mute,omitempty"` + FormsFgSubtle *string `json:"forms-fg-subtle,omitempty"` + FormsFgSuccess *string `json:"forms-fg-success,omitempty"` + FormsFgWarn *string `json:"forms-fg-warn,omitempty"` + FormsRadioBgChecked *string `json:"forms-radio-bg-checked,omitempty"` + FormsRadioBgDefault *string `json:"forms-radio-bg-default,omitempty"` + FormsRadioBorderChecked *string `json:"forms-radio-border-checked,omitempty"` + FormsRadioBorderDefault *string `json:"forms-radio-border-default,omitempty"` + FormsRadioFgChecked *string `json:"forms-radio-fg-checked,omitempty"` + FormsRadioFgDefault *string `json:"forms-radio-fg-default,omitempty"` + FormsToggleBgChecked *string `json:"forms-toggle-bg-checked,omitempty"` + FormsToggleBgDefault *string `json:"forms-toggle-bg-default,omitempty"` + FormsToggleBorderChecked *string `json:"forms-toggle-border-checked,omitempty"` + FormsToggleBorderDefault *string `json:"forms-toggle-border-default,omitempty"` + FormsToggleFgChecked *string `json:"forms-toggle-fg-checked,omitempty"` + FormsToggleFgDefault *string `json:"forms-toggle-fg-default,omitempty"` + Id *string `json:"id,omitempty"` + LinksLinkDefault *string `json:"links-link-default,omitempty"` + LinksLinkDisabled *string `json:"links-link-disabled,omitempty"` + LinksLinkHover *string `json:"links-link-hover,omitempty"` + LinksLinkInvertedDefault *string `json:"links-link-inverted-default,omitempty"` + LinksLinkInvertedHover *string `json:"links-link-inverted-hover,omitempty"` + LinksLinkMuteDefault *string `json:"links-link-mute-default,omitempty"` + LinksLinkMuteHover *string `json:"links-link-mute-hover,omitempty"` + SyntaxSyntax *string `json:"syntax-syntax,omitempty"` + SyntaxSyntaxKey *string `json:"syntax-syntax-key,omitempty"` + SyntaxSyntaxNum *string `json:"syntax-syntax-num,omitempty"` + SyntaxSyntaxValue *string `json:"syntax-syntax-value,omitempty"` + UpdatedAt *time.Time `json:"updated_at,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _AccountExperienceThemeVariables AccountExperienceThemeVariables + +// NewAccountExperienceThemeVariables instantiates a new AccountExperienceThemeVariables object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAccountExperienceThemeVariables() *AccountExperienceThemeVariables { + this := AccountExperienceThemeVariables{} + return &this +} + +// NewAccountExperienceThemeVariablesWithDefaults instantiates a new AccountExperienceThemeVariables object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAccountExperienceThemeVariablesWithDefaults() *AccountExperienceThemeVariables { + this := AccountExperienceThemeVariables{} + return &this +} + +// GetAccent returns the Accent field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetAccent() string { + if o == nil || IsNil(o.Accent) { + var ret string + return ret + } + return *o.Accent +} + +// GetAccentOk returns a tuple with the Accent field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetAccentOk() (*string, bool) { + if o == nil || IsNil(o.Accent) { + return nil, false + } + return o.Accent, true +} + +// HasAccent returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasAccent() bool { + if o != nil && !IsNil(o.Accent) { + return true + } + + return false +} + +// SetAccent gets a reference to the given string and assigns it to the Accent field. +func (o *AccountExperienceThemeVariables) SetAccent(v string) { + o.Accent = &v +} + +// GetBgDefault returns the BgDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetBgDefault() string { + if o == nil || IsNil(o.BgDefault) { + var ret string + return ret + } + return *o.BgDefault +} + +// GetBgDefaultOk returns a tuple with the BgDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetBgDefaultOk() (*string, bool) { + if o == nil || IsNil(o.BgDefault) { + return nil, false + } + return o.BgDefault, true +} + +// HasBgDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasBgDefault() bool { + if o != nil && !IsNil(o.BgDefault) { + return true + } + + return false +} + +// SetBgDefault gets a reference to the given string and assigns it to the BgDefault field. +func (o *AccountExperienceThemeVariables) SetBgDefault(v string) { + o.BgDefault = &v +} + +// GetBorderRadiusBranding returns the BorderRadiusBranding field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetBorderRadiusBranding() string { + if o == nil || IsNil(o.BorderRadiusBranding) { + var ret string + return ret + } + return *o.BorderRadiusBranding +} + +// GetBorderRadiusBrandingOk returns a tuple with the BorderRadiusBranding field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetBorderRadiusBrandingOk() (*string, bool) { + if o == nil || IsNil(o.BorderRadiusBranding) { + return nil, false + } + return o.BorderRadiusBranding, true +} + +// HasBorderRadiusBranding returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasBorderRadiusBranding() bool { + if o != nil && !IsNil(o.BorderRadiusBranding) { + return true + } + + return false +} + +// SetBorderRadiusBranding gets a reference to the given string and assigns it to the BorderRadiusBranding field. +func (o *AccountExperienceThemeVariables) SetBorderRadiusBranding(v string) { + o.BorderRadiusBranding = &v +} + +// GetBorderRadiusButtons returns the BorderRadiusButtons field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetBorderRadiusButtons() string { + if o == nil || IsNil(o.BorderRadiusButtons) { + var ret string + return ret + } + return *o.BorderRadiusButtons +} + +// GetBorderRadiusButtonsOk returns a tuple with the BorderRadiusButtons field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetBorderRadiusButtonsOk() (*string, bool) { + if o == nil || IsNil(o.BorderRadiusButtons) { + return nil, false + } + return o.BorderRadiusButtons, true +} + +// HasBorderRadiusButtons returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasBorderRadiusButtons() bool { + if o != nil && !IsNil(o.BorderRadiusButtons) { + return true + } + + return false +} + +// SetBorderRadiusButtons gets a reference to the given string and assigns it to the BorderRadiusButtons field. +func (o *AccountExperienceThemeVariables) SetBorderRadiusButtons(v string) { + o.BorderRadiusButtons = &v +} + +// GetBorderRadiusCards returns the BorderRadiusCards field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetBorderRadiusCards() string { + if o == nil || IsNil(o.BorderRadiusCards) { + var ret string + return ret + } + return *o.BorderRadiusCards +} + +// GetBorderRadiusCardsOk returns a tuple with the BorderRadiusCards field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetBorderRadiusCardsOk() (*string, bool) { + if o == nil || IsNil(o.BorderRadiusCards) { + return nil, false + } + return o.BorderRadiusCards, true +} + +// HasBorderRadiusCards returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasBorderRadiusCards() bool { + if o != nil && !IsNil(o.BorderRadiusCards) { + return true + } + + return false +} + +// SetBorderRadiusCards gets a reference to the given string and assigns it to the BorderRadiusCards field. +func (o *AccountExperienceThemeVariables) SetBorderRadiusCards(v string) { + o.BorderRadiusCards = &v +} + +// GetBorderRadiusForms returns the BorderRadiusForms field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetBorderRadiusForms() string { + if o == nil || IsNil(o.BorderRadiusForms) { + var ret string + return ret + } + return *o.BorderRadiusForms +} + +// GetBorderRadiusFormsOk returns a tuple with the BorderRadiusForms field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetBorderRadiusFormsOk() (*string, bool) { + if o == nil || IsNil(o.BorderRadiusForms) { + return nil, false + } + return o.BorderRadiusForms, true +} + +// HasBorderRadiusForms returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasBorderRadiusForms() bool { + if o != nil && !IsNil(o.BorderRadiusForms) { + return true + } + + return false +} + +// SetBorderRadiusForms gets a reference to the given string and assigns it to the BorderRadiusForms field. +func (o *AccountExperienceThemeVariables) SetBorderRadiusForms(v string) { + o.BorderRadiusForms = &v +} + +// GetBorderRadiusGeneral returns the BorderRadiusGeneral field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetBorderRadiusGeneral() string { + if o == nil || IsNil(o.BorderRadiusGeneral) { + var ret string + return ret + } + return *o.BorderRadiusGeneral +} + +// GetBorderRadiusGeneralOk returns a tuple with the BorderRadiusGeneral field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetBorderRadiusGeneralOk() (*string, bool) { + if o == nil || IsNil(o.BorderRadiusGeneral) { + return nil, false + } + return o.BorderRadiusGeneral, true +} + +// HasBorderRadiusGeneral returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasBorderRadiusGeneral() bool { + if o != nil && !IsNil(o.BorderRadiusGeneral) { + return true + } + + return false +} + +// SetBorderRadiusGeneral gets a reference to the given string and assigns it to the BorderRadiusGeneral field. +func (o *AccountExperienceThemeVariables) SetBorderRadiusGeneral(v string) { + o.BorderRadiusGeneral = &v +} + +// GetButtonPrimaryBgDefault returns the ButtonPrimaryBgDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonPrimaryBgDefault() string { + if o == nil || IsNil(o.ButtonPrimaryBgDefault) { + var ret string + return ret + } + return *o.ButtonPrimaryBgDefault +} + +// GetButtonPrimaryBgDefaultOk returns a tuple with the ButtonPrimaryBgDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonPrimaryBgDefaultOk() (*string, bool) { + if o == nil || IsNil(o.ButtonPrimaryBgDefault) { + return nil, false + } + return o.ButtonPrimaryBgDefault, true +} + +// HasButtonPrimaryBgDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonPrimaryBgDefault() bool { + if o != nil && !IsNil(o.ButtonPrimaryBgDefault) { + return true + } + + return false +} + +// SetButtonPrimaryBgDefault gets a reference to the given string and assigns it to the ButtonPrimaryBgDefault field. +func (o *AccountExperienceThemeVariables) SetButtonPrimaryBgDefault(v string) { + o.ButtonPrimaryBgDefault = &v +} + +// GetButtonPrimaryBgDisabled returns the ButtonPrimaryBgDisabled field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonPrimaryBgDisabled() string { + if o == nil || IsNil(o.ButtonPrimaryBgDisabled) { + var ret string + return ret + } + return *o.ButtonPrimaryBgDisabled +} + +// GetButtonPrimaryBgDisabledOk returns a tuple with the ButtonPrimaryBgDisabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonPrimaryBgDisabledOk() (*string, bool) { + if o == nil || IsNil(o.ButtonPrimaryBgDisabled) { + return nil, false + } + return o.ButtonPrimaryBgDisabled, true +} + +// HasButtonPrimaryBgDisabled returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonPrimaryBgDisabled() bool { + if o != nil && !IsNil(o.ButtonPrimaryBgDisabled) { + return true + } + + return false +} + +// SetButtonPrimaryBgDisabled gets a reference to the given string and assigns it to the ButtonPrimaryBgDisabled field. +func (o *AccountExperienceThemeVariables) SetButtonPrimaryBgDisabled(v string) { + o.ButtonPrimaryBgDisabled = &v +} + +// GetButtonPrimaryBgHover returns the ButtonPrimaryBgHover field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonPrimaryBgHover() string { + if o == nil || IsNil(o.ButtonPrimaryBgHover) { + var ret string + return ret + } + return *o.ButtonPrimaryBgHover +} + +// GetButtonPrimaryBgHoverOk returns a tuple with the ButtonPrimaryBgHover field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonPrimaryBgHoverOk() (*string, bool) { + if o == nil || IsNil(o.ButtonPrimaryBgHover) { + return nil, false + } + return o.ButtonPrimaryBgHover, true +} + +// HasButtonPrimaryBgHover returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonPrimaryBgHover() bool { + if o != nil && !IsNil(o.ButtonPrimaryBgHover) { + return true + } + + return false +} + +// SetButtonPrimaryBgHover gets a reference to the given string and assigns it to the ButtonPrimaryBgHover field. +func (o *AccountExperienceThemeVariables) SetButtonPrimaryBgHover(v string) { + o.ButtonPrimaryBgHover = &v +} + +// GetButtonPrimaryBorderDefault returns the ButtonPrimaryBorderDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonPrimaryBorderDefault() string { + if o == nil || IsNil(o.ButtonPrimaryBorderDefault) { + var ret string + return ret + } + return *o.ButtonPrimaryBorderDefault +} + +// GetButtonPrimaryBorderDefaultOk returns a tuple with the ButtonPrimaryBorderDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonPrimaryBorderDefaultOk() (*string, bool) { + if o == nil || IsNil(o.ButtonPrimaryBorderDefault) { + return nil, false + } + return o.ButtonPrimaryBorderDefault, true +} + +// HasButtonPrimaryBorderDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonPrimaryBorderDefault() bool { + if o != nil && !IsNil(o.ButtonPrimaryBorderDefault) { + return true + } + + return false +} + +// SetButtonPrimaryBorderDefault gets a reference to the given string and assigns it to the ButtonPrimaryBorderDefault field. +func (o *AccountExperienceThemeVariables) SetButtonPrimaryBorderDefault(v string) { + o.ButtonPrimaryBorderDefault = &v +} + +// GetButtonPrimaryBorderDisabled returns the ButtonPrimaryBorderDisabled field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonPrimaryBorderDisabled() string { + if o == nil || IsNil(o.ButtonPrimaryBorderDisabled) { + var ret string + return ret + } + return *o.ButtonPrimaryBorderDisabled +} + +// GetButtonPrimaryBorderDisabledOk returns a tuple with the ButtonPrimaryBorderDisabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonPrimaryBorderDisabledOk() (*string, bool) { + if o == nil || IsNil(o.ButtonPrimaryBorderDisabled) { + return nil, false + } + return o.ButtonPrimaryBorderDisabled, true +} + +// HasButtonPrimaryBorderDisabled returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonPrimaryBorderDisabled() bool { + if o != nil && !IsNil(o.ButtonPrimaryBorderDisabled) { + return true + } + + return false +} + +// SetButtonPrimaryBorderDisabled gets a reference to the given string and assigns it to the ButtonPrimaryBorderDisabled field. +func (o *AccountExperienceThemeVariables) SetButtonPrimaryBorderDisabled(v string) { + o.ButtonPrimaryBorderDisabled = &v +} + +// GetButtonPrimaryBorderHover returns the ButtonPrimaryBorderHover field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonPrimaryBorderHover() string { + if o == nil || IsNil(o.ButtonPrimaryBorderHover) { + var ret string + return ret + } + return *o.ButtonPrimaryBorderHover +} + +// GetButtonPrimaryBorderHoverOk returns a tuple with the ButtonPrimaryBorderHover field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonPrimaryBorderHoverOk() (*string, bool) { + if o == nil || IsNil(o.ButtonPrimaryBorderHover) { + return nil, false + } + return o.ButtonPrimaryBorderHover, true +} + +// HasButtonPrimaryBorderHover returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonPrimaryBorderHover() bool { + if o != nil && !IsNil(o.ButtonPrimaryBorderHover) { + return true + } + + return false +} + +// SetButtonPrimaryBorderHover gets a reference to the given string and assigns it to the ButtonPrimaryBorderHover field. +func (o *AccountExperienceThemeVariables) SetButtonPrimaryBorderHover(v string) { + o.ButtonPrimaryBorderHover = &v +} + +// GetButtonPrimaryFgDefault returns the ButtonPrimaryFgDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonPrimaryFgDefault() string { + if o == nil || IsNil(o.ButtonPrimaryFgDefault) { + var ret string + return ret + } + return *o.ButtonPrimaryFgDefault +} + +// GetButtonPrimaryFgDefaultOk returns a tuple with the ButtonPrimaryFgDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonPrimaryFgDefaultOk() (*string, bool) { + if o == nil || IsNil(o.ButtonPrimaryFgDefault) { + return nil, false + } + return o.ButtonPrimaryFgDefault, true +} + +// HasButtonPrimaryFgDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonPrimaryFgDefault() bool { + if o != nil && !IsNil(o.ButtonPrimaryFgDefault) { + return true + } + + return false +} + +// SetButtonPrimaryFgDefault gets a reference to the given string and assigns it to the ButtonPrimaryFgDefault field. +func (o *AccountExperienceThemeVariables) SetButtonPrimaryFgDefault(v string) { + o.ButtonPrimaryFgDefault = &v +} + +// GetButtonPrimaryFgDisabled returns the ButtonPrimaryFgDisabled field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonPrimaryFgDisabled() string { + if o == nil || IsNil(o.ButtonPrimaryFgDisabled) { + var ret string + return ret + } + return *o.ButtonPrimaryFgDisabled +} + +// GetButtonPrimaryFgDisabledOk returns a tuple with the ButtonPrimaryFgDisabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonPrimaryFgDisabledOk() (*string, bool) { + if o == nil || IsNil(o.ButtonPrimaryFgDisabled) { + return nil, false + } + return o.ButtonPrimaryFgDisabled, true +} + +// HasButtonPrimaryFgDisabled returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonPrimaryFgDisabled() bool { + if o != nil && !IsNil(o.ButtonPrimaryFgDisabled) { + return true + } + + return false +} + +// SetButtonPrimaryFgDisabled gets a reference to the given string and assigns it to the ButtonPrimaryFgDisabled field. +func (o *AccountExperienceThemeVariables) SetButtonPrimaryFgDisabled(v string) { + o.ButtonPrimaryFgDisabled = &v +} + +// GetButtonPrimaryFgHover returns the ButtonPrimaryFgHover field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonPrimaryFgHover() string { + if o == nil || IsNil(o.ButtonPrimaryFgHover) { + var ret string + return ret + } + return *o.ButtonPrimaryFgHover +} + +// GetButtonPrimaryFgHoverOk returns a tuple with the ButtonPrimaryFgHover field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonPrimaryFgHoverOk() (*string, bool) { + if o == nil || IsNil(o.ButtonPrimaryFgHover) { + return nil, false + } + return o.ButtonPrimaryFgHover, true +} + +// HasButtonPrimaryFgHover returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonPrimaryFgHover() bool { + if o != nil && !IsNil(o.ButtonPrimaryFgHover) { + return true + } + + return false +} + +// SetButtonPrimaryFgHover gets a reference to the given string and assigns it to the ButtonPrimaryFgHover field. +func (o *AccountExperienceThemeVariables) SetButtonPrimaryFgHover(v string) { + o.ButtonPrimaryFgHover = &v +} + +// GetButtonSecondaryBgDefault returns the ButtonSecondaryBgDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSecondaryBgDefault() string { + if o == nil || IsNil(o.ButtonSecondaryBgDefault) { + var ret string + return ret + } + return *o.ButtonSecondaryBgDefault +} + +// GetButtonSecondaryBgDefaultOk returns a tuple with the ButtonSecondaryBgDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSecondaryBgDefaultOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSecondaryBgDefault) { + return nil, false + } + return o.ButtonSecondaryBgDefault, true +} + +// HasButtonSecondaryBgDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSecondaryBgDefault() bool { + if o != nil && !IsNil(o.ButtonSecondaryBgDefault) { + return true + } + + return false +} + +// SetButtonSecondaryBgDefault gets a reference to the given string and assigns it to the ButtonSecondaryBgDefault field. +func (o *AccountExperienceThemeVariables) SetButtonSecondaryBgDefault(v string) { + o.ButtonSecondaryBgDefault = &v +} + +// GetButtonSecondaryBgDisabled returns the ButtonSecondaryBgDisabled field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSecondaryBgDisabled() string { + if o == nil || IsNil(o.ButtonSecondaryBgDisabled) { + var ret string + return ret + } + return *o.ButtonSecondaryBgDisabled +} + +// GetButtonSecondaryBgDisabledOk returns a tuple with the ButtonSecondaryBgDisabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSecondaryBgDisabledOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSecondaryBgDisabled) { + return nil, false + } + return o.ButtonSecondaryBgDisabled, true +} + +// HasButtonSecondaryBgDisabled returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSecondaryBgDisabled() bool { + if o != nil && !IsNil(o.ButtonSecondaryBgDisabled) { + return true + } + + return false +} + +// SetButtonSecondaryBgDisabled gets a reference to the given string and assigns it to the ButtonSecondaryBgDisabled field. +func (o *AccountExperienceThemeVariables) SetButtonSecondaryBgDisabled(v string) { + o.ButtonSecondaryBgDisabled = &v +} + +// GetButtonSecondaryBgHover returns the ButtonSecondaryBgHover field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSecondaryBgHover() string { + if o == nil || IsNil(o.ButtonSecondaryBgHover) { + var ret string + return ret + } + return *o.ButtonSecondaryBgHover +} + +// GetButtonSecondaryBgHoverOk returns a tuple with the ButtonSecondaryBgHover field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSecondaryBgHoverOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSecondaryBgHover) { + return nil, false + } + return o.ButtonSecondaryBgHover, true +} + +// HasButtonSecondaryBgHover returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSecondaryBgHover() bool { + if o != nil && !IsNil(o.ButtonSecondaryBgHover) { + return true + } + + return false +} + +// SetButtonSecondaryBgHover gets a reference to the given string and assigns it to the ButtonSecondaryBgHover field. +func (o *AccountExperienceThemeVariables) SetButtonSecondaryBgHover(v string) { + o.ButtonSecondaryBgHover = &v +} + +// GetButtonSecondaryBorderDefault returns the ButtonSecondaryBorderDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSecondaryBorderDefault() string { + if o == nil || IsNil(o.ButtonSecondaryBorderDefault) { + var ret string + return ret + } + return *o.ButtonSecondaryBorderDefault +} + +// GetButtonSecondaryBorderDefaultOk returns a tuple with the ButtonSecondaryBorderDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSecondaryBorderDefaultOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSecondaryBorderDefault) { + return nil, false + } + return o.ButtonSecondaryBorderDefault, true +} + +// HasButtonSecondaryBorderDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSecondaryBorderDefault() bool { + if o != nil && !IsNil(o.ButtonSecondaryBorderDefault) { + return true + } + + return false +} + +// SetButtonSecondaryBorderDefault gets a reference to the given string and assigns it to the ButtonSecondaryBorderDefault field. +func (o *AccountExperienceThemeVariables) SetButtonSecondaryBorderDefault(v string) { + o.ButtonSecondaryBorderDefault = &v +} + +// GetButtonSecondaryBorderDisabled returns the ButtonSecondaryBorderDisabled field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSecondaryBorderDisabled() string { + if o == nil || IsNil(o.ButtonSecondaryBorderDisabled) { + var ret string + return ret + } + return *o.ButtonSecondaryBorderDisabled +} + +// GetButtonSecondaryBorderDisabledOk returns a tuple with the ButtonSecondaryBorderDisabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSecondaryBorderDisabledOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSecondaryBorderDisabled) { + return nil, false + } + return o.ButtonSecondaryBorderDisabled, true +} + +// HasButtonSecondaryBorderDisabled returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSecondaryBorderDisabled() bool { + if o != nil && !IsNil(o.ButtonSecondaryBorderDisabled) { + return true + } + + return false +} + +// SetButtonSecondaryBorderDisabled gets a reference to the given string and assigns it to the ButtonSecondaryBorderDisabled field. +func (o *AccountExperienceThemeVariables) SetButtonSecondaryBorderDisabled(v string) { + o.ButtonSecondaryBorderDisabled = &v +} + +// GetButtonSecondaryBorderHover returns the ButtonSecondaryBorderHover field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSecondaryBorderHover() string { + if o == nil || IsNil(o.ButtonSecondaryBorderHover) { + var ret string + return ret + } + return *o.ButtonSecondaryBorderHover +} + +// GetButtonSecondaryBorderHoverOk returns a tuple with the ButtonSecondaryBorderHover field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSecondaryBorderHoverOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSecondaryBorderHover) { + return nil, false + } + return o.ButtonSecondaryBorderHover, true +} + +// HasButtonSecondaryBorderHover returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSecondaryBorderHover() bool { + if o != nil && !IsNil(o.ButtonSecondaryBorderHover) { + return true + } + + return false +} + +// SetButtonSecondaryBorderHover gets a reference to the given string and assigns it to the ButtonSecondaryBorderHover field. +func (o *AccountExperienceThemeVariables) SetButtonSecondaryBorderHover(v string) { + o.ButtonSecondaryBorderHover = &v +} + +// GetButtonSecondaryFgDefault returns the ButtonSecondaryFgDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSecondaryFgDefault() string { + if o == nil || IsNil(o.ButtonSecondaryFgDefault) { + var ret string + return ret + } + return *o.ButtonSecondaryFgDefault +} + +// GetButtonSecondaryFgDefaultOk returns a tuple with the ButtonSecondaryFgDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSecondaryFgDefaultOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSecondaryFgDefault) { + return nil, false + } + return o.ButtonSecondaryFgDefault, true +} + +// HasButtonSecondaryFgDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSecondaryFgDefault() bool { + if o != nil && !IsNil(o.ButtonSecondaryFgDefault) { + return true + } + + return false +} + +// SetButtonSecondaryFgDefault gets a reference to the given string and assigns it to the ButtonSecondaryFgDefault field. +func (o *AccountExperienceThemeVariables) SetButtonSecondaryFgDefault(v string) { + o.ButtonSecondaryFgDefault = &v +} + +// GetButtonSecondaryFgDisabled returns the ButtonSecondaryFgDisabled field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSecondaryFgDisabled() string { + if o == nil || IsNil(o.ButtonSecondaryFgDisabled) { + var ret string + return ret + } + return *o.ButtonSecondaryFgDisabled +} + +// GetButtonSecondaryFgDisabledOk returns a tuple with the ButtonSecondaryFgDisabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSecondaryFgDisabledOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSecondaryFgDisabled) { + return nil, false + } + return o.ButtonSecondaryFgDisabled, true +} + +// HasButtonSecondaryFgDisabled returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSecondaryFgDisabled() bool { + if o != nil && !IsNil(o.ButtonSecondaryFgDisabled) { + return true + } + + return false +} + +// SetButtonSecondaryFgDisabled gets a reference to the given string and assigns it to the ButtonSecondaryFgDisabled field. +func (o *AccountExperienceThemeVariables) SetButtonSecondaryFgDisabled(v string) { + o.ButtonSecondaryFgDisabled = &v +} + +// GetButtonSecondaryFgHover returns the ButtonSecondaryFgHover field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSecondaryFgHover() string { + if o == nil || IsNil(o.ButtonSecondaryFgHover) { + var ret string + return ret + } + return *o.ButtonSecondaryFgHover +} + +// GetButtonSecondaryFgHoverOk returns a tuple with the ButtonSecondaryFgHover field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSecondaryFgHoverOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSecondaryFgHover) { + return nil, false + } + return o.ButtonSecondaryFgHover, true +} + +// HasButtonSecondaryFgHover returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSecondaryFgHover() bool { + if o != nil && !IsNil(o.ButtonSecondaryFgHover) { + return true + } + + return false +} + +// SetButtonSecondaryFgHover gets a reference to the given string and assigns it to the ButtonSecondaryFgHover field. +func (o *AccountExperienceThemeVariables) SetButtonSecondaryFgHover(v string) { + o.ButtonSecondaryFgHover = &v +} + +// GetButtonSocialBgDefault returns the ButtonSocialBgDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSocialBgDefault() string { + if o == nil || IsNil(o.ButtonSocialBgDefault) { + var ret string + return ret + } + return *o.ButtonSocialBgDefault +} + +// GetButtonSocialBgDefaultOk returns a tuple with the ButtonSocialBgDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSocialBgDefaultOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSocialBgDefault) { + return nil, false + } + return o.ButtonSocialBgDefault, true +} + +// HasButtonSocialBgDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSocialBgDefault() bool { + if o != nil && !IsNil(o.ButtonSocialBgDefault) { + return true + } + + return false +} + +// SetButtonSocialBgDefault gets a reference to the given string and assigns it to the ButtonSocialBgDefault field. +func (o *AccountExperienceThemeVariables) SetButtonSocialBgDefault(v string) { + o.ButtonSocialBgDefault = &v +} + +// GetButtonSocialBgDisabled returns the ButtonSocialBgDisabled field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSocialBgDisabled() string { + if o == nil || IsNil(o.ButtonSocialBgDisabled) { + var ret string + return ret + } + return *o.ButtonSocialBgDisabled +} + +// GetButtonSocialBgDisabledOk returns a tuple with the ButtonSocialBgDisabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSocialBgDisabledOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSocialBgDisabled) { + return nil, false + } + return o.ButtonSocialBgDisabled, true +} + +// HasButtonSocialBgDisabled returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSocialBgDisabled() bool { + if o != nil && !IsNil(o.ButtonSocialBgDisabled) { + return true + } + + return false +} + +// SetButtonSocialBgDisabled gets a reference to the given string and assigns it to the ButtonSocialBgDisabled field. +func (o *AccountExperienceThemeVariables) SetButtonSocialBgDisabled(v string) { + o.ButtonSocialBgDisabled = &v +} + +// GetButtonSocialBgHover returns the ButtonSocialBgHover field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSocialBgHover() string { + if o == nil || IsNil(o.ButtonSocialBgHover) { + var ret string + return ret + } + return *o.ButtonSocialBgHover +} + +// GetButtonSocialBgHoverOk returns a tuple with the ButtonSocialBgHover field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSocialBgHoverOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSocialBgHover) { + return nil, false + } + return o.ButtonSocialBgHover, true +} + +// HasButtonSocialBgHover returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSocialBgHover() bool { + if o != nil && !IsNil(o.ButtonSocialBgHover) { + return true + } + + return false +} + +// SetButtonSocialBgHover gets a reference to the given string and assigns it to the ButtonSocialBgHover field. +func (o *AccountExperienceThemeVariables) SetButtonSocialBgHover(v string) { + o.ButtonSocialBgHover = &v +} + +// GetButtonSocialBgProvider returns the ButtonSocialBgProvider field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSocialBgProvider() string { + if o == nil || IsNil(o.ButtonSocialBgProvider) { + var ret string + return ret + } + return *o.ButtonSocialBgProvider +} + +// GetButtonSocialBgProviderOk returns a tuple with the ButtonSocialBgProvider field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSocialBgProviderOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSocialBgProvider) { + return nil, false + } + return o.ButtonSocialBgProvider, true +} + +// HasButtonSocialBgProvider returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSocialBgProvider() bool { + if o != nil && !IsNil(o.ButtonSocialBgProvider) { + return true + } + + return false +} + +// SetButtonSocialBgProvider gets a reference to the given string and assigns it to the ButtonSocialBgProvider field. +func (o *AccountExperienceThemeVariables) SetButtonSocialBgProvider(v string) { + o.ButtonSocialBgProvider = &v +} + +// GetButtonSocialBorderDefault returns the ButtonSocialBorderDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSocialBorderDefault() string { + if o == nil || IsNil(o.ButtonSocialBorderDefault) { + var ret string + return ret + } + return *o.ButtonSocialBorderDefault +} + +// GetButtonSocialBorderDefaultOk returns a tuple with the ButtonSocialBorderDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSocialBorderDefaultOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSocialBorderDefault) { + return nil, false + } + return o.ButtonSocialBorderDefault, true +} + +// HasButtonSocialBorderDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSocialBorderDefault() bool { + if o != nil && !IsNil(o.ButtonSocialBorderDefault) { + return true + } + + return false +} + +// SetButtonSocialBorderDefault gets a reference to the given string and assigns it to the ButtonSocialBorderDefault field. +func (o *AccountExperienceThemeVariables) SetButtonSocialBorderDefault(v string) { + o.ButtonSocialBorderDefault = &v +} + +// GetButtonSocialBorderDisabled returns the ButtonSocialBorderDisabled field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSocialBorderDisabled() string { + if o == nil || IsNil(o.ButtonSocialBorderDisabled) { + var ret string + return ret + } + return *o.ButtonSocialBorderDisabled +} + +// GetButtonSocialBorderDisabledOk returns a tuple with the ButtonSocialBorderDisabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSocialBorderDisabledOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSocialBorderDisabled) { + return nil, false + } + return o.ButtonSocialBorderDisabled, true +} + +// HasButtonSocialBorderDisabled returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSocialBorderDisabled() bool { + if o != nil && !IsNil(o.ButtonSocialBorderDisabled) { + return true + } + + return false +} + +// SetButtonSocialBorderDisabled gets a reference to the given string and assigns it to the ButtonSocialBorderDisabled field. +func (o *AccountExperienceThemeVariables) SetButtonSocialBorderDisabled(v string) { + o.ButtonSocialBorderDisabled = &v +} + +// GetButtonSocialBorderHover returns the ButtonSocialBorderHover field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSocialBorderHover() string { + if o == nil || IsNil(o.ButtonSocialBorderHover) { + var ret string + return ret + } + return *o.ButtonSocialBorderHover +} + +// GetButtonSocialBorderHoverOk returns a tuple with the ButtonSocialBorderHover field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSocialBorderHoverOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSocialBorderHover) { + return nil, false + } + return o.ButtonSocialBorderHover, true +} + +// HasButtonSocialBorderHover returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSocialBorderHover() bool { + if o != nil && !IsNil(o.ButtonSocialBorderHover) { + return true + } + + return false +} + +// SetButtonSocialBorderHover gets a reference to the given string and assigns it to the ButtonSocialBorderHover field. +func (o *AccountExperienceThemeVariables) SetButtonSocialBorderHover(v string) { + o.ButtonSocialBorderHover = &v +} + +// GetButtonSocialBorderProvider returns the ButtonSocialBorderProvider field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSocialBorderProvider() string { + if o == nil || IsNil(o.ButtonSocialBorderProvider) { + var ret string + return ret + } + return *o.ButtonSocialBorderProvider +} + +// GetButtonSocialBorderProviderOk returns a tuple with the ButtonSocialBorderProvider field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSocialBorderProviderOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSocialBorderProvider) { + return nil, false + } + return o.ButtonSocialBorderProvider, true +} + +// HasButtonSocialBorderProvider returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSocialBorderProvider() bool { + if o != nil && !IsNil(o.ButtonSocialBorderProvider) { + return true + } + + return false +} + +// SetButtonSocialBorderProvider gets a reference to the given string and assigns it to the ButtonSocialBorderProvider field. +func (o *AccountExperienceThemeVariables) SetButtonSocialBorderProvider(v string) { + o.ButtonSocialBorderProvider = &v +} + +// GetButtonSocialFgDefault returns the ButtonSocialFgDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSocialFgDefault() string { + if o == nil || IsNil(o.ButtonSocialFgDefault) { + var ret string + return ret + } + return *o.ButtonSocialFgDefault +} + +// GetButtonSocialFgDefaultOk returns a tuple with the ButtonSocialFgDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSocialFgDefaultOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSocialFgDefault) { + return nil, false + } + return o.ButtonSocialFgDefault, true +} + +// HasButtonSocialFgDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSocialFgDefault() bool { + if o != nil && !IsNil(o.ButtonSocialFgDefault) { + return true + } + + return false +} + +// SetButtonSocialFgDefault gets a reference to the given string and assigns it to the ButtonSocialFgDefault field. +func (o *AccountExperienceThemeVariables) SetButtonSocialFgDefault(v string) { + o.ButtonSocialFgDefault = &v +} + +// GetButtonSocialFgDisabled returns the ButtonSocialFgDisabled field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSocialFgDisabled() string { + if o == nil || IsNil(o.ButtonSocialFgDisabled) { + var ret string + return ret + } + return *o.ButtonSocialFgDisabled +} + +// GetButtonSocialFgDisabledOk returns a tuple with the ButtonSocialFgDisabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSocialFgDisabledOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSocialFgDisabled) { + return nil, false + } + return o.ButtonSocialFgDisabled, true +} + +// HasButtonSocialFgDisabled returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSocialFgDisabled() bool { + if o != nil && !IsNil(o.ButtonSocialFgDisabled) { + return true + } + + return false +} + +// SetButtonSocialFgDisabled gets a reference to the given string and assigns it to the ButtonSocialFgDisabled field. +func (o *AccountExperienceThemeVariables) SetButtonSocialFgDisabled(v string) { + o.ButtonSocialFgDisabled = &v +} + +// GetButtonSocialFgHover returns the ButtonSocialFgHover field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSocialFgHover() string { + if o == nil || IsNil(o.ButtonSocialFgHover) { + var ret string + return ret + } + return *o.ButtonSocialFgHover +} + +// GetButtonSocialFgHoverOk returns a tuple with the ButtonSocialFgHover field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSocialFgHoverOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSocialFgHover) { + return nil, false + } + return o.ButtonSocialFgHover, true +} + +// HasButtonSocialFgHover returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSocialFgHover() bool { + if o != nil && !IsNil(o.ButtonSocialFgHover) { + return true + } + + return false +} + +// SetButtonSocialFgHover gets a reference to the given string and assigns it to the ButtonSocialFgHover field. +func (o *AccountExperienceThemeVariables) SetButtonSocialFgHover(v string) { + o.ButtonSocialFgHover = &v +} + +// GetButtonSocialFgProvider returns the ButtonSocialFgProvider field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetButtonSocialFgProvider() string { + if o == nil || IsNil(o.ButtonSocialFgProvider) { + var ret string + return ret + } + return *o.ButtonSocialFgProvider +} + +// GetButtonSocialFgProviderOk returns a tuple with the ButtonSocialFgProvider field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetButtonSocialFgProviderOk() (*string, bool) { + if o == nil || IsNil(o.ButtonSocialFgProvider) { + return nil, false + } + return o.ButtonSocialFgProvider, true +} + +// HasButtonSocialFgProvider returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasButtonSocialFgProvider() bool { + if o != nil && !IsNil(o.ButtonSocialFgProvider) { + return true + } + + return false +} + +// SetButtonSocialFgProvider gets a reference to the given string and assigns it to the ButtonSocialFgProvider field. +func (o *AccountExperienceThemeVariables) SetButtonSocialFgProvider(v string) { + o.ButtonSocialFgProvider = &v +} + +// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetCreatedAt() time.Time { + if o == nil || IsNil(o.CreatedAt) { + var ret time.Time + return ret + } + return *o.CreatedAt +} + +// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetCreatedAtOk() (*time.Time, bool) { + if o == nil || IsNil(o.CreatedAt) { + return nil, false + } + return o.CreatedAt, true +} + +// HasCreatedAt returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasCreatedAt() bool { + if o != nil && !IsNil(o.CreatedAt) { + return true + } + + return false +} + +// SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field. +func (o *AccountExperienceThemeVariables) SetCreatedAt(v time.Time) { + o.CreatedAt = &v +} + +// GetDialogBgDefault returns the DialogBgDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetDialogBgDefault() string { + if o == nil || IsNil(o.DialogBgDefault) { + var ret string + return ret + } + return *o.DialogBgDefault +} + +// GetDialogBgDefaultOk returns a tuple with the DialogBgDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetDialogBgDefaultOk() (*string, bool) { + if o == nil || IsNil(o.DialogBgDefault) { + return nil, false + } + return o.DialogBgDefault, true +} + +// HasDialogBgDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasDialogBgDefault() bool { + if o != nil && !IsNil(o.DialogBgDefault) { + return true + } + + return false +} + +// SetDialogBgDefault gets a reference to the given string and assigns it to the DialogBgDefault field. +func (o *AccountExperienceThemeVariables) SetDialogBgDefault(v string) { + o.DialogBgDefault = &v +} + +// GetDialogBgSubtle returns the DialogBgSubtle field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetDialogBgSubtle() string { + if o == nil || IsNil(o.DialogBgSubtle) { + var ret string + return ret + } + return *o.DialogBgSubtle +} + +// GetDialogBgSubtleOk returns a tuple with the DialogBgSubtle field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetDialogBgSubtleOk() (*string, bool) { + if o == nil || IsNil(o.DialogBgSubtle) { + return nil, false + } + return o.DialogBgSubtle, true +} + +// HasDialogBgSubtle returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasDialogBgSubtle() bool { + if o != nil && !IsNil(o.DialogBgSubtle) { + return true + } + + return false +} + +// SetDialogBgSubtle gets a reference to the given string and assigns it to the DialogBgSubtle field. +func (o *AccountExperienceThemeVariables) SetDialogBgSubtle(v string) { + o.DialogBgSubtle = &v +} + +// GetDialogBorderDefault returns the DialogBorderDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetDialogBorderDefault() string { + if o == nil || IsNil(o.DialogBorderDefault) { + var ret string + return ret + } + return *o.DialogBorderDefault +} + +// GetDialogBorderDefaultOk returns a tuple with the DialogBorderDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetDialogBorderDefaultOk() (*string, bool) { + if o == nil || IsNil(o.DialogBorderDefault) { + return nil, false + } + return o.DialogBorderDefault, true +} + +// HasDialogBorderDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasDialogBorderDefault() bool { + if o != nil && !IsNil(o.DialogBorderDefault) { + return true + } + + return false +} + +// SetDialogBorderDefault gets a reference to the given string and assigns it to the DialogBorderDefault field. +func (o *AccountExperienceThemeVariables) SetDialogBorderDefault(v string) { + o.DialogBorderDefault = &v +} + +// GetDialogFgDefault returns the DialogFgDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetDialogFgDefault() string { + if o == nil || IsNil(o.DialogFgDefault) { + var ret string + return ret + } + return *o.DialogFgDefault +} + +// GetDialogFgDefaultOk returns a tuple with the DialogFgDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetDialogFgDefaultOk() (*string, bool) { + if o == nil || IsNil(o.DialogFgDefault) { + return nil, false + } + return o.DialogFgDefault, true +} + +// HasDialogFgDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasDialogFgDefault() bool { + if o != nil && !IsNil(o.DialogFgDefault) { + return true + } + + return false +} + +// SetDialogFgDefault gets a reference to the given string and assigns it to the DialogFgDefault field. +func (o *AccountExperienceThemeVariables) SetDialogFgDefault(v string) { + o.DialogFgDefault = &v +} + +// GetDialogFgMute returns the DialogFgMute field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetDialogFgMute() string { + if o == nil || IsNil(o.DialogFgMute) { + var ret string + return ret + } + return *o.DialogFgMute +} + +// GetDialogFgMuteOk returns a tuple with the DialogFgMute field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetDialogFgMuteOk() (*string, bool) { + if o == nil || IsNil(o.DialogFgMute) { + return nil, false + } + return o.DialogFgMute, true +} + +// HasDialogFgMute returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasDialogFgMute() bool { + if o != nil && !IsNil(o.DialogFgMute) { + return true + } + + return false +} + +// SetDialogFgMute gets a reference to the given string and assigns it to the DialogFgMute field. +func (o *AccountExperienceThemeVariables) SetDialogFgMute(v string) { + o.DialogFgMute = &v +} + +// GetDialogFgSubtle returns the DialogFgSubtle field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetDialogFgSubtle() string { + if o == nil || IsNil(o.DialogFgSubtle) { + var ret string + return ret + } + return *o.DialogFgSubtle +} + +// GetDialogFgSubtleOk returns a tuple with the DialogFgSubtle field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetDialogFgSubtleOk() (*string, bool) { + if o == nil || IsNil(o.DialogFgSubtle) { + return nil, false + } + return o.DialogFgSubtle, true +} + +// HasDialogFgSubtle returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasDialogFgSubtle() bool { + if o != nil && !IsNil(o.DialogFgSubtle) { + return true + } + + return false +} + +// SetDialogFgSubtle gets a reference to the given string and assigns it to the DialogFgSubtle field. +func (o *AccountExperienceThemeVariables) SetDialogFgSubtle(v string) { + o.DialogFgSubtle = &v +} + +// GetFormsBgDefault returns the FormsBgDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsBgDefault() string { + if o == nil || IsNil(o.FormsBgDefault) { + var ret string + return ret + } + return *o.FormsBgDefault +} + +// GetFormsBgDefaultOk returns a tuple with the FormsBgDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsBgDefaultOk() (*string, bool) { + if o == nil || IsNil(o.FormsBgDefault) { + return nil, false + } + return o.FormsBgDefault, true +} + +// HasFormsBgDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsBgDefault() bool { + if o != nil && !IsNil(o.FormsBgDefault) { + return true + } + + return false +} + +// SetFormsBgDefault gets a reference to the given string and assigns it to the FormsBgDefault field. +func (o *AccountExperienceThemeVariables) SetFormsBgDefault(v string) { + o.FormsBgDefault = &v +} + +// GetFormsBgDisabled returns the FormsBgDisabled field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsBgDisabled() string { + if o == nil || IsNil(o.FormsBgDisabled) { + var ret string + return ret + } + return *o.FormsBgDisabled +} + +// GetFormsBgDisabledOk returns a tuple with the FormsBgDisabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsBgDisabledOk() (*string, bool) { + if o == nil || IsNil(o.FormsBgDisabled) { + return nil, false + } + return o.FormsBgDisabled, true +} + +// HasFormsBgDisabled returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsBgDisabled() bool { + if o != nil && !IsNil(o.FormsBgDisabled) { + return true + } + + return false +} + +// SetFormsBgDisabled gets a reference to the given string and assigns it to the FormsBgDisabled field. +func (o *AccountExperienceThemeVariables) SetFormsBgDisabled(v string) { + o.FormsBgDisabled = &v +} + +// GetFormsBgHover returns the FormsBgHover field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsBgHover() string { + if o == nil || IsNil(o.FormsBgHover) { + var ret string + return ret + } + return *o.FormsBgHover +} + +// GetFormsBgHoverOk returns a tuple with the FormsBgHover field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsBgHoverOk() (*string, bool) { + if o == nil || IsNil(o.FormsBgHover) { + return nil, false + } + return o.FormsBgHover, true +} + +// HasFormsBgHover returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsBgHover() bool { + if o != nil && !IsNil(o.FormsBgHover) { + return true + } + + return false +} + +// SetFormsBgHover gets a reference to the given string and assigns it to the FormsBgHover field. +func (o *AccountExperienceThemeVariables) SetFormsBgHover(v string) { + o.FormsBgHover = &v +} + +// GetFormsBorderDefault returns the FormsBorderDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsBorderDefault() string { + if o == nil || IsNil(o.FormsBorderDefault) { + var ret string + return ret + } + return *o.FormsBorderDefault +} + +// GetFormsBorderDefaultOk returns a tuple with the FormsBorderDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsBorderDefaultOk() (*string, bool) { + if o == nil || IsNil(o.FormsBorderDefault) { + return nil, false + } + return o.FormsBorderDefault, true +} + +// HasFormsBorderDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsBorderDefault() bool { + if o != nil && !IsNil(o.FormsBorderDefault) { + return true + } + + return false +} + +// SetFormsBorderDefault gets a reference to the given string and assigns it to the FormsBorderDefault field. +func (o *AccountExperienceThemeVariables) SetFormsBorderDefault(v string) { + o.FormsBorderDefault = &v +} + +// GetFormsBorderDisabled returns the FormsBorderDisabled field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsBorderDisabled() string { + if o == nil || IsNil(o.FormsBorderDisabled) { + var ret string + return ret + } + return *o.FormsBorderDisabled +} + +// GetFormsBorderDisabledOk returns a tuple with the FormsBorderDisabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsBorderDisabledOk() (*string, bool) { + if o == nil || IsNil(o.FormsBorderDisabled) { + return nil, false + } + return o.FormsBorderDisabled, true +} + +// HasFormsBorderDisabled returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsBorderDisabled() bool { + if o != nil && !IsNil(o.FormsBorderDisabled) { + return true + } + + return false +} + +// SetFormsBorderDisabled gets a reference to the given string and assigns it to the FormsBorderDisabled field. +func (o *AccountExperienceThemeVariables) SetFormsBorderDisabled(v string) { + o.FormsBorderDisabled = &v +} + +// GetFormsBorderError returns the FormsBorderError field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsBorderError() string { + if o == nil || IsNil(o.FormsBorderError) { + var ret string + return ret + } + return *o.FormsBorderError +} + +// GetFormsBorderErrorOk returns a tuple with the FormsBorderError field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsBorderErrorOk() (*string, bool) { + if o == nil || IsNil(o.FormsBorderError) { + return nil, false + } + return o.FormsBorderError, true +} + +// HasFormsBorderError returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsBorderError() bool { + if o != nil && !IsNil(o.FormsBorderError) { + return true + } + + return false +} + +// SetFormsBorderError gets a reference to the given string and assigns it to the FormsBorderError field. +func (o *AccountExperienceThemeVariables) SetFormsBorderError(v string) { + o.FormsBorderError = &v +} + +// GetFormsBorderFocus returns the FormsBorderFocus field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsBorderFocus() string { + if o == nil || IsNil(o.FormsBorderFocus) { + var ret string + return ret + } + return *o.FormsBorderFocus +} + +// GetFormsBorderFocusOk returns a tuple with the FormsBorderFocus field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsBorderFocusOk() (*string, bool) { + if o == nil || IsNil(o.FormsBorderFocus) { + return nil, false + } + return o.FormsBorderFocus, true +} + +// HasFormsBorderFocus returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsBorderFocus() bool { + if o != nil && !IsNil(o.FormsBorderFocus) { + return true + } + + return false +} + +// SetFormsBorderFocus gets a reference to the given string and assigns it to the FormsBorderFocus field. +func (o *AccountExperienceThemeVariables) SetFormsBorderFocus(v string) { + o.FormsBorderFocus = &v +} + +// GetFormsBorderHover returns the FormsBorderHover field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsBorderHover() string { + if o == nil || IsNil(o.FormsBorderHover) { + var ret string + return ret + } + return *o.FormsBorderHover +} + +// GetFormsBorderHoverOk returns a tuple with the FormsBorderHover field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsBorderHoverOk() (*string, bool) { + if o == nil || IsNil(o.FormsBorderHover) { + return nil, false + } + return o.FormsBorderHover, true +} + +// HasFormsBorderHover returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsBorderHover() bool { + if o != nil && !IsNil(o.FormsBorderHover) { + return true + } + + return false +} + +// SetFormsBorderHover gets a reference to the given string and assigns it to the FormsBorderHover field. +func (o *AccountExperienceThemeVariables) SetFormsBorderHover(v string) { + o.FormsBorderHover = &v +} + +// GetFormsBorderSuccess returns the FormsBorderSuccess field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsBorderSuccess() string { + if o == nil || IsNil(o.FormsBorderSuccess) { + var ret string + return ret + } + return *o.FormsBorderSuccess +} + +// GetFormsBorderSuccessOk returns a tuple with the FormsBorderSuccess field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsBorderSuccessOk() (*string, bool) { + if o == nil || IsNil(o.FormsBorderSuccess) { + return nil, false + } + return o.FormsBorderSuccess, true +} + +// HasFormsBorderSuccess returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsBorderSuccess() bool { + if o != nil && !IsNil(o.FormsBorderSuccess) { + return true + } + + return false +} + +// SetFormsBorderSuccess gets a reference to the given string and assigns it to the FormsBorderSuccess field. +func (o *AccountExperienceThemeVariables) SetFormsBorderSuccess(v string) { + o.FormsBorderSuccess = &v +} + +// GetFormsBorderWarn returns the FormsBorderWarn field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsBorderWarn() string { + if o == nil || IsNil(o.FormsBorderWarn) { + var ret string + return ret + } + return *o.FormsBorderWarn +} + +// GetFormsBorderWarnOk returns a tuple with the FormsBorderWarn field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsBorderWarnOk() (*string, bool) { + if o == nil || IsNil(o.FormsBorderWarn) { + return nil, false + } + return o.FormsBorderWarn, true +} + +// HasFormsBorderWarn returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsBorderWarn() bool { + if o != nil && !IsNil(o.FormsBorderWarn) { + return true + } + + return false +} + +// SetFormsBorderWarn gets a reference to the given string and assigns it to the FormsBorderWarn field. +func (o *AccountExperienceThemeVariables) SetFormsBorderWarn(v string) { + o.FormsBorderWarn = &v +} + +// GetFormsCheckboxBgChecked returns the FormsCheckboxBgChecked field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsCheckboxBgChecked() string { + if o == nil || IsNil(o.FormsCheckboxBgChecked) { + var ret string + return ret + } + return *o.FormsCheckboxBgChecked +} + +// GetFormsCheckboxBgCheckedOk returns a tuple with the FormsCheckboxBgChecked field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsCheckboxBgCheckedOk() (*string, bool) { + if o == nil || IsNil(o.FormsCheckboxBgChecked) { + return nil, false + } + return o.FormsCheckboxBgChecked, true +} + +// HasFormsCheckboxBgChecked returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsCheckboxBgChecked() bool { + if o != nil && !IsNil(o.FormsCheckboxBgChecked) { + return true + } + + return false +} + +// SetFormsCheckboxBgChecked gets a reference to the given string and assigns it to the FormsCheckboxBgChecked field. +func (o *AccountExperienceThemeVariables) SetFormsCheckboxBgChecked(v string) { + o.FormsCheckboxBgChecked = &v +} + +// GetFormsCheckboxBgDefault returns the FormsCheckboxBgDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsCheckboxBgDefault() string { + if o == nil || IsNil(o.FormsCheckboxBgDefault) { + var ret string + return ret + } + return *o.FormsCheckboxBgDefault +} + +// GetFormsCheckboxBgDefaultOk returns a tuple with the FormsCheckboxBgDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsCheckboxBgDefaultOk() (*string, bool) { + if o == nil || IsNil(o.FormsCheckboxBgDefault) { + return nil, false + } + return o.FormsCheckboxBgDefault, true +} + +// HasFormsCheckboxBgDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsCheckboxBgDefault() bool { + if o != nil && !IsNil(o.FormsCheckboxBgDefault) { + return true + } + + return false +} + +// SetFormsCheckboxBgDefault gets a reference to the given string and assigns it to the FormsCheckboxBgDefault field. +func (o *AccountExperienceThemeVariables) SetFormsCheckboxBgDefault(v string) { + o.FormsCheckboxBgDefault = &v +} + +// GetFormsCheckboxBorderChecked returns the FormsCheckboxBorderChecked field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsCheckboxBorderChecked() string { + if o == nil || IsNil(o.FormsCheckboxBorderChecked) { + var ret string + return ret + } + return *o.FormsCheckboxBorderChecked +} + +// GetFormsCheckboxBorderCheckedOk returns a tuple with the FormsCheckboxBorderChecked field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsCheckboxBorderCheckedOk() (*string, bool) { + if o == nil || IsNil(o.FormsCheckboxBorderChecked) { + return nil, false + } + return o.FormsCheckboxBorderChecked, true +} + +// HasFormsCheckboxBorderChecked returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsCheckboxBorderChecked() bool { + if o != nil && !IsNil(o.FormsCheckboxBorderChecked) { + return true + } + + return false +} + +// SetFormsCheckboxBorderChecked gets a reference to the given string and assigns it to the FormsCheckboxBorderChecked field. +func (o *AccountExperienceThemeVariables) SetFormsCheckboxBorderChecked(v string) { + o.FormsCheckboxBorderChecked = &v +} + +// GetFormsCheckboxBorderDefault returns the FormsCheckboxBorderDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsCheckboxBorderDefault() string { + if o == nil || IsNil(o.FormsCheckboxBorderDefault) { + var ret string + return ret + } + return *o.FormsCheckboxBorderDefault +} + +// GetFormsCheckboxBorderDefaultOk returns a tuple with the FormsCheckboxBorderDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsCheckboxBorderDefaultOk() (*string, bool) { + if o == nil || IsNil(o.FormsCheckboxBorderDefault) { + return nil, false + } + return o.FormsCheckboxBorderDefault, true +} + +// HasFormsCheckboxBorderDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsCheckboxBorderDefault() bool { + if o != nil && !IsNil(o.FormsCheckboxBorderDefault) { + return true + } + + return false +} + +// SetFormsCheckboxBorderDefault gets a reference to the given string and assigns it to the FormsCheckboxBorderDefault field. +func (o *AccountExperienceThemeVariables) SetFormsCheckboxBorderDefault(v string) { + o.FormsCheckboxBorderDefault = &v +} + +// GetFormsCheckboxFgChecked returns the FormsCheckboxFgChecked field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsCheckboxFgChecked() string { + if o == nil || IsNil(o.FormsCheckboxFgChecked) { + var ret string + return ret + } + return *o.FormsCheckboxFgChecked +} + +// GetFormsCheckboxFgCheckedOk returns a tuple with the FormsCheckboxFgChecked field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsCheckboxFgCheckedOk() (*string, bool) { + if o == nil || IsNil(o.FormsCheckboxFgChecked) { + return nil, false + } + return o.FormsCheckboxFgChecked, true +} + +// HasFormsCheckboxFgChecked returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsCheckboxFgChecked() bool { + if o != nil && !IsNil(o.FormsCheckboxFgChecked) { + return true + } + + return false +} + +// SetFormsCheckboxFgChecked gets a reference to the given string and assigns it to the FormsCheckboxFgChecked field. +func (o *AccountExperienceThemeVariables) SetFormsCheckboxFgChecked(v string) { + o.FormsCheckboxFgChecked = &v +} + +// GetFormsCheckboxFgDefault returns the FormsCheckboxFgDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsCheckboxFgDefault() string { + if o == nil || IsNil(o.FormsCheckboxFgDefault) { + var ret string + return ret + } + return *o.FormsCheckboxFgDefault +} + +// GetFormsCheckboxFgDefaultOk returns a tuple with the FormsCheckboxFgDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsCheckboxFgDefaultOk() (*string, bool) { + if o == nil || IsNil(o.FormsCheckboxFgDefault) { + return nil, false + } + return o.FormsCheckboxFgDefault, true +} + +// HasFormsCheckboxFgDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsCheckboxFgDefault() bool { + if o != nil && !IsNil(o.FormsCheckboxFgDefault) { + return true + } + + return false +} + +// SetFormsCheckboxFgDefault gets a reference to the given string and assigns it to the FormsCheckboxFgDefault field. +func (o *AccountExperienceThemeVariables) SetFormsCheckboxFgDefault(v string) { + o.FormsCheckboxFgDefault = &v +} + +// GetFormsFgDefault returns the FormsFgDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsFgDefault() string { + if o == nil || IsNil(o.FormsFgDefault) { + var ret string + return ret + } + return *o.FormsFgDefault +} + +// GetFormsFgDefaultOk returns a tuple with the FormsFgDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsFgDefaultOk() (*string, bool) { + if o == nil || IsNil(o.FormsFgDefault) { + return nil, false + } + return o.FormsFgDefault, true +} + +// HasFormsFgDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsFgDefault() bool { + if o != nil && !IsNil(o.FormsFgDefault) { + return true + } + + return false +} + +// SetFormsFgDefault gets a reference to the given string and assigns it to the FormsFgDefault field. +func (o *AccountExperienceThemeVariables) SetFormsFgDefault(v string) { + o.FormsFgDefault = &v +} + +// GetFormsFgError returns the FormsFgError field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsFgError() string { + if o == nil || IsNil(o.FormsFgError) { + var ret string + return ret + } + return *o.FormsFgError +} + +// GetFormsFgErrorOk returns a tuple with the FormsFgError field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsFgErrorOk() (*string, bool) { + if o == nil || IsNil(o.FormsFgError) { + return nil, false + } + return o.FormsFgError, true +} + +// HasFormsFgError returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsFgError() bool { + if o != nil && !IsNil(o.FormsFgError) { + return true + } + + return false +} + +// SetFormsFgError gets a reference to the given string and assigns it to the FormsFgError field. +func (o *AccountExperienceThemeVariables) SetFormsFgError(v string) { + o.FormsFgError = &v +} + +// GetFormsFgMute returns the FormsFgMute field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsFgMute() string { + if o == nil || IsNil(o.FormsFgMute) { + var ret string + return ret + } + return *o.FormsFgMute +} + +// GetFormsFgMuteOk returns a tuple with the FormsFgMute field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsFgMuteOk() (*string, bool) { + if o == nil || IsNil(o.FormsFgMute) { + return nil, false + } + return o.FormsFgMute, true +} + +// HasFormsFgMute returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsFgMute() bool { + if o != nil && !IsNil(o.FormsFgMute) { + return true + } + + return false +} + +// SetFormsFgMute gets a reference to the given string and assigns it to the FormsFgMute field. +func (o *AccountExperienceThemeVariables) SetFormsFgMute(v string) { + o.FormsFgMute = &v +} + +// GetFormsFgSubtle returns the FormsFgSubtle field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsFgSubtle() string { + if o == nil || IsNil(o.FormsFgSubtle) { + var ret string + return ret + } + return *o.FormsFgSubtle +} + +// GetFormsFgSubtleOk returns a tuple with the FormsFgSubtle field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsFgSubtleOk() (*string, bool) { + if o == nil || IsNil(o.FormsFgSubtle) { + return nil, false + } + return o.FormsFgSubtle, true +} + +// HasFormsFgSubtle returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsFgSubtle() bool { + if o != nil && !IsNil(o.FormsFgSubtle) { + return true + } + + return false +} + +// SetFormsFgSubtle gets a reference to the given string and assigns it to the FormsFgSubtle field. +func (o *AccountExperienceThemeVariables) SetFormsFgSubtle(v string) { + o.FormsFgSubtle = &v +} + +// GetFormsFgSuccess returns the FormsFgSuccess field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsFgSuccess() string { + if o == nil || IsNil(o.FormsFgSuccess) { + var ret string + return ret + } + return *o.FormsFgSuccess +} + +// GetFormsFgSuccessOk returns a tuple with the FormsFgSuccess field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsFgSuccessOk() (*string, bool) { + if o == nil || IsNil(o.FormsFgSuccess) { + return nil, false + } + return o.FormsFgSuccess, true +} + +// HasFormsFgSuccess returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsFgSuccess() bool { + if o != nil && !IsNil(o.FormsFgSuccess) { + return true + } + + return false +} + +// SetFormsFgSuccess gets a reference to the given string and assigns it to the FormsFgSuccess field. +func (o *AccountExperienceThemeVariables) SetFormsFgSuccess(v string) { + o.FormsFgSuccess = &v +} + +// GetFormsFgWarn returns the FormsFgWarn field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsFgWarn() string { + if o == nil || IsNil(o.FormsFgWarn) { + var ret string + return ret + } + return *o.FormsFgWarn +} + +// GetFormsFgWarnOk returns a tuple with the FormsFgWarn field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsFgWarnOk() (*string, bool) { + if o == nil || IsNil(o.FormsFgWarn) { + return nil, false + } + return o.FormsFgWarn, true +} + +// HasFormsFgWarn returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsFgWarn() bool { + if o != nil && !IsNil(o.FormsFgWarn) { + return true + } + + return false +} + +// SetFormsFgWarn gets a reference to the given string and assigns it to the FormsFgWarn field. +func (o *AccountExperienceThemeVariables) SetFormsFgWarn(v string) { + o.FormsFgWarn = &v +} + +// GetFormsRadioBgChecked returns the FormsRadioBgChecked field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsRadioBgChecked() string { + if o == nil || IsNil(o.FormsRadioBgChecked) { + var ret string + return ret + } + return *o.FormsRadioBgChecked +} + +// GetFormsRadioBgCheckedOk returns a tuple with the FormsRadioBgChecked field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsRadioBgCheckedOk() (*string, bool) { + if o == nil || IsNil(o.FormsRadioBgChecked) { + return nil, false + } + return o.FormsRadioBgChecked, true +} + +// HasFormsRadioBgChecked returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsRadioBgChecked() bool { + if o != nil && !IsNil(o.FormsRadioBgChecked) { + return true + } + + return false +} + +// SetFormsRadioBgChecked gets a reference to the given string and assigns it to the FormsRadioBgChecked field. +func (o *AccountExperienceThemeVariables) SetFormsRadioBgChecked(v string) { + o.FormsRadioBgChecked = &v +} + +// GetFormsRadioBgDefault returns the FormsRadioBgDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsRadioBgDefault() string { + if o == nil || IsNil(o.FormsRadioBgDefault) { + var ret string + return ret + } + return *o.FormsRadioBgDefault +} + +// GetFormsRadioBgDefaultOk returns a tuple with the FormsRadioBgDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsRadioBgDefaultOk() (*string, bool) { + if o == nil || IsNil(o.FormsRadioBgDefault) { + return nil, false + } + return o.FormsRadioBgDefault, true +} + +// HasFormsRadioBgDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsRadioBgDefault() bool { + if o != nil && !IsNil(o.FormsRadioBgDefault) { + return true + } + + return false +} + +// SetFormsRadioBgDefault gets a reference to the given string and assigns it to the FormsRadioBgDefault field. +func (o *AccountExperienceThemeVariables) SetFormsRadioBgDefault(v string) { + o.FormsRadioBgDefault = &v +} + +// GetFormsRadioBorderChecked returns the FormsRadioBorderChecked field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsRadioBorderChecked() string { + if o == nil || IsNil(o.FormsRadioBorderChecked) { + var ret string + return ret + } + return *o.FormsRadioBorderChecked +} + +// GetFormsRadioBorderCheckedOk returns a tuple with the FormsRadioBorderChecked field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsRadioBorderCheckedOk() (*string, bool) { + if o == nil || IsNil(o.FormsRadioBorderChecked) { + return nil, false + } + return o.FormsRadioBorderChecked, true +} + +// HasFormsRadioBorderChecked returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsRadioBorderChecked() bool { + if o != nil && !IsNil(o.FormsRadioBorderChecked) { + return true + } + + return false +} + +// SetFormsRadioBorderChecked gets a reference to the given string and assigns it to the FormsRadioBorderChecked field. +func (o *AccountExperienceThemeVariables) SetFormsRadioBorderChecked(v string) { + o.FormsRadioBorderChecked = &v +} + +// GetFormsRadioBorderDefault returns the FormsRadioBorderDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsRadioBorderDefault() string { + if o == nil || IsNil(o.FormsRadioBorderDefault) { + var ret string + return ret + } + return *o.FormsRadioBorderDefault +} + +// GetFormsRadioBorderDefaultOk returns a tuple with the FormsRadioBorderDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsRadioBorderDefaultOk() (*string, bool) { + if o == nil || IsNil(o.FormsRadioBorderDefault) { + return nil, false + } + return o.FormsRadioBorderDefault, true +} + +// HasFormsRadioBorderDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsRadioBorderDefault() bool { + if o != nil && !IsNil(o.FormsRadioBorderDefault) { + return true + } + + return false +} + +// SetFormsRadioBorderDefault gets a reference to the given string and assigns it to the FormsRadioBorderDefault field. +func (o *AccountExperienceThemeVariables) SetFormsRadioBorderDefault(v string) { + o.FormsRadioBorderDefault = &v +} + +// GetFormsRadioFgChecked returns the FormsRadioFgChecked field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsRadioFgChecked() string { + if o == nil || IsNil(o.FormsRadioFgChecked) { + var ret string + return ret + } + return *o.FormsRadioFgChecked +} + +// GetFormsRadioFgCheckedOk returns a tuple with the FormsRadioFgChecked field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsRadioFgCheckedOk() (*string, bool) { + if o == nil || IsNil(o.FormsRadioFgChecked) { + return nil, false + } + return o.FormsRadioFgChecked, true +} + +// HasFormsRadioFgChecked returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsRadioFgChecked() bool { + if o != nil && !IsNil(o.FormsRadioFgChecked) { + return true + } + + return false +} + +// SetFormsRadioFgChecked gets a reference to the given string and assigns it to the FormsRadioFgChecked field. +func (o *AccountExperienceThemeVariables) SetFormsRadioFgChecked(v string) { + o.FormsRadioFgChecked = &v +} + +// GetFormsRadioFgDefault returns the FormsRadioFgDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsRadioFgDefault() string { + if o == nil || IsNil(o.FormsRadioFgDefault) { + var ret string + return ret + } + return *o.FormsRadioFgDefault +} + +// GetFormsRadioFgDefaultOk returns a tuple with the FormsRadioFgDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsRadioFgDefaultOk() (*string, bool) { + if o == nil || IsNil(o.FormsRadioFgDefault) { + return nil, false + } + return o.FormsRadioFgDefault, true +} + +// HasFormsRadioFgDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsRadioFgDefault() bool { + if o != nil && !IsNil(o.FormsRadioFgDefault) { + return true + } + + return false +} + +// SetFormsRadioFgDefault gets a reference to the given string and assigns it to the FormsRadioFgDefault field. +func (o *AccountExperienceThemeVariables) SetFormsRadioFgDefault(v string) { + o.FormsRadioFgDefault = &v +} + +// GetFormsToggleBgChecked returns the FormsToggleBgChecked field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsToggleBgChecked() string { + if o == nil || IsNil(o.FormsToggleBgChecked) { + var ret string + return ret + } + return *o.FormsToggleBgChecked +} + +// GetFormsToggleBgCheckedOk returns a tuple with the FormsToggleBgChecked field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsToggleBgCheckedOk() (*string, bool) { + if o == nil || IsNil(o.FormsToggleBgChecked) { + return nil, false + } + return o.FormsToggleBgChecked, true +} + +// HasFormsToggleBgChecked returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsToggleBgChecked() bool { + if o != nil && !IsNil(o.FormsToggleBgChecked) { + return true + } + + return false +} + +// SetFormsToggleBgChecked gets a reference to the given string and assigns it to the FormsToggleBgChecked field. +func (o *AccountExperienceThemeVariables) SetFormsToggleBgChecked(v string) { + o.FormsToggleBgChecked = &v +} + +// GetFormsToggleBgDefault returns the FormsToggleBgDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsToggleBgDefault() string { + if o == nil || IsNil(o.FormsToggleBgDefault) { + var ret string + return ret + } + return *o.FormsToggleBgDefault +} + +// GetFormsToggleBgDefaultOk returns a tuple with the FormsToggleBgDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsToggleBgDefaultOk() (*string, bool) { + if o == nil || IsNil(o.FormsToggleBgDefault) { + return nil, false + } + return o.FormsToggleBgDefault, true +} + +// HasFormsToggleBgDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsToggleBgDefault() bool { + if o != nil && !IsNil(o.FormsToggleBgDefault) { + return true + } + + return false +} + +// SetFormsToggleBgDefault gets a reference to the given string and assigns it to the FormsToggleBgDefault field. +func (o *AccountExperienceThemeVariables) SetFormsToggleBgDefault(v string) { + o.FormsToggleBgDefault = &v +} + +// GetFormsToggleBorderChecked returns the FormsToggleBorderChecked field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsToggleBorderChecked() string { + if o == nil || IsNil(o.FormsToggleBorderChecked) { + var ret string + return ret + } + return *o.FormsToggleBorderChecked +} + +// GetFormsToggleBorderCheckedOk returns a tuple with the FormsToggleBorderChecked field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsToggleBorderCheckedOk() (*string, bool) { + if o == nil || IsNil(o.FormsToggleBorderChecked) { + return nil, false + } + return o.FormsToggleBorderChecked, true +} + +// HasFormsToggleBorderChecked returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsToggleBorderChecked() bool { + if o != nil && !IsNil(o.FormsToggleBorderChecked) { + return true + } + + return false +} + +// SetFormsToggleBorderChecked gets a reference to the given string and assigns it to the FormsToggleBorderChecked field. +func (o *AccountExperienceThemeVariables) SetFormsToggleBorderChecked(v string) { + o.FormsToggleBorderChecked = &v +} + +// GetFormsToggleBorderDefault returns the FormsToggleBorderDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsToggleBorderDefault() string { + if o == nil || IsNil(o.FormsToggleBorderDefault) { + var ret string + return ret + } + return *o.FormsToggleBorderDefault +} + +// GetFormsToggleBorderDefaultOk returns a tuple with the FormsToggleBorderDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsToggleBorderDefaultOk() (*string, bool) { + if o == nil || IsNil(o.FormsToggleBorderDefault) { + return nil, false + } + return o.FormsToggleBorderDefault, true +} + +// HasFormsToggleBorderDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsToggleBorderDefault() bool { + if o != nil && !IsNil(o.FormsToggleBorderDefault) { + return true + } + + return false +} + +// SetFormsToggleBorderDefault gets a reference to the given string and assigns it to the FormsToggleBorderDefault field. +func (o *AccountExperienceThemeVariables) SetFormsToggleBorderDefault(v string) { + o.FormsToggleBorderDefault = &v +} + +// GetFormsToggleFgChecked returns the FormsToggleFgChecked field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsToggleFgChecked() string { + if o == nil || IsNil(o.FormsToggleFgChecked) { + var ret string + return ret + } + return *o.FormsToggleFgChecked +} + +// GetFormsToggleFgCheckedOk returns a tuple with the FormsToggleFgChecked field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsToggleFgCheckedOk() (*string, bool) { + if o == nil || IsNil(o.FormsToggleFgChecked) { + return nil, false + } + return o.FormsToggleFgChecked, true +} + +// HasFormsToggleFgChecked returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsToggleFgChecked() bool { + if o != nil && !IsNil(o.FormsToggleFgChecked) { + return true + } + + return false +} + +// SetFormsToggleFgChecked gets a reference to the given string and assigns it to the FormsToggleFgChecked field. +func (o *AccountExperienceThemeVariables) SetFormsToggleFgChecked(v string) { + o.FormsToggleFgChecked = &v +} + +// GetFormsToggleFgDefault returns the FormsToggleFgDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetFormsToggleFgDefault() string { + if o == nil || IsNil(o.FormsToggleFgDefault) { + var ret string + return ret + } + return *o.FormsToggleFgDefault +} + +// GetFormsToggleFgDefaultOk returns a tuple with the FormsToggleFgDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetFormsToggleFgDefaultOk() (*string, bool) { + if o == nil || IsNil(o.FormsToggleFgDefault) { + return nil, false + } + return o.FormsToggleFgDefault, true +} + +// HasFormsToggleFgDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasFormsToggleFgDefault() bool { + if o != nil && !IsNil(o.FormsToggleFgDefault) { + return true + } + + return false +} + +// SetFormsToggleFgDefault gets a reference to the given string and assigns it to the FormsToggleFgDefault field. +func (o *AccountExperienceThemeVariables) SetFormsToggleFgDefault(v string) { + o.FormsToggleFgDefault = &v +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *AccountExperienceThemeVariables) SetId(v string) { + o.Id = &v +} + +// GetLinksLinkDefault returns the LinksLinkDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetLinksLinkDefault() string { + if o == nil || IsNil(o.LinksLinkDefault) { + var ret string + return ret + } + return *o.LinksLinkDefault +} + +// GetLinksLinkDefaultOk returns a tuple with the LinksLinkDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetLinksLinkDefaultOk() (*string, bool) { + if o == nil || IsNil(o.LinksLinkDefault) { + return nil, false + } + return o.LinksLinkDefault, true +} + +// HasLinksLinkDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasLinksLinkDefault() bool { + if o != nil && !IsNil(o.LinksLinkDefault) { + return true + } + + return false +} + +// SetLinksLinkDefault gets a reference to the given string and assigns it to the LinksLinkDefault field. +func (o *AccountExperienceThemeVariables) SetLinksLinkDefault(v string) { + o.LinksLinkDefault = &v +} + +// GetLinksLinkDisabled returns the LinksLinkDisabled field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetLinksLinkDisabled() string { + if o == nil || IsNil(o.LinksLinkDisabled) { + var ret string + return ret + } + return *o.LinksLinkDisabled +} + +// GetLinksLinkDisabledOk returns a tuple with the LinksLinkDisabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetLinksLinkDisabledOk() (*string, bool) { + if o == nil || IsNil(o.LinksLinkDisabled) { + return nil, false + } + return o.LinksLinkDisabled, true +} + +// HasLinksLinkDisabled returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasLinksLinkDisabled() bool { + if o != nil && !IsNil(o.LinksLinkDisabled) { + return true + } + + return false +} + +// SetLinksLinkDisabled gets a reference to the given string and assigns it to the LinksLinkDisabled field. +func (o *AccountExperienceThemeVariables) SetLinksLinkDisabled(v string) { + o.LinksLinkDisabled = &v +} + +// GetLinksLinkHover returns the LinksLinkHover field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetLinksLinkHover() string { + if o == nil || IsNil(o.LinksLinkHover) { + var ret string + return ret + } + return *o.LinksLinkHover +} + +// GetLinksLinkHoverOk returns a tuple with the LinksLinkHover field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetLinksLinkHoverOk() (*string, bool) { + if o == nil || IsNil(o.LinksLinkHover) { + return nil, false + } + return o.LinksLinkHover, true +} + +// HasLinksLinkHover returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasLinksLinkHover() bool { + if o != nil && !IsNil(o.LinksLinkHover) { + return true + } + + return false +} + +// SetLinksLinkHover gets a reference to the given string and assigns it to the LinksLinkHover field. +func (o *AccountExperienceThemeVariables) SetLinksLinkHover(v string) { + o.LinksLinkHover = &v +} + +// GetLinksLinkInvertedDefault returns the LinksLinkInvertedDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetLinksLinkInvertedDefault() string { + if o == nil || IsNil(o.LinksLinkInvertedDefault) { + var ret string + return ret + } + return *o.LinksLinkInvertedDefault +} + +// GetLinksLinkInvertedDefaultOk returns a tuple with the LinksLinkInvertedDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetLinksLinkInvertedDefaultOk() (*string, bool) { + if o == nil || IsNil(o.LinksLinkInvertedDefault) { + return nil, false + } + return o.LinksLinkInvertedDefault, true +} + +// HasLinksLinkInvertedDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasLinksLinkInvertedDefault() bool { + if o != nil && !IsNil(o.LinksLinkInvertedDefault) { + return true + } + + return false +} + +// SetLinksLinkInvertedDefault gets a reference to the given string and assigns it to the LinksLinkInvertedDefault field. +func (o *AccountExperienceThemeVariables) SetLinksLinkInvertedDefault(v string) { + o.LinksLinkInvertedDefault = &v +} + +// GetLinksLinkInvertedHover returns the LinksLinkInvertedHover field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetLinksLinkInvertedHover() string { + if o == nil || IsNil(o.LinksLinkInvertedHover) { + var ret string + return ret + } + return *o.LinksLinkInvertedHover +} + +// GetLinksLinkInvertedHoverOk returns a tuple with the LinksLinkInvertedHover field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetLinksLinkInvertedHoverOk() (*string, bool) { + if o == nil || IsNil(o.LinksLinkInvertedHover) { + return nil, false + } + return o.LinksLinkInvertedHover, true +} + +// HasLinksLinkInvertedHover returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasLinksLinkInvertedHover() bool { + if o != nil && !IsNil(o.LinksLinkInvertedHover) { + return true + } + + return false +} + +// SetLinksLinkInvertedHover gets a reference to the given string and assigns it to the LinksLinkInvertedHover field. +func (o *AccountExperienceThemeVariables) SetLinksLinkInvertedHover(v string) { + o.LinksLinkInvertedHover = &v +} + +// GetLinksLinkMuteDefault returns the LinksLinkMuteDefault field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetLinksLinkMuteDefault() string { + if o == nil || IsNil(o.LinksLinkMuteDefault) { + var ret string + return ret + } + return *o.LinksLinkMuteDefault +} + +// GetLinksLinkMuteDefaultOk returns a tuple with the LinksLinkMuteDefault field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetLinksLinkMuteDefaultOk() (*string, bool) { + if o == nil || IsNil(o.LinksLinkMuteDefault) { + return nil, false + } + return o.LinksLinkMuteDefault, true +} + +// HasLinksLinkMuteDefault returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasLinksLinkMuteDefault() bool { + if o != nil && !IsNil(o.LinksLinkMuteDefault) { + return true + } + + return false +} + +// SetLinksLinkMuteDefault gets a reference to the given string and assigns it to the LinksLinkMuteDefault field. +func (o *AccountExperienceThemeVariables) SetLinksLinkMuteDefault(v string) { + o.LinksLinkMuteDefault = &v +} + +// GetLinksLinkMuteHover returns the LinksLinkMuteHover field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetLinksLinkMuteHover() string { + if o == nil || IsNil(o.LinksLinkMuteHover) { + var ret string + return ret + } + return *o.LinksLinkMuteHover +} + +// GetLinksLinkMuteHoverOk returns a tuple with the LinksLinkMuteHover field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetLinksLinkMuteHoverOk() (*string, bool) { + if o == nil || IsNil(o.LinksLinkMuteHover) { + return nil, false + } + return o.LinksLinkMuteHover, true +} + +// HasLinksLinkMuteHover returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasLinksLinkMuteHover() bool { + if o != nil && !IsNil(o.LinksLinkMuteHover) { + return true + } + + return false +} + +// SetLinksLinkMuteHover gets a reference to the given string and assigns it to the LinksLinkMuteHover field. +func (o *AccountExperienceThemeVariables) SetLinksLinkMuteHover(v string) { + o.LinksLinkMuteHover = &v +} + +// GetSyntaxSyntax returns the SyntaxSyntax field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetSyntaxSyntax() string { + if o == nil || IsNil(o.SyntaxSyntax) { + var ret string + return ret + } + return *o.SyntaxSyntax +} + +// GetSyntaxSyntaxOk returns a tuple with the SyntaxSyntax field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetSyntaxSyntaxOk() (*string, bool) { + if o == nil || IsNil(o.SyntaxSyntax) { + return nil, false + } + return o.SyntaxSyntax, true +} + +// HasSyntaxSyntax returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasSyntaxSyntax() bool { + if o != nil && !IsNil(o.SyntaxSyntax) { + return true + } + + return false +} + +// SetSyntaxSyntax gets a reference to the given string and assigns it to the SyntaxSyntax field. +func (o *AccountExperienceThemeVariables) SetSyntaxSyntax(v string) { + o.SyntaxSyntax = &v +} + +// GetSyntaxSyntaxKey returns the SyntaxSyntaxKey field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetSyntaxSyntaxKey() string { + if o == nil || IsNil(o.SyntaxSyntaxKey) { + var ret string + return ret + } + return *o.SyntaxSyntaxKey +} + +// GetSyntaxSyntaxKeyOk returns a tuple with the SyntaxSyntaxKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetSyntaxSyntaxKeyOk() (*string, bool) { + if o == nil || IsNil(o.SyntaxSyntaxKey) { + return nil, false + } + return o.SyntaxSyntaxKey, true +} + +// HasSyntaxSyntaxKey returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasSyntaxSyntaxKey() bool { + if o != nil && !IsNil(o.SyntaxSyntaxKey) { + return true + } + + return false +} + +// SetSyntaxSyntaxKey gets a reference to the given string and assigns it to the SyntaxSyntaxKey field. +func (o *AccountExperienceThemeVariables) SetSyntaxSyntaxKey(v string) { + o.SyntaxSyntaxKey = &v +} + +// GetSyntaxSyntaxNum returns the SyntaxSyntaxNum field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetSyntaxSyntaxNum() string { + if o == nil || IsNil(o.SyntaxSyntaxNum) { + var ret string + return ret + } + return *o.SyntaxSyntaxNum +} + +// GetSyntaxSyntaxNumOk returns a tuple with the SyntaxSyntaxNum field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetSyntaxSyntaxNumOk() (*string, bool) { + if o == nil || IsNil(o.SyntaxSyntaxNum) { + return nil, false + } + return o.SyntaxSyntaxNum, true +} + +// HasSyntaxSyntaxNum returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasSyntaxSyntaxNum() bool { + if o != nil && !IsNil(o.SyntaxSyntaxNum) { + return true + } + + return false +} + +// SetSyntaxSyntaxNum gets a reference to the given string and assigns it to the SyntaxSyntaxNum field. +func (o *AccountExperienceThemeVariables) SetSyntaxSyntaxNum(v string) { + o.SyntaxSyntaxNum = &v +} + +// GetSyntaxSyntaxValue returns the SyntaxSyntaxValue field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetSyntaxSyntaxValue() string { + if o == nil || IsNil(o.SyntaxSyntaxValue) { + var ret string + return ret + } + return *o.SyntaxSyntaxValue +} + +// GetSyntaxSyntaxValueOk returns a tuple with the SyntaxSyntaxValue field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetSyntaxSyntaxValueOk() (*string, bool) { + if o == nil || IsNil(o.SyntaxSyntaxValue) { + return nil, false + } + return o.SyntaxSyntaxValue, true +} + +// HasSyntaxSyntaxValue returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasSyntaxSyntaxValue() bool { + if o != nil && !IsNil(o.SyntaxSyntaxValue) { + return true + } + + return false +} + +// SetSyntaxSyntaxValue gets a reference to the given string and assigns it to the SyntaxSyntaxValue field. +func (o *AccountExperienceThemeVariables) SetSyntaxSyntaxValue(v string) { + o.SyntaxSyntaxValue = &v +} + +// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise. +func (o *AccountExperienceThemeVariables) GetUpdatedAt() time.Time { + if o == nil || IsNil(o.UpdatedAt) { + var ret time.Time + return ret + } + return *o.UpdatedAt +} + +// GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccountExperienceThemeVariables) GetUpdatedAtOk() (*time.Time, bool) { + if o == nil || IsNil(o.UpdatedAt) { + return nil, false + } + return o.UpdatedAt, true +} + +// HasUpdatedAt returns a boolean if a field has been set. +func (o *AccountExperienceThemeVariables) HasUpdatedAt() bool { + if o != nil && !IsNil(o.UpdatedAt) { + return true + } + + return false +} + +// SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field. +func (o *AccountExperienceThemeVariables) SetUpdatedAt(v time.Time) { + o.UpdatedAt = &v +} + +func (o AccountExperienceThemeVariables) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AccountExperienceThemeVariables) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Accent) { + toSerialize["accent"] = o.Accent + } + if !IsNil(o.BgDefault) { + toSerialize["bg-default"] = o.BgDefault + } + if !IsNil(o.BorderRadiusBranding) { + toSerialize["border-radius-branding"] = o.BorderRadiusBranding + } + if !IsNil(o.BorderRadiusButtons) { + toSerialize["border-radius-buttons"] = o.BorderRadiusButtons + } + if !IsNil(o.BorderRadiusCards) { + toSerialize["border-radius-cards"] = o.BorderRadiusCards + } + if !IsNil(o.BorderRadiusForms) { + toSerialize["border-radius-forms"] = o.BorderRadiusForms + } + if !IsNil(o.BorderRadiusGeneral) { + toSerialize["border-radius-general"] = o.BorderRadiusGeneral + } + if !IsNil(o.ButtonPrimaryBgDefault) { + toSerialize["button-primary-bg-default"] = o.ButtonPrimaryBgDefault + } + if !IsNil(o.ButtonPrimaryBgDisabled) { + toSerialize["button-primary-bg-disabled"] = o.ButtonPrimaryBgDisabled + } + if !IsNil(o.ButtonPrimaryBgHover) { + toSerialize["button-primary-bg-hover"] = o.ButtonPrimaryBgHover + } + if !IsNil(o.ButtonPrimaryBorderDefault) { + toSerialize["button-primary-border-default"] = o.ButtonPrimaryBorderDefault + } + if !IsNil(o.ButtonPrimaryBorderDisabled) { + toSerialize["button-primary-border-disabled"] = o.ButtonPrimaryBorderDisabled + } + if !IsNil(o.ButtonPrimaryBorderHover) { + toSerialize["button-primary-border-hover"] = o.ButtonPrimaryBorderHover + } + if !IsNil(o.ButtonPrimaryFgDefault) { + toSerialize["button-primary-fg-default"] = o.ButtonPrimaryFgDefault + } + if !IsNil(o.ButtonPrimaryFgDisabled) { + toSerialize["button-primary-fg-disabled"] = o.ButtonPrimaryFgDisabled + } + if !IsNil(o.ButtonPrimaryFgHover) { + toSerialize["button-primary-fg-hover"] = o.ButtonPrimaryFgHover + } + if !IsNil(o.ButtonSecondaryBgDefault) { + toSerialize["button-secondary-bg-default"] = o.ButtonSecondaryBgDefault + } + if !IsNil(o.ButtonSecondaryBgDisabled) { + toSerialize["button-secondary-bg-disabled"] = o.ButtonSecondaryBgDisabled + } + if !IsNil(o.ButtonSecondaryBgHover) { + toSerialize["button-secondary-bg-hover"] = o.ButtonSecondaryBgHover + } + if !IsNil(o.ButtonSecondaryBorderDefault) { + toSerialize["button-secondary-border-default"] = o.ButtonSecondaryBorderDefault + } + if !IsNil(o.ButtonSecondaryBorderDisabled) { + toSerialize["button-secondary-border-disabled"] = o.ButtonSecondaryBorderDisabled + } + if !IsNil(o.ButtonSecondaryBorderHover) { + toSerialize["button-secondary-border-hover"] = o.ButtonSecondaryBorderHover + } + if !IsNil(o.ButtonSecondaryFgDefault) { + toSerialize["button-secondary-fg-default"] = o.ButtonSecondaryFgDefault + } + if !IsNil(o.ButtonSecondaryFgDisabled) { + toSerialize["button-secondary-fg-disabled"] = o.ButtonSecondaryFgDisabled + } + if !IsNil(o.ButtonSecondaryFgHover) { + toSerialize["button-secondary-fg-hover"] = o.ButtonSecondaryFgHover + } + if !IsNil(o.ButtonSocialBgDefault) { + toSerialize["button-social-bg-default"] = o.ButtonSocialBgDefault + } + if !IsNil(o.ButtonSocialBgDisabled) { + toSerialize["button-social-bg-disabled"] = o.ButtonSocialBgDisabled + } + if !IsNil(o.ButtonSocialBgHover) { + toSerialize["button-social-bg-hover"] = o.ButtonSocialBgHover + } + if !IsNil(o.ButtonSocialBgProvider) { + toSerialize["button-social-bg-provider"] = o.ButtonSocialBgProvider + } + if !IsNil(o.ButtonSocialBorderDefault) { + toSerialize["button-social-border-default"] = o.ButtonSocialBorderDefault + } + if !IsNil(o.ButtonSocialBorderDisabled) { + toSerialize["button-social-border-disabled"] = o.ButtonSocialBorderDisabled + } + if !IsNil(o.ButtonSocialBorderHover) { + toSerialize["button-social-border-hover"] = o.ButtonSocialBorderHover + } + if !IsNil(o.ButtonSocialBorderProvider) { + toSerialize["button-social-border-provider"] = o.ButtonSocialBorderProvider + } + if !IsNil(o.ButtonSocialFgDefault) { + toSerialize["button-social-fg-default"] = o.ButtonSocialFgDefault + } + if !IsNil(o.ButtonSocialFgDisabled) { + toSerialize["button-social-fg-disabled"] = o.ButtonSocialFgDisabled + } + if !IsNil(o.ButtonSocialFgHover) { + toSerialize["button-social-fg-hover"] = o.ButtonSocialFgHover + } + if !IsNil(o.ButtonSocialFgProvider) { + toSerialize["button-social-fg-provider"] = o.ButtonSocialFgProvider + } + if !IsNil(o.CreatedAt) { + toSerialize["created_at"] = o.CreatedAt + } + if !IsNil(o.DialogBgDefault) { + toSerialize["dialog-bg-default"] = o.DialogBgDefault + } + if !IsNil(o.DialogBgSubtle) { + toSerialize["dialog-bg-subtle"] = o.DialogBgSubtle + } + if !IsNil(o.DialogBorderDefault) { + toSerialize["dialog-border-default"] = o.DialogBorderDefault + } + if !IsNil(o.DialogFgDefault) { + toSerialize["dialog-fg-default"] = o.DialogFgDefault + } + if !IsNil(o.DialogFgMute) { + toSerialize["dialog-fg-mute"] = o.DialogFgMute + } + if !IsNil(o.DialogFgSubtle) { + toSerialize["dialog-fg-subtle"] = o.DialogFgSubtle + } + if !IsNil(o.FormsBgDefault) { + toSerialize["forms-bg-default"] = o.FormsBgDefault + } + if !IsNil(o.FormsBgDisabled) { + toSerialize["forms-bg-disabled"] = o.FormsBgDisabled + } + if !IsNil(o.FormsBgHover) { + toSerialize["forms-bg-hover"] = o.FormsBgHover + } + if !IsNil(o.FormsBorderDefault) { + toSerialize["forms-border-default"] = o.FormsBorderDefault + } + if !IsNil(o.FormsBorderDisabled) { + toSerialize["forms-border-disabled"] = o.FormsBorderDisabled + } + if !IsNil(o.FormsBorderError) { + toSerialize["forms-border-error"] = o.FormsBorderError + } + if !IsNil(o.FormsBorderFocus) { + toSerialize["forms-border-focus"] = o.FormsBorderFocus + } + if !IsNil(o.FormsBorderHover) { + toSerialize["forms-border-hover"] = o.FormsBorderHover + } + if !IsNil(o.FormsBorderSuccess) { + toSerialize["forms-border-success"] = o.FormsBorderSuccess + } + if !IsNil(o.FormsBorderWarn) { + toSerialize["forms-border-warn"] = o.FormsBorderWarn + } + if !IsNil(o.FormsCheckboxBgChecked) { + toSerialize["forms-checkbox-bg-checked"] = o.FormsCheckboxBgChecked + } + if !IsNil(o.FormsCheckboxBgDefault) { + toSerialize["forms-checkbox-bg-default"] = o.FormsCheckboxBgDefault + } + if !IsNil(o.FormsCheckboxBorderChecked) { + toSerialize["forms-checkbox-border-checked"] = o.FormsCheckboxBorderChecked + } + if !IsNil(o.FormsCheckboxBorderDefault) { + toSerialize["forms-checkbox-border-default"] = o.FormsCheckboxBorderDefault + } + if !IsNil(o.FormsCheckboxFgChecked) { + toSerialize["forms-checkbox-fg-checked"] = o.FormsCheckboxFgChecked + } + if !IsNil(o.FormsCheckboxFgDefault) { + toSerialize["forms-checkbox-fg-default"] = o.FormsCheckboxFgDefault + } + if !IsNil(o.FormsFgDefault) { + toSerialize["forms-fg-default"] = o.FormsFgDefault + } + if !IsNil(o.FormsFgError) { + toSerialize["forms-fg-error"] = o.FormsFgError + } + if !IsNil(o.FormsFgMute) { + toSerialize["forms-fg-mute"] = o.FormsFgMute + } + if !IsNil(o.FormsFgSubtle) { + toSerialize["forms-fg-subtle"] = o.FormsFgSubtle + } + if !IsNil(o.FormsFgSuccess) { + toSerialize["forms-fg-success"] = o.FormsFgSuccess + } + if !IsNil(o.FormsFgWarn) { + toSerialize["forms-fg-warn"] = o.FormsFgWarn + } + if !IsNil(o.FormsRadioBgChecked) { + toSerialize["forms-radio-bg-checked"] = o.FormsRadioBgChecked + } + if !IsNil(o.FormsRadioBgDefault) { + toSerialize["forms-radio-bg-default"] = o.FormsRadioBgDefault + } + if !IsNil(o.FormsRadioBorderChecked) { + toSerialize["forms-radio-border-checked"] = o.FormsRadioBorderChecked + } + if !IsNil(o.FormsRadioBorderDefault) { + toSerialize["forms-radio-border-default"] = o.FormsRadioBorderDefault + } + if !IsNil(o.FormsRadioFgChecked) { + toSerialize["forms-radio-fg-checked"] = o.FormsRadioFgChecked + } + if !IsNil(o.FormsRadioFgDefault) { + toSerialize["forms-radio-fg-default"] = o.FormsRadioFgDefault + } + if !IsNil(o.FormsToggleBgChecked) { + toSerialize["forms-toggle-bg-checked"] = o.FormsToggleBgChecked + } + if !IsNil(o.FormsToggleBgDefault) { + toSerialize["forms-toggle-bg-default"] = o.FormsToggleBgDefault + } + if !IsNil(o.FormsToggleBorderChecked) { + toSerialize["forms-toggle-border-checked"] = o.FormsToggleBorderChecked + } + if !IsNil(o.FormsToggleBorderDefault) { + toSerialize["forms-toggle-border-default"] = o.FormsToggleBorderDefault + } + if !IsNil(o.FormsToggleFgChecked) { + toSerialize["forms-toggle-fg-checked"] = o.FormsToggleFgChecked + } + if !IsNil(o.FormsToggleFgDefault) { + toSerialize["forms-toggle-fg-default"] = o.FormsToggleFgDefault + } + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.LinksLinkDefault) { + toSerialize["links-link-default"] = o.LinksLinkDefault + } + if !IsNil(o.LinksLinkDisabled) { + toSerialize["links-link-disabled"] = o.LinksLinkDisabled + } + if !IsNil(o.LinksLinkHover) { + toSerialize["links-link-hover"] = o.LinksLinkHover + } + if !IsNil(o.LinksLinkInvertedDefault) { + toSerialize["links-link-inverted-default"] = o.LinksLinkInvertedDefault + } + if !IsNil(o.LinksLinkInvertedHover) { + toSerialize["links-link-inverted-hover"] = o.LinksLinkInvertedHover + } + if !IsNil(o.LinksLinkMuteDefault) { + toSerialize["links-link-mute-default"] = o.LinksLinkMuteDefault + } + if !IsNil(o.LinksLinkMuteHover) { + toSerialize["links-link-mute-hover"] = o.LinksLinkMuteHover + } + if !IsNil(o.SyntaxSyntax) { + toSerialize["syntax-syntax"] = o.SyntaxSyntax + } + if !IsNil(o.SyntaxSyntaxKey) { + toSerialize["syntax-syntax-key"] = o.SyntaxSyntaxKey + } + if !IsNil(o.SyntaxSyntaxNum) { + toSerialize["syntax-syntax-num"] = o.SyntaxSyntaxNum + } + if !IsNil(o.SyntaxSyntaxValue) { + toSerialize["syntax-syntax-value"] = o.SyntaxSyntaxValue + } + if !IsNil(o.UpdatedAt) { + toSerialize["updated_at"] = o.UpdatedAt + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *AccountExperienceThemeVariables) UnmarshalJSON(data []byte) (err error) { + varAccountExperienceThemeVariables := _AccountExperienceThemeVariables{} + + err = json.Unmarshal(data, &varAccountExperienceThemeVariables) + + if err != nil { + return err + } + + *o = AccountExperienceThemeVariables(varAccountExperienceThemeVariables) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "accent") + delete(additionalProperties, "bg-default") + delete(additionalProperties, "border-radius-branding") + delete(additionalProperties, "border-radius-buttons") + delete(additionalProperties, "border-radius-cards") + delete(additionalProperties, "border-radius-forms") + delete(additionalProperties, "border-radius-general") + delete(additionalProperties, "button-primary-bg-default") + delete(additionalProperties, "button-primary-bg-disabled") + delete(additionalProperties, "button-primary-bg-hover") + delete(additionalProperties, "button-primary-border-default") + delete(additionalProperties, "button-primary-border-disabled") + delete(additionalProperties, "button-primary-border-hover") + delete(additionalProperties, "button-primary-fg-default") + delete(additionalProperties, "button-primary-fg-disabled") + delete(additionalProperties, "button-primary-fg-hover") + delete(additionalProperties, "button-secondary-bg-default") + delete(additionalProperties, "button-secondary-bg-disabled") + delete(additionalProperties, "button-secondary-bg-hover") + delete(additionalProperties, "button-secondary-border-default") + delete(additionalProperties, "button-secondary-border-disabled") + delete(additionalProperties, "button-secondary-border-hover") + delete(additionalProperties, "button-secondary-fg-default") + delete(additionalProperties, "button-secondary-fg-disabled") + delete(additionalProperties, "button-secondary-fg-hover") + delete(additionalProperties, "button-social-bg-default") + delete(additionalProperties, "button-social-bg-disabled") + delete(additionalProperties, "button-social-bg-hover") + delete(additionalProperties, "button-social-bg-provider") + delete(additionalProperties, "button-social-border-default") + delete(additionalProperties, "button-social-border-disabled") + delete(additionalProperties, "button-social-border-hover") + delete(additionalProperties, "button-social-border-provider") + delete(additionalProperties, "button-social-fg-default") + delete(additionalProperties, "button-social-fg-disabled") + delete(additionalProperties, "button-social-fg-hover") + delete(additionalProperties, "button-social-fg-provider") + delete(additionalProperties, "created_at") + delete(additionalProperties, "dialog-bg-default") + delete(additionalProperties, "dialog-bg-subtle") + delete(additionalProperties, "dialog-border-default") + delete(additionalProperties, "dialog-fg-default") + delete(additionalProperties, "dialog-fg-mute") + delete(additionalProperties, "dialog-fg-subtle") + delete(additionalProperties, "forms-bg-default") + delete(additionalProperties, "forms-bg-disabled") + delete(additionalProperties, "forms-bg-hover") + delete(additionalProperties, "forms-border-default") + delete(additionalProperties, "forms-border-disabled") + delete(additionalProperties, "forms-border-error") + delete(additionalProperties, "forms-border-focus") + delete(additionalProperties, "forms-border-hover") + delete(additionalProperties, "forms-border-success") + delete(additionalProperties, "forms-border-warn") + delete(additionalProperties, "forms-checkbox-bg-checked") + delete(additionalProperties, "forms-checkbox-bg-default") + delete(additionalProperties, "forms-checkbox-border-checked") + delete(additionalProperties, "forms-checkbox-border-default") + delete(additionalProperties, "forms-checkbox-fg-checked") + delete(additionalProperties, "forms-checkbox-fg-default") + delete(additionalProperties, "forms-fg-default") + delete(additionalProperties, "forms-fg-error") + delete(additionalProperties, "forms-fg-mute") + delete(additionalProperties, "forms-fg-subtle") + delete(additionalProperties, "forms-fg-success") + delete(additionalProperties, "forms-fg-warn") + delete(additionalProperties, "forms-radio-bg-checked") + delete(additionalProperties, "forms-radio-bg-default") + delete(additionalProperties, "forms-radio-border-checked") + delete(additionalProperties, "forms-radio-border-default") + delete(additionalProperties, "forms-radio-fg-checked") + delete(additionalProperties, "forms-radio-fg-default") + delete(additionalProperties, "forms-toggle-bg-checked") + delete(additionalProperties, "forms-toggle-bg-default") + delete(additionalProperties, "forms-toggle-border-checked") + delete(additionalProperties, "forms-toggle-border-default") + delete(additionalProperties, "forms-toggle-fg-checked") + delete(additionalProperties, "forms-toggle-fg-default") + delete(additionalProperties, "id") + delete(additionalProperties, "links-link-default") + delete(additionalProperties, "links-link-disabled") + delete(additionalProperties, "links-link-hover") + delete(additionalProperties, "links-link-inverted-default") + delete(additionalProperties, "links-link-inverted-hover") + delete(additionalProperties, "links-link-mute-default") + delete(additionalProperties, "links-link-mute-hover") + delete(additionalProperties, "syntax-syntax") + delete(additionalProperties, "syntax-syntax-key") + delete(additionalProperties, "syntax-syntax-num") + delete(additionalProperties, "syntax-syntax-value") + delete(additionalProperties, "updated_at") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableAccountExperienceThemeVariables struct { + value *AccountExperienceThemeVariables + isSet bool +} + +func (v NullableAccountExperienceThemeVariables) Get() *AccountExperienceThemeVariables { + return v.value +} + +func (v *NullableAccountExperienceThemeVariables) Set(val *AccountExperienceThemeVariables) { + v.value = val + v.isSet = true +} + +func (v NullableAccountExperienceThemeVariables) IsSet() bool { + return v.isSet +} + +func (v *NullableAccountExperienceThemeVariables) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAccountExperienceThemeVariables(val *AccountExperienceThemeVariables) *NullableAccountExperienceThemeVariables { + return &NullableAccountExperienceThemeVariables{value: val, isSet: true} +} + +func (v NullableAccountExperienceThemeVariables) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAccountExperienceThemeVariables) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/clients/client/go/model_o_auth2_consent_session_expires_at.go b/clients/client/go/model_o_auth2_consent_session_expires_at.go new file mode 100644 index 00000000000..ab351b55d9a --- /dev/null +++ b/clients/client/go/model_o_auth2_consent_session_expires_at.go @@ -0,0 +1,305 @@ +/* +Ory APIs + +# 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) | + +API version: v1.15.11 +Contact: support@ory.sh +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package client + +import ( + "encoding/json" + "time" +) + +// checks if the OAuth2ConsentSessionExpiresAt type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &OAuth2ConsentSessionExpiresAt{} + +// OAuth2ConsentSessionExpiresAt struct for OAuth2ConsentSessionExpiresAt +type OAuth2ConsentSessionExpiresAt struct { + AccessToken *time.Time `json:"access_token,omitempty"` + AuthorizeCode *time.Time `json:"authorize_code,omitempty"` + IdToken *time.Time `json:"id_token,omitempty"` + ParContext *time.Time `json:"par_context,omitempty"` + RefreshToken *time.Time `json:"refresh_token,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _OAuth2ConsentSessionExpiresAt OAuth2ConsentSessionExpiresAt + +// NewOAuth2ConsentSessionExpiresAt instantiates a new OAuth2ConsentSessionExpiresAt object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewOAuth2ConsentSessionExpiresAt() *OAuth2ConsentSessionExpiresAt { + this := OAuth2ConsentSessionExpiresAt{} + return &this +} + +// NewOAuth2ConsentSessionExpiresAtWithDefaults instantiates a new OAuth2ConsentSessionExpiresAt object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewOAuth2ConsentSessionExpiresAtWithDefaults() *OAuth2ConsentSessionExpiresAt { + this := OAuth2ConsentSessionExpiresAt{} + return &this +} + +// GetAccessToken returns the AccessToken field value if set, zero value otherwise. +func (o *OAuth2ConsentSessionExpiresAt) GetAccessToken() time.Time { + if o == nil || IsNil(o.AccessToken) { + var ret time.Time + return ret + } + return *o.AccessToken +} + +// GetAccessTokenOk returns a tuple with the AccessToken field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OAuth2ConsentSessionExpiresAt) GetAccessTokenOk() (*time.Time, bool) { + if o == nil || IsNil(o.AccessToken) { + return nil, false + } + return o.AccessToken, true +} + +// HasAccessToken returns a boolean if a field has been set. +func (o *OAuth2ConsentSessionExpiresAt) HasAccessToken() bool { + if o != nil && !IsNil(o.AccessToken) { + return true + } + + return false +} + +// SetAccessToken gets a reference to the given time.Time and assigns it to the AccessToken field. +func (o *OAuth2ConsentSessionExpiresAt) SetAccessToken(v time.Time) { + o.AccessToken = &v +} + +// GetAuthorizeCode returns the AuthorizeCode field value if set, zero value otherwise. +func (o *OAuth2ConsentSessionExpiresAt) GetAuthorizeCode() time.Time { + if o == nil || IsNil(o.AuthorizeCode) { + var ret time.Time + return ret + } + return *o.AuthorizeCode +} + +// GetAuthorizeCodeOk returns a tuple with the AuthorizeCode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OAuth2ConsentSessionExpiresAt) GetAuthorizeCodeOk() (*time.Time, bool) { + if o == nil || IsNil(o.AuthorizeCode) { + return nil, false + } + return o.AuthorizeCode, true +} + +// HasAuthorizeCode returns a boolean if a field has been set. +func (o *OAuth2ConsentSessionExpiresAt) HasAuthorizeCode() bool { + if o != nil && !IsNil(o.AuthorizeCode) { + return true + } + + return false +} + +// SetAuthorizeCode gets a reference to the given time.Time and assigns it to the AuthorizeCode field. +func (o *OAuth2ConsentSessionExpiresAt) SetAuthorizeCode(v time.Time) { + o.AuthorizeCode = &v +} + +// GetIdToken returns the IdToken field value if set, zero value otherwise. +func (o *OAuth2ConsentSessionExpiresAt) GetIdToken() time.Time { + if o == nil || IsNil(o.IdToken) { + var ret time.Time + return ret + } + return *o.IdToken +} + +// GetIdTokenOk returns a tuple with the IdToken field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OAuth2ConsentSessionExpiresAt) GetIdTokenOk() (*time.Time, bool) { + if o == nil || IsNil(o.IdToken) { + return nil, false + } + return o.IdToken, true +} + +// HasIdToken returns a boolean if a field has been set. +func (o *OAuth2ConsentSessionExpiresAt) HasIdToken() bool { + if o != nil && !IsNil(o.IdToken) { + return true + } + + return false +} + +// SetIdToken gets a reference to the given time.Time and assigns it to the IdToken field. +func (o *OAuth2ConsentSessionExpiresAt) SetIdToken(v time.Time) { + o.IdToken = &v +} + +// GetParContext returns the ParContext field value if set, zero value otherwise. +func (o *OAuth2ConsentSessionExpiresAt) GetParContext() time.Time { + if o == nil || IsNil(o.ParContext) { + var ret time.Time + return ret + } + return *o.ParContext +} + +// GetParContextOk returns a tuple with the ParContext field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OAuth2ConsentSessionExpiresAt) GetParContextOk() (*time.Time, bool) { + if o == nil || IsNil(o.ParContext) { + return nil, false + } + return o.ParContext, true +} + +// HasParContext returns a boolean if a field has been set. +func (o *OAuth2ConsentSessionExpiresAt) HasParContext() bool { + if o != nil && !IsNil(o.ParContext) { + return true + } + + return false +} + +// SetParContext gets a reference to the given time.Time and assigns it to the ParContext field. +func (o *OAuth2ConsentSessionExpiresAt) SetParContext(v time.Time) { + o.ParContext = &v +} + +// GetRefreshToken returns the RefreshToken field value if set, zero value otherwise. +func (o *OAuth2ConsentSessionExpiresAt) GetRefreshToken() time.Time { + if o == nil || IsNil(o.RefreshToken) { + var ret time.Time + return ret + } + return *o.RefreshToken +} + +// GetRefreshTokenOk returns a tuple with the RefreshToken field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OAuth2ConsentSessionExpiresAt) GetRefreshTokenOk() (*time.Time, bool) { + if o == nil || IsNil(o.RefreshToken) { + return nil, false + } + return o.RefreshToken, true +} + +// HasRefreshToken returns a boolean if a field has been set. +func (o *OAuth2ConsentSessionExpiresAt) HasRefreshToken() bool { + if o != nil && !IsNil(o.RefreshToken) { + return true + } + + return false +} + +// SetRefreshToken gets a reference to the given time.Time and assigns it to the RefreshToken field. +func (o *OAuth2ConsentSessionExpiresAt) SetRefreshToken(v time.Time) { + o.RefreshToken = &v +} + +func (o OAuth2ConsentSessionExpiresAt) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o OAuth2ConsentSessionExpiresAt) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.AccessToken) { + toSerialize["access_token"] = o.AccessToken + } + if !IsNil(o.AuthorizeCode) { + toSerialize["authorize_code"] = o.AuthorizeCode + } + if !IsNil(o.IdToken) { + toSerialize["id_token"] = o.IdToken + } + if !IsNil(o.ParContext) { + toSerialize["par_context"] = o.ParContext + } + if !IsNil(o.RefreshToken) { + toSerialize["refresh_token"] = o.RefreshToken + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *OAuth2ConsentSessionExpiresAt) UnmarshalJSON(data []byte) (err error) { + varOAuth2ConsentSessionExpiresAt := _OAuth2ConsentSessionExpiresAt{} + + err = json.Unmarshal(data, &varOAuth2ConsentSessionExpiresAt) + + if err != nil { + return err + } + + *o = OAuth2ConsentSessionExpiresAt(varOAuth2ConsentSessionExpiresAt) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "access_token") + delete(additionalProperties, "authorize_code") + delete(additionalProperties, "id_token") + delete(additionalProperties, "par_context") + delete(additionalProperties, "refresh_token") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableOAuth2ConsentSessionExpiresAt struct { + value *OAuth2ConsentSessionExpiresAt + isSet bool +} + +func (v NullableOAuth2ConsentSessionExpiresAt) Get() *OAuth2ConsentSessionExpiresAt { + return v.value +} + +func (v *NullableOAuth2ConsentSessionExpiresAt) Set(val *OAuth2ConsentSessionExpiresAt) { + v.value = val + v.isSet = true +} + +func (v NullableOAuth2ConsentSessionExpiresAt) IsSet() bool { + return v.isSet +} + +func (v *NullableOAuth2ConsentSessionExpiresAt) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableOAuth2ConsentSessionExpiresAt(val *OAuth2ConsentSessionExpiresAt) *NullableOAuth2ConsentSessionExpiresAt { + return &NullableOAuth2ConsentSessionExpiresAt{value: val, isSet: true} +} + +func (v NullableOAuth2ConsentSessionExpiresAt) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableOAuth2ConsentSessionExpiresAt) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/clients/client/java/src/main/java/sh/ory/model/AccountExperienceThemeVariables.java b/clients/client/java/src/main/java/sh/ory/model/AccountExperienceThemeVariables.java new file mode 100644 index 00000000000..56714bfbcaa --- /dev/null +++ b/clients/client/java/src/main/java/sh/ory/model/AccountExperienceThemeVariables.java @@ -0,0 +1,2892 @@ +/* + * Ory APIs + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package sh.ory.model; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import sh.ory.JSON; + +/** + * AccountExperienceThemeVariables + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-03T21:01:53.446180108Z[Etc/UTC]", comments = "Generator version: 7.7.0") +public class AccountExperienceThemeVariables { + public static final String SERIALIZED_NAME_ACCENT = "accent"; + @SerializedName(SERIALIZED_NAME_ACCENT) + private String accent; + + public static final String SERIALIZED_NAME_BG_DEFAULT = "bg-default"; + @SerializedName(SERIALIZED_NAME_BG_DEFAULT) + private String bgDefault; + + public static final String SERIALIZED_NAME_BORDER_RADIUS_BRANDING = "border-radius-branding"; + @SerializedName(SERIALIZED_NAME_BORDER_RADIUS_BRANDING) + private String borderRadiusBranding; + + public static final String SERIALIZED_NAME_BORDER_RADIUS_BUTTONS = "border-radius-buttons"; + @SerializedName(SERIALIZED_NAME_BORDER_RADIUS_BUTTONS) + private String borderRadiusButtons; + + public static final String SERIALIZED_NAME_BORDER_RADIUS_CARDS = "border-radius-cards"; + @SerializedName(SERIALIZED_NAME_BORDER_RADIUS_CARDS) + private String borderRadiusCards; + + public static final String SERIALIZED_NAME_BORDER_RADIUS_FORMS = "border-radius-forms"; + @SerializedName(SERIALIZED_NAME_BORDER_RADIUS_FORMS) + private String borderRadiusForms; + + public static final String SERIALIZED_NAME_BORDER_RADIUS_GENERAL = "border-radius-general"; + @SerializedName(SERIALIZED_NAME_BORDER_RADIUS_GENERAL) + private String borderRadiusGeneral; + + public static final String SERIALIZED_NAME_BUTTON_PRIMARY_BG_DEFAULT = "button-primary-bg-default"; + @SerializedName(SERIALIZED_NAME_BUTTON_PRIMARY_BG_DEFAULT) + private String buttonPrimaryBgDefault; + + public static final String SERIALIZED_NAME_BUTTON_PRIMARY_BG_DISABLED = "button-primary-bg-disabled"; + @SerializedName(SERIALIZED_NAME_BUTTON_PRIMARY_BG_DISABLED) + private String buttonPrimaryBgDisabled; + + public static final String SERIALIZED_NAME_BUTTON_PRIMARY_BG_HOVER = "button-primary-bg-hover"; + @SerializedName(SERIALIZED_NAME_BUTTON_PRIMARY_BG_HOVER) + private String buttonPrimaryBgHover; + + public static final String SERIALIZED_NAME_BUTTON_PRIMARY_BORDER_DEFAULT = "button-primary-border-default"; + @SerializedName(SERIALIZED_NAME_BUTTON_PRIMARY_BORDER_DEFAULT) + private String buttonPrimaryBorderDefault; + + public static final String SERIALIZED_NAME_BUTTON_PRIMARY_BORDER_DISABLED = "button-primary-border-disabled"; + @SerializedName(SERIALIZED_NAME_BUTTON_PRIMARY_BORDER_DISABLED) + private String buttonPrimaryBorderDisabled; + + public static final String SERIALIZED_NAME_BUTTON_PRIMARY_BORDER_HOVER = "button-primary-border-hover"; + @SerializedName(SERIALIZED_NAME_BUTTON_PRIMARY_BORDER_HOVER) + private String buttonPrimaryBorderHover; + + public static final String SERIALIZED_NAME_BUTTON_PRIMARY_FG_DEFAULT = "button-primary-fg-default"; + @SerializedName(SERIALIZED_NAME_BUTTON_PRIMARY_FG_DEFAULT) + private String buttonPrimaryFgDefault; + + public static final String SERIALIZED_NAME_BUTTON_PRIMARY_FG_DISABLED = "button-primary-fg-disabled"; + @SerializedName(SERIALIZED_NAME_BUTTON_PRIMARY_FG_DISABLED) + private String buttonPrimaryFgDisabled; + + public static final String SERIALIZED_NAME_BUTTON_PRIMARY_FG_HOVER = "button-primary-fg-hover"; + @SerializedName(SERIALIZED_NAME_BUTTON_PRIMARY_FG_HOVER) + private String buttonPrimaryFgHover; + + public static final String SERIALIZED_NAME_BUTTON_SECONDARY_BG_DEFAULT = "button-secondary-bg-default"; + @SerializedName(SERIALIZED_NAME_BUTTON_SECONDARY_BG_DEFAULT) + private String buttonSecondaryBgDefault; + + public static final String SERIALIZED_NAME_BUTTON_SECONDARY_BG_DISABLED = "button-secondary-bg-disabled"; + @SerializedName(SERIALIZED_NAME_BUTTON_SECONDARY_BG_DISABLED) + private String buttonSecondaryBgDisabled; + + public static final String SERIALIZED_NAME_BUTTON_SECONDARY_BG_HOVER = "button-secondary-bg-hover"; + @SerializedName(SERIALIZED_NAME_BUTTON_SECONDARY_BG_HOVER) + private String buttonSecondaryBgHover; + + public static final String SERIALIZED_NAME_BUTTON_SECONDARY_BORDER_DEFAULT = "button-secondary-border-default"; + @SerializedName(SERIALIZED_NAME_BUTTON_SECONDARY_BORDER_DEFAULT) + private String buttonSecondaryBorderDefault; + + public static final String SERIALIZED_NAME_BUTTON_SECONDARY_BORDER_DISABLED = "button-secondary-border-disabled"; + @SerializedName(SERIALIZED_NAME_BUTTON_SECONDARY_BORDER_DISABLED) + private String buttonSecondaryBorderDisabled; + + public static final String SERIALIZED_NAME_BUTTON_SECONDARY_BORDER_HOVER = "button-secondary-border-hover"; + @SerializedName(SERIALIZED_NAME_BUTTON_SECONDARY_BORDER_HOVER) + private String buttonSecondaryBorderHover; + + public static final String SERIALIZED_NAME_BUTTON_SECONDARY_FG_DEFAULT = "button-secondary-fg-default"; + @SerializedName(SERIALIZED_NAME_BUTTON_SECONDARY_FG_DEFAULT) + private String buttonSecondaryFgDefault; + + public static final String SERIALIZED_NAME_BUTTON_SECONDARY_FG_DISABLED = "button-secondary-fg-disabled"; + @SerializedName(SERIALIZED_NAME_BUTTON_SECONDARY_FG_DISABLED) + private String buttonSecondaryFgDisabled; + + public static final String SERIALIZED_NAME_BUTTON_SECONDARY_FG_HOVER = "button-secondary-fg-hover"; + @SerializedName(SERIALIZED_NAME_BUTTON_SECONDARY_FG_HOVER) + private String buttonSecondaryFgHover; + + public static final String SERIALIZED_NAME_BUTTON_SOCIAL_BG_DEFAULT = "button-social-bg-default"; + @SerializedName(SERIALIZED_NAME_BUTTON_SOCIAL_BG_DEFAULT) + private String buttonSocialBgDefault; + + public static final String SERIALIZED_NAME_BUTTON_SOCIAL_BG_DISABLED = "button-social-bg-disabled"; + @SerializedName(SERIALIZED_NAME_BUTTON_SOCIAL_BG_DISABLED) + private String buttonSocialBgDisabled; + + public static final String SERIALIZED_NAME_BUTTON_SOCIAL_BG_HOVER = "button-social-bg-hover"; + @SerializedName(SERIALIZED_NAME_BUTTON_SOCIAL_BG_HOVER) + private String buttonSocialBgHover; + + public static final String SERIALIZED_NAME_BUTTON_SOCIAL_BG_PROVIDER = "button-social-bg-provider"; + @SerializedName(SERIALIZED_NAME_BUTTON_SOCIAL_BG_PROVIDER) + private String buttonSocialBgProvider; + + public static final String SERIALIZED_NAME_BUTTON_SOCIAL_BORDER_DEFAULT = "button-social-border-default"; + @SerializedName(SERIALIZED_NAME_BUTTON_SOCIAL_BORDER_DEFAULT) + private String buttonSocialBorderDefault; + + public static final String SERIALIZED_NAME_BUTTON_SOCIAL_BORDER_DISABLED = "button-social-border-disabled"; + @SerializedName(SERIALIZED_NAME_BUTTON_SOCIAL_BORDER_DISABLED) + private String buttonSocialBorderDisabled; + + public static final String SERIALIZED_NAME_BUTTON_SOCIAL_BORDER_HOVER = "button-social-border-hover"; + @SerializedName(SERIALIZED_NAME_BUTTON_SOCIAL_BORDER_HOVER) + private String buttonSocialBorderHover; + + public static final String SERIALIZED_NAME_BUTTON_SOCIAL_BORDER_PROVIDER = "button-social-border-provider"; + @SerializedName(SERIALIZED_NAME_BUTTON_SOCIAL_BORDER_PROVIDER) + private String buttonSocialBorderProvider; + + public static final String SERIALIZED_NAME_BUTTON_SOCIAL_FG_DEFAULT = "button-social-fg-default"; + @SerializedName(SERIALIZED_NAME_BUTTON_SOCIAL_FG_DEFAULT) + private String buttonSocialFgDefault; + + public static final String SERIALIZED_NAME_BUTTON_SOCIAL_FG_DISABLED = "button-social-fg-disabled"; + @SerializedName(SERIALIZED_NAME_BUTTON_SOCIAL_FG_DISABLED) + private String buttonSocialFgDisabled; + + public static final String SERIALIZED_NAME_BUTTON_SOCIAL_FG_HOVER = "button-social-fg-hover"; + @SerializedName(SERIALIZED_NAME_BUTTON_SOCIAL_FG_HOVER) + private String buttonSocialFgHover; + + public static final String SERIALIZED_NAME_BUTTON_SOCIAL_FG_PROVIDER = "button-social-fg-provider"; + @SerializedName(SERIALIZED_NAME_BUTTON_SOCIAL_FG_PROVIDER) + private String buttonSocialFgProvider; + + public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_DIALOG_BG_DEFAULT = "dialog-bg-default"; + @SerializedName(SERIALIZED_NAME_DIALOG_BG_DEFAULT) + private String dialogBgDefault; + + public static final String SERIALIZED_NAME_DIALOG_BG_SUBTLE = "dialog-bg-subtle"; + @SerializedName(SERIALIZED_NAME_DIALOG_BG_SUBTLE) + private String dialogBgSubtle; + + public static final String SERIALIZED_NAME_DIALOG_BORDER_DEFAULT = "dialog-border-default"; + @SerializedName(SERIALIZED_NAME_DIALOG_BORDER_DEFAULT) + private String dialogBorderDefault; + + public static final String SERIALIZED_NAME_DIALOG_FG_DEFAULT = "dialog-fg-default"; + @SerializedName(SERIALIZED_NAME_DIALOG_FG_DEFAULT) + private String dialogFgDefault; + + public static final String SERIALIZED_NAME_DIALOG_FG_MUTE = "dialog-fg-mute"; + @SerializedName(SERIALIZED_NAME_DIALOG_FG_MUTE) + private String dialogFgMute; + + public static final String SERIALIZED_NAME_DIALOG_FG_SUBTLE = "dialog-fg-subtle"; + @SerializedName(SERIALIZED_NAME_DIALOG_FG_SUBTLE) + private String dialogFgSubtle; + + public static final String SERIALIZED_NAME_FORMS_BG_DEFAULT = "forms-bg-default"; + @SerializedName(SERIALIZED_NAME_FORMS_BG_DEFAULT) + private String formsBgDefault; + + public static final String SERIALIZED_NAME_FORMS_BG_DISABLED = "forms-bg-disabled"; + @SerializedName(SERIALIZED_NAME_FORMS_BG_DISABLED) + private String formsBgDisabled; + + public static final String SERIALIZED_NAME_FORMS_BG_HOVER = "forms-bg-hover"; + @SerializedName(SERIALIZED_NAME_FORMS_BG_HOVER) + private String formsBgHover; + + public static final String SERIALIZED_NAME_FORMS_BORDER_DEFAULT = "forms-border-default"; + @SerializedName(SERIALIZED_NAME_FORMS_BORDER_DEFAULT) + private String formsBorderDefault; + + public static final String SERIALIZED_NAME_FORMS_BORDER_DISABLED = "forms-border-disabled"; + @SerializedName(SERIALIZED_NAME_FORMS_BORDER_DISABLED) + private String formsBorderDisabled; + + public static final String SERIALIZED_NAME_FORMS_BORDER_ERROR = "forms-border-error"; + @SerializedName(SERIALIZED_NAME_FORMS_BORDER_ERROR) + private String formsBorderError; + + public static final String SERIALIZED_NAME_FORMS_BORDER_FOCUS = "forms-border-focus"; + @SerializedName(SERIALIZED_NAME_FORMS_BORDER_FOCUS) + private String formsBorderFocus; + + public static final String SERIALIZED_NAME_FORMS_BORDER_HOVER = "forms-border-hover"; + @SerializedName(SERIALIZED_NAME_FORMS_BORDER_HOVER) + private String formsBorderHover; + + public static final String SERIALIZED_NAME_FORMS_BORDER_SUCCESS = "forms-border-success"; + @SerializedName(SERIALIZED_NAME_FORMS_BORDER_SUCCESS) + private String formsBorderSuccess; + + public static final String SERIALIZED_NAME_FORMS_BORDER_WARN = "forms-border-warn"; + @SerializedName(SERIALIZED_NAME_FORMS_BORDER_WARN) + private String formsBorderWarn; + + public static final String SERIALIZED_NAME_FORMS_CHECKBOX_BG_CHECKED = "forms-checkbox-bg-checked"; + @SerializedName(SERIALIZED_NAME_FORMS_CHECKBOX_BG_CHECKED) + private String formsCheckboxBgChecked; + + public static final String SERIALIZED_NAME_FORMS_CHECKBOX_BG_DEFAULT = "forms-checkbox-bg-default"; + @SerializedName(SERIALIZED_NAME_FORMS_CHECKBOX_BG_DEFAULT) + private String formsCheckboxBgDefault; + + public static final String SERIALIZED_NAME_FORMS_CHECKBOX_BORDER_CHECKED = "forms-checkbox-border-checked"; + @SerializedName(SERIALIZED_NAME_FORMS_CHECKBOX_BORDER_CHECKED) + private String formsCheckboxBorderChecked; + + public static final String SERIALIZED_NAME_FORMS_CHECKBOX_BORDER_DEFAULT = "forms-checkbox-border-default"; + @SerializedName(SERIALIZED_NAME_FORMS_CHECKBOX_BORDER_DEFAULT) + private String formsCheckboxBorderDefault; + + public static final String SERIALIZED_NAME_FORMS_CHECKBOX_FG_CHECKED = "forms-checkbox-fg-checked"; + @SerializedName(SERIALIZED_NAME_FORMS_CHECKBOX_FG_CHECKED) + private String formsCheckboxFgChecked; + + public static final String SERIALIZED_NAME_FORMS_CHECKBOX_FG_DEFAULT = "forms-checkbox-fg-default"; + @SerializedName(SERIALIZED_NAME_FORMS_CHECKBOX_FG_DEFAULT) + private String formsCheckboxFgDefault; + + public static final String SERIALIZED_NAME_FORMS_FG_DEFAULT = "forms-fg-default"; + @SerializedName(SERIALIZED_NAME_FORMS_FG_DEFAULT) + private String formsFgDefault; + + public static final String SERIALIZED_NAME_FORMS_FG_ERROR = "forms-fg-error"; + @SerializedName(SERIALIZED_NAME_FORMS_FG_ERROR) + private String formsFgError; + + public static final String SERIALIZED_NAME_FORMS_FG_MUTE = "forms-fg-mute"; + @SerializedName(SERIALIZED_NAME_FORMS_FG_MUTE) + private String formsFgMute; + + public static final String SERIALIZED_NAME_FORMS_FG_SUBTLE = "forms-fg-subtle"; + @SerializedName(SERIALIZED_NAME_FORMS_FG_SUBTLE) + private String formsFgSubtle; + + public static final String SERIALIZED_NAME_FORMS_FG_SUCCESS = "forms-fg-success"; + @SerializedName(SERIALIZED_NAME_FORMS_FG_SUCCESS) + private String formsFgSuccess; + + public static final String SERIALIZED_NAME_FORMS_FG_WARN = "forms-fg-warn"; + @SerializedName(SERIALIZED_NAME_FORMS_FG_WARN) + private String formsFgWarn; + + public static final String SERIALIZED_NAME_FORMS_RADIO_BG_CHECKED = "forms-radio-bg-checked"; + @SerializedName(SERIALIZED_NAME_FORMS_RADIO_BG_CHECKED) + private String formsRadioBgChecked; + + public static final String SERIALIZED_NAME_FORMS_RADIO_BG_DEFAULT = "forms-radio-bg-default"; + @SerializedName(SERIALIZED_NAME_FORMS_RADIO_BG_DEFAULT) + private String formsRadioBgDefault; + + public static final String SERIALIZED_NAME_FORMS_RADIO_BORDER_CHECKED = "forms-radio-border-checked"; + @SerializedName(SERIALIZED_NAME_FORMS_RADIO_BORDER_CHECKED) + private String formsRadioBorderChecked; + + public static final String SERIALIZED_NAME_FORMS_RADIO_BORDER_DEFAULT = "forms-radio-border-default"; + @SerializedName(SERIALIZED_NAME_FORMS_RADIO_BORDER_DEFAULT) + private String formsRadioBorderDefault; + + public static final String SERIALIZED_NAME_FORMS_RADIO_FG_CHECKED = "forms-radio-fg-checked"; + @SerializedName(SERIALIZED_NAME_FORMS_RADIO_FG_CHECKED) + private String formsRadioFgChecked; + + public static final String SERIALIZED_NAME_FORMS_RADIO_FG_DEFAULT = "forms-radio-fg-default"; + @SerializedName(SERIALIZED_NAME_FORMS_RADIO_FG_DEFAULT) + private String formsRadioFgDefault; + + public static final String SERIALIZED_NAME_FORMS_TOGGLE_BG_CHECKED = "forms-toggle-bg-checked"; + @SerializedName(SERIALIZED_NAME_FORMS_TOGGLE_BG_CHECKED) + private String formsToggleBgChecked; + + public static final String SERIALIZED_NAME_FORMS_TOGGLE_BG_DEFAULT = "forms-toggle-bg-default"; + @SerializedName(SERIALIZED_NAME_FORMS_TOGGLE_BG_DEFAULT) + private String formsToggleBgDefault; + + public static final String SERIALIZED_NAME_FORMS_TOGGLE_BORDER_CHECKED = "forms-toggle-border-checked"; + @SerializedName(SERIALIZED_NAME_FORMS_TOGGLE_BORDER_CHECKED) + private String formsToggleBorderChecked; + + public static final String SERIALIZED_NAME_FORMS_TOGGLE_BORDER_DEFAULT = "forms-toggle-border-default"; + @SerializedName(SERIALIZED_NAME_FORMS_TOGGLE_BORDER_DEFAULT) + private String formsToggleBorderDefault; + + public static final String SERIALIZED_NAME_FORMS_TOGGLE_FG_CHECKED = "forms-toggle-fg-checked"; + @SerializedName(SERIALIZED_NAME_FORMS_TOGGLE_FG_CHECKED) + private String formsToggleFgChecked; + + public static final String SERIALIZED_NAME_FORMS_TOGGLE_FG_DEFAULT = "forms-toggle-fg-default"; + @SerializedName(SERIALIZED_NAME_FORMS_TOGGLE_FG_DEFAULT) + private String formsToggleFgDefault; + + public static final String SERIALIZED_NAME_ID = "id"; + @SerializedName(SERIALIZED_NAME_ID) + private String id; + + public static final String SERIALIZED_NAME_LINKS_LINK_DEFAULT = "links-link-default"; + @SerializedName(SERIALIZED_NAME_LINKS_LINK_DEFAULT) + private String linksLinkDefault; + + public static final String SERIALIZED_NAME_LINKS_LINK_DISABLED = "links-link-disabled"; + @SerializedName(SERIALIZED_NAME_LINKS_LINK_DISABLED) + private String linksLinkDisabled; + + public static final String SERIALIZED_NAME_LINKS_LINK_HOVER = "links-link-hover"; + @SerializedName(SERIALIZED_NAME_LINKS_LINK_HOVER) + private String linksLinkHover; + + public static final String SERIALIZED_NAME_LINKS_LINK_INVERTED_DEFAULT = "links-link-inverted-default"; + @SerializedName(SERIALIZED_NAME_LINKS_LINK_INVERTED_DEFAULT) + private String linksLinkInvertedDefault; + + public static final String SERIALIZED_NAME_LINKS_LINK_INVERTED_HOVER = "links-link-inverted-hover"; + @SerializedName(SERIALIZED_NAME_LINKS_LINK_INVERTED_HOVER) + private String linksLinkInvertedHover; + + public static final String SERIALIZED_NAME_LINKS_LINK_MUTE_DEFAULT = "links-link-mute-default"; + @SerializedName(SERIALIZED_NAME_LINKS_LINK_MUTE_DEFAULT) + private String linksLinkMuteDefault; + + public static final String SERIALIZED_NAME_LINKS_LINK_MUTE_HOVER = "links-link-mute-hover"; + @SerializedName(SERIALIZED_NAME_LINKS_LINK_MUTE_HOVER) + private String linksLinkMuteHover; + + public static final String SERIALIZED_NAME_SYNTAX_SYNTAX = "syntax-syntax"; + @SerializedName(SERIALIZED_NAME_SYNTAX_SYNTAX) + private String syntaxSyntax; + + public static final String SERIALIZED_NAME_SYNTAX_SYNTAX_KEY = "syntax-syntax-key"; + @SerializedName(SERIALIZED_NAME_SYNTAX_SYNTAX_KEY) + private String syntaxSyntaxKey; + + public static final String SERIALIZED_NAME_SYNTAX_SYNTAX_NUM = "syntax-syntax-num"; + @SerializedName(SERIALIZED_NAME_SYNTAX_SYNTAX_NUM) + private String syntaxSyntaxNum; + + public static final String SERIALIZED_NAME_SYNTAX_SYNTAX_VALUE = "syntax-syntax-value"; + @SerializedName(SERIALIZED_NAME_SYNTAX_SYNTAX_VALUE) + private String syntaxSyntaxValue; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + private OffsetDateTime updatedAt; + + public AccountExperienceThemeVariables() { + } + + public AccountExperienceThemeVariables accent(String accent) { + this.accent = accent; + return this; + } + + /** + * Get accent + * @return accent + */ + @javax.annotation.Nullable + public String getAccent() { + return accent; + } + + public void setAccent(String accent) { + this.accent = accent; + } + + + public AccountExperienceThemeVariables bgDefault(String bgDefault) { + this.bgDefault = bgDefault; + return this; + } + + /** + * Get bgDefault + * @return bgDefault + */ + @javax.annotation.Nullable + public String getBgDefault() { + return bgDefault; + } + + public void setBgDefault(String bgDefault) { + this.bgDefault = bgDefault; + } + + + public AccountExperienceThemeVariables borderRadiusBranding(String borderRadiusBranding) { + this.borderRadiusBranding = borderRadiusBranding; + return this; + } + + /** + * Get borderRadiusBranding + * @return borderRadiusBranding + */ + @javax.annotation.Nullable + public String getBorderRadiusBranding() { + return borderRadiusBranding; + } + + public void setBorderRadiusBranding(String borderRadiusBranding) { + this.borderRadiusBranding = borderRadiusBranding; + } + + + public AccountExperienceThemeVariables borderRadiusButtons(String borderRadiusButtons) { + this.borderRadiusButtons = borderRadiusButtons; + return this; + } + + /** + * Get borderRadiusButtons + * @return borderRadiusButtons + */ + @javax.annotation.Nullable + public String getBorderRadiusButtons() { + return borderRadiusButtons; + } + + public void setBorderRadiusButtons(String borderRadiusButtons) { + this.borderRadiusButtons = borderRadiusButtons; + } + + + public AccountExperienceThemeVariables borderRadiusCards(String borderRadiusCards) { + this.borderRadiusCards = borderRadiusCards; + return this; + } + + /** + * Get borderRadiusCards + * @return borderRadiusCards + */ + @javax.annotation.Nullable + public String getBorderRadiusCards() { + return borderRadiusCards; + } + + public void setBorderRadiusCards(String borderRadiusCards) { + this.borderRadiusCards = borderRadiusCards; + } + + + public AccountExperienceThemeVariables borderRadiusForms(String borderRadiusForms) { + this.borderRadiusForms = borderRadiusForms; + return this; + } + + /** + * Get borderRadiusForms + * @return borderRadiusForms + */ + @javax.annotation.Nullable + public String getBorderRadiusForms() { + return borderRadiusForms; + } + + public void setBorderRadiusForms(String borderRadiusForms) { + this.borderRadiusForms = borderRadiusForms; + } + + + public AccountExperienceThemeVariables borderRadiusGeneral(String borderRadiusGeneral) { + this.borderRadiusGeneral = borderRadiusGeneral; + return this; + } + + /** + * Get borderRadiusGeneral + * @return borderRadiusGeneral + */ + @javax.annotation.Nullable + public String getBorderRadiusGeneral() { + return borderRadiusGeneral; + } + + public void setBorderRadiusGeneral(String borderRadiusGeneral) { + this.borderRadiusGeneral = borderRadiusGeneral; + } + + + public AccountExperienceThemeVariables buttonPrimaryBgDefault(String buttonPrimaryBgDefault) { + this.buttonPrimaryBgDefault = buttonPrimaryBgDefault; + return this; + } + + /** + * Get buttonPrimaryBgDefault + * @return buttonPrimaryBgDefault + */ + @javax.annotation.Nullable + public String getButtonPrimaryBgDefault() { + return buttonPrimaryBgDefault; + } + + public void setButtonPrimaryBgDefault(String buttonPrimaryBgDefault) { + this.buttonPrimaryBgDefault = buttonPrimaryBgDefault; + } + + + public AccountExperienceThemeVariables buttonPrimaryBgDisabled(String buttonPrimaryBgDisabled) { + this.buttonPrimaryBgDisabled = buttonPrimaryBgDisabled; + return this; + } + + /** + * Get buttonPrimaryBgDisabled + * @return buttonPrimaryBgDisabled + */ + @javax.annotation.Nullable + public String getButtonPrimaryBgDisabled() { + return buttonPrimaryBgDisabled; + } + + public void setButtonPrimaryBgDisabled(String buttonPrimaryBgDisabled) { + this.buttonPrimaryBgDisabled = buttonPrimaryBgDisabled; + } + + + public AccountExperienceThemeVariables buttonPrimaryBgHover(String buttonPrimaryBgHover) { + this.buttonPrimaryBgHover = buttonPrimaryBgHover; + return this; + } + + /** + * Get buttonPrimaryBgHover + * @return buttonPrimaryBgHover + */ + @javax.annotation.Nullable + public String getButtonPrimaryBgHover() { + return buttonPrimaryBgHover; + } + + public void setButtonPrimaryBgHover(String buttonPrimaryBgHover) { + this.buttonPrimaryBgHover = buttonPrimaryBgHover; + } + + + public AccountExperienceThemeVariables buttonPrimaryBorderDefault(String buttonPrimaryBorderDefault) { + this.buttonPrimaryBorderDefault = buttonPrimaryBorderDefault; + return this; + } + + /** + * Get buttonPrimaryBorderDefault + * @return buttonPrimaryBorderDefault + */ + @javax.annotation.Nullable + public String getButtonPrimaryBorderDefault() { + return buttonPrimaryBorderDefault; + } + + public void setButtonPrimaryBorderDefault(String buttonPrimaryBorderDefault) { + this.buttonPrimaryBorderDefault = buttonPrimaryBorderDefault; + } + + + public AccountExperienceThemeVariables buttonPrimaryBorderDisabled(String buttonPrimaryBorderDisabled) { + this.buttonPrimaryBorderDisabled = buttonPrimaryBorderDisabled; + return this; + } + + /** + * Get buttonPrimaryBorderDisabled + * @return buttonPrimaryBorderDisabled + */ + @javax.annotation.Nullable + public String getButtonPrimaryBorderDisabled() { + return buttonPrimaryBorderDisabled; + } + + public void setButtonPrimaryBorderDisabled(String buttonPrimaryBorderDisabled) { + this.buttonPrimaryBorderDisabled = buttonPrimaryBorderDisabled; + } + + + public AccountExperienceThemeVariables buttonPrimaryBorderHover(String buttonPrimaryBorderHover) { + this.buttonPrimaryBorderHover = buttonPrimaryBorderHover; + return this; + } + + /** + * Get buttonPrimaryBorderHover + * @return buttonPrimaryBorderHover + */ + @javax.annotation.Nullable + public String getButtonPrimaryBorderHover() { + return buttonPrimaryBorderHover; + } + + public void setButtonPrimaryBorderHover(String buttonPrimaryBorderHover) { + this.buttonPrimaryBorderHover = buttonPrimaryBorderHover; + } + + + public AccountExperienceThemeVariables buttonPrimaryFgDefault(String buttonPrimaryFgDefault) { + this.buttonPrimaryFgDefault = buttonPrimaryFgDefault; + return this; + } + + /** + * Get buttonPrimaryFgDefault + * @return buttonPrimaryFgDefault + */ + @javax.annotation.Nullable + public String getButtonPrimaryFgDefault() { + return buttonPrimaryFgDefault; + } + + public void setButtonPrimaryFgDefault(String buttonPrimaryFgDefault) { + this.buttonPrimaryFgDefault = buttonPrimaryFgDefault; + } + + + public AccountExperienceThemeVariables buttonPrimaryFgDisabled(String buttonPrimaryFgDisabled) { + this.buttonPrimaryFgDisabled = buttonPrimaryFgDisabled; + return this; + } + + /** + * Get buttonPrimaryFgDisabled + * @return buttonPrimaryFgDisabled + */ + @javax.annotation.Nullable + public String getButtonPrimaryFgDisabled() { + return buttonPrimaryFgDisabled; + } + + public void setButtonPrimaryFgDisabled(String buttonPrimaryFgDisabled) { + this.buttonPrimaryFgDisabled = buttonPrimaryFgDisabled; + } + + + public AccountExperienceThemeVariables buttonPrimaryFgHover(String buttonPrimaryFgHover) { + this.buttonPrimaryFgHover = buttonPrimaryFgHover; + return this; + } + + /** + * Get buttonPrimaryFgHover + * @return buttonPrimaryFgHover + */ + @javax.annotation.Nullable + public String getButtonPrimaryFgHover() { + return buttonPrimaryFgHover; + } + + public void setButtonPrimaryFgHover(String buttonPrimaryFgHover) { + this.buttonPrimaryFgHover = buttonPrimaryFgHover; + } + + + public AccountExperienceThemeVariables buttonSecondaryBgDefault(String buttonSecondaryBgDefault) { + this.buttonSecondaryBgDefault = buttonSecondaryBgDefault; + return this; + } + + /** + * Get buttonSecondaryBgDefault + * @return buttonSecondaryBgDefault + */ + @javax.annotation.Nullable + public String getButtonSecondaryBgDefault() { + return buttonSecondaryBgDefault; + } + + public void setButtonSecondaryBgDefault(String buttonSecondaryBgDefault) { + this.buttonSecondaryBgDefault = buttonSecondaryBgDefault; + } + + + public AccountExperienceThemeVariables buttonSecondaryBgDisabled(String buttonSecondaryBgDisabled) { + this.buttonSecondaryBgDisabled = buttonSecondaryBgDisabled; + return this; + } + + /** + * Get buttonSecondaryBgDisabled + * @return buttonSecondaryBgDisabled + */ + @javax.annotation.Nullable + public String getButtonSecondaryBgDisabled() { + return buttonSecondaryBgDisabled; + } + + public void setButtonSecondaryBgDisabled(String buttonSecondaryBgDisabled) { + this.buttonSecondaryBgDisabled = buttonSecondaryBgDisabled; + } + + + public AccountExperienceThemeVariables buttonSecondaryBgHover(String buttonSecondaryBgHover) { + this.buttonSecondaryBgHover = buttonSecondaryBgHover; + return this; + } + + /** + * Get buttonSecondaryBgHover + * @return buttonSecondaryBgHover + */ + @javax.annotation.Nullable + public String getButtonSecondaryBgHover() { + return buttonSecondaryBgHover; + } + + public void setButtonSecondaryBgHover(String buttonSecondaryBgHover) { + this.buttonSecondaryBgHover = buttonSecondaryBgHover; + } + + + public AccountExperienceThemeVariables buttonSecondaryBorderDefault(String buttonSecondaryBorderDefault) { + this.buttonSecondaryBorderDefault = buttonSecondaryBorderDefault; + return this; + } + + /** + * Get buttonSecondaryBorderDefault + * @return buttonSecondaryBorderDefault + */ + @javax.annotation.Nullable + public String getButtonSecondaryBorderDefault() { + return buttonSecondaryBorderDefault; + } + + public void setButtonSecondaryBorderDefault(String buttonSecondaryBorderDefault) { + this.buttonSecondaryBorderDefault = buttonSecondaryBorderDefault; + } + + + public AccountExperienceThemeVariables buttonSecondaryBorderDisabled(String buttonSecondaryBorderDisabled) { + this.buttonSecondaryBorderDisabled = buttonSecondaryBorderDisabled; + return this; + } + + /** + * Get buttonSecondaryBorderDisabled + * @return buttonSecondaryBorderDisabled + */ + @javax.annotation.Nullable + public String getButtonSecondaryBorderDisabled() { + return buttonSecondaryBorderDisabled; + } + + public void setButtonSecondaryBorderDisabled(String buttonSecondaryBorderDisabled) { + this.buttonSecondaryBorderDisabled = buttonSecondaryBorderDisabled; + } + + + public AccountExperienceThemeVariables buttonSecondaryBorderHover(String buttonSecondaryBorderHover) { + this.buttonSecondaryBorderHover = buttonSecondaryBorderHover; + return this; + } + + /** + * Get buttonSecondaryBorderHover + * @return buttonSecondaryBorderHover + */ + @javax.annotation.Nullable + public String getButtonSecondaryBorderHover() { + return buttonSecondaryBorderHover; + } + + public void setButtonSecondaryBorderHover(String buttonSecondaryBorderHover) { + this.buttonSecondaryBorderHover = buttonSecondaryBorderHover; + } + + + public AccountExperienceThemeVariables buttonSecondaryFgDefault(String buttonSecondaryFgDefault) { + this.buttonSecondaryFgDefault = buttonSecondaryFgDefault; + return this; + } + + /** + * Get buttonSecondaryFgDefault + * @return buttonSecondaryFgDefault + */ + @javax.annotation.Nullable + public String getButtonSecondaryFgDefault() { + return buttonSecondaryFgDefault; + } + + public void setButtonSecondaryFgDefault(String buttonSecondaryFgDefault) { + this.buttonSecondaryFgDefault = buttonSecondaryFgDefault; + } + + + public AccountExperienceThemeVariables buttonSecondaryFgDisabled(String buttonSecondaryFgDisabled) { + this.buttonSecondaryFgDisabled = buttonSecondaryFgDisabled; + return this; + } + + /** + * Get buttonSecondaryFgDisabled + * @return buttonSecondaryFgDisabled + */ + @javax.annotation.Nullable + public String getButtonSecondaryFgDisabled() { + return buttonSecondaryFgDisabled; + } + + public void setButtonSecondaryFgDisabled(String buttonSecondaryFgDisabled) { + this.buttonSecondaryFgDisabled = buttonSecondaryFgDisabled; + } + + + public AccountExperienceThemeVariables buttonSecondaryFgHover(String buttonSecondaryFgHover) { + this.buttonSecondaryFgHover = buttonSecondaryFgHover; + return this; + } + + /** + * Get buttonSecondaryFgHover + * @return buttonSecondaryFgHover + */ + @javax.annotation.Nullable + public String getButtonSecondaryFgHover() { + return buttonSecondaryFgHover; + } + + public void setButtonSecondaryFgHover(String buttonSecondaryFgHover) { + this.buttonSecondaryFgHover = buttonSecondaryFgHover; + } + + + public AccountExperienceThemeVariables buttonSocialBgDefault(String buttonSocialBgDefault) { + this.buttonSocialBgDefault = buttonSocialBgDefault; + return this; + } + + /** + * Get buttonSocialBgDefault + * @return buttonSocialBgDefault + */ + @javax.annotation.Nullable + public String getButtonSocialBgDefault() { + return buttonSocialBgDefault; + } + + public void setButtonSocialBgDefault(String buttonSocialBgDefault) { + this.buttonSocialBgDefault = buttonSocialBgDefault; + } + + + public AccountExperienceThemeVariables buttonSocialBgDisabled(String buttonSocialBgDisabled) { + this.buttonSocialBgDisabled = buttonSocialBgDisabled; + return this; + } + + /** + * Get buttonSocialBgDisabled + * @return buttonSocialBgDisabled + */ + @javax.annotation.Nullable + public String getButtonSocialBgDisabled() { + return buttonSocialBgDisabled; + } + + public void setButtonSocialBgDisabled(String buttonSocialBgDisabled) { + this.buttonSocialBgDisabled = buttonSocialBgDisabled; + } + + + public AccountExperienceThemeVariables buttonSocialBgHover(String buttonSocialBgHover) { + this.buttonSocialBgHover = buttonSocialBgHover; + return this; + } + + /** + * Get buttonSocialBgHover + * @return buttonSocialBgHover + */ + @javax.annotation.Nullable + public String getButtonSocialBgHover() { + return buttonSocialBgHover; + } + + public void setButtonSocialBgHover(String buttonSocialBgHover) { + this.buttonSocialBgHover = buttonSocialBgHover; + } + + + public AccountExperienceThemeVariables buttonSocialBgProvider(String buttonSocialBgProvider) { + this.buttonSocialBgProvider = buttonSocialBgProvider; + return this; + } + + /** + * Get buttonSocialBgProvider + * @return buttonSocialBgProvider + */ + @javax.annotation.Nullable + public String getButtonSocialBgProvider() { + return buttonSocialBgProvider; + } + + public void setButtonSocialBgProvider(String buttonSocialBgProvider) { + this.buttonSocialBgProvider = buttonSocialBgProvider; + } + + + public AccountExperienceThemeVariables buttonSocialBorderDefault(String buttonSocialBorderDefault) { + this.buttonSocialBorderDefault = buttonSocialBorderDefault; + return this; + } + + /** + * Get buttonSocialBorderDefault + * @return buttonSocialBorderDefault + */ + @javax.annotation.Nullable + public String getButtonSocialBorderDefault() { + return buttonSocialBorderDefault; + } + + public void setButtonSocialBorderDefault(String buttonSocialBorderDefault) { + this.buttonSocialBorderDefault = buttonSocialBorderDefault; + } + + + public AccountExperienceThemeVariables buttonSocialBorderDisabled(String buttonSocialBorderDisabled) { + this.buttonSocialBorderDisabled = buttonSocialBorderDisabled; + return this; + } + + /** + * Get buttonSocialBorderDisabled + * @return buttonSocialBorderDisabled + */ + @javax.annotation.Nullable + public String getButtonSocialBorderDisabled() { + return buttonSocialBorderDisabled; + } + + public void setButtonSocialBorderDisabled(String buttonSocialBorderDisabled) { + this.buttonSocialBorderDisabled = buttonSocialBorderDisabled; + } + + + public AccountExperienceThemeVariables buttonSocialBorderHover(String buttonSocialBorderHover) { + this.buttonSocialBorderHover = buttonSocialBorderHover; + return this; + } + + /** + * Get buttonSocialBorderHover + * @return buttonSocialBorderHover + */ + @javax.annotation.Nullable + public String getButtonSocialBorderHover() { + return buttonSocialBorderHover; + } + + public void setButtonSocialBorderHover(String buttonSocialBorderHover) { + this.buttonSocialBorderHover = buttonSocialBorderHover; + } + + + public AccountExperienceThemeVariables buttonSocialBorderProvider(String buttonSocialBorderProvider) { + this.buttonSocialBorderProvider = buttonSocialBorderProvider; + return this; + } + + /** + * Get buttonSocialBorderProvider + * @return buttonSocialBorderProvider + */ + @javax.annotation.Nullable + public String getButtonSocialBorderProvider() { + return buttonSocialBorderProvider; + } + + public void setButtonSocialBorderProvider(String buttonSocialBorderProvider) { + this.buttonSocialBorderProvider = buttonSocialBorderProvider; + } + + + public AccountExperienceThemeVariables buttonSocialFgDefault(String buttonSocialFgDefault) { + this.buttonSocialFgDefault = buttonSocialFgDefault; + return this; + } + + /** + * Get buttonSocialFgDefault + * @return buttonSocialFgDefault + */ + @javax.annotation.Nullable + public String getButtonSocialFgDefault() { + return buttonSocialFgDefault; + } + + public void setButtonSocialFgDefault(String buttonSocialFgDefault) { + this.buttonSocialFgDefault = buttonSocialFgDefault; + } + + + public AccountExperienceThemeVariables buttonSocialFgDisabled(String buttonSocialFgDisabled) { + this.buttonSocialFgDisabled = buttonSocialFgDisabled; + return this; + } + + /** + * Get buttonSocialFgDisabled + * @return buttonSocialFgDisabled + */ + @javax.annotation.Nullable + public String getButtonSocialFgDisabled() { + return buttonSocialFgDisabled; + } + + public void setButtonSocialFgDisabled(String buttonSocialFgDisabled) { + this.buttonSocialFgDisabled = buttonSocialFgDisabled; + } + + + public AccountExperienceThemeVariables buttonSocialFgHover(String buttonSocialFgHover) { + this.buttonSocialFgHover = buttonSocialFgHover; + return this; + } + + /** + * Get buttonSocialFgHover + * @return buttonSocialFgHover + */ + @javax.annotation.Nullable + public String getButtonSocialFgHover() { + return buttonSocialFgHover; + } + + public void setButtonSocialFgHover(String buttonSocialFgHover) { + this.buttonSocialFgHover = buttonSocialFgHover; + } + + + public AccountExperienceThemeVariables buttonSocialFgProvider(String buttonSocialFgProvider) { + this.buttonSocialFgProvider = buttonSocialFgProvider; + return this; + } + + /** + * Get buttonSocialFgProvider + * @return buttonSocialFgProvider + */ + @javax.annotation.Nullable + public String getButtonSocialFgProvider() { + return buttonSocialFgProvider; + } + + public void setButtonSocialFgProvider(String buttonSocialFgProvider) { + this.buttonSocialFgProvider = buttonSocialFgProvider; + } + + + public AccountExperienceThemeVariables createdAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + */ + @javax.annotation.Nullable + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public AccountExperienceThemeVariables dialogBgDefault(String dialogBgDefault) { + this.dialogBgDefault = dialogBgDefault; + return this; + } + + /** + * Get dialogBgDefault + * @return dialogBgDefault + */ + @javax.annotation.Nullable + public String getDialogBgDefault() { + return dialogBgDefault; + } + + public void setDialogBgDefault(String dialogBgDefault) { + this.dialogBgDefault = dialogBgDefault; + } + + + public AccountExperienceThemeVariables dialogBgSubtle(String dialogBgSubtle) { + this.dialogBgSubtle = dialogBgSubtle; + return this; + } + + /** + * Get dialogBgSubtle + * @return dialogBgSubtle + */ + @javax.annotation.Nullable + public String getDialogBgSubtle() { + return dialogBgSubtle; + } + + public void setDialogBgSubtle(String dialogBgSubtle) { + this.dialogBgSubtle = dialogBgSubtle; + } + + + public AccountExperienceThemeVariables dialogBorderDefault(String dialogBorderDefault) { + this.dialogBorderDefault = dialogBorderDefault; + return this; + } + + /** + * Get dialogBorderDefault + * @return dialogBorderDefault + */ + @javax.annotation.Nullable + public String getDialogBorderDefault() { + return dialogBorderDefault; + } + + public void setDialogBorderDefault(String dialogBorderDefault) { + this.dialogBorderDefault = dialogBorderDefault; + } + + + public AccountExperienceThemeVariables dialogFgDefault(String dialogFgDefault) { + this.dialogFgDefault = dialogFgDefault; + return this; + } + + /** + * Get dialogFgDefault + * @return dialogFgDefault + */ + @javax.annotation.Nullable + public String getDialogFgDefault() { + return dialogFgDefault; + } + + public void setDialogFgDefault(String dialogFgDefault) { + this.dialogFgDefault = dialogFgDefault; + } + + + public AccountExperienceThemeVariables dialogFgMute(String dialogFgMute) { + this.dialogFgMute = dialogFgMute; + return this; + } + + /** + * Get dialogFgMute + * @return dialogFgMute + */ + @javax.annotation.Nullable + public String getDialogFgMute() { + return dialogFgMute; + } + + public void setDialogFgMute(String dialogFgMute) { + this.dialogFgMute = dialogFgMute; + } + + + public AccountExperienceThemeVariables dialogFgSubtle(String dialogFgSubtle) { + this.dialogFgSubtle = dialogFgSubtle; + return this; + } + + /** + * Get dialogFgSubtle + * @return dialogFgSubtle + */ + @javax.annotation.Nullable + public String getDialogFgSubtle() { + return dialogFgSubtle; + } + + public void setDialogFgSubtle(String dialogFgSubtle) { + this.dialogFgSubtle = dialogFgSubtle; + } + + + public AccountExperienceThemeVariables formsBgDefault(String formsBgDefault) { + this.formsBgDefault = formsBgDefault; + return this; + } + + /** + * Get formsBgDefault + * @return formsBgDefault + */ + @javax.annotation.Nullable + public String getFormsBgDefault() { + return formsBgDefault; + } + + public void setFormsBgDefault(String formsBgDefault) { + this.formsBgDefault = formsBgDefault; + } + + + public AccountExperienceThemeVariables formsBgDisabled(String formsBgDisabled) { + this.formsBgDisabled = formsBgDisabled; + return this; + } + + /** + * Get formsBgDisabled + * @return formsBgDisabled + */ + @javax.annotation.Nullable + public String getFormsBgDisabled() { + return formsBgDisabled; + } + + public void setFormsBgDisabled(String formsBgDisabled) { + this.formsBgDisabled = formsBgDisabled; + } + + + public AccountExperienceThemeVariables formsBgHover(String formsBgHover) { + this.formsBgHover = formsBgHover; + return this; + } + + /** + * Get formsBgHover + * @return formsBgHover + */ + @javax.annotation.Nullable + public String getFormsBgHover() { + return formsBgHover; + } + + public void setFormsBgHover(String formsBgHover) { + this.formsBgHover = formsBgHover; + } + + + public AccountExperienceThemeVariables formsBorderDefault(String formsBorderDefault) { + this.formsBorderDefault = formsBorderDefault; + return this; + } + + /** + * Get formsBorderDefault + * @return formsBorderDefault + */ + @javax.annotation.Nullable + public String getFormsBorderDefault() { + return formsBorderDefault; + } + + public void setFormsBorderDefault(String formsBorderDefault) { + this.formsBorderDefault = formsBorderDefault; + } + + + public AccountExperienceThemeVariables formsBorderDisabled(String formsBorderDisabled) { + this.formsBorderDisabled = formsBorderDisabled; + return this; + } + + /** + * Get formsBorderDisabled + * @return formsBorderDisabled + */ + @javax.annotation.Nullable + public String getFormsBorderDisabled() { + return formsBorderDisabled; + } + + public void setFormsBorderDisabled(String formsBorderDisabled) { + this.formsBorderDisabled = formsBorderDisabled; + } + + + public AccountExperienceThemeVariables formsBorderError(String formsBorderError) { + this.formsBorderError = formsBorderError; + return this; + } + + /** + * Get formsBorderError + * @return formsBorderError + */ + @javax.annotation.Nullable + public String getFormsBorderError() { + return formsBorderError; + } + + public void setFormsBorderError(String formsBorderError) { + this.formsBorderError = formsBorderError; + } + + + public AccountExperienceThemeVariables formsBorderFocus(String formsBorderFocus) { + this.formsBorderFocus = formsBorderFocus; + return this; + } + + /** + * Get formsBorderFocus + * @return formsBorderFocus + */ + @javax.annotation.Nullable + public String getFormsBorderFocus() { + return formsBorderFocus; + } + + public void setFormsBorderFocus(String formsBorderFocus) { + this.formsBorderFocus = formsBorderFocus; + } + + + public AccountExperienceThemeVariables formsBorderHover(String formsBorderHover) { + this.formsBorderHover = formsBorderHover; + return this; + } + + /** + * Get formsBorderHover + * @return formsBorderHover + */ + @javax.annotation.Nullable + public String getFormsBorderHover() { + return formsBorderHover; + } + + public void setFormsBorderHover(String formsBorderHover) { + this.formsBorderHover = formsBorderHover; + } + + + public AccountExperienceThemeVariables formsBorderSuccess(String formsBorderSuccess) { + this.formsBorderSuccess = formsBorderSuccess; + return this; + } + + /** + * Get formsBorderSuccess + * @return formsBorderSuccess + */ + @javax.annotation.Nullable + public String getFormsBorderSuccess() { + return formsBorderSuccess; + } + + public void setFormsBorderSuccess(String formsBorderSuccess) { + this.formsBorderSuccess = formsBorderSuccess; + } + + + public AccountExperienceThemeVariables formsBorderWarn(String formsBorderWarn) { + this.formsBorderWarn = formsBorderWarn; + return this; + } + + /** + * Get formsBorderWarn + * @return formsBorderWarn + */ + @javax.annotation.Nullable + public String getFormsBorderWarn() { + return formsBorderWarn; + } + + public void setFormsBorderWarn(String formsBorderWarn) { + this.formsBorderWarn = formsBorderWarn; + } + + + public AccountExperienceThemeVariables formsCheckboxBgChecked(String formsCheckboxBgChecked) { + this.formsCheckboxBgChecked = formsCheckboxBgChecked; + return this; + } + + /** + * Get formsCheckboxBgChecked + * @return formsCheckboxBgChecked + */ + @javax.annotation.Nullable + public String getFormsCheckboxBgChecked() { + return formsCheckboxBgChecked; + } + + public void setFormsCheckboxBgChecked(String formsCheckboxBgChecked) { + this.formsCheckboxBgChecked = formsCheckboxBgChecked; + } + + + public AccountExperienceThemeVariables formsCheckboxBgDefault(String formsCheckboxBgDefault) { + this.formsCheckboxBgDefault = formsCheckboxBgDefault; + return this; + } + + /** + * Get formsCheckboxBgDefault + * @return formsCheckboxBgDefault + */ + @javax.annotation.Nullable + public String getFormsCheckboxBgDefault() { + return formsCheckboxBgDefault; + } + + public void setFormsCheckboxBgDefault(String formsCheckboxBgDefault) { + this.formsCheckboxBgDefault = formsCheckboxBgDefault; + } + + + public AccountExperienceThemeVariables formsCheckboxBorderChecked(String formsCheckboxBorderChecked) { + this.formsCheckboxBorderChecked = formsCheckboxBorderChecked; + return this; + } + + /** + * Get formsCheckboxBorderChecked + * @return formsCheckboxBorderChecked + */ + @javax.annotation.Nullable + public String getFormsCheckboxBorderChecked() { + return formsCheckboxBorderChecked; + } + + public void setFormsCheckboxBorderChecked(String formsCheckboxBorderChecked) { + this.formsCheckboxBorderChecked = formsCheckboxBorderChecked; + } + + + public AccountExperienceThemeVariables formsCheckboxBorderDefault(String formsCheckboxBorderDefault) { + this.formsCheckboxBorderDefault = formsCheckboxBorderDefault; + return this; + } + + /** + * Get formsCheckboxBorderDefault + * @return formsCheckboxBorderDefault + */ + @javax.annotation.Nullable + public String getFormsCheckboxBorderDefault() { + return formsCheckboxBorderDefault; + } + + public void setFormsCheckboxBorderDefault(String formsCheckboxBorderDefault) { + this.formsCheckboxBorderDefault = formsCheckboxBorderDefault; + } + + + public AccountExperienceThemeVariables formsCheckboxFgChecked(String formsCheckboxFgChecked) { + this.formsCheckboxFgChecked = formsCheckboxFgChecked; + return this; + } + + /** + * Get formsCheckboxFgChecked + * @return formsCheckboxFgChecked + */ + @javax.annotation.Nullable + public String getFormsCheckboxFgChecked() { + return formsCheckboxFgChecked; + } + + public void setFormsCheckboxFgChecked(String formsCheckboxFgChecked) { + this.formsCheckboxFgChecked = formsCheckboxFgChecked; + } + + + public AccountExperienceThemeVariables formsCheckboxFgDefault(String formsCheckboxFgDefault) { + this.formsCheckboxFgDefault = formsCheckboxFgDefault; + return this; + } + + /** + * Get formsCheckboxFgDefault + * @return formsCheckboxFgDefault + */ + @javax.annotation.Nullable + public String getFormsCheckboxFgDefault() { + return formsCheckboxFgDefault; + } + + public void setFormsCheckboxFgDefault(String formsCheckboxFgDefault) { + this.formsCheckboxFgDefault = formsCheckboxFgDefault; + } + + + public AccountExperienceThemeVariables formsFgDefault(String formsFgDefault) { + this.formsFgDefault = formsFgDefault; + return this; + } + + /** + * Get formsFgDefault + * @return formsFgDefault + */ + @javax.annotation.Nullable + public String getFormsFgDefault() { + return formsFgDefault; + } + + public void setFormsFgDefault(String formsFgDefault) { + this.formsFgDefault = formsFgDefault; + } + + + public AccountExperienceThemeVariables formsFgError(String formsFgError) { + this.formsFgError = formsFgError; + return this; + } + + /** + * Get formsFgError + * @return formsFgError + */ + @javax.annotation.Nullable + public String getFormsFgError() { + return formsFgError; + } + + public void setFormsFgError(String formsFgError) { + this.formsFgError = formsFgError; + } + + + public AccountExperienceThemeVariables formsFgMute(String formsFgMute) { + this.formsFgMute = formsFgMute; + return this; + } + + /** + * Get formsFgMute + * @return formsFgMute + */ + @javax.annotation.Nullable + public String getFormsFgMute() { + return formsFgMute; + } + + public void setFormsFgMute(String formsFgMute) { + this.formsFgMute = formsFgMute; + } + + + public AccountExperienceThemeVariables formsFgSubtle(String formsFgSubtle) { + this.formsFgSubtle = formsFgSubtle; + return this; + } + + /** + * Get formsFgSubtle + * @return formsFgSubtle + */ + @javax.annotation.Nullable + public String getFormsFgSubtle() { + return formsFgSubtle; + } + + public void setFormsFgSubtle(String formsFgSubtle) { + this.formsFgSubtle = formsFgSubtle; + } + + + public AccountExperienceThemeVariables formsFgSuccess(String formsFgSuccess) { + this.formsFgSuccess = formsFgSuccess; + return this; + } + + /** + * Get formsFgSuccess + * @return formsFgSuccess + */ + @javax.annotation.Nullable + public String getFormsFgSuccess() { + return formsFgSuccess; + } + + public void setFormsFgSuccess(String formsFgSuccess) { + this.formsFgSuccess = formsFgSuccess; + } + + + public AccountExperienceThemeVariables formsFgWarn(String formsFgWarn) { + this.formsFgWarn = formsFgWarn; + return this; + } + + /** + * Get formsFgWarn + * @return formsFgWarn + */ + @javax.annotation.Nullable + public String getFormsFgWarn() { + return formsFgWarn; + } + + public void setFormsFgWarn(String formsFgWarn) { + this.formsFgWarn = formsFgWarn; + } + + + public AccountExperienceThemeVariables formsRadioBgChecked(String formsRadioBgChecked) { + this.formsRadioBgChecked = formsRadioBgChecked; + return this; + } + + /** + * Get formsRadioBgChecked + * @return formsRadioBgChecked + */ + @javax.annotation.Nullable + public String getFormsRadioBgChecked() { + return formsRadioBgChecked; + } + + public void setFormsRadioBgChecked(String formsRadioBgChecked) { + this.formsRadioBgChecked = formsRadioBgChecked; + } + + + public AccountExperienceThemeVariables formsRadioBgDefault(String formsRadioBgDefault) { + this.formsRadioBgDefault = formsRadioBgDefault; + return this; + } + + /** + * Get formsRadioBgDefault + * @return formsRadioBgDefault + */ + @javax.annotation.Nullable + public String getFormsRadioBgDefault() { + return formsRadioBgDefault; + } + + public void setFormsRadioBgDefault(String formsRadioBgDefault) { + this.formsRadioBgDefault = formsRadioBgDefault; + } + + + public AccountExperienceThemeVariables formsRadioBorderChecked(String formsRadioBorderChecked) { + this.formsRadioBorderChecked = formsRadioBorderChecked; + return this; + } + + /** + * Get formsRadioBorderChecked + * @return formsRadioBorderChecked + */ + @javax.annotation.Nullable + public String getFormsRadioBorderChecked() { + return formsRadioBorderChecked; + } + + public void setFormsRadioBorderChecked(String formsRadioBorderChecked) { + this.formsRadioBorderChecked = formsRadioBorderChecked; + } + + + public AccountExperienceThemeVariables formsRadioBorderDefault(String formsRadioBorderDefault) { + this.formsRadioBorderDefault = formsRadioBorderDefault; + return this; + } + + /** + * Get formsRadioBorderDefault + * @return formsRadioBorderDefault + */ + @javax.annotation.Nullable + public String getFormsRadioBorderDefault() { + return formsRadioBorderDefault; + } + + public void setFormsRadioBorderDefault(String formsRadioBorderDefault) { + this.formsRadioBorderDefault = formsRadioBorderDefault; + } + + + public AccountExperienceThemeVariables formsRadioFgChecked(String formsRadioFgChecked) { + this.formsRadioFgChecked = formsRadioFgChecked; + return this; + } + + /** + * Get formsRadioFgChecked + * @return formsRadioFgChecked + */ + @javax.annotation.Nullable + public String getFormsRadioFgChecked() { + return formsRadioFgChecked; + } + + public void setFormsRadioFgChecked(String formsRadioFgChecked) { + this.formsRadioFgChecked = formsRadioFgChecked; + } + + + public AccountExperienceThemeVariables formsRadioFgDefault(String formsRadioFgDefault) { + this.formsRadioFgDefault = formsRadioFgDefault; + return this; + } + + /** + * Get formsRadioFgDefault + * @return formsRadioFgDefault + */ + @javax.annotation.Nullable + public String getFormsRadioFgDefault() { + return formsRadioFgDefault; + } + + public void setFormsRadioFgDefault(String formsRadioFgDefault) { + this.formsRadioFgDefault = formsRadioFgDefault; + } + + + public AccountExperienceThemeVariables formsToggleBgChecked(String formsToggleBgChecked) { + this.formsToggleBgChecked = formsToggleBgChecked; + return this; + } + + /** + * Get formsToggleBgChecked + * @return formsToggleBgChecked + */ + @javax.annotation.Nullable + public String getFormsToggleBgChecked() { + return formsToggleBgChecked; + } + + public void setFormsToggleBgChecked(String formsToggleBgChecked) { + this.formsToggleBgChecked = formsToggleBgChecked; + } + + + public AccountExperienceThemeVariables formsToggleBgDefault(String formsToggleBgDefault) { + this.formsToggleBgDefault = formsToggleBgDefault; + return this; + } + + /** + * Get formsToggleBgDefault + * @return formsToggleBgDefault + */ + @javax.annotation.Nullable + public String getFormsToggleBgDefault() { + return formsToggleBgDefault; + } + + public void setFormsToggleBgDefault(String formsToggleBgDefault) { + this.formsToggleBgDefault = formsToggleBgDefault; + } + + + public AccountExperienceThemeVariables formsToggleBorderChecked(String formsToggleBorderChecked) { + this.formsToggleBorderChecked = formsToggleBorderChecked; + return this; + } + + /** + * Get formsToggleBorderChecked + * @return formsToggleBorderChecked + */ + @javax.annotation.Nullable + public String getFormsToggleBorderChecked() { + return formsToggleBorderChecked; + } + + public void setFormsToggleBorderChecked(String formsToggleBorderChecked) { + this.formsToggleBorderChecked = formsToggleBorderChecked; + } + + + public AccountExperienceThemeVariables formsToggleBorderDefault(String formsToggleBorderDefault) { + this.formsToggleBorderDefault = formsToggleBorderDefault; + return this; + } + + /** + * Get formsToggleBorderDefault + * @return formsToggleBorderDefault + */ + @javax.annotation.Nullable + public String getFormsToggleBorderDefault() { + return formsToggleBorderDefault; + } + + public void setFormsToggleBorderDefault(String formsToggleBorderDefault) { + this.formsToggleBorderDefault = formsToggleBorderDefault; + } + + + public AccountExperienceThemeVariables formsToggleFgChecked(String formsToggleFgChecked) { + this.formsToggleFgChecked = formsToggleFgChecked; + return this; + } + + /** + * Get formsToggleFgChecked + * @return formsToggleFgChecked + */ + @javax.annotation.Nullable + public String getFormsToggleFgChecked() { + return formsToggleFgChecked; + } + + public void setFormsToggleFgChecked(String formsToggleFgChecked) { + this.formsToggleFgChecked = formsToggleFgChecked; + } + + + public AccountExperienceThemeVariables formsToggleFgDefault(String formsToggleFgDefault) { + this.formsToggleFgDefault = formsToggleFgDefault; + return this; + } + + /** + * Get formsToggleFgDefault + * @return formsToggleFgDefault + */ + @javax.annotation.Nullable + public String getFormsToggleFgDefault() { + return formsToggleFgDefault; + } + + public void setFormsToggleFgDefault(String formsToggleFgDefault) { + this.formsToggleFgDefault = formsToggleFgDefault; + } + + + public AccountExperienceThemeVariables id(String id) { + this.id = id; + return this; + } + + /** + * Get id + * @return id + */ + @javax.annotation.Nullable + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + + public AccountExperienceThemeVariables linksLinkDefault(String linksLinkDefault) { + this.linksLinkDefault = linksLinkDefault; + return this; + } + + /** + * Get linksLinkDefault + * @return linksLinkDefault + */ + @javax.annotation.Nullable + public String getLinksLinkDefault() { + return linksLinkDefault; + } + + public void setLinksLinkDefault(String linksLinkDefault) { + this.linksLinkDefault = linksLinkDefault; + } + + + public AccountExperienceThemeVariables linksLinkDisabled(String linksLinkDisabled) { + this.linksLinkDisabled = linksLinkDisabled; + return this; + } + + /** + * Get linksLinkDisabled + * @return linksLinkDisabled + */ + @javax.annotation.Nullable + public String getLinksLinkDisabled() { + return linksLinkDisabled; + } + + public void setLinksLinkDisabled(String linksLinkDisabled) { + this.linksLinkDisabled = linksLinkDisabled; + } + + + public AccountExperienceThemeVariables linksLinkHover(String linksLinkHover) { + this.linksLinkHover = linksLinkHover; + return this; + } + + /** + * Get linksLinkHover + * @return linksLinkHover + */ + @javax.annotation.Nullable + public String getLinksLinkHover() { + return linksLinkHover; + } + + public void setLinksLinkHover(String linksLinkHover) { + this.linksLinkHover = linksLinkHover; + } + + + public AccountExperienceThemeVariables linksLinkInvertedDefault(String linksLinkInvertedDefault) { + this.linksLinkInvertedDefault = linksLinkInvertedDefault; + return this; + } + + /** + * Get linksLinkInvertedDefault + * @return linksLinkInvertedDefault + */ + @javax.annotation.Nullable + public String getLinksLinkInvertedDefault() { + return linksLinkInvertedDefault; + } + + public void setLinksLinkInvertedDefault(String linksLinkInvertedDefault) { + this.linksLinkInvertedDefault = linksLinkInvertedDefault; + } + + + public AccountExperienceThemeVariables linksLinkInvertedHover(String linksLinkInvertedHover) { + this.linksLinkInvertedHover = linksLinkInvertedHover; + return this; + } + + /** + * Get linksLinkInvertedHover + * @return linksLinkInvertedHover + */ + @javax.annotation.Nullable + public String getLinksLinkInvertedHover() { + return linksLinkInvertedHover; + } + + public void setLinksLinkInvertedHover(String linksLinkInvertedHover) { + this.linksLinkInvertedHover = linksLinkInvertedHover; + } + + + public AccountExperienceThemeVariables linksLinkMuteDefault(String linksLinkMuteDefault) { + this.linksLinkMuteDefault = linksLinkMuteDefault; + return this; + } + + /** + * Get linksLinkMuteDefault + * @return linksLinkMuteDefault + */ + @javax.annotation.Nullable + public String getLinksLinkMuteDefault() { + return linksLinkMuteDefault; + } + + public void setLinksLinkMuteDefault(String linksLinkMuteDefault) { + this.linksLinkMuteDefault = linksLinkMuteDefault; + } + + + public AccountExperienceThemeVariables linksLinkMuteHover(String linksLinkMuteHover) { + this.linksLinkMuteHover = linksLinkMuteHover; + return this; + } + + /** + * Get linksLinkMuteHover + * @return linksLinkMuteHover + */ + @javax.annotation.Nullable + public String getLinksLinkMuteHover() { + return linksLinkMuteHover; + } + + public void setLinksLinkMuteHover(String linksLinkMuteHover) { + this.linksLinkMuteHover = linksLinkMuteHover; + } + + + public AccountExperienceThemeVariables syntaxSyntax(String syntaxSyntax) { + this.syntaxSyntax = syntaxSyntax; + return this; + } + + /** + * Get syntaxSyntax + * @return syntaxSyntax + */ + @javax.annotation.Nullable + public String getSyntaxSyntax() { + return syntaxSyntax; + } + + public void setSyntaxSyntax(String syntaxSyntax) { + this.syntaxSyntax = syntaxSyntax; + } + + + public AccountExperienceThemeVariables syntaxSyntaxKey(String syntaxSyntaxKey) { + this.syntaxSyntaxKey = syntaxSyntaxKey; + return this; + } + + /** + * Get syntaxSyntaxKey + * @return syntaxSyntaxKey + */ + @javax.annotation.Nullable + public String getSyntaxSyntaxKey() { + return syntaxSyntaxKey; + } + + public void setSyntaxSyntaxKey(String syntaxSyntaxKey) { + this.syntaxSyntaxKey = syntaxSyntaxKey; + } + + + public AccountExperienceThemeVariables syntaxSyntaxNum(String syntaxSyntaxNum) { + this.syntaxSyntaxNum = syntaxSyntaxNum; + return this; + } + + /** + * Get syntaxSyntaxNum + * @return syntaxSyntaxNum + */ + @javax.annotation.Nullable + public String getSyntaxSyntaxNum() { + return syntaxSyntaxNum; + } + + public void setSyntaxSyntaxNum(String syntaxSyntaxNum) { + this.syntaxSyntaxNum = syntaxSyntaxNum; + } + + + public AccountExperienceThemeVariables syntaxSyntaxValue(String syntaxSyntaxValue) { + this.syntaxSyntaxValue = syntaxSyntaxValue; + return this; + } + + /** + * Get syntaxSyntaxValue + * @return syntaxSyntaxValue + */ + @javax.annotation.Nullable + public String getSyntaxSyntaxValue() { + return syntaxSyntaxValue; + } + + public void setSyntaxSyntaxValue(String syntaxSyntaxValue) { + this.syntaxSyntaxValue = syntaxSyntaxValue; + } + + + public AccountExperienceThemeVariables updatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + */ + @javax.annotation.Nullable + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + public void setUpdatedAt(OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + /** + * A container for additional, undeclared properties. + * This is a holder for any undeclared properties as specified with + * the 'additionalProperties' keyword in the OAS document. + */ + private Map additionalProperties; + + /** + * Set the additional (undeclared) property with the specified name and value. + * If the property does not already exist, create it otherwise replace it. + * + * @param key name of the property + * @param value value of the property + * @return the AccountExperienceThemeVariables instance itself + */ + public AccountExperienceThemeVariables putAdditionalProperty(String key, Object value) { + if (this.additionalProperties == null) { + this.additionalProperties = new HashMap(); + } + this.additionalProperties.put(key, value); + return this; + } + + /** + * Return the additional (undeclared) property. + * + * @return a map of objects + */ + public Map getAdditionalProperties() { + return additionalProperties; + } + + /** + * Return the additional (undeclared) property with the specified name. + * + * @param key name of the property + * @return an object + */ + public Object getAdditionalProperty(String key) { + if (this.additionalProperties == null) { + return null; + } + return this.additionalProperties.get(key); + } + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AccountExperienceThemeVariables accountExperienceThemeVariables = (AccountExperienceThemeVariables) o; + return Objects.equals(this.accent, accountExperienceThemeVariables.accent) && + Objects.equals(this.bgDefault, accountExperienceThemeVariables.bgDefault) && + Objects.equals(this.borderRadiusBranding, accountExperienceThemeVariables.borderRadiusBranding) && + Objects.equals(this.borderRadiusButtons, accountExperienceThemeVariables.borderRadiusButtons) && + Objects.equals(this.borderRadiusCards, accountExperienceThemeVariables.borderRadiusCards) && + Objects.equals(this.borderRadiusForms, accountExperienceThemeVariables.borderRadiusForms) && + Objects.equals(this.borderRadiusGeneral, accountExperienceThemeVariables.borderRadiusGeneral) && + Objects.equals(this.buttonPrimaryBgDefault, accountExperienceThemeVariables.buttonPrimaryBgDefault) && + Objects.equals(this.buttonPrimaryBgDisabled, accountExperienceThemeVariables.buttonPrimaryBgDisabled) && + Objects.equals(this.buttonPrimaryBgHover, accountExperienceThemeVariables.buttonPrimaryBgHover) && + Objects.equals(this.buttonPrimaryBorderDefault, accountExperienceThemeVariables.buttonPrimaryBorderDefault) && + Objects.equals(this.buttonPrimaryBorderDisabled, accountExperienceThemeVariables.buttonPrimaryBorderDisabled) && + Objects.equals(this.buttonPrimaryBorderHover, accountExperienceThemeVariables.buttonPrimaryBorderHover) && + Objects.equals(this.buttonPrimaryFgDefault, accountExperienceThemeVariables.buttonPrimaryFgDefault) && + Objects.equals(this.buttonPrimaryFgDisabled, accountExperienceThemeVariables.buttonPrimaryFgDisabled) && + Objects.equals(this.buttonPrimaryFgHover, accountExperienceThemeVariables.buttonPrimaryFgHover) && + Objects.equals(this.buttonSecondaryBgDefault, accountExperienceThemeVariables.buttonSecondaryBgDefault) && + Objects.equals(this.buttonSecondaryBgDisabled, accountExperienceThemeVariables.buttonSecondaryBgDisabled) && + Objects.equals(this.buttonSecondaryBgHover, accountExperienceThemeVariables.buttonSecondaryBgHover) && + Objects.equals(this.buttonSecondaryBorderDefault, accountExperienceThemeVariables.buttonSecondaryBorderDefault) && + Objects.equals(this.buttonSecondaryBorderDisabled, accountExperienceThemeVariables.buttonSecondaryBorderDisabled) && + Objects.equals(this.buttonSecondaryBorderHover, accountExperienceThemeVariables.buttonSecondaryBorderHover) && + Objects.equals(this.buttonSecondaryFgDefault, accountExperienceThemeVariables.buttonSecondaryFgDefault) && + Objects.equals(this.buttonSecondaryFgDisabled, accountExperienceThemeVariables.buttonSecondaryFgDisabled) && + Objects.equals(this.buttonSecondaryFgHover, accountExperienceThemeVariables.buttonSecondaryFgHover) && + Objects.equals(this.buttonSocialBgDefault, accountExperienceThemeVariables.buttonSocialBgDefault) && + Objects.equals(this.buttonSocialBgDisabled, accountExperienceThemeVariables.buttonSocialBgDisabled) && + Objects.equals(this.buttonSocialBgHover, accountExperienceThemeVariables.buttonSocialBgHover) && + Objects.equals(this.buttonSocialBgProvider, accountExperienceThemeVariables.buttonSocialBgProvider) && + Objects.equals(this.buttonSocialBorderDefault, accountExperienceThemeVariables.buttonSocialBorderDefault) && + Objects.equals(this.buttonSocialBorderDisabled, accountExperienceThemeVariables.buttonSocialBorderDisabled) && + Objects.equals(this.buttonSocialBorderHover, accountExperienceThemeVariables.buttonSocialBorderHover) && + Objects.equals(this.buttonSocialBorderProvider, accountExperienceThemeVariables.buttonSocialBorderProvider) && + Objects.equals(this.buttonSocialFgDefault, accountExperienceThemeVariables.buttonSocialFgDefault) && + Objects.equals(this.buttonSocialFgDisabled, accountExperienceThemeVariables.buttonSocialFgDisabled) && + Objects.equals(this.buttonSocialFgHover, accountExperienceThemeVariables.buttonSocialFgHover) && + Objects.equals(this.buttonSocialFgProvider, accountExperienceThemeVariables.buttonSocialFgProvider) && + Objects.equals(this.createdAt, accountExperienceThemeVariables.createdAt) && + Objects.equals(this.dialogBgDefault, accountExperienceThemeVariables.dialogBgDefault) && + Objects.equals(this.dialogBgSubtle, accountExperienceThemeVariables.dialogBgSubtle) && + Objects.equals(this.dialogBorderDefault, accountExperienceThemeVariables.dialogBorderDefault) && + Objects.equals(this.dialogFgDefault, accountExperienceThemeVariables.dialogFgDefault) && + Objects.equals(this.dialogFgMute, accountExperienceThemeVariables.dialogFgMute) && + Objects.equals(this.dialogFgSubtle, accountExperienceThemeVariables.dialogFgSubtle) && + Objects.equals(this.formsBgDefault, accountExperienceThemeVariables.formsBgDefault) && + Objects.equals(this.formsBgDisabled, accountExperienceThemeVariables.formsBgDisabled) && + Objects.equals(this.formsBgHover, accountExperienceThemeVariables.formsBgHover) && + Objects.equals(this.formsBorderDefault, accountExperienceThemeVariables.formsBorderDefault) && + Objects.equals(this.formsBorderDisabled, accountExperienceThemeVariables.formsBorderDisabled) && + Objects.equals(this.formsBorderError, accountExperienceThemeVariables.formsBorderError) && + Objects.equals(this.formsBorderFocus, accountExperienceThemeVariables.formsBorderFocus) && + Objects.equals(this.formsBorderHover, accountExperienceThemeVariables.formsBorderHover) && + Objects.equals(this.formsBorderSuccess, accountExperienceThemeVariables.formsBorderSuccess) && + Objects.equals(this.formsBorderWarn, accountExperienceThemeVariables.formsBorderWarn) && + Objects.equals(this.formsCheckboxBgChecked, accountExperienceThemeVariables.formsCheckboxBgChecked) && + Objects.equals(this.formsCheckboxBgDefault, accountExperienceThemeVariables.formsCheckboxBgDefault) && + Objects.equals(this.formsCheckboxBorderChecked, accountExperienceThemeVariables.formsCheckboxBorderChecked) && + Objects.equals(this.formsCheckboxBorderDefault, accountExperienceThemeVariables.formsCheckboxBorderDefault) && + Objects.equals(this.formsCheckboxFgChecked, accountExperienceThemeVariables.formsCheckboxFgChecked) && + Objects.equals(this.formsCheckboxFgDefault, accountExperienceThemeVariables.formsCheckboxFgDefault) && + Objects.equals(this.formsFgDefault, accountExperienceThemeVariables.formsFgDefault) && + Objects.equals(this.formsFgError, accountExperienceThemeVariables.formsFgError) && + Objects.equals(this.formsFgMute, accountExperienceThemeVariables.formsFgMute) && + Objects.equals(this.formsFgSubtle, accountExperienceThemeVariables.formsFgSubtle) && + Objects.equals(this.formsFgSuccess, accountExperienceThemeVariables.formsFgSuccess) && + Objects.equals(this.formsFgWarn, accountExperienceThemeVariables.formsFgWarn) && + Objects.equals(this.formsRadioBgChecked, accountExperienceThemeVariables.formsRadioBgChecked) && + Objects.equals(this.formsRadioBgDefault, accountExperienceThemeVariables.formsRadioBgDefault) && + Objects.equals(this.formsRadioBorderChecked, accountExperienceThemeVariables.formsRadioBorderChecked) && + Objects.equals(this.formsRadioBorderDefault, accountExperienceThemeVariables.formsRadioBorderDefault) && + Objects.equals(this.formsRadioFgChecked, accountExperienceThemeVariables.formsRadioFgChecked) && + Objects.equals(this.formsRadioFgDefault, accountExperienceThemeVariables.formsRadioFgDefault) && + Objects.equals(this.formsToggleBgChecked, accountExperienceThemeVariables.formsToggleBgChecked) && + Objects.equals(this.formsToggleBgDefault, accountExperienceThemeVariables.formsToggleBgDefault) && + Objects.equals(this.formsToggleBorderChecked, accountExperienceThemeVariables.formsToggleBorderChecked) && + Objects.equals(this.formsToggleBorderDefault, accountExperienceThemeVariables.formsToggleBorderDefault) && + Objects.equals(this.formsToggleFgChecked, accountExperienceThemeVariables.formsToggleFgChecked) && + Objects.equals(this.formsToggleFgDefault, accountExperienceThemeVariables.formsToggleFgDefault) && + Objects.equals(this.id, accountExperienceThemeVariables.id) && + Objects.equals(this.linksLinkDefault, accountExperienceThemeVariables.linksLinkDefault) && + Objects.equals(this.linksLinkDisabled, accountExperienceThemeVariables.linksLinkDisabled) && + Objects.equals(this.linksLinkHover, accountExperienceThemeVariables.linksLinkHover) && + Objects.equals(this.linksLinkInvertedDefault, accountExperienceThemeVariables.linksLinkInvertedDefault) && + Objects.equals(this.linksLinkInvertedHover, accountExperienceThemeVariables.linksLinkInvertedHover) && + Objects.equals(this.linksLinkMuteDefault, accountExperienceThemeVariables.linksLinkMuteDefault) && + Objects.equals(this.linksLinkMuteHover, accountExperienceThemeVariables.linksLinkMuteHover) && + Objects.equals(this.syntaxSyntax, accountExperienceThemeVariables.syntaxSyntax) && + Objects.equals(this.syntaxSyntaxKey, accountExperienceThemeVariables.syntaxSyntaxKey) && + Objects.equals(this.syntaxSyntaxNum, accountExperienceThemeVariables.syntaxSyntaxNum) && + Objects.equals(this.syntaxSyntaxValue, accountExperienceThemeVariables.syntaxSyntaxValue) && + Objects.equals(this.updatedAt, accountExperienceThemeVariables.updatedAt)&& + Objects.equals(this.additionalProperties, accountExperienceThemeVariables.additionalProperties); + } + + @Override + public int hashCode() { + return Objects.hash(accent, bgDefault, borderRadiusBranding, borderRadiusButtons, borderRadiusCards, borderRadiusForms, borderRadiusGeneral, buttonPrimaryBgDefault, buttonPrimaryBgDisabled, buttonPrimaryBgHover, buttonPrimaryBorderDefault, buttonPrimaryBorderDisabled, buttonPrimaryBorderHover, buttonPrimaryFgDefault, buttonPrimaryFgDisabled, buttonPrimaryFgHover, buttonSecondaryBgDefault, buttonSecondaryBgDisabled, buttonSecondaryBgHover, buttonSecondaryBorderDefault, buttonSecondaryBorderDisabled, buttonSecondaryBorderHover, buttonSecondaryFgDefault, buttonSecondaryFgDisabled, buttonSecondaryFgHover, buttonSocialBgDefault, buttonSocialBgDisabled, buttonSocialBgHover, buttonSocialBgProvider, buttonSocialBorderDefault, buttonSocialBorderDisabled, buttonSocialBorderHover, buttonSocialBorderProvider, buttonSocialFgDefault, buttonSocialFgDisabled, buttonSocialFgHover, buttonSocialFgProvider, createdAt, dialogBgDefault, dialogBgSubtle, dialogBorderDefault, dialogFgDefault, dialogFgMute, dialogFgSubtle, formsBgDefault, formsBgDisabled, formsBgHover, formsBorderDefault, formsBorderDisabled, formsBorderError, formsBorderFocus, formsBorderHover, formsBorderSuccess, formsBorderWarn, formsCheckboxBgChecked, formsCheckboxBgDefault, formsCheckboxBorderChecked, formsCheckboxBorderDefault, formsCheckboxFgChecked, formsCheckboxFgDefault, formsFgDefault, formsFgError, formsFgMute, formsFgSubtle, formsFgSuccess, formsFgWarn, formsRadioBgChecked, formsRadioBgDefault, formsRadioBorderChecked, formsRadioBorderDefault, formsRadioFgChecked, formsRadioFgDefault, formsToggleBgChecked, formsToggleBgDefault, formsToggleBorderChecked, formsToggleBorderDefault, formsToggleFgChecked, formsToggleFgDefault, id, linksLinkDefault, linksLinkDisabled, linksLinkHover, linksLinkInvertedDefault, linksLinkInvertedHover, linksLinkMuteDefault, linksLinkMuteHover, syntaxSyntax, syntaxSyntaxKey, syntaxSyntaxNum, syntaxSyntaxValue, updatedAt, additionalProperties); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AccountExperienceThemeVariables {\n"); + sb.append(" accent: ").append(toIndentedString(accent)).append("\n"); + sb.append(" bgDefault: ").append(toIndentedString(bgDefault)).append("\n"); + sb.append(" borderRadiusBranding: ").append(toIndentedString(borderRadiusBranding)).append("\n"); + sb.append(" borderRadiusButtons: ").append(toIndentedString(borderRadiusButtons)).append("\n"); + sb.append(" borderRadiusCards: ").append(toIndentedString(borderRadiusCards)).append("\n"); + sb.append(" borderRadiusForms: ").append(toIndentedString(borderRadiusForms)).append("\n"); + sb.append(" borderRadiusGeneral: ").append(toIndentedString(borderRadiusGeneral)).append("\n"); + sb.append(" buttonPrimaryBgDefault: ").append(toIndentedString(buttonPrimaryBgDefault)).append("\n"); + sb.append(" buttonPrimaryBgDisabled: ").append(toIndentedString(buttonPrimaryBgDisabled)).append("\n"); + sb.append(" buttonPrimaryBgHover: ").append(toIndentedString(buttonPrimaryBgHover)).append("\n"); + sb.append(" buttonPrimaryBorderDefault: ").append(toIndentedString(buttonPrimaryBorderDefault)).append("\n"); + sb.append(" buttonPrimaryBorderDisabled: ").append(toIndentedString(buttonPrimaryBorderDisabled)).append("\n"); + sb.append(" buttonPrimaryBorderHover: ").append(toIndentedString(buttonPrimaryBorderHover)).append("\n"); + sb.append(" buttonPrimaryFgDefault: ").append(toIndentedString(buttonPrimaryFgDefault)).append("\n"); + sb.append(" buttonPrimaryFgDisabled: ").append(toIndentedString(buttonPrimaryFgDisabled)).append("\n"); + sb.append(" buttonPrimaryFgHover: ").append(toIndentedString(buttonPrimaryFgHover)).append("\n"); + sb.append(" buttonSecondaryBgDefault: ").append(toIndentedString(buttonSecondaryBgDefault)).append("\n"); + sb.append(" buttonSecondaryBgDisabled: ").append(toIndentedString(buttonSecondaryBgDisabled)).append("\n"); + sb.append(" buttonSecondaryBgHover: ").append(toIndentedString(buttonSecondaryBgHover)).append("\n"); + sb.append(" buttonSecondaryBorderDefault: ").append(toIndentedString(buttonSecondaryBorderDefault)).append("\n"); + sb.append(" buttonSecondaryBorderDisabled: ").append(toIndentedString(buttonSecondaryBorderDisabled)).append("\n"); + sb.append(" buttonSecondaryBorderHover: ").append(toIndentedString(buttonSecondaryBorderHover)).append("\n"); + sb.append(" buttonSecondaryFgDefault: ").append(toIndentedString(buttonSecondaryFgDefault)).append("\n"); + sb.append(" buttonSecondaryFgDisabled: ").append(toIndentedString(buttonSecondaryFgDisabled)).append("\n"); + sb.append(" buttonSecondaryFgHover: ").append(toIndentedString(buttonSecondaryFgHover)).append("\n"); + sb.append(" buttonSocialBgDefault: ").append(toIndentedString(buttonSocialBgDefault)).append("\n"); + sb.append(" buttonSocialBgDisabled: ").append(toIndentedString(buttonSocialBgDisabled)).append("\n"); + sb.append(" buttonSocialBgHover: ").append(toIndentedString(buttonSocialBgHover)).append("\n"); + sb.append(" buttonSocialBgProvider: ").append(toIndentedString(buttonSocialBgProvider)).append("\n"); + sb.append(" buttonSocialBorderDefault: ").append(toIndentedString(buttonSocialBorderDefault)).append("\n"); + sb.append(" buttonSocialBorderDisabled: ").append(toIndentedString(buttonSocialBorderDisabled)).append("\n"); + sb.append(" buttonSocialBorderHover: ").append(toIndentedString(buttonSocialBorderHover)).append("\n"); + sb.append(" buttonSocialBorderProvider: ").append(toIndentedString(buttonSocialBorderProvider)).append("\n"); + sb.append(" buttonSocialFgDefault: ").append(toIndentedString(buttonSocialFgDefault)).append("\n"); + sb.append(" buttonSocialFgDisabled: ").append(toIndentedString(buttonSocialFgDisabled)).append("\n"); + sb.append(" buttonSocialFgHover: ").append(toIndentedString(buttonSocialFgHover)).append("\n"); + sb.append(" buttonSocialFgProvider: ").append(toIndentedString(buttonSocialFgProvider)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" dialogBgDefault: ").append(toIndentedString(dialogBgDefault)).append("\n"); + sb.append(" dialogBgSubtle: ").append(toIndentedString(dialogBgSubtle)).append("\n"); + sb.append(" dialogBorderDefault: ").append(toIndentedString(dialogBorderDefault)).append("\n"); + sb.append(" dialogFgDefault: ").append(toIndentedString(dialogFgDefault)).append("\n"); + sb.append(" dialogFgMute: ").append(toIndentedString(dialogFgMute)).append("\n"); + sb.append(" dialogFgSubtle: ").append(toIndentedString(dialogFgSubtle)).append("\n"); + sb.append(" formsBgDefault: ").append(toIndentedString(formsBgDefault)).append("\n"); + sb.append(" formsBgDisabled: ").append(toIndentedString(formsBgDisabled)).append("\n"); + sb.append(" formsBgHover: ").append(toIndentedString(formsBgHover)).append("\n"); + sb.append(" formsBorderDefault: ").append(toIndentedString(formsBorderDefault)).append("\n"); + sb.append(" formsBorderDisabled: ").append(toIndentedString(formsBorderDisabled)).append("\n"); + sb.append(" formsBorderError: ").append(toIndentedString(formsBorderError)).append("\n"); + sb.append(" formsBorderFocus: ").append(toIndentedString(formsBorderFocus)).append("\n"); + sb.append(" formsBorderHover: ").append(toIndentedString(formsBorderHover)).append("\n"); + sb.append(" formsBorderSuccess: ").append(toIndentedString(formsBorderSuccess)).append("\n"); + sb.append(" formsBorderWarn: ").append(toIndentedString(formsBorderWarn)).append("\n"); + sb.append(" formsCheckboxBgChecked: ").append(toIndentedString(formsCheckboxBgChecked)).append("\n"); + sb.append(" formsCheckboxBgDefault: ").append(toIndentedString(formsCheckboxBgDefault)).append("\n"); + sb.append(" formsCheckboxBorderChecked: ").append(toIndentedString(formsCheckboxBorderChecked)).append("\n"); + sb.append(" formsCheckboxBorderDefault: ").append(toIndentedString(formsCheckboxBorderDefault)).append("\n"); + sb.append(" formsCheckboxFgChecked: ").append(toIndentedString(formsCheckboxFgChecked)).append("\n"); + sb.append(" formsCheckboxFgDefault: ").append(toIndentedString(formsCheckboxFgDefault)).append("\n"); + sb.append(" formsFgDefault: ").append(toIndentedString(formsFgDefault)).append("\n"); + sb.append(" formsFgError: ").append(toIndentedString(formsFgError)).append("\n"); + sb.append(" formsFgMute: ").append(toIndentedString(formsFgMute)).append("\n"); + sb.append(" formsFgSubtle: ").append(toIndentedString(formsFgSubtle)).append("\n"); + sb.append(" formsFgSuccess: ").append(toIndentedString(formsFgSuccess)).append("\n"); + sb.append(" formsFgWarn: ").append(toIndentedString(formsFgWarn)).append("\n"); + sb.append(" formsRadioBgChecked: ").append(toIndentedString(formsRadioBgChecked)).append("\n"); + sb.append(" formsRadioBgDefault: ").append(toIndentedString(formsRadioBgDefault)).append("\n"); + sb.append(" formsRadioBorderChecked: ").append(toIndentedString(formsRadioBorderChecked)).append("\n"); + sb.append(" formsRadioBorderDefault: ").append(toIndentedString(formsRadioBorderDefault)).append("\n"); + sb.append(" formsRadioFgChecked: ").append(toIndentedString(formsRadioFgChecked)).append("\n"); + sb.append(" formsRadioFgDefault: ").append(toIndentedString(formsRadioFgDefault)).append("\n"); + sb.append(" formsToggleBgChecked: ").append(toIndentedString(formsToggleBgChecked)).append("\n"); + sb.append(" formsToggleBgDefault: ").append(toIndentedString(formsToggleBgDefault)).append("\n"); + sb.append(" formsToggleBorderChecked: ").append(toIndentedString(formsToggleBorderChecked)).append("\n"); + sb.append(" formsToggleBorderDefault: ").append(toIndentedString(formsToggleBorderDefault)).append("\n"); + sb.append(" formsToggleFgChecked: ").append(toIndentedString(formsToggleFgChecked)).append("\n"); + sb.append(" formsToggleFgDefault: ").append(toIndentedString(formsToggleFgDefault)).append("\n"); + sb.append(" id: ").append(toIndentedString(id)).append("\n"); + sb.append(" linksLinkDefault: ").append(toIndentedString(linksLinkDefault)).append("\n"); + sb.append(" linksLinkDisabled: ").append(toIndentedString(linksLinkDisabled)).append("\n"); + sb.append(" linksLinkHover: ").append(toIndentedString(linksLinkHover)).append("\n"); + sb.append(" linksLinkInvertedDefault: ").append(toIndentedString(linksLinkInvertedDefault)).append("\n"); + sb.append(" linksLinkInvertedHover: ").append(toIndentedString(linksLinkInvertedHover)).append("\n"); + sb.append(" linksLinkMuteDefault: ").append(toIndentedString(linksLinkMuteDefault)).append("\n"); + sb.append(" linksLinkMuteHover: ").append(toIndentedString(linksLinkMuteHover)).append("\n"); + sb.append(" syntaxSyntax: ").append(toIndentedString(syntaxSyntax)).append("\n"); + sb.append(" syntaxSyntaxKey: ").append(toIndentedString(syntaxSyntaxKey)).append("\n"); + sb.append(" syntaxSyntaxNum: ").append(toIndentedString(syntaxSyntaxNum)).append("\n"); + sb.append(" syntaxSyntaxValue: ").append(toIndentedString(syntaxSyntaxValue)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("accent"); + openapiFields.add("bg-default"); + openapiFields.add("border-radius-branding"); + openapiFields.add("border-radius-buttons"); + openapiFields.add("border-radius-cards"); + openapiFields.add("border-radius-forms"); + openapiFields.add("border-radius-general"); + openapiFields.add("button-primary-bg-default"); + openapiFields.add("button-primary-bg-disabled"); + openapiFields.add("button-primary-bg-hover"); + openapiFields.add("button-primary-border-default"); + openapiFields.add("button-primary-border-disabled"); + openapiFields.add("button-primary-border-hover"); + openapiFields.add("button-primary-fg-default"); + openapiFields.add("button-primary-fg-disabled"); + openapiFields.add("button-primary-fg-hover"); + openapiFields.add("button-secondary-bg-default"); + openapiFields.add("button-secondary-bg-disabled"); + openapiFields.add("button-secondary-bg-hover"); + openapiFields.add("button-secondary-border-default"); + openapiFields.add("button-secondary-border-disabled"); + openapiFields.add("button-secondary-border-hover"); + openapiFields.add("button-secondary-fg-default"); + openapiFields.add("button-secondary-fg-disabled"); + openapiFields.add("button-secondary-fg-hover"); + openapiFields.add("button-social-bg-default"); + openapiFields.add("button-social-bg-disabled"); + openapiFields.add("button-social-bg-hover"); + openapiFields.add("button-social-bg-provider"); + openapiFields.add("button-social-border-default"); + openapiFields.add("button-social-border-disabled"); + openapiFields.add("button-social-border-hover"); + openapiFields.add("button-social-border-provider"); + openapiFields.add("button-social-fg-default"); + openapiFields.add("button-social-fg-disabled"); + openapiFields.add("button-social-fg-hover"); + openapiFields.add("button-social-fg-provider"); + openapiFields.add("created_at"); + openapiFields.add("dialog-bg-default"); + openapiFields.add("dialog-bg-subtle"); + openapiFields.add("dialog-border-default"); + openapiFields.add("dialog-fg-default"); + openapiFields.add("dialog-fg-mute"); + openapiFields.add("dialog-fg-subtle"); + openapiFields.add("forms-bg-default"); + openapiFields.add("forms-bg-disabled"); + openapiFields.add("forms-bg-hover"); + openapiFields.add("forms-border-default"); + openapiFields.add("forms-border-disabled"); + openapiFields.add("forms-border-error"); + openapiFields.add("forms-border-focus"); + openapiFields.add("forms-border-hover"); + openapiFields.add("forms-border-success"); + openapiFields.add("forms-border-warn"); + openapiFields.add("forms-checkbox-bg-checked"); + openapiFields.add("forms-checkbox-bg-default"); + openapiFields.add("forms-checkbox-border-checked"); + openapiFields.add("forms-checkbox-border-default"); + openapiFields.add("forms-checkbox-fg-checked"); + openapiFields.add("forms-checkbox-fg-default"); + openapiFields.add("forms-fg-default"); + openapiFields.add("forms-fg-error"); + openapiFields.add("forms-fg-mute"); + openapiFields.add("forms-fg-subtle"); + openapiFields.add("forms-fg-success"); + openapiFields.add("forms-fg-warn"); + openapiFields.add("forms-radio-bg-checked"); + openapiFields.add("forms-radio-bg-default"); + openapiFields.add("forms-radio-border-checked"); + openapiFields.add("forms-radio-border-default"); + openapiFields.add("forms-radio-fg-checked"); + openapiFields.add("forms-radio-fg-default"); + openapiFields.add("forms-toggle-bg-checked"); + openapiFields.add("forms-toggle-bg-default"); + openapiFields.add("forms-toggle-border-checked"); + openapiFields.add("forms-toggle-border-default"); + openapiFields.add("forms-toggle-fg-checked"); + openapiFields.add("forms-toggle-fg-default"); + openapiFields.add("id"); + openapiFields.add("links-link-default"); + openapiFields.add("links-link-disabled"); + openapiFields.add("links-link-hover"); + openapiFields.add("links-link-inverted-default"); + openapiFields.add("links-link-inverted-hover"); + openapiFields.add("links-link-mute-default"); + openapiFields.add("links-link-mute-hover"); + openapiFields.add("syntax-syntax"); + openapiFields.add("syntax-syntax-key"); + openapiFields.add("syntax-syntax-num"); + openapiFields.add("syntax-syntax-value"); + openapiFields.add("updated_at"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AccountExperienceThemeVariables + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AccountExperienceThemeVariables.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in AccountExperienceThemeVariables is not found in the empty JSON string", AccountExperienceThemeVariables.openapiRequiredFields.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("accent") != null && !jsonObj.get("accent").isJsonNull()) && !jsonObj.get("accent").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `accent` to be a primitive type in the JSON string but got `%s`", jsonObj.get("accent").toString())); + } + if ((jsonObj.get("bg-default") != null && !jsonObj.get("bg-default").isJsonNull()) && !jsonObj.get("bg-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `bg-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bg-default").toString())); + } + if ((jsonObj.get("border-radius-branding") != null && !jsonObj.get("border-radius-branding").isJsonNull()) && !jsonObj.get("border-radius-branding").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `border-radius-branding` to be a primitive type in the JSON string but got `%s`", jsonObj.get("border-radius-branding").toString())); + } + if ((jsonObj.get("border-radius-buttons") != null && !jsonObj.get("border-radius-buttons").isJsonNull()) && !jsonObj.get("border-radius-buttons").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `border-radius-buttons` to be a primitive type in the JSON string but got `%s`", jsonObj.get("border-radius-buttons").toString())); + } + if ((jsonObj.get("border-radius-cards") != null && !jsonObj.get("border-radius-cards").isJsonNull()) && !jsonObj.get("border-radius-cards").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `border-radius-cards` to be a primitive type in the JSON string but got `%s`", jsonObj.get("border-radius-cards").toString())); + } + if ((jsonObj.get("border-radius-forms") != null && !jsonObj.get("border-radius-forms").isJsonNull()) && !jsonObj.get("border-radius-forms").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `border-radius-forms` to be a primitive type in the JSON string but got `%s`", jsonObj.get("border-radius-forms").toString())); + } + if ((jsonObj.get("border-radius-general") != null && !jsonObj.get("border-radius-general").isJsonNull()) && !jsonObj.get("border-radius-general").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `border-radius-general` to be a primitive type in the JSON string but got `%s`", jsonObj.get("border-radius-general").toString())); + } + if ((jsonObj.get("button-primary-bg-default") != null && !jsonObj.get("button-primary-bg-default").isJsonNull()) && !jsonObj.get("button-primary-bg-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-primary-bg-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-primary-bg-default").toString())); + } + if ((jsonObj.get("button-primary-bg-disabled") != null && !jsonObj.get("button-primary-bg-disabled").isJsonNull()) && !jsonObj.get("button-primary-bg-disabled").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-primary-bg-disabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-primary-bg-disabled").toString())); + } + if ((jsonObj.get("button-primary-bg-hover") != null && !jsonObj.get("button-primary-bg-hover").isJsonNull()) && !jsonObj.get("button-primary-bg-hover").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-primary-bg-hover` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-primary-bg-hover").toString())); + } + if ((jsonObj.get("button-primary-border-default") != null && !jsonObj.get("button-primary-border-default").isJsonNull()) && !jsonObj.get("button-primary-border-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-primary-border-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-primary-border-default").toString())); + } + if ((jsonObj.get("button-primary-border-disabled") != null && !jsonObj.get("button-primary-border-disabled").isJsonNull()) && !jsonObj.get("button-primary-border-disabled").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-primary-border-disabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-primary-border-disabled").toString())); + } + if ((jsonObj.get("button-primary-border-hover") != null && !jsonObj.get("button-primary-border-hover").isJsonNull()) && !jsonObj.get("button-primary-border-hover").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-primary-border-hover` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-primary-border-hover").toString())); + } + if ((jsonObj.get("button-primary-fg-default") != null && !jsonObj.get("button-primary-fg-default").isJsonNull()) && !jsonObj.get("button-primary-fg-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-primary-fg-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-primary-fg-default").toString())); + } + if ((jsonObj.get("button-primary-fg-disabled") != null && !jsonObj.get("button-primary-fg-disabled").isJsonNull()) && !jsonObj.get("button-primary-fg-disabled").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-primary-fg-disabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-primary-fg-disabled").toString())); + } + if ((jsonObj.get("button-primary-fg-hover") != null && !jsonObj.get("button-primary-fg-hover").isJsonNull()) && !jsonObj.get("button-primary-fg-hover").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-primary-fg-hover` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-primary-fg-hover").toString())); + } + if ((jsonObj.get("button-secondary-bg-default") != null && !jsonObj.get("button-secondary-bg-default").isJsonNull()) && !jsonObj.get("button-secondary-bg-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-secondary-bg-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-secondary-bg-default").toString())); + } + if ((jsonObj.get("button-secondary-bg-disabled") != null && !jsonObj.get("button-secondary-bg-disabled").isJsonNull()) && !jsonObj.get("button-secondary-bg-disabled").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-secondary-bg-disabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-secondary-bg-disabled").toString())); + } + if ((jsonObj.get("button-secondary-bg-hover") != null && !jsonObj.get("button-secondary-bg-hover").isJsonNull()) && !jsonObj.get("button-secondary-bg-hover").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-secondary-bg-hover` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-secondary-bg-hover").toString())); + } + if ((jsonObj.get("button-secondary-border-default") != null && !jsonObj.get("button-secondary-border-default").isJsonNull()) && !jsonObj.get("button-secondary-border-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-secondary-border-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-secondary-border-default").toString())); + } + if ((jsonObj.get("button-secondary-border-disabled") != null && !jsonObj.get("button-secondary-border-disabled").isJsonNull()) && !jsonObj.get("button-secondary-border-disabled").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-secondary-border-disabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-secondary-border-disabled").toString())); + } + if ((jsonObj.get("button-secondary-border-hover") != null && !jsonObj.get("button-secondary-border-hover").isJsonNull()) && !jsonObj.get("button-secondary-border-hover").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-secondary-border-hover` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-secondary-border-hover").toString())); + } + if ((jsonObj.get("button-secondary-fg-default") != null && !jsonObj.get("button-secondary-fg-default").isJsonNull()) && !jsonObj.get("button-secondary-fg-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-secondary-fg-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-secondary-fg-default").toString())); + } + if ((jsonObj.get("button-secondary-fg-disabled") != null && !jsonObj.get("button-secondary-fg-disabled").isJsonNull()) && !jsonObj.get("button-secondary-fg-disabled").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-secondary-fg-disabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-secondary-fg-disabled").toString())); + } + if ((jsonObj.get("button-secondary-fg-hover") != null && !jsonObj.get("button-secondary-fg-hover").isJsonNull()) && !jsonObj.get("button-secondary-fg-hover").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-secondary-fg-hover` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-secondary-fg-hover").toString())); + } + if ((jsonObj.get("button-social-bg-default") != null && !jsonObj.get("button-social-bg-default").isJsonNull()) && !jsonObj.get("button-social-bg-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-social-bg-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-social-bg-default").toString())); + } + if ((jsonObj.get("button-social-bg-disabled") != null && !jsonObj.get("button-social-bg-disabled").isJsonNull()) && !jsonObj.get("button-social-bg-disabled").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-social-bg-disabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-social-bg-disabled").toString())); + } + if ((jsonObj.get("button-social-bg-hover") != null && !jsonObj.get("button-social-bg-hover").isJsonNull()) && !jsonObj.get("button-social-bg-hover").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-social-bg-hover` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-social-bg-hover").toString())); + } + if ((jsonObj.get("button-social-bg-provider") != null && !jsonObj.get("button-social-bg-provider").isJsonNull()) && !jsonObj.get("button-social-bg-provider").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-social-bg-provider` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-social-bg-provider").toString())); + } + if ((jsonObj.get("button-social-border-default") != null && !jsonObj.get("button-social-border-default").isJsonNull()) && !jsonObj.get("button-social-border-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-social-border-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-social-border-default").toString())); + } + if ((jsonObj.get("button-social-border-disabled") != null && !jsonObj.get("button-social-border-disabled").isJsonNull()) && !jsonObj.get("button-social-border-disabled").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-social-border-disabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-social-border-disabled").toString())); + } + if ((jsonObj.get("button-social-border-hover") != null && !jsonObj.get("button-social-border-hover").isJsonNull()) && !jsonObj.get("button-social-border-hover").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-social-border-hover` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-social-border-hover").toString())); + } + if ((jsonObj.get("button-social-border-provider") != null && !jsonObj.get("button-social-border-provider").isJsonNull()) && !jsonObj.get("button-social-border-provider").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-social-border-provider` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-social-border-provider").toString())); + } + if ((jsonObj.get("button-social-fg-default") != null && !jsonObj.get("button-social-fg-default").isJsonNull()) && !jsonObj.get("button-social-fg-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-social-fg-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-social-fg-default").toString())); + } + if ((jsonObj.get("button-social-fg-disabled") != null && !jsonObj.get("button-social-fg-disabled").isJsonNull()) && !jsonObj.get("button-social-fg-disabled").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-social-fg-disabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-social-fg-disabled").toString())); + } + if ((jsonObj.get("button-social-fg-hover") != null && !jsonObj.get("button-social-fg-hover").isJsonNull()) && !jsonObj.get("button-social-fg-hover").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-social-fg-hover` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-social-fg-hover").toString())); + } + if ((jsonObj.get("button-social-fg-provider") != null && !jsonObj.get("button-social-fg-provider").isJsonNull()) && !jsonObj.get("button-social-fg-provider").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `button-social-fg-provider` to be a primitive type in the JSON string but got `%s`", jsonObj.get("button-social-fg-provider").toString())); + } + if ((jsonObj.get("dialog-bg-default") != null && !jsonObj.get("dialog-bg-default").isJsonNull()) && !jsonObj.get("dialog-bg-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `dialog-bg-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dialog-bg-default").toString())); + } + if ((jsonObj.get("dialog-bg-subtle") != null && !jsonObj.get("dialog-bg-subtle").isJsonNull()) && !jsonObj.get("dialog-bg-subtle").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `dialog-bg-subtle` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dialog-bg-subtle").toString())); + } + if ((jsonObj.get("dialog-border-default") != null && !jsonObj.get("dialog-border-default").isJsonNull()) && !jsonObj.get("dialog-border-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `dialog-border-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dialog-border-default").toString())); + } + if ((jsonObj.get("dialog-fg-default") != null && !jsonObj.get("dialog-fg-default").isJsonNull()) && !jsonObj.get("dialog-fg-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `dialog-fg-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dialog-fg-default").toString())); + } + if ((jsonObj.get("dialog-fg-mute") != null && !jsonObj.get("dialog-fg-mute").isJsonNull()) && !jsonObj.get("dialog-fg-mute").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `dialog-fg-mute` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dialog-fg-mute").toString())); + } + if ((jsonObj.get("dialog-fg-subtle") != null && !jsonObj.get("dialog-fg-subtle").isJsonNull()) && !jsonObj.get("dialog-fg-subtle").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `dialog-fg-subtle` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dialog-fg-subtle").toString())); + } + if ((jsonObj.get("forms-bg-default") != null && !jsonObj.get("forms-bg-default").isJsonNull()) && !jsonObj.get("forms-bg-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-bg-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-bg-default").toString())); + } + if ((jsonObj.get("forms-bg-disabled") != null && !jsonObj.get("forms-bg-disabled").isJsonNull()) && !jsonObj.get("forms-bg-disabled").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-bg-disabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-bg-disabled").toString())); + } + if ((jsonObj.get("forms-bg-hover") != null && !jsonObj.get("forms-bg-hover").isJsonNull()) && !jsonObj.get("forms-bg-hover").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-bg-hover` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-bg-hover").toString())); + } + if ((jsonObj.get("forms-border-default") != null && !jsonObj.get("forms-border-default").isJsonNull()) && !jsonObj.get("forms-border-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-border-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-border-default").toString())); + } + if ((jsonObj.get("forms-border-disabled") != null && !jsonObj.get("forms-border-disabled").isJsonNull()) && !jsonObj.get("forms-border-disabled").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-border-disabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-border-disabled").toString())); + } + if ((jsonObj.get("forms-border-error") != null && !jsonObj.get("forms-border-error").isJsonNull()) && !jsonObj.get("forms-border-error").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-border-error` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-border-error").toString())); + } + if ((jsonObj.get("forms-border-focus") != null && !jsonObj.get("forms-border-focus").isJsonNull()) && !jsonObj.get("forms-border-focus").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-border-focus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-border-focus").toString())); + } + if ((jsonObj.get("forms-border-hover") != null && !jsonObj.get("forms-border-hover").isJsonNull()) && !jsonObj.get("forms-border-hover").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-border-hover` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-border-hover").toString())); + } + if ((jsonObj.get("forms-border-success") != null && !jsonObj.get("forms-border-success").isJsonNull()) && !jsonObj.get("forms-border-success").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-border-success` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-border-success").toString())); + } + if ((jsonObj.get("forms-border-warn") != null && !jsonObj.get("forms-border-warn").isJsonNull()) && !jsonObj.get("forms-border-warn").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-border-warn` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-border-warn").toString())); + } + if ((jsonObj.get("forms-checkbox-bg-checked") != null && !jsonObj.get("forms-checkbox-bg-checked").isJsonNull()) && !jsonObj.get("forms-checkbox-bg-checked").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-checkbox-bg-checked` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-checkbox-bg-checked").toString())); + } + if ((jsonObj.get("forms-checkbox-bg-default") != null && !jsonObj.get("forms-checkbox-bg-default").isJsonNull()) && !jsonObj.get("forms-checkbox-bg-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-checkbox-bg-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-checkbox-bg-default").toString())); + } + if ((jsonObj.get("forms-checkbox-border-checked") != null && !jsonObj.get("forms-checkbox-border-checked").isJsonNull()) && !jsonObj.get("forms-checkbox-border-checked").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-checkbox-border-checked` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-checkbox-border-checked").toString())); + } + if ((jsonObj.get("forms-checkbox-border-default") != null && !jsonObj.get("forms-checkbox-border-default").isJsonNull()) && !jsonObj.get("forms-checkbox-border-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-checkbox-border-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-checkbox-border-default").toString())); + } + if ((jsonObj.get("forms-checkbox-fg-checked") != null && !jsonObj.get("forms-checkbox-fg-checked").isJsonNull()) && !jsonObj.get("forms-checkbox-fg-checked").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-checkbox-fg-checked` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-checkbox-fg-checked").toString())); + } + if ((jsonObj.get("forms-checkbox-fg-default") != null && !jsonObj.get("forms-checkbox-fg-default").isJsonNull()) && !jsonObj.get("forms-checkbox-fg-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-checkbox-fg-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-checkbox-fg-default").toString())); + } + if ((jsonObj.get("forms-fg-default") != null && !jsonObj.get("forms-fg-default").isJsonNull()) && !jsonObj.get("forms-fg-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-fg-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-fg-default").toString())); + } + if ((jsonObj.get("forms-fg-error") != null && !jsonObj.get("forms-fg-error").isJsonNull()) && !jsonObj.get("forms-fg-error").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-fg-error` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-fg-error").toString())); + } + if ((jsonObj.get("forms-fg-mute") != null && !jsonObj.get("forms-fg-mute").isJsonNull()) && !jsonObj.get("forms-fg-mute").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-fg-mute` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-fg-mute").toString())); + } + if ((jsonObj.get("forms-fg-subtle") != null && !jsonObj.get("forms-fg-subtle").isJsonNull()) && !jsonObj.get("forms-fg-subtle").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-fg-subtle` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-fg-subtle").toString())); + } + if ((jsonObj.get("forms-fg-success") != null && !jsonObj.get("forms-fg-success").isJsonNull()) && !jsonObj.get("forms-fg-success").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-fg-success` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-fg-success").toString())); + } + if ((jsonObj.get("forms-fg-warn") != null && !jsonObj.get("forms-fg-warn").isJsonNull()) && !jsonObj.get("forms-fg-warn").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-fg-warn` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-fg-warn").toString())); + } + if ((jsonObj.get("forms-radio-bg-checked") != null && !jsonObj.get("forms-radio-bg-checked").isJsonNull()) && !jsonObj.get("forms-radio-bg-checked").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-radio-bg-checked` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-radio-bg-checked").toString())); + } + if ((jsonObj.get("forms-radio-bg-default") != null && !jsonObj.get("forms-radio-bg-default").isJsonNull()) && !jsonObj.get("forms-radio-bg-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-radio-bg-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-radio-bg-default").toString())); + } + if ((jsonObj.get("forms-radio-border-checked") != null && !jsonObj.get("forms-radio-border-checked").isJsonNull()) && !jsonObj.get("forms-radio-border-checked").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-radio-border-checked` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-radio-border-checked").toString())); + } + if ((jsonObj.get("forms-radio-border-default") != null && !jsonObj.get("forms-radio-border-default").isJsonNull()) && !jsonObj.get("forms-radio-border-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-radio-border-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-radio-border-default").toString())); + } + if ((jsonObj.get("forms-radio-fg-checked") != null && !jsonObj.get("forms-radio-fg-checked").isJsonNull()) && !jsonObj.get("forms-radio-fg-checked").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-radio-fg-checked` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-radio-fg-checked").toString())); + } + if ((jsonObj.get("forms-radio-fg-default") != null && !jsonObj.get("forms-radio-fg-default").isJsonNull()) && !jsonObj.get("forms-radio-fg-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-radio-fg-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-radio-fg-default").toString())); + } + if ((jsonObj.get("forms-toggle-bg-checked") != null && !jsonObj.get("forms-toggle-bg-checked").isJsonNull()) && !jsonObj.get("forms-toggle-bg-checked").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-toggle-bg-checked` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-toggle-bg-checked").toString())); + } + if ((jsonObj.get("forms-toggle-bg-default") != null && !jsonObj.get("forms-toggle-bg-default").isJsonNull()) && !jsonObj.get("forms-toggle-bg-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-toggle-bg-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-toggle-bg-default").toString())); + } + if ((jsonObj.get("forms-toggle-border-checked") != null && !jsonObj.get("forms-toggle-border-checked").isJsonNull()) && !jsonObj.get("forms-toggle-border-checked").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-toggle-border-checked` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-toggle-border-checked").toString())); + } + if ((jsonObj.get("forms-toggle-border-default") != null && !jsonObj.get("forms-toggle-border-default").isJsonNull()) && !jsonObj.get("forms-toggle-border-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-toggle-border-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-toggle-border-default").toString())); + } + if ((jsonObj.get("forms-toggle-fg-checked") != null && !jsonObj.get("forms-toggle-fg-checked").isJsonNull()) && !jsonObj.get("forms-toggle-fg-checked").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-toggle-fg-checked` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-toggle-fg-checked").toString())); + } + if ((jsonObj.get("forms-toggle-fg-default") != null && !jsonObj.get("forms-toggle-fg-default").isJsonNull()) && !jsonObj.get("forms-toggle-fg-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `forms-toggle-fg-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("forms-toggle-fg-default").toString())); + } + if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); + } + if ((jsonObj.get("links-link-default") != null && !jsonObj.get("links-link-default").isJsonNull()) && !jsonObj.get("links-link-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `links-link-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("links-link-default").toString())); + } + if ((jsonObj.get("links-link-disabled") != null && !jsonObj.get("links-link-disabled").isJsonNull()) && !jsonObj.get("links-link-disabled").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `links-link-disabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("links-link-disabled").toString())); + } + if ((jsonObj.get("links-link-hover") != null && !jsonObj.get("links-link-hover").isJsonNull()) && !jsonObj.get("links-link-hover").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `links-link-hover` to be a primitive type in the JSON string but got `%s`", jsonObj.get("links-link-hover").toString())); + } + if ((jsonObj.get("links-link-inverted-default") != null && !jsonObj.get("links-link-inverted-default").isJsonNull()) && !jsonObj.get("links-link-inverted-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `links-link-inverted-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("links-link-inverted-default").toString())); + } + if ((jsonObj.get("links-link-inverted-hover") != null && !jsonObj.get("links-link-inverted-hover").isJsonNull()) && !jsonObj.get("links-link-inverted-hover").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `links-link-inverted-hover` to be a primitive type in the JSON string but got `%s`", jsonObj.get("links-link-inverted-hover").toString())); + } + if ((jsonObj.get("links-link-mute-default") != null && !jsonObj.get("links-link-mute-default").isJsonNull()) && !jsonObj.get("links-link-mute-default").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `links-link-mute-default` to be a primitive type in the JSON string but got `%s`", jsonObj.get("links-link-mute-default").toString())); + } + if ((jsonObj.get("links-link-mute-hover") != null && !jsonObj.get("links-link-mute-hover").isJsonNull()) && !jsonObj.get("links-link-mute-hover").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `links-link-mute-hover` to be a primitive type in the JSON string but got `%s`", jsonObj.get("links-link-mute-hover").toString())); + } + if ((jsonObj.get("syntax-syntax") != null && !jsonObj.get("syntax-syntax").isJsonNull()) && !jsonObj.get("syntax-syntax").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `syntax-syntax` to be a primitive type in the JSON string but got `%s`", jsonObj.get("syntax-syntax").toString())); + } + if ((jsonObj.get("syntax-syntax-key") != null && !jsonObj.get("syntax-syntax-key").isJsonNull()) && !jsonObj.get("syntax-syntax-key").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `syntax-syntax-key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("syntax-syntax-key").toString())); + } + if ((jsonObj.get("syntax-syntax-num") != null && !jsonObj.get("syntax-syntax-num").isJsonNull()) && !jsonObj.get("syntax-syntax-num").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `syntax-syntax-num` to be a primitive type in the JSON string but got `%s`", jsonObj.get("syntax-syntax-num").toString())); + } + if ((jsonObj.get("syntax-syntax-value") != null && !jsonObj.get("syntax-syntax-value").isJsonNull()) && !jsonObj.get("syntax-syntax-value").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `syntax-syntax-value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("syntax-syntax-value").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AccountExperienceThemeVariables.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AccountExperienceThemeVariables' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(AccountExperienceThemeVariables.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AccountExperienceThemeVariables value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + obj.remove("additionalProperties"); + // serialize additional properties + if (value.getAdditionalProperties() != null) { + for (Map.Entry entry : value.getAdditionalProperties().entrySet()) { + if (entry.getValue() instanceof String) + obj.addProperty(entry.getKey(), (String) entry.getValue()); + else if (entry.getValue() instanceof Number) + obj.addProperty(entry.getKey(), (Number) entry.getValue()); + else if (entry.getValue() instanceof Boolean) + obj.addProperty(entry.getKey(), (Boolean) entry.getValue()); + else if (entry.getValue() instanceof Character) + obj.addProperty(entry.getKey(), (Character) entry.getValue()); + else { + JsonElement jsonElement = gson.toJsonTree(entry.getValue()); + if (jsonElement.isJsonArray()) { + obj.add(entry.getKey(), jsonElement.getAsJsonArray()); + } else { + obj.add(entry.getKey(), jsonElement.getAsJsonObject()); + } + } + } + } + elementAdapter.write(out, obj); + } + + @Override + public AccountExperienceThemeVariables read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // store additional fields in the deserialized instance + AccountExperienceThemeVariables instance = thisAdapter.fromJsonTree(jsonObj); + for (Map.Entry entry : jsonObj.entrySet()) { + if (!openapiFields.contains(entry.getKey())) { + if (entry.getValue().isJsonPrimitive()) { // primitive type + if (entry.getValue().getAsJsonPrimitive().isString()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsString()); + else if (entry.getValue().getAsJsonPrimitive().isNumber()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsNumber()); + else if (entry.getValue().getAsJsonPrimitive().isBoolean()) + instance.putAdditionalProperty(entry.getKey(), entry.getValue().getAsBoolean()); + else + throw new IllegalArgumentException(String.format("The field `%s` has unknown primitive type. Value: %s", entry.getKey(), entry.getValue().toString())); + } else if (entry.getValue().isJsonArray()) { + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), List.class)); + } else { // JSON object + instance.putAdditionalProperty(entry.getKey(), gson.fromJson(entry.getValue(), HashMap.class)); + } + } + } + return instance; + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AccountExperienceThemeVariables given an JSON string + * + * @param jsonString JSON string + * @return An instance of AccountExperienceThemeVariables + * @throws IOException if the JSON string is invalid with respect to AccountExperienceThemeVariables + */ + public static AccountExperienceThemeVariables fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AccountExperienceThemeVariables.class); + } + + /** + * Convert an instance of AccountExperienceThemeVariables to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/clients/client/java/src/test/java/sh/ory/model/AccountExperienceThemeVariablesTest.java b/clients/client/java/src/test/java/sh/ory/model/AccountExperienceThemeVariablesTest.java new file mode 100644 index 00000000000..7c0a17030ab --- /dev/null +++ b/clients/client/java/src/test/java/sh/ory/model/AccountExperienceThemeVariablesTest.java @@ -0,0 +1,769 @@ +/* + * Ory APIs + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package sh.ory.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AccountExperienceThemeVariables + */ +public class AccountExperienceThemeVariablesTest { + private final AccountExperienceThemeVariables model = new AccountExperienceThemeVariables(); + + /** + * Model tests for AccountExperienceThemeVariables + */ + @Test + public void testAccountExperienceThemeVariables() { + // TODO: test AccountExperienceThemeVariables + } + + /** + * Test the property 'accent' + */ + @Test + public void accentTest() { + // TODO: test accent + } + + /** + * Test the property 'bgDefault' + */ + @Test + public void bgDefaultTest() { + // TODO: test bgDefault + } + + /** + * Test the property 'borderRadiusBranding' + */ + @Test + public void borderRadiusBrandingTest() { + // TODO: test borderRadiusBranding + } + + /** + * Test the property 'borderRadiusButtons' + */ + @Test + public void borderRadiusButtonsTest() { + // TODO: test borderRadiusButtons + } + + /** + * Test the property 'borderRadiusCards' + */ + @Test + public void borderRadiusCardsTest() { + // TODO: test borderRadiusCards + } + + /** + * Test the property 'borderRadiusForms' + */ + @Test + public void borderRadiusFormsTest() { + // TODO: test borderRadiusForms + } + + /** + * Test the property 'borderRadiusGeneral' + */ + @Test + public void borderRadiusGeneralTest() { + // TODO: test borderRadiusGeneral + } + + /** + * Test the property 'buttonPrimaryBgDefault' + */ + @Test + public void buttonPrimaryBgDefaultTest() { + // TODO: test buttonPrimaryBgDefault + } + + /** + * Test the property 'buttonPrimaryBgDisabled' + */ + @Test + public void buttonPrimaryBgDisabledTest() { + // TODO: test buttonPrimaryBgDisabled + } + + /** + * Test the property 'buttonPrimaryBgHover' + */ + @Test + public void buttonPrimaryBgHoverTest() { + // TODO: test buttonPrimaryBgHover + } + + /** + * Test the property 'buttonPrimaryBorderDefault' + */ + @Test + public void buttonPrimaryBorderDefaultTest() { + // TODO: test buttonPrimaryBorderDefault + } + + /** + * Test the property 'buttonPrimaryBorderDisabled' + */ + @Test + public void buttonPrimaryBorderDisabledTest() { + // TODO: test buttonPrimaryBorderDisabled + } + + /** + * Test the property 'buttonPrimaryBorderHover' + */ + @Test + public void buttonPrimaryBorderHoverTest() { + // TODO: test buttonPrimaryBorderHover + } + + /** + * Test the property 'buttonPrimaryFgDefault' + */ + @Test + public void buttonPrimaryFgDefaultTest() { + // TODO: test buttonPrimaryFgDefault + } + + /** + * Test the property 'buttonPrimaryFgDisabled' + */ + @Test + public void buttonPrimaryFgDisabledTest() { + // TODO: test buttonPrimaryFgDisabled + } + + /** + * Test the property 'buttonPrimaryFgHover' + */ + @Test + public void buttonPrimaryFgHoverTest() { + // TODO: test buttonPrimaryFgHover + } + + /** + * Test the property 'buttonSecondaryBgDefault' + */ + @Test + public void buttonSecondaryBgDefaultTest() { + // TODO: test buttonSecondaryBgDefault + } + + /** + * Test the property 'buttonSecondaryBgDisabled' + */ + @Test + public void buttonSecondaryBgDisabledTest() { + // TODO: test buttonSecondaryBgDisabled + } + + /** + * Test the property 'buttonSecondaryBgHover' + */ + @Test + public void buttonSecondaryBgHoverTest() { + // TODO: test buttonSecondaryBgHover + } + + /** + * Test the property 'buttonSecondaryBorderDefault' + */ + @Test + public void buttonSecondaryBorderDefaultTest() { + // TODO: test buttonSecondaryBorderDefault + } + + /** + * Test the property 'buttonSecondaryBorderDisabled' + */ + @Test + public void buttonSecondaryBorderDisabledTest() { + // TODO: test buttonSecondaryBorderDisabled + } + + /** + * Test the property 'buttonSecondaryBorderHover' + */ + @Test + public void buttonSecondaryBorderHoverTest() { + // TODO: test buttonSecondaryBorderHover + } + + /** + * Test the property 'buttonSecondaryFgDefault' + */ + @Test + public void buttonSecondaryFgDefaultTest() { + // TODO: test buttonSecondaryFgDefault + } + + /** + * Test the property 'buttonSecondaryFgDisabled' + */ + @Test + public void buttonSecondaryFgDisabledTest() { + // TODO: test buttonSecondaryFgDisabled + } + + /** + * Test the property 'buttonSecondaryFgHover' + */ + @Test + public void buttonSecondaryFgHoverTest() { + // TODO: test buttonSecondaryFgHover + } + + /** + * Test the property 'buttonSocialBgDefault' + */ + @Test + public void buttonSocialBgDefaultTest() { + // TODO: test buttonSocialBgDefault + } + + /** + * Test the property 'buttonSocialBgDisabled' + */ + @Test + public void buttonSocialBgDisabledTest() { + // TODO: test buttonSocialBgDisabled + } + + /** + * Test the property 'buttonSocialBgHover' + */ + @Test + public void buttonSocialBgHoverTest() { + // TODO: test buttonSocialBgHover + } + + /** + * Test the property 'buttonSocialBgProvider' + */ + @Test + public void buttonSocialBgProviderTest() { + // TODO: test buttonSocialBgProvider + } + + /** + * Test the property 'buttonSocialBorderDefault' + */ + @Test + public void buttonSocialBorderDefaultTest() { + // TODO: test buttonSocialBorderDefault + } + + /** + * Test the property 'buttonSocialBorderDisabled' + */ + @Test + public void buttonSocialBorderDisabledTest() { + // TODO: test buttonSocialBorderDisabled + } + + /** + * Test the property 'buttonSocialBorderHover' + */ + @Test + public void buttonSocialBorderHoverTest() { + // TODO: test buttonSocialBorderHover + } + + /** + * Test the property 'buttonSocialBorderProvider' + */ + @Test + public void buttonSocialBorderProviderTest() { + // TODO: test buttonSocialBorderProvider + } + + /** + * Test the property 'buttonSocialFgDefault' + */ + @Test + public void buttonSocialFgDefaultTest() { + // TODO: test buttonSocialFgDefault + } + + /** + * Test the property 'buttonSocialFgDisabled' + */ + @Test + public void buttonSocialFgDisabledTest() { + // TODO: test buttonSocialFgDisabled + } + + /** + * Test the property 'buttonSocialFgHover' + */ + @Test + public void buttonSocialFgHoverTest() { + // TODO: test buttonSocialFgHover + } + + /** + * Test the property 'buttonSocialFgProvider' + */ + @Test + public void buttonSocialFgProviderTest() { + // TODO: test buttonSocialFgProvider + } + + /** + * Test the property 'createdAt' + */ + @Test + public void createdAtTest() { + // TODO: test createdAt + } + + /** + * Test the property 'dialogBgDefault' + */ + @Test + public void dialogBgDefaultTest() { + // TODO: test dialogBgDefault + } + + /** + * Test the property 'dialogBgSubtle' + */ + @Test + public void dialogBgSubtleTest() { + // TODO: test dialogBgSubtle + } + + /** + * Test the property 'dialogBorderDefault' + */ + @Test + public void dialogBorderDefaultTest() { + // TODO: test dialogBorderDefault + } + + /** + * Test the property 'dialogFgDefault' + */ + @Test + public void dialogFgDefaultTest() { + // TODO: test dialogFgDefault + } + + /** + * Test the property 'dialogFgMute' + */ + @Test + public void dialogFgMuteTest() { + // TODO: test dialogFgMute + } + + /** + * Test the property 'dialogFgSubtle' + */ + @Test + public void dialogFgSubtleTest() { + // TODO: test dialogFgSubtle + } + + /** + * Test the property 'formsBgDefault' + */ + @Test + public void formsBgDefaultTest() { + // TODO: test formsBgDefault + } + + /** + * Test the property 'formsBgDisabled' + */ + @Test + public void formsBgDisabledTest() { + // TODO: test formsBgDisabled + } + + /** + * Test the property 'formsBgHover' + */ + @Test + public void formsBgHoverTest() { + // TODO: test formsBgHover + } + + /** + * Test the property 'formsBorderDefault' + */ + @Test + public void formsBorderDefaultTest() { + // TODO: test formsBorderDefault + } + + /** + * Test the property 'formsBorderDisabled' + */ + @Test + public void formsBorderDisabledTest() { + // TODO: test formsBorderDisabled + } + + /** + * Test the property 'formsBorderError' + */ + @Test + public void formsBorderErrorTest() { + // TODO: test formsBorderError + } + + /** + * Test the property 'formsBorderFocus' + */ + @Test + public void formsBorderFocusTest() { + // TODO: test formsBorderFocus + } + + /** + * Test the property 'formsBorderHover' + */ + @Test + public void formsBorderHoverTest() { + // TODO: test formsBorderHover + } + + /** + * Test the property 'formsBorderSuccess' + */ + @Test + public void formsBorderSuccessTest() { + // TODO: test formsBorderSuccess + } + + /** + * Test the property 'formsBorderWarn' + */ + @Test + public void formsBorderWarnTest() { + // TODO: test formsBorderWarn + } + + /** + * Test the property 'formsCheckboxBgChecked' + */ + @Test + public void formsCheckboxBgCheckedTest() { + // TODO: test formsCheckboxBgChecked + } + + /** + * Test the property 'formsCheckboxBgDefault' + */ + @Test + public void formsCheckboxBgDefaultTest() { + // TODO: test formsCheckboxBgDefault + } + + /** + * Test the property 'formsCheckboxBorderChecked' + */ + @Test + public void formsCheckboxBorderCheckedTest() { + // TODO: test formsCheckboxBorderChecked + } + + /** + * Test the property 'formsCheckboxBorderDefault' + */ + @Test + public void formsCheckboxBorderDefaultTest() { + // TODO: test formsCheckboxBorderDefault + } + + /** + * Test the property 'formsCheckboxFgChecked' + */ + @Test + public void formsCheckboxFgCheckedTest() { + // TODO: test formsCheckboxFgChecked + } + + /** + * Test the property 'formsCheckboxFgDefault' + */ + @Test + public void formsCheckboxFgDefaultTest() { + // TODO: test formsCheckboxFgDefault + } + + /** + * Test the property 'formsFgDefault' + */ + @Test + public void formsFgDefaultTest() { + // TODO: test formsFgDefault + } + + /** + * Test the property 'formsFgError' + */ + @Test + public void formsFgErrorTest() { + // TODO: test formsFgError + } + + /** + * Test the property 'formsFgMute' + */ + @Test + public void formsFgMuteTest() { + // TODO: test formsFgMute + } + + /** + * Test the property 'formsFgSubtle' + */ + @Test + public void formsFgSubtleTest() { + // TODO: test formsFgSubtle + } + + /** + * Test the property 'formsFgSuccess' + */ + @Test + public void formsFgSuccessTest() { + // TODO: test formsFgSuccess + } + + /** + * Test the property 'formsFgWarn' + */ + @Test + public void formsFgWarnTest() { + // TODO: test formsFgWarn + } + + /** + * Test the property 'formsRadioBgChecked' + */ + @Test + public void formsRadioBgCheckedTest() { + // TODO: test formsRadioBgChecked + } + + /** + * Test the property 'formsRadioBgDefault' + */ + @Test + public void formsRadioBgDefaultTest() { + // TODO: test formsRadioBgDefault + } + + /** + * Test the property 'formsRadioBorderChecked' + */ + @Test + public void formsRadioBorderCheckedTest() { + // TODO: test formsRadioBorderChecked + } + + /** + * Test the property 'formsRadioBorderDefault' + */ + @Test + public void formsRadioBorderDefaultTest() { + // TODO: test formsRadioBorderDefault + } + + /** + * Test the property 'formsRadioFgChecked' + */ + @Test + public void formsRadioFgCheckedTest() { + // TODO: test formsRadioFgChecked + } + + /** + * Test the property 'formsRadioFgDefault' + */ + @Test + public void formsRadioFgDefaultTest() { + // TODO: test formsRadioFgDefault + } + + /** + * Test the property 'formsToggleBgChecked' + */ + @Test + public void formsToggleBgCheckedTest() { + // TODO: test formsToggleBgChecked + } + + /** + * Test the property 'formsToggleBgDefault' + */ + @Test + public void formsToggleBgDefaultTest() { + // TODO: test formsToggleBgDefault + } + + /** + * Test the property 'formsToggleBorderChecked' + */ + @Test + public void formsToggleBorderCheckedTest() { + // TODO: test formsToggleBorderChecked + } + + /** + * Test the property 'formsToggleBorderDefault' + */ + @Test + public void formsToggleBorderDefaultTest() { + // TODO: test formsToggleBorderDefault + } + + /** + * Test the property 'formsToggleFgChecked' + */ + @Test + public void formsToggleFgCheckedTest() { + // TODO: test formsToggleFgChecked + } + + /** + * Test the property 'formsToggleFgDefault' + */ + @Test + public void formsToggleFgDefaultTest() { + // TODO: test formsToggleFgDefault + } + + /** + * Test the property 'id' + */ + @Test + public void idTest() { + // TODO: test id + } + + /** + * Test the property 'linksLinkDefault' + */ + @Test + public void linksLinkDefaultTest() { + // TODO: test linksLinkDefault + } + + /** + * Test the property 'linksLinkDisabled' + */ + @Test + public void linksLinkDisabledTest() { + // TODO: test linksLinkDisabled + } + + /** + * Test the property 'linksLinkHover' + */ + @Test + public void linksLinkHoverTest() { + // TODO: test linksLinkHover + } + + /** + * Test the property 'linksLinkInvertedDefault' + */ + @Test + public void linksLinkInvertedDefaultTest() { + // TODO: test linksLinkInvertedDefault + } + + /** + * Test the property 'linksLinkInvertedHover' + */ + @Test + public void linksLinkInvertedHoverTest() { + // TODO: test linksLinkInvertedHover + } + + /** + * Test the property 'linksLinkMuteDefault' + */ + @Test + public void linksLinkMuteDefaultTest() { + // TODO: test linksLinkMuteDefault + } + + /** + * Test the property 'linksLinkMuteHover' + */ + @Test + public void linksLinkMuteHoverTest() { + // TODO: test linksLinkMuteHover + } + + /** + * Test the property 'syntaxSyntax' + */ + @Test + public void syntaxSyntaxTest() { + // TODO: test syntaxSyntax + } + + /** + * Test the property 'syntaxSyntaxKey' + */ + @Test + public void syntaxSyntaxKeyTest() { + // TODO: test syntaxSyntaxKey + } + + /** + * Test the property 'syntaxSyntaxNum' + */ + @Test + public void syntaxSyntaxNumTest() { + // TODO: test syntaxSyntaxNum + } + + /** + * Test the property 'syntaxSyntaxValue' + */ + @Test + public void syntaxSyntaxValueTest() { + // TODO: test syntaxSyntaxValue + } + + /** + * Test the property 'updatedAt' + */ + @Test + public void updatedAtTest() { + // TODO: test updatedAt + } + +} diff --git a/clients/client/java/src/test/java/sh/ory/model/InternalIsOwnerForProjectBySlugResponseTest.java b/clients/client/java/src/test/java/sh/ory/model/InternalIsOwnerForProjectBySlugResponseTest.java new file mode 100644 index 00000000000..bcb5fec578c --- /dev/null +++ b/clients/client/java/src/test/java/sh/ory/model/InternalIsOwnerForProjectBySlugResponseTest.java @@ -0,0 +1,48 @@ +/* + * Ory APIs + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package sh.ory.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for InternalIsOwnerForProjectBySlugResponse + */ +public class InternalIsOwnerForProjectBySlugResponseTest { + private final InternalIsOwnerForProjectBySlugResponse model = new InternalIsOwnerForProjectBySlugResponse(); + + /** + * Model tests for InternalIsOwnerForProjectBySlugResponse + */ + @Test + public void testInternalIsOwnerForProjectBySlugResponse() { + // TODO: test InternalIsOwnerForProjectBySlugResponse + } + + /** + * Test the property 'projectId' + */ + @Test + public void projectIdTest() { + // TODO: test projectId + } + +} diff --git a/clients/client/kotlin-multiplatform/.gradle/8.7/checksums/checksums.lock b/clients/client/kotlin-multiplatform/.gradle/8.7/checksums/checksums.lock new file mode 100644 index 00000000000..778bf850a28 Binary files /dev/null and b/clients/client/kotlin-multiplatform/.gradle/8.7/checksums/checksums.lock differ diff --git a/clients/client/kotlin-multiplatform/.gradle/8.7/dependencies-accessors/gc.properties b/clients/client/kotlin-multiplatform/.gradle/8.7/dependencies-accessors/gc.properties new file mode 100644 index 00000000000..e69de29bb2d diff --git a/clients/client/kotlin-multiplatform/.gradle/8.7/executionHistory/executionHistory.bin b/clients/client/kotlin-multiplatform/.gradle/8.7/executionHistory/executionHistory.bin new file mode 100644 index 00000000000..654bd812277 Binary files /dev/null and b/clients/client/kotlin-multiplatform/.gradle/8.7/executionHistory/executionHistory.bin differ diff --git a/clients/client/kotlin-multiplatform/.gradle/8.7/executionHistory/executionHistory.lock b/clients/client/kotlin-multiplatform/.gradle/8.7/executionHistory/executionHistory.lock new file mode 100644 index 00000000000..6934c5966a2 Binary files /dev/null and b/clients/client/kotlin-multiplatform/.gradle/8.7/executionHistory/executionHistory.lock differ diff --git a/clients/client/kotlin-multiplatform/.gradle/8.7/fileChanges/last-build.bin b/clients/client/kotlin-multiplatform/.gradle/8.7/fileChanges/last-build.bin new file mode 100644 index 00000000000..f76dd238ade Binary files /dev/null and b/clients/client/kotlin-multiplatform/.gradle/8.7/fileChanges/last-build.bin differ diff --git a/clients/client/kotlin-multiplatform/.gradle/8.7/fileHashes/fileHashes.bin b/clients/client/kotlin-multiplatform/.gradle/8.7/fileHashes/fileHashes.bin new file mode 100644 index 00000000000..6e30ba35bbe Binary files /dev/null and b/clients/client/kotlin-multiplatform/.gradle/8.7/fileHashes/fileHashes.bin differ diff --git a/clients/client/kotlin-multiplatform/.gradle/8.7/fileHashes/fileHashes.lock b/clients/client/kotlin-multiplatform/.gradle/8.7/fileHashes/fileHashes.lock new file mode 100644 index 00000000000..ffa48991012 Binary files /dev/null and b/clients/client/kotlin-multiplatform/.gradle/8.7/fileHashes/fileHashes.lock differ diff --git a/clients/client/kotlin-multiplatform/.gradle/8.7/fileHashes/resourceHashesCache.bin b/clients/client/kotlin-multiplatform/.gradle/8.7/fileHashes/resourceHashesCache.bin new file mode 100644 index 00000000000..4a1be1ec3fb Binary files /dev/null and b/clients/client/kotlin-multiplatform/.gradle/8.7/fileHashes/resourceHashesCache.bin differ diff --git a/clients/client/kotlin-multiplatform/.gradle/8.7/gc.properties b/clients/client/kotlin-multiplatform/.gradle/8.7/gc.properties new file mode 100644 index 00000000000..e69de29bb2d diff --git a/clients/client/kotlin-multiplatform/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/clients/client/kotlin-multiplatform/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 00000000000..c05c14a3c94 Binary files /dev/null and b/clients/client/kotlin-multiplatform/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/clients/client/kotlin-multiplatform/.gradle/buildOutputCleanup/cache.properties b/clients/client/kotlin-multiplatform/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 00000000000..5c12ec3bbf0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Tue Dec 03 21:04:21 UTC 2024 +gradle.version=8.7 diff --git a/clients/client/kotlin-multiplatform/.gradle/buildOutputCleanup/outputFiles.bin b/clients/client/kotlin-multiplatform/.gradle/buildOutputCleanup/outputFiles.bin new file mode 100644 index 00000000000..cdf79318de1 Binary files /dev/null and b/clients/client/kotlin-multiplatform/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/clients/client/kotlin-multiplatform/.gradle/vcs-1/gc.properties b/clients/client/kotlin-multiplatform/.gradle/vcs-1/gc.properties new file mode 100644 index 00000000000..e69de29bb2d diff --git a/clients/client/kotlin-multiplatform/.openapi-generator-ignore b/clients/client/kotlin-multiplatform/.openapi-generator-ignore new file mode 100644 index 00000000000..7484ee590a3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/.openapi-generator-ignore @@ -0,0 +1,23 @@ +# OpenAPI Generator Ignore +# Generated by openapi-generator https://github.com/openapitools/openapi-generator + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/clients/client/kotlin-multiplatform/.openapi-generator/FILES b/clients/client/kotlin-multiplatform/.openapi-generator/FILES new file mode 100644 index 00000000000..9f3199f6f98 --- /dev/null +++ b/clients/client/kotlin-multiplatform/.openapi-generator/FILES @@ -0,0 +1,868 @@ +.openapi-generator-ignore +README.md +build.gradle.kts +docs/AcceptOAuth2ConsentRequest.md +docs/AcceptOAuth2ConsentRequestSession.md +docs/AcceptOAuth2LoginRequest.md +docs/AccountExperienceConfiguration.md +docs/AccountExperienceThemeVariables.md +docs/ActiveProjectInConsole.md +docs/AddProjectToWorkspaceBody.md +docs/Attribute.md +docs/AttributeFilter.md +docs/AttributesCountDatapoint.md +docs/AuthenticatorAssuranceLevel.md +docs/BatchCheckPermissionBody.md +docs/BatchCheckPermissionResult.md +docs/BatchPatchIdentitiesResponse.md +docs/BillingPeriodBucket.md +docs/CheckOplSyntaxResult.md +docs/CheckPermissionResult.md +docs/CheckPermissionResultWithError.md +docs/CloudAccount.md +docs/ConsistencyRequestParameters.md +docs/ContinueWith.md +docs/ContinueWithRecoveryUi.md +docs/ContinueWithRecoveryUiFlow.md +docs/ContinueWithRedirectBrowserTo.md +docs/ContinueWithSetOrySessionToken.md +docs/ContinueWithSettingsUi.md +docs/ContinueWithSettingsUiFlow.md +docs/ContinueWithVerificationUi.md +docs/ContinueWithVerificationUiFlow.md +docs/CourierApi.md +docs/CourierMessageStatus.md +docs/CourierMessageType.md +docs/CreateCustomDomainBody.md +docs/CreateEventStreamBody.md +docs/CreateIdentityBody.md +docs/CreateInviteResponse.md +docs/CreateJsonWebKeySet.md +docs/CreateProjectApiKeyRequest.md +docs/CreateProjectBody.md +docs/CreateProjectBranding.md +docs/CreateProjectMemberInviteBody.md +docs/CreateProjectNormalizedPayload.md +docs/CreateRecoveryCodeForIdentityBody.md +docs/CreateRecoveryLinkForIdentityBody.md +docs/CreateRelationshipBody.md +docs/CreateSubscriptionBody.md +docs/CreateSubscriptionCommon.md +docs/CreateVerifiableCredentialRequestBody.md +docs/CreateWorkspaceApiKeyBody.md +docs/CreateWorkspaceBody.md +docs/CreateWorkspaceMemberInviteBody.md +docs/CreateWorkspaceSubscriptionBody.md +docs/CredentialSupportedDraft00.md +docs/CustomDomain.md +docs/DeleteMySessionsCount.md +docs/EmailTemplateData.md +docs/EmailTemplateDataBody.md +docs/ErrorAuthenticatorAssuranceLevelNotSatisfied.md +docs/ErrorBrowserLocationChangeRequired.md +docs/ErrorFlowReplaced.md +docs/ErrorGeneric.md +docs/ErrorOAuth2.md +docs/EventStream.md +docs/EventsApi.md +docs/ExpandedPermissionTree.md +docs/FlowError.md +docs/FrontendApi.md +docs/GenericError.md +docs/GenericErrorContent.md +docs/GenericUsage.md +docs/GetAttributesCountResponse.md +docs/GetManagedIdentitySchemaLocation.md +docs/GetMetricsEventAttributesResponse.md +docs/GetMetricsEventTypesResponse.md +docs/GetOrganizationResponse.md +docs/GetProjectEventsBody.md +docs/GetProjectEventsResponse.md +docs/GetProjectMetricsResponse.md +docs/GetSessionActivityResponse.md +docs/GetVersion200Response.md +docs/HealthNotReadyStatus.md +docs/HealthStatus.md +docs/Identity.md +docs/IdentityApi.md +docs/IdentityCredentials.md +docs/IdentityCredentialsCode.md +docs/IdentityCredentialsCodeAddress.md +docs/IdentityCredentialsOidc.md +docs/IdentityCredentialsOidcProvider.md +docs/IdentityCredentialsPassword.md +docs/IdentityPatch.md +docs/IdentityPatchResponse.md +docs/IdentitySchemaContainer.md +docs/IdentitySchemaPreset.md +docs/IdentityWithCredentials.md +docs/IdentityWithCredentialsOidc.md +docs/IdentityWithCredentialsOidcConfig.md +docs/IdentityWithCredentialsOidcConfigProvider.md +docs/IdentityWithCredentialsPassword.md +docs/IdentityWithCredentialsPasswordConfig.md +docs/InternalGetProjectBrandingBody.md +docs/InternalIsAXWelcomeScreenEnabledForProjectBody.md +docs/InternalIsOwnerForProjectBySlugBody.md +docs/InternalIsOwnerForProjectBySlugResponse.md +docs/IntrospectedOAuth2Token.md +docs/Invoice.md +docs/InvoiceDataV1.md +docs/IsOwnerForProjectBySlug.md +docs/JsonPatch.md +docs/JsonWebKey.md +docs/JsonWebKeySet.md +docs/JwkApi.md +docs/KetoNamespace.md +docs/LineItemV1.md +docs/ListEventStreams.md +docs/ListInvoicesResponse.md +docs/ListOrganizationsResponse.md +docs/ListWorkspaceProjects.md +docs/ListWorkspaces.md +docs/LoginFlow.md +docs/LoginFlowState.md +docs/LogoutFlow.md +docs/ManagedIdentitySchema.md +docs/ManagedIdentitySchemaValidationResult.md +docs/MemberInvite.md +docs/Message.md +docs/MessageDispatch.md +docs/MetadataApi.md +docs/MetricsDatapoint.md +docs/Money.md +docs/Namespace.md +docs/NeedsPrivilegedSessionError.md +docs/NormalizedProject.md +docs/NormalizedProjectRevision.md +docs/NormalizedProjectRevisionCourierChannel.md +docs/NormalizedProjectRevisionHook.md +docs/NormalizedProjectRevisionIdentitySchema.md +docs/NormalizedProjectRevisionThirdPartyProvider.md +docs/NormalizedProjectRevisionTokenizerTemplate.md +docs/OAuth2Api.md +docs/OAuth2Client.md +docs/OAuth2ClientTokenLifespans.md +docs/OAuth2ConsentRequest.md +docs/OAuth2ConsentRequestOpenIDConnectContext.md +docs/OAuth2ConsentSession.md +docs/OAuth2ConsentSessionExpiresAt.md +docs/OAuth2LoginRequest.md +docs/OAuth2LogoutRequest.md +docs/OAuth2RedirectTo.md +docs/OAuth2TokenExchange.md +docs/OidcApi.md +docs/OidcConfiguration.md +docs/OidcUserInfo.md +docs/Organization.md +docs/OrganizationBody.md +docs/Pagination.md +docs/PaginationHeaders.md +docs/ParseError.md +docs/PatchIdentitiesBody.md +docs/PerformNativeLogoutBody.md +docs/PermissionApi.md +docs/PermissionsOnWorkspace.md +docs/Plan.md +docs/PlanDetails.md +docs/PostCheckPermissionBody.md +docs/PostCheckPermissionOrErrorBody.md +docs/Project.md +docs/ProjectApi.md +docs/ProjectApiKey.md +docs/ProjectBranding.md +docs/ProjectBrandingColors.md +docs/ProjectBrandingTheme.md +docs/ProjectCors.md +docs/ProjectEventsDatapoint.md +docs/ProjectHost.md +docs/ProjectMember.md +docs/ProjectMetadata.md +docs/ProjectServiceIdentity.md +docs/ProjectServiceOAuth2.md +docs/ProjectServicePermission.md +docs/ProjectServices.md +docs/QuotaUsage.md +docs/RFC6749ErrorJson.md +docs/RecoveryCodeForIdentity.md +docs/RecoveryFlow.md +docs/RecoveryFlowState.md +docs/RecoveryIdentityAddress.md +docs/RecoveryLinkForIdentity.md +docs/RegistrationFlow.md +docs/RegistrationFlowState.md +docs/RejectOAuth2Request.md +docs/RelationQuery.md +docs/Relationship.md +docs/RelationshipApi.md +docs/RelationshipNamespaces.md +docs/RelationshipPatch.md +docs/Relationships.md +docs/SchemaPatch.md +docs/SelfServiceFlowExpiredError.md +docs/Session.md +docs/SessionActivityDatapoint.md +docs/SessionAuthenticationMethod.md +docs/SessionDevice.md +docs/SetActiveProjectInConsoleBody.md +docs/SetCustomDomainBody.md +docs/SetEventStreamBody.md +docs/SetProject.md +docs/SetProjectBrandingThemeBody.md +docs/SettingsFlow.md +docs/SettingsFlowState.md +docs/SourcePosition.md +docs/SubjectSet.md +docs/Subscription.md +docs/SuccessfulCodeExchangeResponse.md +docs/SuccessfulNativeLogin.md +docs/SuccessfulNativeRegistration.md +docs/SuccessfulProjectUpdate.md +docs/TaxLineItem.md +docs/TimeInterval.md +docs/TokenPagination.md +docs/TokenPaginationHeaders.md +docs/TokenPaginationRequestParameters.md +docs/TokenPaginationResponseHeaders.md +docs/TrustOAuth2JwtGrantIssuer.md +docs/TrustedOAuth2JwtGrantIssuer.md +docs/TrustedOAuth2JwtGrantJsonWebKey.md +docs/UiContainer.md +docs/UiNode.md +docs/UiNodeAnchorAttributes.md +docs/UiNodeAttributes.md +docs/UiNodeImageAttributes.md +docs/UiNodeInputAttributes.md +docs/UiNodeMeta.md +docs/UiNodeScriptAttributes.md +docs/UiNodeTextAttributes.md +docs/UiText.md +docs/UpdateIdentityBody.md +docs/UpdateLoginFlowBody.md +docs/UpdateLoginFlowWithCodeMethod.md +docs/UpdateLoginFlowWithIdentifierFirstMethod.md +docs/UpdateLoginFlowWithLookupSecretMethod.md +docs/UpdateLoginFlowWithOidcMethod.md +docs/UpdateLoginFlowWithPasskeyMethod.md +docs/UpdateLoginFlowWithPasswordMethod.md +docs/UpdateLoginFlowWithTotpMethod.md +docs/UpdateLoginFlowWithWebAuthnMethod.md +docs/UpdateRecoveryFlowBody.md +docs/UpdateRecoveryFlowWithCodeMethod.md +docs/UpdateRecoveryFlowWithLinkMethod.md +docs/UpdateRegistrationFlowBody.md +docs/UpdateRegistrationFlowWithCodeMethod.md +docs/UpdateRegistrationFlowWithOidcMethod.md +docs/UpdateRegistrationFlowWithPasskeyMethod.md +docs/UpdateRegistrationFlowWithPasswordMethod.md +docs/UpdateRegistrationFlowWithProfileMethod.md +docs/UpdateRegistrationFlowWithWebAuthnMethod.md +docs/UpdateSettingsFlowBody.md +docs/UpdateSettingsFlowWithLookupMethod.md +docs/UpdateSettingsFlowWithOidcMethod.md +docs/UpdateSettingsFlowWithPasskeyMethod.md +docs/UpdateSettingsFlowWithPasswordMethod.md +docs/UpdateSettingsFlowWithProfileMethod.md +docs/UpdateSettingsFlowWithTotpMethod.md +docs/UpdateSettingsFlowWithWebAuthnMethod.md +docs/UpdateSubscriptionBody.md +docs/UpdateVerificationFlowBody.md +docs/UpdateVerificationFlowWithCodeMethod.md +docs/UpdateVerificationFlowWithLinkMethod.md +docs/UpdateWorkspaceBody.md +docs/Usage.md +docs/VerifiableCredentialPrimingResponse.md +docs/VerifiableCredentialProof.md +docs/VerifiableCredentialResponse.md +docs/VerifiableIdentityAddress.md +docs/VerificationFlow.md +docs/VerificationFlowState.md +docs/Version.md +docs/Warning.md +docs/WellknownApi.md +docs/Workspace.md +docs/WorkspaceApi.md +docs/WorkspaceApiKey.md +gradle/wrapper/gradle-wrapper.jar +gradle/wrapper/gradle-wrapper.properties +gradlew +gradlew.bat +settings.gradle.kts +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/CourierApi.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/EventsApi.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/FrontendApi.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/IdentityApi.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/JwkApi.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/MetadataApi.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/OAuth2Api.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/OidcApi.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/PermissionApi.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/ProjectApi.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/RelationshipApi.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/WellknownApi.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/WorkspaceApi.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/ApiKeyAuth.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/Authentication.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/HttpBasicAuth.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/HttpBearerAuth.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/OAuth.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/ApiAbstractions.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/ApiClient.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/Base64ByteArray.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/Bytes.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/HttpResponse.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/OctetByteArray.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/PartConfig.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/RequestConfig.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/RequestMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2ConsentRequest.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2ConsentRequestSession.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2LoginRequest.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AccountExperienceConfiguration.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AccountExperienceThemeVariables.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ActiveProjectInConsole.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AddProjectToWorkspaceBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Attribute.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributeFilter.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributesCountDatapoint.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AuthenticatorAssuranceLevel.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchCheckPermissionBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchCheckPermissionResult.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchPatchIdentitiesResponse.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BillingPeriodBucket.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckOplSyntaxResult.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckPermissionResult.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckPermissionResultWithError.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CloudAccount.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ConsistencyRequestParameters.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWith.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRecoveryUi.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRecoveryUiFlow.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRedirectBrowserTo.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSetOrySessionToken.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSettingsUi.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSettingsUiFlow.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithVerificationUi.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithVerificationUiFlow.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CourierMessageStatus.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CourierMessageType.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateCustomDomainBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateEventStreamBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateIdentityBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateInviteResponse.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateJsonWebKeySet.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectApiKeyRequest.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectBranding.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectMemberInviteBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectNormalizedPayload.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRecoveryCodeForIdentityBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRecoveryLinkForIdentityBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRelationshipBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateSubscriptionBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateSubscriptionCommon.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateVerifiableCredentialRequestBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceApiKeyBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceMemberInviteBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceSubscriptionBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CredentialSupportedDraft00.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CustomDomain.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/DeleteMySessionsCount.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/EmailTemplateData.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/EmailTemplateDataBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorAuthenticatorAssuranceLevelNotSatisfied.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorBrowserLocationChangeRequired.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorFlowReplaced.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorGeneric.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorOAuth2.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/EventStream.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ExpandedPermissionTree.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/FlowError.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericError.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericErrorContent.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericUsage.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetAttributesCountResponse.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetManagedIdentitySchemaLocation.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetMetricsEventAttributesResponse.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetMetricsEventTypesResponse.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetOrganizationResponse.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectEventsBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectEventsResponse.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectMetricsResponse.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetSessionActivityResponse.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetVersion200Response.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/HealthNotReadyStatus.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/HealthStatus.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Identity.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentials.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsCode.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsCodeAddress.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsOidc.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsOidcProvider.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsPassword.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityPatch.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityPatchResponse.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentitySchemaContainer.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentitySchemaPreset.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentials.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidc.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcConfig.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcConfigProvider.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsPassword.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsPasswordConfig.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalGetProjectBrandingBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsAXWelcomeScreenEnabledForProjectBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsOwnerForProjectBySlugBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsOwnerForProjectBySlugResponse.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IntrospectedOAuth2Token.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Invoice.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InvoiceDataV1.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IsOwnerForProjectBySlug.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonPatch.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonWebKey.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonWebKeySet.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/KetoNamespace.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LineItemV1.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListEventStreams.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListInvoicesResponse.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListOrganizationsResponse.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListWorkspaceProjects.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListWorkspaces.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LoginFlow.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LoginFlowState.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LogoutFlow.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ManagedIdentitySchema.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ManagedIdentitySchemaValidationResult.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/MemberInvite.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Message.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/MessageDispatch.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/MetricsDatapoint.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Money.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Namespace.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NeedsPrivilegedSessionError.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProject.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevision.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionCourierChannel.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionHook.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionIdentitySchema.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionThirdPartyProvider.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionTokenizerTemplate.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2Client.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ClientTokenLifespans.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentRequest.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentRequestOpenIDConnectContext.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentSession.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentSessionExpiresAt.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2LoginRequest.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2LogoutRequest.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2RedirectTo.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2TokenExchange.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OidcConfiguration.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OidcUserInfo.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Organization.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OrganizationBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Pagination.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PaginationHeaders.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ParseError.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PatchIdentitiesBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PerformNativeLogoutBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PermissionsOnWorkspace.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Plan.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PlanDetails.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PostCheckPermissionBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PostCheckPermissionOrErrorBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Project.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectApiKey.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBranding.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingColors.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingTheme.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectCors.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectEventsDatapoint.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectHost.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectMember.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectMetadata.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServiceIdentity.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServiceOAuth2.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServicePermission.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServices.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/QuotaUsage.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RFC6749ErrorJson.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryCodeForIdentity.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryFlow.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryFlowState.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryIdentityAddress.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryLinkForIdentity.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RegistrationFlow.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RegistrationFlowState.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RejectOAuth2Request.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationQuery.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Relationship.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipNamespaces.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipPatch.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Relationships.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SchemaPatch.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SelfServiceFlowExpiredError.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Session.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionActivityDatapoint.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionAuthenticationMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionDevice.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetActiveProjectInConsoleBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetCustomDomainBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetEventStreamBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetProject.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetProjectBrandingThemeBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SettingsFlow.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SettingsFlowState.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SourcePosition.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SubjectSet.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Subscription.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulCodeExchangeResponse.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulNativeLogin.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulNativeRegistration.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulProjectUpdate.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TaxLineItem.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TimeInterval.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPagination.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationHeaders.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationRequestParameters.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationResponseHeaders.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustOAuth2JwtGrantIssuer.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustedOAuth2JwtGrantIssuer.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustedOAuth2JwtGrantJsonWebKey.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiContainer.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNode.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeAnchorAttributes.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeAttributes.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeImageAttributes.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeInputAttributes.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeMeta.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeScriptAttributes.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeTextAttributes.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiText.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateIdentityBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithCodeMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithIdentifierFirstMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithLookupSecretMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithOidcMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithPasskeyMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithPasswordMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithTotpMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithWebAuthnMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowWithCodeMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowWithLinkMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithCodeMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithOidcMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithPasskeyMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithPasswordMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithProfileMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithWebAuthnMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithLookupMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithOidcMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithPasskeyMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithPasswordMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithProfileMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithTotpMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithWebAuthnMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSubscriptionBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowWithCodeMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowWithLinkMethod.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateWorkspaceBody.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Usage.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialPrimingResponse.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialProof.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialResponse.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableIdentityAddress.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerificationFlow.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerificationFlowState.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Version.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Warning.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Workspace.kt +src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/WorkspaceApiKey.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/CourierApiTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/EventsApiTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/FrontendApiTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/IdentityApiTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/JwkApiTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/MetadataApiTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/OAuth2ApiTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/OidcApiTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/PermissionApiTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/ProjectApiTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/RelationshipApiTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/WellknownApiTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/WorkspaceApiTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2ConsentRequestSessionTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2ConsentRequestTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2LoginRequestTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AccountExperienceConfigurationTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AccountExperienceThemeVariablesTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ActiveProjectInConsoleTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AddProjectToWorkspaceBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributeFilterTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributeTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributesCountDatapointTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AuthenticatorAssuranceLevelTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchCheckPermissionBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchCheckPermissionResultTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchPatchIdentitiesResponseTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/BillingPeriodBucketTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckOplSyntaxResultTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckPermissionResultTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckPermissionResultWithErrorTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CloudAccountTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ConsistencyRequestParametersTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRecoveryUiFlowTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRecoveryUiTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRedirectBrowserToTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSetOrySessionTokenTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSettingsUiFlowTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSettingsUiTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithVerificationUiFlowTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithVerificationUiTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CourierMessageStatusTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CourierMessageTypeTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateCustomDomainBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateEventStreamBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateIdentityBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateInviteResponseTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateJsonWebKeySetTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectApiKeyRequestTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectBrandingTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectMemberInviteBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectNormalizedPayloadTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRecoveryCodeForIdentityBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRecoveryLinkForIdentityBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRelationshipBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateSubscriptionBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateSubscriptionCommonTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateVerifiableCredentialRequestBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceApiKeyBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceMemberInviteBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceSubscriptionBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CredentialSupportedDraft00Test.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CustomDomainTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/DeleteMySessionsCountTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/EmailTemplateDataBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/EmailTemplateDataTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorAuthenticatorAssuranceLevelNotSatisfiedTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorBrowserLocationChangeRequiredTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorFlowReplacedTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorGenericTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorOAuth2Test.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/EventStreamTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ExpandedPermissionTreeTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/FlowErrorTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericErrorContentTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericErrorTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericUsageTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetAttributesCountResponseTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetManagedIdentitySchemaLocationTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetMetricsEventAttributesResponseTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetMetricsEventTypesResponseTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetOrganizationResponseTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectEventsBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectEventsResponseTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectMetricsResponseTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetSessionActivityResponseTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetVersion200ResponseTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/HealthNotReadyStatusTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/HealthStatusTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsCodeAddressTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsCodeTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsOidcProviderTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsOidcTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsPasswordTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityPatchResponseTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityPatchTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentitySchemaContainerTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentitySchemaPresetTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcConfigProviderTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcConfigTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsPasswordConfigTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsPasswordTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalGetProjectBrandingBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsAXWelcomeScreenEnabledForProjectBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsOwnerForProjectBySlugBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsOwnerForProjectBySlugResponseTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IntrospectedOAuth2TokenTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InvoiceDataV1Test.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InvoiceTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IsOwnerForProjectBySlugTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonPatchTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonWebKeySetTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonWebKeyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/KetoNamespaceTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/LineItemV1Test.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListEventStreamsTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListInvoicesResponseTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListOrganizationsResponseTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListWorkspaceProjectsTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListWorkspacesTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/LoginFlowStateTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/LoginFlowTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/LogoutFlowTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ManagedIdentitySchemaTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ManagedIdentitySchemaValidationResultTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MemberInviteTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MessageDispatchTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MessageTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MetricsDatapointTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MoneyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NamespaceTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NeedsPrivilegedSessionErrorTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionCourierChannelTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionHookTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionIdentitySchemaTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionThirdPartyProviderTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionTokenizerTemplateTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ClientTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ClientTokenLifespansTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentRequestOpenIDConnectContextTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentRequestTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentSessionExpiresAtTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentSessionTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2LoginRequestTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2LogoutRequestTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2RedirectToTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2TokenExchangeTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OidcConfigurationTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OidcUserInfoTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OrganizationBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OrganizationTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PaginationHeadersTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PaginationTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ParseErrorTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PatchIdentitiesBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PerformNativeLogoutBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PermissionsOnWorkspaceTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PlanDetailsTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PlanTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PostCheckPermissionBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PostCheckPermissionOrErrorBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectApiKeyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingColorsTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingThemeTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectCorsTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectEventsDatapointTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectHostTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectMemberTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectMetadataTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServiceIdentityTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServiceOAuth2Test.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServicePermissionTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServicesTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/QuotaUsageTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RFC6749ErrorJsonTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryCodeForIdentityTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryFlowStateTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryFlowTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryIdentityAddressTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryLinkForIdentityTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RegistrationFlowStateTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RegistrationFlowTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RejectOAuth2RequestTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationQueryTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipNamespacesTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipPatchTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipsTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SchemaPatchTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SelfServiceFlowExpiredErrorTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionActivityDatapointTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionAuthenticationMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionDeviceTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetActiveProjectInConsoleBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetCustomDomainBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetEventStreamBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetProjectBrandingThemeBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetProjectTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SettingsFlowStateTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SettingsFlowTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SourcePositionTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SubjectSetTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SubscriptionTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulCodeExchangeResponseTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulNativeLoginTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulNativeRegistrationTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulProjectUpdateTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TaxLineItemTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TimeIntervalTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationHeadersTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationRequestParametersTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationResponseHeadersTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustOAuth2JwtGrantIssuerTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustedOAuth2JwtGrantIssuerTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustedOAuth2JwtGrantJsonWebKeyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiContainerTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeAnchorAttributesTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeAttributesTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeImageAttributesTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeInputAttributesTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeMetaTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeScriptAttributesTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeTextAttributesTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiTextTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateIdentityBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithCodeMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithIdentifierFirstMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithLookupSecretMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithOidcMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithPasskeyMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithPasswordMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithTotpMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithWebAuthnMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowWithCodeMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowWithLinkMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithCodeMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithOidcMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithPasskeyMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithPasswordMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithProfileMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithWebAuthnMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithLookupMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithOidcMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithPasskeyMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithPasswordMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithProfileMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithTotpMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithWebAuthnMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSubscriptionBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowWithCodeMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowWithLinkMethodTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateWorkspaceBodyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UsageTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialPrimingResponseTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialProofTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialResponseTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableIdentityAddressTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerificationFlowStateTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerificationFlowTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VersionTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/WarningTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/WorkspaceApiKeyTest.kt +src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/WorkspaceTest.kt diff --git a/clients/client/kotlin-multiplatform/.openapi-generator/VERSION b/clients/client/kotlin-multiplatform/.openapi-generator/VERSION new file mode 100644 index 00000000000..758bb9c8211 --- /dev/null +++ b/clients/client/kotlin-multiplatform/.openapi-generator/VERSION @@ -0,0 +1 @@ +7.10.0 diff --git a/clients/client/kotlin-multiplatform/LICENSE b/clients/client/kotlin-multiplatform/LICENSE new file mode 100644 index 00000000000..261eeb9e9f8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/clients/client/kotlin-multiplatform/README.md b/clients/client/kotlin-multiplatform/README.md new file mode 100644 index 00000000000..8fd485377cd --- /dev/null +++ b/clients/client/kotlin-multiplatform/README.md @@ -0,0 +1,511 @@ +# sh.ory.client-kotlin-multiplatform - Kotlin client library for Ory APIs + +# 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) | + + +## Overview +This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://github.com/OAI/OpenAPI-Specification) from a remote server, you can easily generate an API client. + +- API version: v1.15.11 +- Package version: +- Generator version: 7.10.0 +- Build package: org.openapitools.codegen.languages.KotlinClientCodegen + +## Requires + +* Kotlin 1.5.10 + +## Build + +``` +./gradlew check assemble +``` + +This runs all tests and packages the library. + +## Features/Implementation Notes + +* Supports JSON inputs/outputs, File inputs, and Form inputs. +* Supports collection formats for query parameters: csv, tsv, ssv, pipes. +* Some Kotlin and Java types are fully qualified to avoid conflicts with types defined in OpenAPI definitions. + + + +## Documentation for API Endpoints + +All URIs are relative to *https://playground.projects.oryapis.com* + +| Class | Method | HTTP request | Description | +| ------------ | ------------- | ------------- | ------------- | +| *CourierApi* | [**getCourierMessage**](docs/CourierApi.md#getcouriermessage) | **GET** /admin/courier/messages/{id} | Get a Message | +| *CourierApi* | [**listCourierMessages**](docs/CourierApi.md#listcouriermessages) | **GET** /admin/courier/messages | List Messages | +| *EventsApi* | [**createEventStream**](docs/EventsApi.md#createeventstream) | **POST** /projects/{project_id}/eventstreams | Create an event stream for your project. | +| *EventsApi* | [**deleteEventStream**](docs/EventsApi.md#deleteeventstream) | **DELETE** /projects/{project_id}/eventstreams/{event_stream_id} | Remove an event stream from a project | +| *EventsApi* | [**listEventStreams**](docs/EventsApi.md#listeventstreams) | **GET** /projects/{project_id}/eventstreams | List all event streams for the project. This endpoint is not paginated. | +| *EventsApi* | [**setEventStream**](docs/EventsApi.md#seteventstream) | **PUT** /projects/{project_id}/eventstreams/{event_stream_id} | Update an event stream for a project. | +| *FrontendApi* | [**createBrowserLoginFlow**](docs/FrontendApi.md#createbrowserloginflow) | **GET** /self-service/login/browser | Create Login Flow for Browsers | +| *FrontendApi* | [**createBrowserLogoutFlow**](docs/FrontendApi.md#createbrowserlogoutflow) | **GET** /self-service/logout/browser | Create a Logout URL for Browsers | +| *FrontendApi* | [**createBrowserRecoveryFlow**](docs/FrontendApi.md#createbrowserrecoveryflow) | **GET** /self-service/recovery/browser | Create Recovery Flow for Browsers | +| *FrontendApi* | [**createBrowserRegistrationFlow**](docs/FrontendApi.md#createbrowserregistrationflow) | **GET** /self-service/registration/browser | Create Registration Flow for Browsers | +| *FrontendApi* | [**createBrowserSettingsFlow**](docs/FrontendApi.md#createbrowsersettingsflow) | **GET** /self-service/settings/browser | Create Settings Flow for Browsers | +| *FrontendApi* | [**createBrowserVerificationFlow**](docs/FrontendApi.md#createbrowserverificationflow) | **GET** /self-service/verification/browser | Create Verification Flow for Browser Clients | +| *FrontendApi* | [**createNativeLoginFlow**](docs/FrontendApi.md#createnativeloginflow) | **GET** /self-service/login/api | Create Login Flow for Native Apps | +| *FrontendApi* | [**createNativeRecoveryFlow**](docs/FrontendApi.md#createnativerecoveryflow) | **GET** /self-service/recovery/api | Create Recovery Flow for Native Apps | +| *FrontendApi* | [**createNativeRegistrationFlow**](docs/FrontendApi.md#createnativeregistrationflow) | **GET** /self-service/registration/api | Create Registration Flow for Native Apps | +| *FrontendApi* | [**createNativeSettingsFlow**](docs/FrontendApi.md#createnativesettingsflow) | **GET** /self-service/settings/api | Create Settings Flow for Native Apps | +| *FrontendApi* | [**createNativeVerificationFlow**](docs/FrontendApi.md#createnativeverificationflow) | **GET** /self-service/verification/api | Create Verification Flow for Native Apps | +| *FrontendApi* | [**disableMyOtherSessions**](docs/FrontendApi.md#disablemyothersessions) | **DELETE** /sessions | Disable my other sessions | +| *FrontendApi* | [**disableMySession**](docs/FrontendApi.md#disablemysession) | **DELETE** /sessions/{id} | Disable one of my sessions | +| *FrontendApi* | [**exchangeSessionToken**](docs/FrontendApi.md#exchangesessiontoken) | **GET** /sessions/token-exchange | Exchange Session Token | +| *FrontendApi* | [**getFlowError**](docs/FrontendApi.md#getflowerror) | **GET** /self-service/errors | Get User-Flow Errors | +| *FrontendApi* | [**getLoginFlow**](docs/FrontendApi.md#getloginflow) | **GET** /self-service/login/flows | Get Login Flow | +| *FrontendApi* | [**getRecoveryFlow**](docs/FrontendApi.md#getrecoveryflow) | **GET** /self-service/recovery/flows | Get Recovery Flow | +| *FrontendApi* | [**getRegistrationFlow**](docs/FrontendApi.md#getregistrationflow) | **GET** /self-service/registration/flows | Get Registration Flow | +| *FrontendApi* | [**getSettingsFlow**](docs/FrontendApi.md#getsettingsflow) | **GET** /self-service/settings/flows | Get Settings Flow | +| *FrontendApi* | [**getVerificationFlow**](docs/FrontendApi.md#getverificationflow) | **GET** /self-service/verification/flows | Get Verification Flow | +| *FrontendApi* | [**getWebAuthnJavaScript**](docs/FrontendApi.md#getwebauthnjavascript) | **GET** /.well-known/ory/webauthn.js | Get WebAuthn JavaScript | +| *FrontendApi* | [**listMySessions**](docs/FrontendApi.md#listmysessions) | **GET** /sessions | Get My Active Sessions | +| *FrontendApi* | [**performNativeLogout**](docs/FrontendApi.md#performnativelogout) | **DELETE** /self-service/logout/api | Perform Logout for Native Apps | +| *FrontendApi* | [**toSession**](docs/FrontendApi.md#tosession) | **GET** /sessions/whoami | Check Who the Current HTTP Session Belongs To | +| *FrontendApi* | [**updateLoginFlow**](docs/FrontendApi.md#updateloginflow) | **POST** /self-service/login | Submit a Login Flow | +| *FrontendApi* | [**updateLogoutFlow**](docs/FrontendApi.md#updatelogoutflow) | **GET** /self-service/logout | Update Logout Flow | +| *FrontendApi* | [**updateRecoveryFlow**](docs/FrontendApi.md#updaterecoveryflow) | **POST** /self-service/recovery | Update Recovery Flow | +| *FrontendApi* | [**updateRegistrationFlow**](docs/FrontendApi.md#updateregistrationflow) | **POST** /self-service/registration | Update Registration Flow | +| *FrontendApi* | [**updateSettingsFlow**](docs/FrontendApi.md#updatesettingsflow) | **POST** /self-service/settings | Complete Settings Flow | +| *FrontendApi* | [**updateVerificationFlow**](docs/FrontendApi.md#updateverificationflow) | **POST** /self-service/verification | Complete Verification Flow | +| *IdentityApi* | [**batchPatchIdentities**](docs/IdentityApi.md#batchpatchidentities) | **PATCH** /admin/identities | Create multiple identities | +| *IdentityApi* | [**createIdentity**](docs/IdentityApi.md#createidentity) | **POST** /admin/identities | Create an Identity | +| *IdentityApi* | [**createRecoveryCodeForIdentity**](docs/IdentityApi.md#createrecoverycodeforidentity) | **POST** /admin/recovery/code | Create a Recovery Code | +| *IdentityApi* | [**createRecoveryLinkForIdentity**](docs/IdentityApi.md#createrecoverylinkforidentity) | **POST** /admin/recovery/link | Create a Recovery Link | +| *IdentityApi* | [**deleteIdentity**](docs/IdentityApi.md#deleteidentity) | **DELETE** /admin/identities/{id} | Delete an Identity | +| *IdentityApi* | [**deleteIdentityCredentials**](docs/IdentityApi.md#deleteidentitycredentials) | **DELETE** /admin/identities/{id}/credentials/{type} | Delete a credential for a specific identity | +| *IdentityApi* | [**deleteIdentitySessions**](docs/IdentityApi.md#deleteidentitysessions) | **DELETE** /admin/identities/{id}/sessions | Delete & Invalidate an Identity's Sessions | +| *IdentityApi* | [**disableSession**](docs/IdentityApi.md#disablesession) | **DELETE** /admin/sessions/{id} | Deactivate a Session | +| *IdentityApi* | [**extendSession**](docs/IdentityApi.md#extendsession) | **PATCH** /admin/sessions/{id}/extend | Extend a Session | +| *IdentityApi* | [**getIdentity**](docs/IdentityApi.md#getidentity) | **GET** /admin/identities/{id} | Get an Identity | +| *IdentityApi* | [**getIdentitySchema**](docs/IdentityApi.md#getidentityschema) | **GET** /schemas/{id} | Get Identity JSON Schema | +| *IdentityApi* | [**getSession**](docs/IdentityApi.md#getsession) | **GET** /admin/sessions/{id} | Get Session | +| *IdentityApi* | [**listIdentities**](docs/IdentityApi.md#listidentities) | **GET** /admin/identities | List Identities | +| *IdentityApi* | [**listIdentitySchemas**](docs/IdentityApi.md#listidentityschemas) | **GET** /schemas | Get all Identity Schemas | +| *IdentityApi* | [**listIdentitySessions**](docs/IdentityApi.md#listidentitysessions) | **GET** /admin/identities/{id}/sessions | List an Identity's Sessions | +| *IdentityApi* | [**listSessions**](docs/IdentityApi.md#listsessions) | **GET** /admin/sessions | List All Sessions | +| *IdentityApi* | [**patchIdentity**](docs/IdentityApi.md#patchidentity) | **PATCH** /admin/identities/{id} | Patch an Identity | +| *IdentityApi* | [**updateIdentity**](docs/IdentityApi.md#updateidentity) | **PUT** /admin/identities/{id} | Update an Identity | +| *JwkApi* | [**createJsonWebKeySet**](docs/JwkApi.md#createjsonwebkeyset) | **POST** /admin/keys/{set} | Create JSON Web Key | +| *JwkApi* | [**deleteJsonWebKey**](docs/JwkApi.md#deletejsonwebkey) | **DELETE** /admin/keys/{set}/{kid} | Delete JSON Web Key | +| *JwkApi* | [**deleteJsonWebKeySet**](docs/JwkApi.md#deletejsonwebkeyset) | **DELETE** /admin/keys/{set} | Delete JSON Web Key Set | +| *JwkApi* | [**getJsonWebKey**](docs/JwkApi.md#getjsonwebkey) | **GET** /admin/keys/{set}/{kid} | Get JSON Web Key | +| *JwkApi* | [**getJsonWebKeySet**](docs/JwkApi.md#getjsonwebkeyset) | **GET** /admin/keys/{set} | Retrieve a JSON Web Key Set | +| *JwkApi* | [**setJsonWebKey**](docs/JwkApi.md#setjsonwebkey) | **PUT** /admin/keys/{set}/{kid} | Set JSON Web Key | +| *JwkApi* | [**setJsonWebKeySet**](docs/JwkApi.md#setjsonwebkeyset) | **PUT** /admin/keys/{set} | Update a JSON Web Key Set | +| *MetadataApi* | [**getVersion**](docs/MetadataApi.md#getversion) | **GET** /version | Return Running Software Version. | +| *OAuth2Api* | [**acceptOAuth2ConsentRequest**](docs/OAuth2Api.md#acceptoauth2consentrequest) | **PUT** /admin/oauth2/auth/requests/consent/accept | Accept OAuth 2.0 Consent Request | +| *OAuth2Api* | [**acceptOAuth2LoginRequest**](docs/OAuth2Api.md#acceptoauth2loginrequest) | **PUT** /admin/oauth2/auth/requests/login/accept | Accept OAuth 2.0 Login Request | +| *OAuth2Api* | [**acceptOAuth2LogoutRequest**](docs/OAuth2Api.md#acceptoauth2logoutrequest) | **PUT** /admin/oauth2/auth/requests/logout/accept | Accept OAuth 2.0 Session Logout Request | +| *OAuth2Api* | [**createOAuth2Client**](docs/OAuth2Api.md#createoauth2client) | **POST** /admin/clients | Create OAuth 2.0 Client | +| *OAuth2Api* | [**deleteOAuth2Client**](docs/OAuth2Api.md#deleteoauth2client) | **DELETE** /admin/clients/{id} | Delete OAuth 2.0 Client | +| *OAuth2Api* | [**deleteOAuth2Token**](docs/OAuth2Api.md#deleteoauth2token) | **DELETE** /admin/oauth2/tokens | Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client | +| *OAuth2Api* | [**deleteTrustedOAuth2JwtGrantIssuer**](docs/OAuth2Api.md#deletetrustedoauth2jwtgrantissuer) | **DELETE** /admin/trust/grants/jwt-bearer/issuers/{id} | Delete Trusted OAuth2 JWT Bearer Grant Type Issuer | +| *OAuth2Api* | [**getOAuth2Client**](docs/OAuth2Api.md#getoauth2client) | **GET** /admin/clients/{id} | Get an OAuth 2.0 Client | +| *OAuth2Api* | [**getOAuth2ConsentRequest**](docs/OAuth2Api.md#getoauth2consentrequest) | **GET** /admin/oauth2/auth/requests/consent | Get OAuth 2.0 Consent Request | +| *OAuth2Api* | [**getOAuth2LoginRequest**](docs/OAuth2Api.md#getoauth2loginrequest) | **GET** /admin/oauth2/auth/requests/login | Get OAuth 2.0 Login Request | +| *OAuth2Api* | [**getOAuth2LogoutRequest**](docs/OAuth2Api.md#getoauth2logoutrequest) | **GET** /admin/oauth2/auth/requests/logout | Get OAuth 2.0 Session Logout Request | +| *OAuth2Api* | [**getTrustedOAuth2JwtGrantIssuer**](docs/OAuth2Api.md#gettrustedoauth2jwtgrantissuer) | **GET** /admin/trust/grants/jwt-bearer/issuers/{id} | Get Trusted OAuth2 JWT Bearer Grant Type Issuer | +| *OAuth2Api* | [**introspectOAuth2Token**](docs/OAuth2Api.md#introspectoauth2token) | **POST** /admin/oauth2/introspect | Introspect OAuth2 Access and Refresh Tokens | +| *OAuth2Api* | [**listOAuth2Clients**](docs/OAuth2Api.md#listoauth2clients) | **GET** /admin/clients | List OAuth 2.0 Clients | +| *OAuth2Api* | [**listOAuth2ConsentSessions**](docs/OAuth2Api.md#listoauth2consentsessions) | **GET** /admin/oauth2/auth/sessions/consent | List OAuth 2.0 Consent Sessions of a Subject | +| *OAuth2Api* | [**listTrustedOAuth2JwtGrantIssuers**](docs/OAuth2Api.md#listtrustedoauth2jwtgrantissuers) | **GET** /admin/trust/grants/jwt-bearer/issuers | List Trusted OAuth2 JWT Bearer Grant Type Issuers | +| *OAuth2Api* | [**oAuth2Authorize**](docs/OAuth2Api.md#oauth2authorize) | **GET** /oauth2/auth | OAuth 2.0 Authorize Endpoint | +| *OAuth2Api* | [**oauth2TokenExchange**](docs/OAuth2Api.md#oauth2tokenexchange) | **POST** /oauth2/token | The OAuth 2.0 Token Endpoint | +| *OAuth2Api* | [**patchOAuth2Client**](docs/OAuth2Api.md#patchoauth2client) | **PATCH** /admin/clients/{id} | Patch OAuth 2.0 Client | +| *OAuth2Api* | [**rejectOAuth2ConsentRequest**](docs/OAuth2Api.md#rejectoauth2consentrequest) | **PUT** /admin/oauth2/auth/requests/consent/reject | Reject OAuth 2.0 Consent Request | +| *OAuth2Api* | [**rejectOAuth2LoginRequest**](docs/OAuth2Api.md#rejectoauth2loginrequest) | **PUT** /admin/oauth2/auth/requests/login/reject | Reject OAuth 2.0 Login Request | +| *OAuth2Api* | [**rejectOAuth2LogoutRequest**](docs/OAuth2Api.md#rejectoauth2logoutrequest) | **PUT** /admin/oauth2/auth/requests/logout/reject | Reject OAuth 2.0 Session Logout Request | +| *OAuth2Api* | [**revokeOAuth2ConsentSessions**](docs/OAuth2Api.md#revokeoauth2consentsessions) | **DELETE** /admin/oauth2/auth/sessions/consent | Revoke OAuth 2.0 Consent Sessions of a Subject | +| *OAuth2Api* | [**revokeOAuth2LoginSessions**](docs/OAuth2Api.md#revokeoauth2loginsessions) | **DELETE** /admin/oauth2/auth/sessions/login | Revokes OAuth 2.0 Login Sessions by either a Subject or a SessionID | +| *OAuth2Api* | [**revokeOAuth2Token**](docs/OAuth2Api.md#revokeoauth2token) | **POST** /oauth2/revoke | Revoke OAuth 2.0 Access or Refresh Token | +| *OAuth2Api* | [**setOAuth2Client**](docs/OAuth2Api.md#setoauth2client) | **PUT** /admin/clients/{id} | Set OAuth 2.0 Client | +| *OAuth2Api* | [**setOAuth2ClientLifespans**](docs/OAuth2Api.md#setoauth2clientlifespans) | **PUT** /admin/clients/{id}/lifespans | Set OAuth2 Client Token Lifespans | +| *OAuth2Api* | [**trustOAuth2JwtGrantIssuer**](docs/OAuth2Api.md#trustoauth2jwtgrantissuer) | **POST** /admin/trust/grants/jwt-bearer/issuers | Trust OAuth2 JWT Bearer Grant Type Issuer | +| *OidcApi* | [**createOidcDynamicClient**](docs/OidcApi.md#createoidcdynamicclient) | **POST** /oauth2/register | Register OAuth2 Client using OpenID Dynamic Client Registration | +| *OidcApi* | [**createVerifiableCredential**](docs/OidcApi.md#createverifiablecredential) | **POST** /credentials | Issues a Verifiable Credential | +| *OidcApi* | [**deleteOidcDynamicClient**](docs/OidcApi.md#deleteoidcdynamicclient) | **DELETE** /oauth2/register/{id} | Delete OAuth 2.0 Client using the OpenID Dynamic Client Registration Management Protocol | +| *OidcApi* | [**discoverOidcConfiguration**](docs/OidcApi.md#discoveroidcconfiguration) | **GET** /.well-known/openid-configuration | OpenID Connect Discovery | +| *OidcApi* | [**getOidcDynamicClient**](docs/OidcApi.md#getoidcdynamicclient) | **GET** /oauth2/register/{id} | Get OAuth2 Client using OpenID Dynamic Client Registration | +| *OidcApi* | [**getOidcUserInfo**](docs/OidcApi.md#getoidcuserinfo) | **GET** /userinfo | OpenID Connect Userinfo | +| *OidcApi* | [**revokeOidcSession**](docs/OidcApi.md#revokeoidcsession) | **GET** /oauth2/sessions/logout | OpenID Connect Front- and Back-channel Enabled Logout | +| *OidcApi* | [**setOidcDynamicClient**](docs/OidcApi.md#setoidcdynamicclient) | **PUT** /oauth2/register/{id} | Set OAuth2 Client using OpenID Dynamic Client Registration | +| *PermissionApi* | [**batchCheckPermission**](docs/PermissionApi.md#batchcheckpermission) | **POST** /relation-tuples/batch/check | Batch check permissions | +| *PermissionApi* | [**checkPermission**](docs/PermissionApi.md#checkpermission) | **GET** /relation-tuples/check/openapi | Check a permission | +| *PermissionApi* | [**checkPermissionOrError**](docs/PermissionApi.md#checkpermissionorerror) | **GET** /relation-tuples/check | Check a permission | +| *PermissionApi* | [**expandPermissions**](docs/PermissionApi.md#expandpermissions) | **GET** /relation-tuples/expand | Expand a Relationship into permissions. | +| *PermissionApi* | [**postCheckPermission**](docs/PermissionApi.md#postcheckpermission) | **POST** /relation-tuples/check/openapi | Check a permission | +| *PermissionApi* | [**postCheckPermissionOrError**](docs/PermissionApi.md#postcheckpermissionorerror) | **POST** /relation-tuples/check | Check a permission | +| *ProjectApi* | [**createOrganization**](docs/ProjectApi.md#createorganization) | **POST** /projects/{project_id}/organizations | Create an Enterprise SSO Organization | +| *ProjectApi* | [**createProject**](docs/ProjectApi.md#createproject) | **POST** /projects | Create a Project | +| *ProjectApi* | [**createProjectApiKey**](docs/ProjectApi.md#createprojectapikey) | **POST** /projects/{project}/tokens | Create project API key | +| *ProjectApi* | [**deleteOrganization**](docs/ProjectApi.md#deleteorganization) | **DELETE** /projects/{project_id}/organizations/{organization_id} | Delete Enterprise SSO Organization | +| *ProjectApi* | [**deleteProjectApiKey**](docs/ProjectApi.md#deleteprojectapikey) | **DELETE** /projects/{project}/tokens/{token_id} | Delete project API key | +| *ProjectApi* | [**getOrganization**](docs/ProjectApi.md#getorganization) | **GET** /projects/{project_id}/organizations/{organization_id} | Get Enterprise SSO Organization by ID | +| *ProjectApi* | [**getProject**](docs/ProjectApi.md#getproject) | **GET** /projects/{project_id} | Get a Project | +| *ProjectApi* | [**getProjectMembers**](docs/ProjectApi.md#getprojectmembers) | **GET** /projects/{project}/members | Get all members associated with this project | +| *ProjectApi* | [**listOrganizations**](docs/ProjectApi.md#listorganizations) | **GET** /projects/{project_id}/organizations | List all Enterprise SSO organizations | +| *ProjectApi* | [**listProjectApiKeys**](docs/ProjectApi.md#listprojectapikeys) | **GET** /projects/{project}/tokens | List a project's API keys | +| *ProjectApi* | [**listProjects**](docs/ProjectApi.md#listprojects) | **GET** /projects | List All Projects | +| *ProjectApi* | [**patchProject**](docs/ProjectApi.md#patchproject) | **PATCH** /projects/{project_id} | Patch an Ory Network Project Configuration | +| *ProjectApi* | [**patchProjectWithRevision**](docs/ProjectApi.md#patchprojectwithrevision) | **PATCH** /projects/{project_id}/revision/{revision_id} | Patch an Ory Network Project Configuration based on a revision ID | +| *ProjectApi* | [**purgeProject**](docs/ProjectApi.md#purgeproject) | **DELETE** /projects/{project_id} | Irrecoverably purge a project | +| *ProjectApi* | [**removeProjectMember**](docs/ProjectApi.md#removeprojectmember) | **DELETE** /projects/{project}/members/{member} | Remove a member associated with this project | +| *ProjectApi* | [**setProject**](docs/ProjectApi.md#setproject) | **PUT** /projects/{project_id} | Update an Ory Network Project Configuration | +| *ProjectApi* | [**updateOrganization**](docs/ProjectApi.md#updateorganization) | **PUT** /projects/{project_id}/organizations/{organization_id} | Update an Enterprise SSO Organization | +| *RelationshipApi* | [**checkOplSyntax**](docs/RelationshipApi.md#checkoplsyntax) | **POST** /opl/syntax/check | Check the syntax of an OPL file | +| *RelationshipApi* | [**createRelationship**](docs/RelationshipApi.md#createrelationship) | **PUT** /admin/relation-tuples | Create a Relationship | +| *RelationshipApi* | [**deleteRelationships**](docs/RelationshipApi.md#deleterelationships) | **DELETE** /admin/relation-tuples | Delete Relationships | +| *RelationshipApi* | [**getRelationships**](docs/RelationshipApi.md#getrelationships) | **GET** /relation-tuples | Query relationships | +| *RelationshipApi* | [**listRelationshipNamespaces**](docs/RelationshipApi.md#listrelationshipnamespaces) | **GET** /namespaces | Query namespaces | +| *RelationshipApi* | [**patchRelationships**](docs/RelationshipApi.md#patchrelationships) | **PATCH** /admin/relation-tuples | Patch Multiple Relationships | +| *WellknownApi* | [**discoverJsonWebKeys**](docs/WellknownApi.md#discoverjsonwebkeys) | **GET** /.well-known/jwks.json | Discover Well-Known JSON Web Keys | +| *WorkspaceApi* | [**createWorkspace**](docs/WorkspaceApi.md#createworkspace) | **POST** /workspaces | Create a new workspace | +| *WorkspaceApi* | [**createWorkspaceApiKey**](docs/WorkspaceApi.md#createworkspaceapikey) | **POST** /workspaces/{workspace}/tokens | Create workspace API key | +| *WorkspaceApi* | [**deleteWorkspaceApiKey**](docs/WorkspaceApi.md#deleteworkspaceapikey) | **DELETE** /workspaces/{workspace}/tokens/{token_id} | Delete workspace API key | +| *WorkspaceApi* | [**getWorkspace**](docs/WorkspaceApi.md#getworkspace) | **GET** /workspaces/{workspace} | Get a workspace | +| *WorkspaceApi* | [**listWorkspaceApiKeys**](docs/WorkspaceApi.md#listworkspaceapikeys) | **GET** /workspaces/{workspace}/tokens | List a workspace's API keys | +| *WorkspaceApi* | [**listWorkspaceProjects**](docs/WorkspaceApi.md#listworkspaceprojects) | **GET** /workspaces/{workspace}/projects | List all projects of a workspace | +| *WorkspaceApi* | [**listWorkspaces**](docs/WorkspaceApi.md#listworkspaces) | **GET** /workspaces | List workspaces the user is a member of | +| *WorkspaceApi* | [**updateWorkspace**](docs/WorkspaceApi.md#updateworkspace) | **PUT** /workspaces/{workspace} | Update an workspace | + + + +## Documentation for Models + + - [sh.ory.client-kotlin-multiplatform.models.AcceptOAuth2ConsentRequest](docs/AcceptOAuth2ConsentRequest.md) + - [sh.ory.client-kotlin-multiplatform.models.AcceptOAuth2ConsentRequestSession](docs/AcceptOAuth2ConsentRequestSession.md) + - [sh.ory.client-kotlin-multiplatform.models.AcceptOAuth2LoginRequest](docs/AcceptOAuth2LoginRequest.md) + - [sh.ory.client-kotlin-multiplatform.models.AccountExperienceConfiguration](docs/AccountExperienceConfiguration.md) + - [sh.ory.client-kotlin-multiplatform.models.AccountExperienceThemeVariables](docs/AccountExperienceThemeVariables.md) + - [sh.ory.client-kotlin-multiplatform.models.ActiveProjectInConsole](docs/ActiveProjectInConsole.md) + - [sh.ory.client-kotlin-multiplatform.models.AddProjectToWorkspaceBody](docs/AddProjectToWorkspaceBody.md) + - [sh.ory.client-kotlin-multiplatform.models.Attribute](docs/Attribute.md) + - [sh.ory.client-kotlin-multiplatform.models.AttributeFilter](docs/AttributeFilter.md) + - [sh.ory.client-kotlin-multiplatform.models.AttributesCountDatapoint](docs/AttributesCountDatapoint.md) + - [sh.ory.client-kotlin-multiplatform.models.AuthenticatorAssuranceLevel](docs/AuthenticatorAssuranceLevel.md) + - [sh.ory.client-kotlin-multiplatform.models.BatchCheckPermissionBody](docs/BatchCheckPermissionBody.md) + - [sh.ory.client-kotlin-multiplatform.models.BatchCheckPermissionResult](docs/BatchCheckPermissionResult.md) + - [sh.ory.client-kotlin-multiplatform.models.BatchPatchIdentitiesResponse](docs/BatchPatchIdentitiesResponse.md) + - [sh.ory.client-kotlin-multiplatform.models.BillingPeriodBucket](docs/BillingPeriodBucket.md) + - [sh.ory.client-kotlin-multiplatform.models.CheckOplSyntaxResult](docs/CheckOplSyntaxResult.md) + - [sh.ory.client-kotlin-multiplatform.models.CheckPermissionResult](docs/CheckPermissionResult.md) + - [sh.ory.client-kotlin-multiplatform.models.CheckPermissionResultWithError](docs/CheckPermissionResultWithError.md) + - [sh.ory.client-kotlin-multiplatform.models.CloudAccount](docs/CloudAccount.md) + - [sh.ory.client-kotlin-multiplatform.models.ConsistencyRequestParameters](docs/ConsistencyRequestParameters.md) + - [sh.ory.client-kotlin-multiplatform.models.ContinueWith](docs/ContinueWith.md) + - [sh.ory.client-kotlin-multiplatform.models.ContinueWithRecoveryUi](docs/ContinueWithRecoveryUi.md) + - [sh.ory.client-kotlin-multiplatform.models.ContinueWithRecoveryUiFlow](docs/ContinueWithRecoveryUiFlow.md) + - [sh.ory.client-kotlin-multiplatform.models.ContinueWithRedirectBrowserTo](docs/ContinueWithRedirectBrowserTo.md) + - [sh.ory.client-kotlin-multiplatform.models.ContinueWithSetOrySessionToken](docs/ContinueWithSetOrySessionToken.md) + - [sh.ory.client-kotlin-multiplatform.models.ContinueWithSettingsUi](docs/ContinueWithSettingsUi.md) + - [sh.ory.client-kotlin-multiplatform.models.ContinueWithSettingsUiFlow](docs/ContinueWithSettingsUiFlow.md) + - [sh.ory.client-kotlin-multiplatform.models.ContinueWithVerificationUi](docs/ContinueWithVerificationUi.md) + - [sh.ory.client-kotlin-multiplatform.models.ContinueWithVerificationUiFlow](docs/ContinueWithVerificationUiFlow.md) + - [sh.ory.client-kotlin-multiplatform.models.CourierMessageStatus](docs/CourierMessageStatus.md) + - [sh.ory.client-kotlin-multiplatform.models.CourierMessageType](docs/CourierMessageType.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateCustomDomainBody](docs/CreateCustomDomainBody.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateEventStreamBody](docs/CreateEventStreamBody.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateIdentityBody](docs/CreateIdentityBody.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateInviteResponse](docs/CreateInviteResponse.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateJsonWebKeySet](docs/CreateJsonWebKeySet.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateProjectApiKeyRequest](docs/CreateProjectApiKeyRequest.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateProjectBody](docs/CreateProjectBody.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateProjectBranding](docs/CreateProjectBranding.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateProjectMemberInviteBody](docs/CreateProjectMemberInviteBody.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateProjectNormalizedPayload](docs/CreateProjectNormalizedPayload.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateRecoveryCodeForIdentityBody](docs/CreateRecoveryCodeForIdentityBody.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateRecoveryLinkForIdentityBody](docs/CreateRecoveryLinkForIdentityBody.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateRelationshipBody](docs/CreateRelationshipBody.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateSubscriptionBody](docs/CreateSubscriptionBody.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateSubscriptionCommon](docs/CreateSubscriptionCommon.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateVerifiableCredentialRequestBody](docs/CreateVerifiableCredentialRequestBody.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateWorkspaceApiKeyBody](docs/CreateWorkspaceApiKeyBody.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateWorkspaceBody](docs/CreateWorkspaceBody.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateWorkspaceMemberInviteBody](docs/CreateWorkspaceMemberInviteBody.md) + - [sh.ory.client-kotlin-multiplatform.models.CreateWorkspaceSubscriptionBody](docs/CreateWorkspaceSubscriptionBody.md) + - [sh.ory.client-kotlin-multiplatform.models.CredentialSupportedDraft00](docs/CredentialSupportedDraft00.md) + - [sh.ory.client-kotlin-multiplatform.models.CustomDomain](docs/CustomDomain.md) + - [sh.ory.client-kotlin-multiplatform.models.DeleteMySessionsCount](docs/DeleteMySessionsCount.md) + - [sh.ory.client-kotlin-multiplatform.models.EmailTemplateData](docs/EmailTemplateData.md) + - [sh.ory.client-kotlin-multiplatform.models.EmailTemplateDataBody](docs/EmailTemplateDataBody.md) + - [sh.ory.client-kotlin-multiplatform.models.ErrorAuthenticatorAssuranceLevelNotSatisfied](docs/ErrorAuthenticatorAssuranceLevelNotSatisfied.md) + - [sh.ory.client-kotlin-multiplatform.models.ErrorBrowserLocationChangeRequired](docs/ErrorBrowserLocationChangeRequired.md) + - [sh.ory.client-kotlin-multiplatform.models.ErrorFlowReplaced](docs/ErrorFlowReplaced.md) + - [sh.ory.client-kotlin-multiplatform.models.ErrorGeneric](docs/ErrorGeneric.md) + - [sh.ory.client-kotlin-multiplatform.models.ErrorOAuth2](docs/ErrorOAuth2.md) + - [sh.ory.client-kotlin-multiplatform.models.EventStream](docs/EventStream.md) + - [sh.ory.client-kotlin-multiplatform.models.ExpandedPermissionTree](docs/ExpandedPermissionTree.md) + - [sh.ory.client-kotlin-multiplatform.models.FlowError](docs/FlowError.md) + - [sh.ory.client-kotlin-multiplatform.models.GenericError](docs/GenericError.md) + - [sh.ory.client-kotlin-multiplatform.models.GenericErrorContent](docs/GenericErrorContent.md) + - [sh.ory.client-kotlin-multiplatform.models.GenericUsage](docs/GenericUsage.md) + - [sh.ory.client-kotlin-multiplatform.models.GetAttributesCountResponse](docs/GetAttributesCountResponse.md) + - [sh.ory.client-kotlin-multiplatform.models.GetManagedIdentitySchemaLocation](docs/GetManagedIdentitySchemaLocation.md) + - [sh.ory.client-kotlin-multiplatform.models.GetMetricsEventAttributesResponse](docs/GetMetricsEventAttributesResponse.md) + - [sh.ory.client-kotlin-multiplatform.models.GetMetricsEventTypesResponse](docs/GetMetricsEventTypesResponse.md) + - [sh.ory.client-kotlin-multiplatform.models.GetOrganizationResponse](docs/GetOrganizationResponse.md) + - [sh.ory.client-kotlin-multiplatform.models.GetProjectEventsBody](docs/GetProjectEventsBody.md) + - [sh.ory.client-kotlin-multiplatform.models.GetProjectEventsResponse](docs/GetProjectEventsResponse.md) + - [sh.ory.client-kotlin-multiplatform.models.GetProjectMetricsResponse](docs/GetProjectMetricsResponse.md) + - [sh.ory.client-kotlin-multiplatform.models.GetSessionActivityResponse](docs/GetSessionActivityResponse.md) + - [sh.ory.client-kotlin-multiplatform.models.GetVersion200Response](docs/GetVersion200Response.md) + - [sh.ory.client-kotlin-multiplatform.models.HealthNotReadyStatus](docs/HealthNotReadyStatus.md) + - [sh.ory.client-kotlin-multiplatform.models.HealthStatus](docs/HealthStatus.md) + - [sh.ory.client-kotlin-multiplatform.models.Identity](docs/Identity.md) + - [sh.ory.client-kotlin-multiplatform.models.IdentityCredentials](docs/IdentityCredentials.md) + - [sh.ory.client-kotlin-multiplatform.models.IdentityCredentialsCode](docs/IdentityCredentialsCode.md) + - [sh.ory.client-kotlin-multiplatform.models.IdentityCredentialsCodeAddress](docs/IdentityCredentialsCodeAddress.md) + - [sh.ory.client-kotlin-multiplatform.models.IdentityCredentialsOidc](docs/IdentityCredentialsOidc.md) + - [sh.ory.client-kotlin-multiplatform.models.IdentityCredentialsOidcProvider](docs/IdentityCredentialsOidcProvider.md) + - [sh.ory.client-kotlin-multiplatform.models.IdentityCredentialsPassword](docs/IdentityCredentialsPassword.md) + - [sh.ory.client-kotlin-multiplatform.models.IdentityPatch](docs/IdentityPatch.md) + - [sh.ory.client-kotlin-multiplatform.models.IdentityPatchResponse](docs/IdentityPatchResponse.md) + - [sh.ory.client-kotlin-multiplatform.models.IdentitySchemaContainer](docs/IdentitySchemaContainer.md) + - [sh.ory.client-kotlin-multiplatform.models.IdentitySchemaPreset](docs/IdentitySchemaPreset.md) + - [sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentials](docs/IdentityWithCredentials.md) + - [sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsOidc](docs/IdentityWithCredentialsOidc.md) + - [sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsOidcConfig](docs/IdentityWithCredentialsOidcConfig.md) + - [sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsOidcConfigProvider](docs/IdentityWithCredentialsOidcConfigProvider.md) + - [sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsPassword](docs/IdentityWithCredentialsPassword.md) + - [sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsPasswordConfig](docs/IdentityWithCredentialsPasswordConfig.md) + - [sh.ory.client-kotlin-multiplatform.models.InternalGetProjectBrandingBody](docs/InternalGetProjectBrandingBody.md) + - [sh.ory.client-kotlin-multiplatform.models.InternalIsAXWelcomeScreenEnabledForProjectBody](docs/InternalIsAXWelcomeScreenEnabledForProjectBody.md) + - [sh.ory.client-kotlin-multiplatform.models.InternalIsOwnerForProjectBySlugBody](docs/InternalIsOwnerForProjectBySlugBody.md) + - [sh.ory.client-kotlin-multiplatform.models.InternalIsOwnerForProjectBySlugResponse](docs/InternalIsOwnerForProjectBySlugResponse.md) + - [sh.ory.client-kotlin-multiplatform.models.IntrospectedOAuth2Token](docs/IntrospectedOAuth2Token.md) + - [sh.ory.client-kotlin-multiplatform.models.Invoice](docs/Invoice.md) + - [sh.ory.client-kotlin-multiplatform.models.InvoiceDataV1](docs/InvoiceDataV1.md) + - [sh.ory.client-kotlin-multiplatform.models.IsOwnerForProjectBySlug](docs/IsOwnerForProjectBySlug.md) + - [sh.ory.client-kotlin-multiplatform.models.JsonPatch](docs/JsonPatch.md) + - [sh.ory.client-kotlin-multiplatform.models.JsonWebKey](docs/JsonWebKey.md) + - [sh.ory.client-kotlin-multiplatform.models.JsonWebKeySet](docs/JsonWebKeySet.md) + - [sh.ory.client-kotlin-multiplatform.models.KetoNamespace](docs/KetoNamespace.md) + - [sh.ory.client-kotlin-multiplatform.models.LineItemV1](docs/LineItemV1.md) + - [sh.ory.client-kotlin-multiplatform.models.ListEventStreams](docs/ListEventStreams.md) + - [sh.ory.client-kotlin-multiplatform.models.ListInvoicesResponse](docs/ListInvoicesResponse.md) + - [sh.ory.client-kotlin-multiplatform.models.ListOrganizationsResponse](docs/ListOrganizationsResponse.md) + - [sh.ory.client-kotlin-multiplatform.models.ListWorkspaceProjects](docs/ListWorkspaceProjects.md) + - [sh.ory.client-kotlin-multiplatform.models.ListWorkspaces](docs/ListWorkspaces.md) + - [sh.ory.client-kotlin-multiplatform.models.LoginFlow](docs/LoginFlow.md) + - [sh.ory.client-kotlin-multiplatform.models.LoginFlowState](docs/LoginFlowState.md) + - [sh.ory.client-kotlin-multiplatform.models.LogoutFlow](docs/LogoutFlow.md) + - [sh.ory.client-kotlin-multiplatform.models.ManagedIdentitySchema](docs/ManagedIdentitySchema.md) + - [sh.ory.client-kotlin-multiplatform.models.ManagedIdentitySchemaValidationResult](docs/ManagedIdentitySchemaValidationResult.md) + - [sh.ory.client-kotlin-multiplatform.models.MemberInvite](docs/MemberInvite.md) + - [sh.ory.client-kotlin-multiplatform.models.Message](docs/Message.md) + - [sh.ory.client-kotlin-multiplatform.models.MessageDispatch](docs/MessageDispatch.md) + - [sh.ory.client-kotlin-multiplatform.models.MetricsDatapoint](docs/MetricsDatapoint.md) + - [sh.ory.client-kotlin-multiplatform.models.Money](docs/Money.md) + - [sh.ory.client-kotlin-multiplatform.models.Namespace](docs/Namespace.md) + - [sh.ory.client-kotlin-multiplatform.models.NeedsPrivilegedSessionError](docs/NeedsPrivilegedSessionError.md) + - [sh.ory.client-kotlin-multiplatform.models.NormalizedProject](docs/NormalizedProject.md) + - [sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevision](docs/NormalizedProjectRevision.md) + - [sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionCourierChannel](docs/NormalizedProjectRevisionCourierChannel.md) + - [sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionHook](docs/NormalizedProjectRevisionHook.md) + - [sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionIdentitySchema](docs/NormalizedProjectRevisionIdentitySchema.md) + - [sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionThirdPartyProvider](docs/NormalizedProjectRevisionThirdPartyProvider.md) + - [sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionTokenizerTemplate](docs/NormalizedProjectRevisionTokenizerTemplate.md) + - [sh.ory.client-kotlin-multiplatform.models.OAuth2Client](docs/OAuth2Client.md) + - [sh.ory.client-kotlin-multiplatform.models.OAuth2ClientTokenLifespans](docs/OAuth2ClientTokenLifespans.md) + - [sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentRequest](docs/OAuth2ConsentRequest.md) + - [sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentRequestOpenIDConnectContext](docs/OAuth2ConsentRequestOpenIDConnectContext.md) + - [sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentSession](docs/OAuth2ConsentSession.md) + - [sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentSessionExpiresAt](docs/OAuth2ConsentSessionExpiresAt.md) + - [sh.ory.client-kotlin-multiplatform.models.OAuth2LoginRequest](docs/OAuth2LoginRequest.md) + - [sh.ory.client-kotlin-multiplatform.models.OAuth2LogoutRequest](docs/OAuth2LogoutRequest.md) + - [sh.ory.client-kotlin-multiplatform.models.OAuth2RedirectTo](docs/OAuth2RedirectTo.md) + - [sh.ory.client-kotlin-multiplatform.models.OAuth2TokenExchange](docs/OAuth2TokenExchange.md) + - [sh.ory.client-kotlin-multiplatform.models.OidcConfiguration](docs/OidcConfiguration.md) + - [sh.ory.client-kotlin-multiplatform.models.OidcUserInfo](docs/OidcUserInfo.md) + - [sh.ory.client-kotlin-multiplatform.models.Organization](docs/Organization.md) + - [sh.ory.client-kotlin-multiplatform.models.OrganizationBody](docs/OrganizationBody.md) + - [sh.ory.client-kotlin-multiplatform.models.Pagination](docs/Pagination.md) + - [sh.ory.client-kotlin-multiplatform.models.PaginationHeaders](docs/PaginationHeaders.md) + - [sh.ory.client-kotlin-multiplatform.models.ParseError](docs/ParseError.md) + - [sh.ory.client-kotlin-multiplatform.models.PatchIdentitiesBody](docs/PatchIdentitiesBody.md) + - [sh.ory.client-kotlin-multiplatform.models.PerformNativeLogoutBody](docs/PerformNativeLogoutBody.md) + - [sh.ory.client-kotlin-multiplatform.models.PermissionsOnWorkspace](docs/PermissionsOnWorkspace.md) + - [sh.ory.client-kotlin-multiplatform.models.Plan](docs/Plan.md) + - [sh.ory.client-kotlin-multiplatform.models.PlanDetails](docs/PlanDetails.md) + - [sh.ory.client-kotlin-multiplatform.models.PostCheckPermissionBody](docs/PostCheckPermissionBody.md) + - [sh.ory.client-kotlin-multiplatform.models.PostCheckPermissionOrErrorBody](docs/PostCheckPermissionOrErrorBody.md) + - [sh.ory.client-kotlin-multiplatform.models.Project](docs/Project.md) + - [sh.ory.client-kotlin-multiplatform.models.ProjectApiKey](docs/ProjectApiKey.md) + - [sh.ory.client-kotlin-multiplatform.models.ProjectBranding](docs/ProjectBranding.md) + - [sh.ory.client-kotlin-multiplatform.models.ProjectBrandingColors](docs/ProjectBrandingColors.md) + - [sh.ory.client-kotlin-multiplatform.models.ProjectBrandingTheme](docs/ProjectBrandingTheme.md) + - [sh.ory.client-kotlin-multiplatform.models.ProjectCors](docs/ProjectCors.md) + - [sh.ory.client-kotlin-multiplatform.models.ProjectEventsDatapoint](docs/ProjectEventsDatapoint.md) + - [sh.ory.client-kotlin-multiplatform.models.ProjectHost](docs/ProjectHost.md) + - [sh.ory.client-kotlin-multiplatform.models.ProjectMember](docs/ProjectMember.md) + - [sh.ory.client-kotlin-multiplatform.models.ProjectMetadata](docs/ProjectMetadata.md) + - [sh.ory.client-kotlin-multiplatform.models.ProjectServiceIdentity](docs/ProjectServiceIdentity.md) + - [sh.ory.client-kotlin-multiplatform.models.ProjectServiceOAuth2](docs/ProjectServiceOAuth2.md) + - [sh.ory.client-kotlin-multiplatform.models.ProjectServicePermission](docs/ProjectServicePermission.md) + - [sh.ory.client-kotlin-multiplatform.models.ProjectServices](docs/ProjectServices.md) + - [sh.ory.client-kotlin-multiplatform.models.QuotaUsage](docs/QuotaUsage.md) + - [sh.ory.client-kotlin-multiplatform.models.RFC6749ErrorJson](docs/RFC6749ErrorJson.md) + - [sh.ory.client-kotlin-multiplatform.models.RecoveryCodeForIdentity](docs/RecoveryCodeForIdentity.md) + - [sh.ory.client-kotlin-multiplatform.models.RecoveryFlow](docs/RecoveryFlow.md) + - [sh.ory.client-kotlin-multiplatform.models.RecoveryFlowState](docs/RecoveryFlowState.md) + - [sh.ory.client-kotlin-multiplatform.models.RecoveryIdentityAddress](docs/RecoveryIdentityAddress.md) + - [sh.ory.client-kotlin-multiplatform.models.RecoveryLinkForIdentity](docs/RecoveryLinkForIdentity.md) + - [sh.ory.client-kotlin-multiplatform.models.RegistrationFlow](docs/RegistrationFlow.md) + - [sh.ory.client-kotlin-multiplatform.models.RegistrationFlowState](docs/RegistrationFlowState.md) + - [sh.ory.client-kotlin-multiplatform.models.RejectOAuth2Request](docs/RejectOAuth2Request.md) + - [sh.ory.client-kotlin-multiplatform.models.RelationQuery](docs/RelationQuery.md) + - [sh.ory.client-kotlin-multiplatform.models.Relationship](docs/Relationship.md) + - [sh.ory.client-kotlin-multiplatform.models.RelationshipNamespaces](docs/RelationshipNamespaces.md) + - [sh.ory.client-kotlin-multiplatform.models.RelationshipPatch](docs/RelationshipPatch.md) + - [sh.ory.client-kotlin-multiplatform.models.Relationships](docs/Relationships.md) + - [sh.ory.client-kotlin-multiplatform.models.SchemaPatch](docs/SchemaPatch.md) + - [sh.ory.client-kotlin-multiplatform.models.SelfServiceFlowExpiredError](docs/SelfServiceFlowExpiredError.md) + - [sh.ory.client-kotlin-multiplatform.models.Session](docs/Session.md) + - [sh.ory.client-kotlin-multiplatform.models.SessionActivityDatapoint](docs/SessionActivityDatapoint.md) + - [sh.ory.client-kotlin-multiplatform.models.SessionAuthenticationMethod](docs/SessionAuthenticationMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.SessionDevice](docs/SessionDevice.md) + - [sh.ory.client-kotlin-multiplatform.models.SetActiveProjectInConsoleBody](docs/SetActiveProjectInConsoleBody.md) + - [sh.ory.client-kotlin-multiplatform.models.SetCustomDomainBody](docs/SetCustomDomainBody.md) + - [sh.ory.client-kotlin-multiplatform.models.SetEventStreamBody](docs/SetEventStreamBody.md) + - [sh.ory.client-kotlin-multiplatform.models.SetProject](docs/SetProject.md) + - [sh.ory.client-kotlin-multiplatform.models.SetProjectBrandingThemeBody](docs/SetProjectBrandingThemeBody.md) + - [sh.ory.client-kotlin-multiplatform.models.SettingsFlow](docs/SettingsFlow.md) + - [sh.ory.client-kotlin-multiplatform.models.SettingsFlowState](docs/SettingsFlowState.md) + - [sh.ory.client-kotlin-multiplatform.models.SourcePosition](docs/SourcePosition.md) + - [sh.ory.client-kotlin-multiplatform.models.SubjectSet](docs/SubjectSet.md) + - [sh.ory.client-kotlin-multiplatform.models.Subscription](docs/Subscription.md) + - [sh.ory.client-kotlin-multiplatform.models.SuccessfulCodeExchangeResponse](docs/SuccessfulCodeExchangeResponse.md) + - [sh.ory.client-kotlin-multiplatform.models.SuccessfulNativeLogin](docs/SuccessfulNativeLogin.md) + - [sh.ory.client-kotlin-multiplatform.models.SuccessfulNativeRegistration](docs/SuccessfulNativeRegistration.md) + - [sh.ory.client-kotlin-multiplatform.models.SuccessfulProjectUpdate](docs/SuccessfulProjectUpdate.md) + - [sh.ory.client-kotlin-multiplatform.models.TaxLineItem](docs/TaxLineItem.md) + - [sh.ory.client-kotlin-multiplatform.models.TimeInterval](docs/TimeInterval.md) + - [sh.ory.client-kotlin-multiplatform.models.TokenPagination](docs/TokenPagination.md) + - [sh.ory.client-kotlin-multiplatform.models.TokenPaginationHeaders](docs/TokenPaginationHeaders.md) + - [sh.ory.client-kotlin-multiplatform.models.TokenPaginationRequestParameters](docs/TokenPaginationRequestParameters.md) + - [sh.ory.client-kotlin-multiplatform.models.TokenPaginationResponseHeaders](docs/TokenPaginationResponseHeaders.md) + - [sh.ory.client-kotlin-multiplatform.models.TrustOAuth2JwtGrantIssuer](docs/TrustOAuth2JwtGrantIssuer.md) + - [sh.ory.client-kotlin-multiplatform.models.TrustedOAuth2JwtGrantIssuer](docs/TrustedOAuth2JwtGrantIssuer.md) + - [sh.ory.client-kotlin-multiplatform.models.TrustedOAuth2JwtGrantJsonWebKey](docs/TrustedOAuth2JwtGrantJsonWebKey.md) + - [sh.ory.client-kotlin-multiplatform.models.UiContainer](docs/UiContainer.md) + - [sh.ory.client-kotlin-multiplatform.models.UiNode](docs/UiNode.md) + - [sh.ory.client-kotlin-multiplatform.models.UiNodeAnchorAttributes](docs/UiNodeAnchorAttributes.md) + - [sh.ory.client-kotlin-multiplatform.models.UiNodeAttributes](docs/UiNodeAttributes.md) + - [sh.ory.client-kotlin-multiplatform.models.UiNodeImageAttributes](docs/UiNodeImageAttributes.md) + - [sh.ory.client-kotlin-multiplatform.models.UiNodeInputAttributes](docs/UiNodeInputAttributes.md) + - [sh.ory.client-kotlin-multiplatform.models.UiNodeMeta](docs/UiNodeMeta.md) + - [sh.ory.client-kotlin-multiplatform.models.UiNodeScriptAttributes](docs/UiNodeScriptAttributes.md) + - [sh.ory.client-kotlin-multiplatform.models.UiNodeTextAttributes](docs/UiNodeTextAttributes.md) + - [sh.ory.client-kotlin-multiplatform.models.UiText](docs/UiText.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateIdentityBody](docs/UpdateIdentityBody.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowBody](docs/UpdateLoginFlowBody.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithCodeMethod](docs/UpdateLoginFlowWithCodeMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithIdentifierFirstMethod](docs/UpdateLoginFlowWithIdentifierFirstMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithLookupSecretMethod](docs/UpdateLoginFlowWithLookupSecretMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithOidcMethod](docs/UpdateLoginFlowWithOidcMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithPasskeyMethod](docs/UpdateLoginFlowWithPasskeyMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithPasswordMethod](docs/UpdateLoginFlowWithPasswordMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithTotpMethod](docs/UpdateLoginFlowWithTotpMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithWebAuthnMethod](docs/UpdateLoginFlowWithWebAuthnMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateRecoveryFlowBody](docs/UpdateRecoveryFlowBody.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateRecoveryFlowWithCodeMethod](docs/UpdateRecoveryFlowWithCodeMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateRecoveryFlowWithLinkMethod](docs/UpdateRecoveryFlowWithLinkMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowBody](docs/UpdateRegistrationFlowBody.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithCodeMethod](docs/UpdateRegistrationFlowWithCodeMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithOidcMethod](docs/UpdateRegistrationFlowWithOidcMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithPasskeyMethod](docs/UpdateRegistrationFlowWithPasskeyMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithPasswordMethod](docs/UpdateRegistrationFlowWithPasswordMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithProfileMethod](docs/UpdateRegistrationFlowWithProfileMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithWebAuthnMethod](docs/UpdateRegistrationFlowWithWebAuthnMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowBody](docs/UpdateSettingsFlowBody.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithLookupMethod](docs/UpdateSettingsFlowWithLookupMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithOidcMethod](docs/UpdateSettingsFlowWithOidcMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithPasskeyMethod](docs/UpdateSettingsFlowWithPasskeyMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithPasswordMethod](docs/UpdateSettingsFlowWithPasswordMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithProfileMethod](docs/UpdateSettingsFlowWithProfileMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithTotpMethod](docs/UpdateSettingsFlowWithTotpMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithWebAuthnMethod](docs/UpdateSettingsFlowWithWebAuthnMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateSubscriptionBody](docs/UpdateSubscriptionBody.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateVerificationFlowBody](docs/UpdateVerificationFlowBody.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateVerificationFlowWithCodeMethod](docs/UpdateVerificationFlowWithCodeMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateVerificationFlowWithLinkMethod](docs/UpdateVerificationFlowWithLinkMethod.md) + - [sh.ory.client-kotlin-multiplatform.models.UpdateWorkspaceBody](docs/UpdateWorkspaceBody.md) + - [sh.ory.client-kotlin-multiplatform.models.Usage](docs/Usage.md) + - [sh.ory.client-kotlin-multiplatform.models.VerifiableCredentialPrimingResponse](docs/VerifiableCredentialPrimingResponse.md) + - [sh.ory.client-kotlin-multiplatform.models.VerifiableCredentialProof](docs/VerifiableCredentialProof.md) + - [sh.ory.client-kotlin-multiplatform.models.VerifiableCredentialResponse](docs/VerifiableCredentialResponse.md) + - [sh.ory.client-kotlin-multiplatform.models.VerifiableIdentityAddress](docs/VerifiableIdentityAddress.md) + - [sh.ory.client-kotlin-multiplatform.models.VerificationFlow](docs/VerificationFlow.md) + - [sh.ory.client-kotlin-multiplatform.models.VerificationFlowState](docs/VerificationFlowState.md) + - [sh.ory.client-kotlin-multiplatform.models.Version](docs/Version.md) + - [sh.ory.client-kotlin-multiplatform.models.Warning](docs/Warning.md) + - [sh.ory.client-kotlin-multiplatform.models.Workspace](docs/Workspace.md) + - [sh.ory.client-kotlin-multiplatform.models.WorkspaceApiKey](docs/WorkspaceApiKey.md) + + + +## Documentation for Authorization + + +Authentication schemes defined for the API: + +### basic + +- **Type**: HTTP basic authentication + + +### bearer + +- **Type**: HTTP Bearer Token authentication + + +### oauth2 + +- **Type**: OAuth +- **Flow**: accessCode +- **Authorization URL**: https://hydra.demo.ory.sh/oauth2/auth +- **Scopes**: + - offline: A scope required when requesting refresh tokens (alias for `offline_access`) + - offline_access: A scope required when requesting refresh tokens + - openid: Request an OpenID Connect ID Token + + +### oryAccessToken + +- **Type**: HTTP Bearer Token authentication + + +### oryWorkspaceApiKey + +- **Type**: HTTP Bearer Token authentication + + + +## Author + +support@ory.sh diff --git a/clients/client/kotlin-multiplatform/build.gradle.kts b/clients/client/kotlin-multiplatform/build.gradle.kts new file mode 100644 index 00000000000..7fdf9558181 --- /dev/null +++ b/clients/client/kotlin-multiplatform/build.gradle.kts @@ -0,0 +1,101 @@ +import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget + +plugins { + kotlin("multiplatform") version "2.0.21" // kotlin_version + kotlin("plugin.serialization") version "2.0.21" // kotlin_version +} + +group = "org.openapitools" +version = "v1.15.11" + +val kotlin_version = "2.0.21" +val coroutines_version = "1.9.0" +val serialization_version = "1.7.3" +val ktor_version = "3.0.1" + +repositories { + mavenCentral() +} + +kotlin { + jvm() + iosX64() + iosArm64() + iosSimulatorArm64() + js { + browser() + nodejs() + } + + sourceSets { + commonMain { + dependencies { + implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version") + implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:$serialization_version") + + api("io.ktor:ktor-client-core:$ktor_version") + api("io.ktor:ktor-client-serialization:$ktor_version") + api("io.ktor:ktor-client-content-negotiation:$ktor_version") + api("io.ktor:ktor-serialization-kotlinx-json:$ktor_version") + + api("org.jetbrains.kotlinx:kotlinx-datetime:0.4.1") + } + } + + commonTest { + dependencies { + implementation(kotlin("test")) + implementation("io.ktor:ktor-client-mock:$ktor_version") + } + } + + jvmMain { + dependencies { + implementation(kotlin("stdlib-jdk7")) + implementation("io.ktor:ktor-client-cio-jvm:$ktor_version") + } + } + + jvmTest { + dependencies { + implementation(kotlin("test-junit")) + } + } + + iosMain { + dependencies { + api("io.ktor:ktor-client-ios:$ktor_version") + } + } + + jsMain { + dependencies { + api("io.ktor:ktor-client-js:$ktor_version") + } + } + + all { + languageSettings.apply { + optIn("kotlin.Experimental") + } + } + } +} + +tasks { + register("iosTest") { + val device = project.findProperty("device")?.toString() ?: "iPhone 8" + dependsOn("linkDebugTestIosX64") + group = JavaBasePlugin.VERIFICATION_GROUP + description = "Execute unit tests on ${device} simulator" + doLast { + val binary = kotlin.targets.getByName("iosX64").binaries.getTest("DEBUG") + exec { + commandLine("xcrun", "simctl", "spawn", device, binary.outputFile) + } + } + } + register("test") { + dependsOn("allTests") + } +} diff --git a/clients/client/kotlin-multiplatform/build/kotlin/compileKotlinJs/cacheable/dirty-sources.txt b/clients/client/kotlin-multiplatform/build/kotlin/compileKotlinJs/cacheable/dirty-sources.txt new file mode 100644 index 00000000000..15bab3096d8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/build/kotlin/compileKotlinJs/cacheable/dirty-sources.txt @@ -0,0 +1,296 @@ +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentials.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Money.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Usage.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateCustomDomainBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRecoveryCodeForIdentityBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorBrowserLocationChangeRequired.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/KetoNamespace.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipNamespaces.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/IdentityApi.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsPassword.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/FrontendApi.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNode.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateIdentityBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowWithLinkMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServicePermission.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsPasswordConfig.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/FlowError.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Session.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2ConsentRequest.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RejectOAuth2Request.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevision.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetSessionActivityResponse.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchCheckPermissionResult.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CredentialSupportedDraft00.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionCourierChannel.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulNativeRegistration.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Plan.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectMetadata.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Namespace.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowWithLinkMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AccountExperienceConfiguration.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateIdentityBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LineItemV1.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeMeta.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/QuotaUsage.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Project.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Subscription.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SchemaPatch.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/EmailTemplateData.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateInviteResponse.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithLookupSecretMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AuthenticatorAssuranceLevel.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulProjectUpdate.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSubscriptionBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustedOAuth2JwtGrantJsonWebKey.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionHook.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRecoveryUi.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcConfigProvider.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericError.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributesCountDatapoint.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckOplSyntaxResult.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OrganizationBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LoginFlowState.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableIdentityAddress.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithCodeMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/CourierApi.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckPermissionResult.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListInvoicesResponse.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryFlowState.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentRequest.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithPasswordMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithVerificationUi.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentitySchemaContainer.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetManagedIdentitySchemaLocation.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/OctetByteArray.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeAttributes.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateSubscriptionCommon.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListWorkspaces.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SelfServiceFlowExpiredError.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckPermissionResultWithError.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectEventsDatapoint.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PermissionsOnWorkspace.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorGeneric.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/Bytes.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeScriptAttributes.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryLinkForIdentity.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectCors.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithPasswordMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsCodeAddress.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PostCheckPermissionBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeImageAttributes.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetProjectBrandingThemeBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/RequestMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionIdentitySchema.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateEventStreamBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithOidcMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiText.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/ApiClient.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/MemberInvite.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSettingsUiFlow.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/DeleteMySessionsCount.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalGetProjectBrandingBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsAXWelcomeScreenEnabledForProjectBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/Base64ByteArray.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerificationFlowState.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServiceOAuth2.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithTotpMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerificationFlow.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithLookupMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ExpandedPermissionTree.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectMetricsResponse.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CourierMessageType.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustedOAuth2JwtGrantIssuer.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithWebAuthnMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/WorkspaceApi.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/OAuth2Api.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonPatch.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentRequestOpenIDConnectContext.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/ApiKeyAuth.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithIdentifierFirstMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceSubscriptionBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidc.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsOidc.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetActiveProjectInConsoleBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/OAuth.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PatchIdentitiesBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/PartConfig.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetMetricsEventTypesResponse.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Organization.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialPrimingResponse.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/HttpBasicAuth.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectMemberInviteBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Attribute.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithPasskeyMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonWebKeySet.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Workspace.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentSession.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsOwnerForProjectBySlugResponse.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithProfileMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeInputAttributes.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSettingsUi.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectBranding.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectEventsResponse.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ConsistencyRequestParameters.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NeedsPrivilegedSessionError.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LoginFlow.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRecoveryUiFlow.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PostCheckPermissionOrErrorBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulCodeExchangeResponse.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServiceIdentity.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationQuery.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2LoginRequest.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RegistrationFlowState.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentSessionExpiresAt.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithOidcMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/OidcApi.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchCheckPermissionBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/WorkspaceApiKey.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AddProjectToWorkspaceBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PerformNativeLogoutBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithPasskeyMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/HttpBearerAuth.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetCustomDomainBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityPatchResponse.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TaxLineItem.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectHost.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithProfileMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionAuthenticationMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWith.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithCodeMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsCode.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithVerificationUiFlow.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulNativeLogin.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceMemberInviteBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ParseError.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetProject.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2TokenExchange.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectMember.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Identity.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithTotpMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchPatchIdentitiesResponse.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectNormalizedPayload.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CourierMessageStatus.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/ProjectApi.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Message.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/EmailTemplateDataBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBranding.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2Client.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListOrganizationsResponse.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SourcePosition.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRelationshipBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateWorkspaceBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TimeInterval.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/JwkApi.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ActiveProjectInConsole.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithWebAuthnMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Invoice.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProject.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Relationships.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorOAuth2.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/HealthStatus.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialProof.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcConfig.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CloudAccount.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetVersion200Response.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeTextAttributes.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustOAuth2JwtGrantIssuer.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectApiKeyRequest.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PlanDetails.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetOrganizationResponse.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryCodeForIdentity.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/EventsApi.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ManagedIdentitySchemaValidationResult.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AccountExperienceThemeVariables.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SettingsFlowState.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentials.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPagination.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsOwnerForProjectBySlugBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Warning.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2LogoutRequest.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributeFilter.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/HealthNotReadyStatus.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Version.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CustomDomain.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2ConsentRequestSession.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SubjectSet.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Pagination.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RFC6749ErrorJson.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListWorkspaceProjects.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithWebAuthnMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetMetricsEventAttributesResponse.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Relationship.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryFlow.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowWithCodeMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonWebKey.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRedirectBrowserTo.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationRequestParameters.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateVerifiableCredentialRequestBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectEventsBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetEventStreamBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowWithCodeMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/RequestConfig.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRecoveryLinkForIdentityBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ManagedIdentitySchema.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetAttributesCountResponse.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/RelationshipApi.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/Authentication.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2RedirectTo.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationHeaders.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorAuthenticatorAssuranceLevelNotSatisfied.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialResponse.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSetOrySessionToken.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RegistrationFlow.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingColors.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BillingPeriodBucket.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsPassword.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectApiKey.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListEventStreams.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ClientTokenLifespans.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsOidcProvider.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/WellknownApi.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2LoginRequest.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LogoutFlow.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionTokenizerTemplate.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/EventStream.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/PermissionApi.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingTheme.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionThirdPartyProvider.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServices.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/MetadataApi.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithOidcMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateJsonWebKeySet.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorFlowReplaced.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithPasswordMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OidcConfiguration.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryIdentityAddress.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceApiKeyBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/MessageDispatch.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericErrorContent.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IntrospectedOAuth2Token.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityPatch.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OidcUserInfo.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiContainer.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionDevice.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/ApiAbstractions.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeAnchorAttributes.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericUsage.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateSubscriptionBody.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithPasskeyMethod.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InvoiceDataV1.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/HttpResponse.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationResponseHeaders.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SettingsFlow.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentitySchemaPreset.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionActivityDatapoint.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/MetricsDatapoint.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PaginationHeaders.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipPatch.kt +/project/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IsOwnerForProjectBySlug.kt \ No newline at end of file diff --git a/clients/client/kotlin-multiplatform/build/kotlin/compileKotlinJs/local-state/build-history.bin b/clients/client/kotlin-multiplatform/build/kotlin/compileKotlinJs/local-state/build-history.bin new file mode 100644 index 00000000000..37ad0407886 Binary files /dev/null and b/clients/client/kotlin-multiplatform/build/kotlin/compileKotlinJs/local-state/build-history.bin differ diff --git a/clients/client/kotlin-multiplatform/docs/AcceptOAuth2ConsentRequest.md b/clients/client/kotlin-multiplatform/docs/AcceptOAuth2ConsentRequest.md new file mode 100644 index 00000000000..e7c5791d1d1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/AcceptOAuth2ConsentRequest.md @@ -0,0 +1,16 @@ + +# AcceptOAuth2ConsentRequest + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **context** | **kotlin.String** | | [optional] | +| **grantAccessTokenAudience** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **grantScope** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **handledAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | +| **remember** | **kotlin.Boolean** | Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same client asks the same user for the same, or a subset of, scope. | [optional] | +| **rememberFor** | **kotlin.Long** | RememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the authorization will be remembered indefinitely. | [optional] | +| **session** | [**AcceptOAuth2ConsentRequestSession**](AcceptOAuth2ConsentRequestSession.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/AcceptOAuth2ConsentRequestSession.md b/clients/client/kotlin-multiplatform/docs/AcceptOAuth2ConsentRequestSession.md new file mode 100644 index 00000000000..5468aa50118 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/AcceptOAuth2ConsentRequestSession.md @@ -0,0 +1,11 @@ + +# AcceptOAuth2ConsentRequestSession + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **accessToken** | [**kotlin.Any**](.md) | AccessToken sets session data for the access and refresh token, as well as any future tokens issued by the refresh grant. Keep in mind that this data will be available to anyone performing OAuth 2.0 Challenge Introspection. If only your services can perform OAuth 2.0 Challenge Introspection, this is usually fine. But if third parties can access that endpoint as well, sensitive data from the session might be exposed to them. Use with care! | [optional] | +| **idToken** | [**kotlin.Any**](.md) | IDToken sets session data for the OpenID Connect ID token. Keep in mind that the session'id payloads are readable by anyone that has access to the ID Challenge. Use with care! | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/AcceptOAuth2LoginRequest.md b/clients/client/kotlin-multiplatform/docs/AcceptOAuth2LoginRequest.md new file mode 100644 index 00000000000..1738c54911c --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/AcceptOAuth2LoginRequest.md @@ -0,0 +1,18 @@ + +# AcceptOAuth2LoginRequest + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **subject** | **kotlin.String** | Subject is the user ID of the end-user that authenticated. | | +| **acr** | **kotlin.String** | ACR sets the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication. | [optional] | +| **amr** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **context** | **kotlin.String** | | [optional] | +| **extendSessionLifespan** | **kotlin.Boolean** | Extend OAuth2 authentication session lifespan If set to `true`, the OAuth2 authentication cookie lifespan is extended. This is for example useful if you want the user to be able to use `prompt=none` continuously. This value can only be set to `true` if the user has an authentication, which is the case if the `skip` value is `true`. | [optional] | +| **forceSubjectIdentifier** | **kotlin.String** | ForceSubjectIdentifier forces the \"pairwise\" user ID of the end-user that authenticated. The \"pairwise\" user ID refers to the (Pairwise Identifier Algorithm)[http://openid.net/specs/openid-connect-core-1_0.html#PairwiseAlg] of the OpenID Connect specification. It allows you to set an obfuscated subject (\"user\") identifier that is unique to the client. Please note that this changes the user ID on endpoint /userinfo and sub claim of the ID Token. It does not change the sub claim in the OAuth 2.0 Introspection. Per default, ORY Hydra handles this value with its own algorithm. In case you want to set this yourself you can use this field. Please note that setting this field has no effect if `pairwise` is not configured in ORY Hydra or the OAuth 2.0 Client does not expect a pairwise identifier (set via `subject_type` key in the client's configuration). Please also be aware that ORY Hydra is unable to properly compute this value during authentication. This implies that you have to compute this value on every authentication process (probably depending on the client ID or some other unique value). If you fail to compute the proper value, then authentication processes which have id_token_hint set might fail. | [optional] | +| **identityProviderSessionId** | **kotlin.String** | IdentityProviderSessionID is the session ID of the end-user that authenticated. If specified, we will use this value to propagate the logout. | [optional] | +| **remember** | **kotlin.Boolean** | Remember, if set to true, tells ORY Hydra to remember this user by telling the user agent (browser) to store a cookie with authentication data. If the same user performs another OAuth 2.0 Authorization Request, he/she will not be asked to log in again. | [optional] | +| **rememberFor** | **kotlin.Long** | RememberFor sets how long the authentication should be remembered for in seconds. If set to `0`, the authorization will be remembered for the duration of the browser session (using a session cookie). | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/AccountExperienceConfiguration.md b/clients/client/kotlin-multiplatform/docs/AccountExperienceConfiguration.md new file mode 100644 index 00000000000..8298370ce67 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/AccountExperienceConfiguration.md @@ -0,0 +1,19 @@ + +# AccountExperienceConfiguration + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **accountExperienceThemeStylesheet** | **kotlin.String** | | [optional] | +| **faviconType** | **kotlin.String** | | [optional] | +| **faviconUrl** | **kotlin.String** | | [optional] | +| **kratosSelfserviceDefaultBrowserReturnUrl** | **kotlin.String** | | [optional] | +| **kratosSelfserviceFlowsRecoveryEnabled** | **kotlin.Boolean** | | [optional] | +| **kratosSelfserviceFlowsRegistrationEnabled** | **kotlin.Boolean** | | [optional] | +| **kratosSelfserviceFlowsVerificationEnabled** | **kotlin.Boolean** | | [optional] | +| **logoUrl** | **kotlin.String** | | [optional] | +| **name** | **kotlin.String** | | [optional] | +| **organizationMap** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/AccountExperienceThemeVariables.md b/clients/client/kotlin-multiplatform/docs/AccountExperienceThemeVariables.md new file mode 100644 index 00000000000..78de0927791 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/AccountExperienceThemeVariables.md @@ -0,0 +1,100 @@ + +# AccountExperienceThemeVariables + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **accent** | **kotlin.String** | | [optional] | +| **bgDefault** | **kotlin.String** | | [optional] | +| **borderRadiusBranding** | **kotlin.String** | | [optional] | +| **borderRadiusButtons** | **kotlin.String** | | [optional] | +| **borderRadiusCards** | **kotlin.String** | | [optional] | +| **borderRadiusForms** | **kotlin.String** | | [optional] | +| **borderRadiusGeneral** | **kotlin.String** | | [optional] | +| **buttonPrimaryBgDefault** | **kotlin.String** | | [optional] | +| **buttonPrimaryBgDisabled** | **kotlin.String** | | [optional] | +| **buttonPrimaryBgHover** | **kotlin.String** | | [optional] | +| **buttonPrimaryBorderDefault** | **kotlin.String** | | [optional] | +| **buttonPrimaryBorderDisabled** | **kotlin.String** | | [optional] | +| **buttonPrimaryBorderHover** | **kotlin.String** | | [optional] | +| **buttonPrimaryFgDefault** | **kotlin.String** | | [optional] | +| **buttonPrimaryFgDisabled** | **kotlin.String** | | [optional] | +| **buttonPrimaryFgHover** | **kotlin.String** | | [optional] | +| **buttonSecondaryBgDefault** | **kotlin.String** | | [optional] | +| **buttonSecondaryBgDisabled** | **kotlin.String** | | [optional] | +| **buttonSecondaryBgHover** | **kotlin.String** | | [optional] | +| **buttonSecondaryBorderDefault** | **kotlin.String** | | [optional] | +| **buttonSecondaryBorderDisabled** | **kotlin.String** | | [optional] | +| **buttonSecondaryBorderHover** | **kotlin.String** | | [optional] | +| **buttonSecondaryFgDefault** | **kotlin.String** | | [optional] | +| **buttonSecondaryFgDisabled** | **kotlin.String** | | [optional] | +| **buttonSecondaryFgHover** | **kotlin.String** | | [optional] | +| **buttonSocialBgDefault** | **kotlin.String** | | [optional] | +| **buttonSocialBgDisabled** | **kotlin.String** | | [optional] | +| **buttonSocialBgHover** | **kotlin.String** | | [optional] | +| **buttonSocialBgProvider** | **kotlin.String** | | [optional] | +| **buttonSocialBorderDefault** | **kotlin.String** | | [optional] | +| **buttonSocialBorderDisabled** | **kotlin.String** | | [optional] | +| **buttonSocialBorderHover** | **kotlin.String** | | [optional] | +| **buttonSocialBorderProvider** | **kotlin.String** | | [optional] | +| **buttonSocialFgDefault** | **kotlin.String** | | [optional] | +| **buttonSocialFgDisabled** | **kotlin.String** | | [optional] | +| **buttonSocialFgHover** | **kotlin.String** | | [optional] | +| **buttonSocialFgProvider** | **kotlin.String** | | [optional] | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | +| **dialogBgDefault** | **kotlin.String** | | [optional] | +| **dialogBgSubtle** | **kotlin.String** | | [optional] | +| **dialogBorderDefault** | **kotlin.String** | | [optional] | +| **dialogFgDefault** | **kotlin.String** | | [optional] | +| **dialogFgMute** | **kotlin.String** | | [optional] | +| **dialogFgSubtle** | **kotlin.String** | | [optional] | +| **formsBgDefault** | **kotlin.String** | | [optional] | +| **formsBgDisabled** | **kotlin.String** | | [optional] | +| **formsBgHover** | **kotlin.String** | | [optional] | +| **formsBorderDefault** | **kotlin.String** | | [optional] | +| **formsBorderDisabled** | **kotlin.String** | | [optional] | +| **formsBorderError** | **kotlin.String** | | [optional] | +| **formsBorderFocus** | **kotlin.String** | | [optional] | +| **formsBorderHover** | **kotlin.String** | | [optional] | +| **formsBorderSuccess** | **kotlin.String** | | [optional] | +| **formsBorderWarn** | **kotlin.String** | | [optional] | +| **formsCheckboxBgChecked** | **kotlin.String** | | [optional] | +| **formsCheckboxBgDefault** | **kotlin.String** | | [optional] | +| **formsCheckboxBorderChecked** | **kotlin.String** | | [optional] | +| **formsCheckboxBorderDefault** | **kotlin.String** | | [optional] | +| **formsCheckboxFgChecked** | **kotlin.String** | | [optional] | +| **formsCheckboxFgDefault** | **kotlin.String** | | [optional] | +| **formsFgDefault** | **kotlin.String** | | [optional] | +| **formsFgError** | **kotlin.String** | | [optional] | +| **formsFgMute** | **kotlin.String** | | [optional] | +| **formsFgSubtle** | **kotlin.String** | | [optional] | +| **formsFgSuccess** | **kotlin.String** | | [optional] | +| **formsFgWarn** | **kotlin.String** | | [optional] | +| **formsRadioBgChecked** | **kotlin.String** | | [optional] | +| **formsRadioBgDefault** | **kotlin.String** | | [optional] | +| **formsRadioBorderChecked** | **kotlin.String** | | [optional] | +| **formsRadioBorderDefault** | **kotlin.String** | | [optional] | +| **formsRadioFgChecked** | **kotlin.String** | | [optional] | +| **formsRadioFgDefault** | **kotlin.String** | | [optional] | +| **formsToggleBgChecked** | **kotlin.String** | | [optional] | +| **formsToggleBgDefault** | **kotlin.String** | | [optional] | +| **formsToggleBorderChecked** | **kotlin.String** | | [optional] | +| **formsToggleBorderDefault** | **kotlin.String** | | [optional] | +| **formsToggleFgChecked** | **kotlin.String** | | [optional] | +| **formsToggleFgDefault** | **kotlin.String** | | [optional] | +| **id** | **kotlin.String** | | [optional] | +| **linksLinkDefault** | **kotlin.String** | | [optional] | +| **linksLinkDisabled** | **kotlin.String** | | [optional] | +| **linksLinkHover** | **kotlin.String** | | [optional] | +| **linksLinkInvertedDefault** | **kotlin.String** | | [optional] | +| **linksLinkInvertedHover** | **kotlin.String** | | [optional] | +| **linksLinkMuteDefault** | **kotlin.String** | | [optional] | +| **linksLinkMuteHover** | **kotlin.String** | | [optional] | +| **syntaxSyntax** | **kotlin.String** | | [optional] | +| **syntaxSyntaxKey** | **kotlin.String** | | [optional] | +| **syntaxSyntaxNum** | **kotlin.String** | | [optional] | +| **syntaxSyntaxValue** | **kotlin.String** | | [optional] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ActiveProjectInConsole.md b/clients/client/kotlin-multiplatform/docs/ActiveProjectInConsole.md new file mode 100644 index 00000000000..ae42dc0e462 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ActiveProjectInConsole.md @@ -0,0 +1,10 @@ + +# ActiveProjectInConsole + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **projectId** | **kotlin.String** | The Active Project ID format: uuid | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/AddProjectToWorkspaceBody.md b/clients/client/kotlin-multiplatform/docs/AddProjectToWorkspaceBody.md new file mode 100644 index 00000000000..7c870ccd836 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/AddProjectToWorkspaceBody.md @@ -0,0 +1,25 @@ + +# AddProjectToWorkspaceBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **environment** | [**inline**](#Environment) | The environment of the project in the workspace. Can be one of \"prod\" or \"dev\". Note that the number of projects in the \"prod\" environment is limited depending on the subscription. prod Production stage Staging dev Development | | +| **projectSubscription** | [**inline**](#ProjectSubscription) | The action to take with the project subscription. Can be one of \"migrate\", and \"ignore\". \"migrate\" will migrate the project subscription to the workspace. \"ignore\" will ignore the project subscription. migrate ProjectSubscriptionActionMigrate ProjectSubscriptionActionMigrate will migrate the project subscription to the workspace. ignore ProjectSubscriptionActionIgnore ProjectSubscriptionActionIgnore will ignore the project subscription. | | + + + +## Enum: environment +| Name | Value | +| ---- | ----- | +| environment | prod, stage, dev | + + + +## Enum: project_subscription +| Name | Value | +| ---- | ----- | +| projectSubscription | migrate, ignore | + + + diff --git a/clients/client/kotlin-multiplatform/docs/Attribute.md b/clients/client/kotlin-multiplatform/docs/Attribute.md new file mode 100644 index 00000000000..a7ad2fae975 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/Attribute.md @@ -0,0 +1,11 @@ + +# Attribute + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **key** | **kotlin.String** | | [optional] | +| **`value`** | **kotlin.String** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/AttributeFilter.md b/clients/client/kotlin-multiplatform/docs/AttributeFilter.md new file mode 100644 index 00000000000..2a4c2dca4b0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/AttributeFilter.md @@ -0,0 +1,19 @@ + +# AttributeFilter + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **attribute** | **kotlin.String** | | [optional] | +| **condition** | [**inline**](#Condition) | | [optional] | +| **`value`** | **kotlin.String** | | [optional] | + + + +## Enum: condition +| Name | Value | +| ---- | ----- | +| condition | equals, not_equals, contains, not_contains, regex, not_regex, set, not_set | + + + diff --git a/clients/client/kotlin-multiplatform/docs/AttributesCountDatapoint.md b/clients/client/kotlin-multiplatform/docs/AttributesCountDatapoint.md new file mode 100644 index 00000000000..b2eaf2de642 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/AttributesCountDatapoint.md @@ -0,0 +1,11 @@ + +# AttributesCountDatapoint + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **count** | **kotlin.Long** | Count of the attribute value for given key | | +| **name** | **kotlin.String** | Name of the attribute value for given key | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/AuthenticatorAssuranceLevel.md b/clients/client/kotlin-multiplatform/docs/AuthenticatorAssuranceLevel.md new file mode 100644 index 00000000000..395a4bdfad2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/AuthenticatorAssuranceLevel.md @@ -0,0 +1,16 @@ + +# AuthenticatorAssuranceLevel + +## Enum + + + * `aal0` (value: `"aal0"`) + + * `aal1` (value: `"aal1"`) + + * `aal2` (value: `"aal2"`) + + * `aal3` (value: `"aal3"`) + + + diff --git a/clients/client/kotlin-multiplatform/docs/BatchCheckPermissionBody.md b/clients/client/kotlin-multiplatform/docs/BatchCheckPermissionBody.md new file mode 100644 index 00000000000..f2660a365c4 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/BatchCheckPermissionBody.md @@ -0,0 +1,10 @@ + +# BatchCheckPermissionBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **tuples** | [**kotlin.collections.List<Relationship>**](Relationship.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/BatchCheckPermissionResult.md b/clients/client/kotlin-multiplatform/docs/BatchCheckPermissionResult.md new file mode 100644 index 00000000000..4436c3c4960 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/BatchCheckPermissionResult.md @@ -0,0 +1,10 @@ + +# BatchCheckPermissionResult + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **results** | [**kotlin.collections.List<CheckPermissionResultWithError>**](CheckPermissionResultWithError.md) | An array of check results. The order aligns with the input order. | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/BatchPatchIdentitiesResponse.md b/clients/client/kotlin-multiplatform/docs/BatchPatchIdentitiesResponse.md new file mode 100644 index 00000000000..d2922052f3d --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/BatchPatchIdentitiesResponse.md @@ -0,0 +1,10 @@ + +# BatchPatchIdentitiesResponse + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **identities** | [**kotlin.collections.List<IdentityPatchResponse>**](IdentityPatchResponse.md) | The patch responses for the individual identities. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/BillingPeriodBucket.md b/clients/client/kotlin-multiplatform/docs/BillingPeriodBucket.md new file mode 100644 index 00000000000..009d295140e --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/BillingPeriodBucket.md @@ -0,0 +1,12 @@ + +# BillingPeriodBucket + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **baseInvoices** | [**kotlin.collections.List<Invoice>**](Invoice.md) | | [optional] | +| **billingPeriod** | [**TimeInterval**](TimeInterval.md) | | [optional] | +| **usageInvoice** | [**Invoice**](Invoice.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CheckOplSyntaxResult.md b/clients/client/kotlin-multiplatform/docs/CheckOplSyntaxResult.md new file mode 100644 index 00000000000..ec095834d11 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CheckOplSyntaxResult.md @@ -0,0 +1,10 @@ + +# CheckOplSyntaxResult + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **errors** | [**kotlin.collections.List<ParseError>**](ParseError.md) | The list of syntax errors | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CheckPermissionResult.md b/clients/client/kotlin-multiplatform/docs/CheckPermissionResult.md new file mode 100644 index 00000000000..1528ec9cec1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CheckPermissionResult.md @@ -0,0 +1,10 @@ + +# CheckPermissionResult + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **allowed** | **kotlin.Boolean** | whether the relation tuple is allowed | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CheckPermissionResultWithError.md b/clients/client/kotlin-multiplatform/docs/CheckPermissionResultWithError.md new file mode 100644 index 00000000000..f4ff67ecbbf --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CheckPermissionResultWithError.md @@ -0,0 +1,11 @@ + +# CheckPermissionResultWithError + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **allowed** | **kotlin.Boolean** | whether the relation tuple is allowed | | +| **error** | **kotlin.String** | any error generated while checking the relation tuple | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CloudAccount.md b/clients/client/kotlin-multiplatform/docs/CloudAccount.md new file mode 100644 index 00000000000..1e4cad3ddd5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CloudAccount.md @@ -0,0 +1,13 @@ + +# CloudAccount + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **email** | **kotlin.String** | | | +| **emailVerified** | **kotlin.Boolean** | | | +| **id** | **kotlin.String** | | | +| **name** | **kotlin.String** | | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ConsistencyRequestParameters.md b/clients/client/kotlin-multiplatform/docs/ConsistencyRequestParameters.md new file mode 100644 index 00000000000..005de162682 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ConsistencyRequestParameters.md @@ -0,0 +1,17 @@ + +# ConsistencyRequestParameters + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **consistency** | [**inline**](#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. | [optional] | + + + +## Enum: consistency +| Name | Value | +| ---- | ----- | +| consistency | , strong, eventual | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ContinueWith.md b/clients/client/kotlin-multiplatform/docs/ContinueWith.md new file mode 100644 index 00000000000..0218fcdc16d --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ContinueWith.md @@ -0,0 +1,20 @@ + +# ContinueWith + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **action** | [**inline**](#Action) | Action will always be `redirect_browser_to` redirect_browser_to ContinueWithActionRedirectBrowserToString | | +| **flow** | [**ContinueWithRecoveryUiFlow**](ContinueWithRecoveryUiFlow.md) | | | +| **orySessionToken** | **kotlin.String** | Token is the token of the session | | +| **redirectBrowserTo** | **kotlin.String** | The URL to redirect the browser to | | + + + +## Enum: action +| Name | Value | +| ---- | ----- | +| action | redirect_browser_to | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ContinueWithRecoveryUi.md b/clients/client/kotlin-multiplatform/docs/ContinueWithRecoveryUi.md new file mode 100644 index 00000000000..b92a0e65ba9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ContinueWithRecoveryUi.md @@ -0,0 +1,18 @@ + +# ContinueWithRecoveryUi + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **action** | [**inline**](#Action) | Action will always be `show_recovery_ui` show_recovery_ui ContinueWithActionShowRecoveryUIString | | +| **flow** | [**ContinueWithRecoveryUiFlow**](ContinueWithRecoveryUiFlow.md) | | | + + + +## Enum: action +| Name | Value | +| ---- | ----- | +| action | show_recovery_ui | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ContinueWithRecoveryUiFlow.md b/clients/client/kotlin-multiplatform/docs/ContinueWithRecoveryUiFlow.md new file mode 100644 index 00000000000..d3b814964e2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ContinueWithRecoveryUiFlow.md @@ -0,0 +1,11 @@ + +# ContinueWithRecoveryUiFlow + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.String** | The ID of the recovery flow | | +| **url** | **kotlin.String** | The URL of the recovery flow If this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ContinueWithRedirectBrowserTo.md b/clients/client/kotlin-multiplatform/docs/ContinueWithRedirectBrowserTo.md new file mode 100644 index 00000000000..8d8c0f37f24 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ContinueWithRedirectBrowserTo.md @@ -0,0 +1,18 @@ + +# ContinueWithRedirectBrowserTo + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **action** | [**inline**](#Action) | Action will always be `redirect_browser_to` redirect_browser_to ContinueWithActionRedirectBrowserToString | | +| **redirectBrowserTo** | **kotlin.String** | The URL to redirect the browser to | | + + + +## Enum: action +| Name | Value | +| ---- | ----- | +| action | redirect_browser_to | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ContinueWithSetOrySessionToken.md b/clients/client/kotlin-multiplatform/docs/ContinueWithSetOrySessionToken.md new file mode 100644 index 00000000000..c4e4ff9dea5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ContinueWithSetOrySessionToken.md @@ -0,0 +1,18 @@ + +# ContinueWithSetOrySessionToken + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **action** | [**inline**](#Action) | Action will always be `set_ory_session_token` set_ory_session_token ContinueWithActionSetOrySessionTokenString | | +| **orySessionToken** | **kotlin.String** | Token is the token of the session | | + + + +## Enum: action +| Name | Value | +| ---- | ----- | +| action | set_ory_session_token | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ContinueWithSettingsUi.md b/clients/client/kotlin-multiplatform/docs/ContinueWithSettingsUi.md new file mode 100644 index 00000000000..b31a7a46351 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ContinueWithSettingsUi.md @@ -0,0 +1,18 @@ + +# ContinueWithSettingsUi + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **action** | [**inline**](#Action) | Action will always be `show_settings_ui` show_settings_ui ContinueWithActionShowSettingsUIString | | +| **flow** | [**ContinueWithSettingsUiFlow**](ContinueWithSettingsUiFlow.md) | | | + + + +## Enum: action +| Name | Value | +| ---- | ----- | +| action | show_settings_ui | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ContinueWithSettingsUiFlow.md b/clients/client/kotlin-multiplatform/docs/ContinueWithSettingsUiFlow.md new file mode 100644 index 00000000000..0521f6b0df0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ContinueWithSettingsUiFlow.md @@ -0,0 +1,11 @@ + +# ContinueWithSettingsUiFlow + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.String** | The ID of the settings flow | | +| **url** | **kotlin.String** | The URL of the settings flow If this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ContinueWithVerificationUi.md b/clients/client/kotlin-multiplatform/docs/ContinueWithVerificationUi.md new file mode 100644 index 00000000000..92c4bf520f9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ContinueWithVerificationUi.md @@ -0,0 +1,18 @@ + +# ContinueWithVerificationUi + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **action** | [**inline**](#Action) | Action will always be `show_verification_ui` show_verification_ui ContinueWithActionShowVerificationUIString | | +| **flow** | [**ContinueWithVerificationUiFlow**](ContinueWithVerificationUiFlow.md) | | | + + + +## Enum: action +| Name | Value | +| ---- | ----- | +| action | show_verification_ui | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ContinueWithVerificationUiFlow.md b/clients/client/kotlin-multiplatform/docs/ContinueWithVerificationUiFlow.md new file mode 100644 index 00000000000..79131af7bb3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ContinueWithVerificationUiFlow.md @@ -0,0 +1,12 @@ + +# ContinueWithVerificationUiFlow + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.String** | The ID of the verification flow | | +| **verifiableAddress** | **kotlin.String** | The address that should be verified in this flow | | +| **url** | **kotlin.String** | The URL of the verification flow If this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CourierApi.md b/clients/client/kotlin-multiplatform/docs/CourierApi.md new file mode 100644 index 00000000000..05e2e46e77d --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CourierApi.md @@ -0,0 +1,112 @@ +# CourierApi + +All URIs are relative to *https://playground.projects.oryapis.com* + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**getCourierMessage**](CourierApi.md#getCourierMessage) | **GET** /admin/courier/messages/{id} | Get a Message | +| [**listCourierMessages**](CourierApi.md#listCourierMessages) | **GET** /admin/courier/messages | List Messages | + + + +# **getCourierMessage** +> Message getCourierMessage(id) + +Get a Message + +Gets a specific messages by the given ID. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = CourierApi() +val id : kotlin.String = id_example // kotlin.String | MessageID is the ID of the message. +try { + val result : Message = apiInstance.getCourierMessage(id) + println(result) +} catch (e: ClientException) { + println("4xx response calling CourierApi#getCourierMessage") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling CourierApi#getCourierMessage") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.String**| MessageID is the ID of the message. | | + +### Return type + +[**Message**](Message.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **listCourierMessages** +> kotlin.collections.List<Message> listCourierMessages(pageSize, pageToken, status, recipient) + +List Messages + +Lists all messages by given status and recipient. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = CourierApi() +val pageSize : kotlin.Long = 789 // kotlin.Long | Items per Page 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). +val pageToken : kotlin.String = pageToken_example // kotlin.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). +val status : CourierMessageStatus = // CourierMessageStatus | Status filters out messages based on status. If no value is provided, it doesn't take effect on filter. +val recipient : kotlin.String = recipient_example // kotlin.String | Recipient filters out messages based on recipient. If no value is provided, it doesn't take effect on filter. +try { + val result : kotlin.collections.List = apiInstance.listCourierMessages(pageSize, pageToken, status, recipient) + println(result) +} catch (e: ClientException) { + println("4xx response calling CourierApi#listCourierMessages") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling CourierApi#listCourierMessages") + e.printStackTrace() +} +``` + +### Parameters +| **pageSize** | **kotlin.Long**| Items per Page 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 250L] | +| **pageToken** | **kotlin.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] | +| **status** | [**CourierMessageStatus**](.md)| Status filters out messages based on status. If no value is provided, it doesn't take effect on filter. | [optional] [enum: queued, sent, processing, abandoned] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **recipient** | **kotlin.String**| Recipient filters out messages based on recipient. If no value is provided, it doesn't take effect on filter. | [optional] | + +### Return type + +[**kotlin.collections.List<Message>**](Message.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + diff --git a/clients/client/kotlin-multiplatform/docs/CourierMessageStatus.md b/clients/client/kotlin-multiplatform/docs/CourierMessageStatus.md new file mode 100644 index 00000000000..f4220831317 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CourierMessageStatus.md @@ -0,0 +1,16 @@ + +# CourierMessageStatus + +## Enum + + + * `queued` (value: `"queued"`) + + * `sent` (value: `"sent"`) + + * `processing` (value: `"processing"`) + + * `abandoned` (value: `"abandoned"`) + + + diff --git a/clients/client/kotlin-multiplatform/docs/CourierMessageType.md b/clients/client/kotlin-multiplatform/docs/CourierMessageType.md new file mode 100644 index 00000000000..09499f1e6a0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CourierMessageType.md @@ -0,0 +1,12 @@ + +# CourierMessageType + +## Enum + + + * `email` (value: `"email"`) + + * `phone` (value: `"phone"`) + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateCustomDomainBody.md b/clients/client/kotlin-multiplatform/docs/CreateCustomDomainBody.md new file mode 100644 index 00000000000..80bbb40466f --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateCustomDomainBody.md @@ -0,0 +1,14 @@ + +# CreateCustomDomainBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **cookieDomain** | **kotlin.String** | The domain where cookies will be set. Has to be a parent domain of the custom hostname to work. | [optional] | +| **corsAllowedOrigins** | **kotlin.collections.List<kotlin.String>** | CORS Allowed origins for the custom hostname. | [optional] | +| **corsEnabled** | **kotlin.Boolean** | CORS Enabled for the custom hostname. | [optional] | +| **customUiBaseUrl** | **kotlin.String** | The base URL where the custom user interface will be exposed. | [optional] | +| **hostname** | **kotlin.String** | The custom hostname where the API will be exposed. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateEventStreamBody.md b/clients/client/kotlin-multiplatform/docs/CreateEventStreamBody.md new file mode 100644 index 00000000000..41888719c42 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateEventStreamBody.md @@ -0,0 +1,19 @@ + +# CreateEventStreamBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **roleArn** | **kotlin.String** | The AWS IAM role ARN to assume when publishing to the SNS topic. | | +| **topicArn** | **kotlin.String** | The AWS SNS topic ARN. | | +| **type** | [**inline**](#Type) | The type of the event stream (AWS SNS, GCP Pub/Sub, etc). | | + + + +## Enum: type +| Name | Value | +| ---- | ----- | +| type | sns | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateIdentityBody.md b/clients/client/kotlin-multiplatform/docs/CreateIdentityBody.md new file mode 100644 index 00000000000..b690c44619e --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateIdentityBody.md @@ -0,0 +1,24 @@ + +# CreateIdentityBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **schemaId** | **kotlin.String** | SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. | | +| **traits** | **kotlin.String** | Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_url`. | | +| **credentials** | [**IdentityWithCredentials**](IdentityWithCredentials.md) | | [optional] | +| **metadataAdmin** | [**kotlin.Any**](.md) | Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/<id>`. | [optional] | +| **metadataPublic** | [**kotlin.Any**](.md) | Store metadata about the identity which the identity itself can see when calling for example the session endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field. | [optional] | +| **recoveryAddresses** | [**kotlin.collections.List<RecoveryIdentityAddress>**](RecoveryIdentityAddress.md) | RecoveryAddresses contains all the addresses that can be used to recover an identity. Use this structure to import recovery addresses for an identity. Please keep in mind that the address needs to be represented in the Identity Schema or this field will be overwritten on the next identity update. | [optional] | +| **state** | [**inline**](#State) | State is the identity's state. active StateActive inactive StateInactive | [optional] | +| **verifiableAddresses** | [**kotlin.collections.List<VerifiableIdentityAddress>**](VerifiableIdentityAddress.md) | VerifiableAddresses contains all the addresses that can be verified by the user. Use this structure to import verified addresses for an identity. Please keep in mind that the address needs to be represented in the Identity Schema or this field will be overwritten on the next identity update. | [optional] | + + + +## Enum: state +| Name | Value | +| ---- | ----- | +| state | active, inactive | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateInviteResponse.md b/clients/client/kotlin-multiplatform/docs/CreateInviteResponse.md new file mode 100644 index 00000000000..ecadebd8120 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateInviteResponse.md @@ -0,0 +1,11 @@ + +# CreateInviteResponse + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **allInvites** | [**kotlin.collections.List<MemberInvite>**](MemberInvite.md) | A list of all invites for this resource | | +| **createdInvite** | [**MemberInvite**](MemberInvite.md) | | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateJsonWebKeySet.md b/clients/client/kotlin-multiplatform/docs/CreateJsonWebKeySet.md new file mode 100644 index 00000000000..654ba31ab39 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateJsonWebKeySet.md @@ -0,0 +1,12 @@ + +# CreateJsonWebKeySet + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **alg** | **kotlin.String** | JSON Web Key Algorithm The algorithm to be used for creating the key. Supports `RS256`, `ES256`, `ES512`, `HS512`, and `HS256`. | | +| **kid** | **kotlin.String** | JSON Web Key ID The Key ID of the key to be created. | | +| **use** | **kotlin.String** | JSON Web Key Use The \"use\" (public key use) parameter identifies the intended use of the public key. The \"use\" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Valid values are \"enc\" and \"sig\". | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateProjectApiKeyRequest.md b/clients/client/kotlin-multiplatform/docs/CreateProjectApiKeyRequest.md new file mode 100644 index 00000000000..a6d2a485643 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateProjectApiKeyRequest.md @@ -0,0 +1,11 @@ + +# CreateProjectApiKeyRequest + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | The Token Name A descriptive name for the token. in: body | | +| **expiresAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateProjectBody.md b/clients/client/kotlin-multiplatform/docs/CreateProjectBody.md new file mode 100644 index 00000000000..d4751c0dc5c --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateProjectBody.md @@ -0,0 +1,27 @@ + +# CreateProjectBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **environment** | [**inline**](#Environment) | The environment of the project. prod Production stage Staging dev Development | | +| **name** | **kotlin.String** | The name of the project to be created | | +| **homeRegion** | [**inline**](#HomeRegion) | Home Region The home region of the project. This is the region where the project will be created. eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global | [optional] | +| **workspaceId** | **kotlin.String** | The workspace to create the project in. | [optional] | + + + +## Enum: environment +| Name | Value | +| ---- | ----- | +| environment | prod, stage, dev | + + + +## Enum: home_region +| Name | Value | +| ---- | ----- | +| homeRegion | eu-central, asia-northeast, us-east, us-west, us, global | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateProjectBranding.md b/clients/client/kotlin-multiplatform/docs/CreateProjectBranding.md new file mode 100644 index 00000000000..369af110921 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateProjectBranding.md @@ -0,0 +1,15 @@ + +# CreateProjectBranding + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **faviconType** | **kotlin.String** | | [optional] | +| **faviconUrl** | **kotlin.String** | | [optional] | +| **logoType** | **kotlin.String** | | [optional] | +| **logoUrl** | **kotlin.String** | | [optional] | +| **name** | **kotlin.String** | | [optional] | +| **theme** | [**ProjectBrandingColors**](ProjectBrandingColors.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateProjectMemberInviteBody.md b/clients/client/kotlin-multiplatform/docs/CreateProjectMemberInviteBody.md new file mode 100644 index 00000000000..a1e5e5b877f --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateProjectMemberInviteBody.md @@ -0,0 +1,10 @@ + +# CreateProjectMemberInviteBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **inviteeEmail** | **kotlin.String** | A email to invite | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateProjectNormalizedPayload.md b/clients/client/kotlin-multiplatform/docs/CreateProjectNormalizedPayload.md new file mode 100644 index 00000000000..7ec3b3d59de --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateProjectNormalizedPayload.md @@ -0,0 +1,267 @@ + +# CreateProjectNormalizedPayload + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **environment** | [**inline**](#Environment) | prod Production stage Staging dev Development | | +| **name** | **kotlin.String** | The project's name. | | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The Project's Revision Creation Date | [optional] [readonly] | +| **disableAccountExperienceWelcomeScreen** | **kotlin.Boolean** | Whether to disable the account experience welcome screen, which is hosted under `/ui/welcome`. | [optional] | +| **enableAxV2** | **kotlin.Boolean** | Whether the new account experience is enabled and reachable. | [optional] | +| **homeRegion** | [**inline**](#HomeRegion) | eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global | [optional] | +| **hydraOauth2AllowedTopLevelClaims** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **hydraOauth2ClientCredentialsDefaultGrantAllowedScope** | **kotlin.Boolean** | Automatically grant authorized OAuth2 Scope in OAuth2 Client Credentials Flow. Each OAuth2 Client is allowed to request a predefined OAuth2 Scope (for example `read write`). If this option is enabled, the full scope is automatically granted when performing the OAuth2 Client Credentials flow. If disabled, the OAuth2 Client has to request the scope in the OAuth2 request by providing the `scope` query parameter. Setting this option to true is common if you need compatibility with MITREid. This governs the \"oauth2.client_credentials.default_grant_allowed_scope\" setting. | [optional] | +| **hydraOauth2ExcludeNotBeforeClaim** | **kotlin.Boolean** | Set to true if you want to exclude claim `nbf (not before)` part of access token. This governs the \"oauth2.exclude_not_before_claim\" setting. | [optional] | +| **hydraOauth2GrantJwtIatOptional** | **kotlin.Boolean** | Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.iat_optional\" setting. | [optional] | +| **hydraOauth2GrantJwtJtiOptional** | **kotlin.Boolean** | Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.jti_optional\" setting. | [optional] | +| **hydraOauth2GrantJwtMaxTtl** | **kotlin.String** | Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be. This feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied. Useful as a safety measure and recommended to keep below 720h. This governs the \"oauth2.grant.jwt.max_ttl\" setting. | [optional] | +| **hydraOauth2MirrorTopLevelClaims** | **kotlin.Boolean** | Set to false if you don't want to mirror custom claims under 'ext'. This governs the \"oauth2.mirror_top_level_claims\" setting. | [optional] | +| **hydraOauth2PkceEnforced** | **kotlin.Boolean** | Configures whether PKCE should be enforced for all OAuth2 Clients. This governs the \"oauth2.pkce.enforced\" setting. | [optional] | +| **hydraOauth2PkceEnforcedForPublicClients** | **kotlin.Boolean** | Configures whether PKCE should be enforced for OAuth2 Clients without a client secret (public clients). This governs the \"oauth2.pkce.enforced_for_public_clients\" setting. | [optional] | +| **hydraOauth2RefreshTokenHook** | **kotlin.String** | Sets the Refresh Token Hook Endpoint. If set this endpoint will be called during the OAuth2 Token Refresh grant update the OAuth2 Access Token claims. This governs the \"oauth2.refresh_token_hook\" setting. | [optional] | +| **hydraOauth2TokenHook** | **kotlin.String** | Sets the token hook endpoint for all grant types. If set it will be called while providing token to customize claims. This governs the \"oauth2.token_hook.url\" setting. | [optional] | +| **hydraOidcDynamicClientRegistrationDefaultScope** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **hydraOidcDynamicClientRegistrationEnabled** | **kotlin.Boolean** | Configures OpenID Connect Dynamic Client Registration. This governs the \"oidc.dynamic_client_registration.enabled\" setting. | [optional] | +| **hydraOidcSubjectIdentifiersPairwiseSalt** | **kotlin.String** | Configures OpenID Connect Discovery and overwrites the pairwise algorithm This governs the \"oidc.subject_identifiers.pairwise_salt\" setting. | [optional] | +| **hydraOidcSubjectIdentifiersSupportedTypes** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **hydraSecretsCookie** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **hydraSecretsSystem** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **hydraServeCookiesSameSiteLegacyWorkaround** | **kotlin.Boolean** | Configures the Ory Hydra Cookie Same Site Legacy Workaround This governs the \"serve.cookies.same_site_legacy_workaround\" setting. | [optional] | +| **hydraServeCookiesSameSiteMode** | **kotlin.String** | Configures the Ory Hydra Cookie Same Site Mode This governs the \"serve.cookies.same_site_mode\" setting. | [optional] | +| **hydraStrategiesAccessToken** | [**inline**](#HydraStrategiesAccessToken) | Defines access token type This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt | [optional] | +| **hydraStrategiesJwtScopeClaim** | [**inline**](#HydraStrategiesJwtScopeClaim) | Define the claim to use as the scope in the access token. This governs the \"strategies.jwt.scope_claim\" setting: list: The scope claim is an array of strings named `scope`: `{ \"scope\": [\"read\", \"write\"] }` string: The scope claim is a space delimited list of strings named `scp`: `{ \"scp\": \"read write\" }` both: The scope claim is both a space delimited list and an array of strings named `scope` and `scp`: `{ \"scope\": [\"read\", \"write\"], \"scp\": \"read write\" }` list OAuth2JWTScopeClaimList string OAuth2JWTScopeClaimString both OAuth2JWTScopeClaimBoth | [optional] | +| **hydraStrategiesScope** | [**inline**](#HydraStrategiesScope) | Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes This governs the \"strategies.scope\" setting. exact Oauth2ScopeStrategyExact wildcard Oauth2ScopeStrategyWildcard | [optional] | +| **hydraTtlAccessToken** | **kotlin.String** | This governs the \"ttl.access_token\" setting. | [optional] | +| **hydraTtlAuthCode** | **kotlin.String** | Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.auth_code\" setting. | [optional] | +| **hydraTtlIdToken** | **kotlin.String** | This governs the \"ttl.id_token\" setting. | [optional] | +| **hydraTtlLoginConsentRequest** | **kotlin.String** | Configures how long a user login and consent flow may take. This governs the \"ttl.login_consent_request\" setting. | [optional] | +| **hydraTtlRefreshToken** | **kotlin.String** | Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.refresh_token\" setting. | [optional] | +| **hydraUrlsConsent** | **kotlin.String** | Sets the OAuth2 Consent Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.consent\" setting. | [optional] | +| **hydraUrlsError** | **kotlin.String** | Sets the OAuth2 Error URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.error\" setting. | [optional] | +| **hydraUrlsLogin** | **kotlin.String** | Sets the OAuth2 Login Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.login\" setting. | [optional] | +| **hydraUrlsLogout** | **kotlin.String** | Sets the logout endpoint. Defaults to the Ory Account Experience if left empty. This governs the \"urls.logout\" setting. | [optional] | +| **hydraUrlsPostLogoutRedirect** | **kotlin.String** | When an OAuth2-related user agent requests to log out, they will be redirected to this url afterwards per default. Defaults to the Ory Account Experience in development and your application in production mode when a custom domain is connected. This governs the \"urls.post_logout_redirect\" setting. | [optional] | +| **hydraUrlsRegistration** | **kotlin.String** | Sets the OAuth2 Registration Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.registration\" setting. | [optional] | +| **hydraUrlsSelfIssuer** | **kotlin.String** | This value will be used as the issuer in access and ID tokens. It must be specified and using HTTPS protocol, unless the development mode is enabled. On the Ory Network it will be very rare that you want to modify this value. If left empty, it will default to the correct value for the Ory Network. This governs the \"urls.self.issuer\" setting. | [optional] | +| **hydraWebfingerJwksBroadcastKeys** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **hydraWebfingerOidcDiscoveryAuthUrl** | **kotlin.String** | Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL. This governs the \"webfinger.oidc.discovery.auth_url\" setting. | [optional] | +| **hydraWebfingerOidcDiscoveryClientRegistrationUrl** | **kotlin.String** | Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint. This governs the \"webfinger.oidc.discovery.client_registration_url\" setting. | [optional] | +| **hydraWebfingerOidcDiscoveryJwksUrl** | **kotlin.String** | Configures OpenID Connect Discovery and overwrites the JWKS URL. This governs the \"webfinger.oidc.discovery.jwks_url\" setting. | [optional] | +| **hydraWebfingerOidcDiscoverySupportedClaims** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **hydraWebfingerOidcDiscoverySupportedScope** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **hydraWebfingerOidcDiscoveryTokenUrl** | **kotlin.String** | Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL. This governs the \"webfinger.oidc.discovery.token_url\" setting. | [optional] | +| **hydraWebfingerOidcDiscoveryUserinfoUrl** | **kotlin.String** | Configures OpenID Connect Discovery and overwrites userinfo endpoint to be advertised at the OpenID Connect Discovery endpoint /.well-known/openid-configuration. Defaults to Ory Hydra's userinfo endpoint at /userinfo. Set this value if you want to handle this endpoint yourself. This governs the \"webfinger.oidc.discovery.userinfo_url\" setting. | [optional] | +| **id** | **kotlin.String** | The revision ID. | [optional] [readonly] | +| **ketoNamespaceConfiguration** | **kotlin.String** | The Revisions' Keto Namespace Configuration The string is a URL pointing to an OPL file with the configuration. | [optional] | +| **ketoNamespaces** | [**kotlin.collections.List<KetoNamespace>**](KetoNamespace.md) | | [optional] | +| **kratosCookiesSameSite** | **kotlin.String** | Configures the Ory Kratos Cookie SameSite Attribute This governs the \"cookies.same_site\" setting. | [optional] | +| **kratosCourierChannels** | [**kotlin.collections.List<NormalizedProjectRevisionCourierChannel>**](NormalizedProjectRevisionCourierChannel.md) | | [optional] | +| **kratosCourierDeliveryStrategy** | **kotlin.String** | The delivery strategy to use when sending emails `smtp`: Use SMTP server `http`: Use the built in HTTP client to send the email to some remote service | [optional] | +| **kratosCourierHttpRequestConfigAuthApiKeyIn** | **kotlin.String** | The location of the API key to use in the HTTP email sending service's authentication `header`: Send the key value pair as a header `cookie`: Send the key value pair as a cookie This governs the \"courier.http.auth.config.in\" setting | [optional] | +| **kratosCourierHttpRequestConfigAuthApiKeyName** | **kotlin.String** | The name of the API key to use in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.name\" setting | [optional] | +| **kratosCourierHttpRequestConfigAuthApiKeyValue** | **kotlin.String** | The value of the API key to use in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.value\" setting | [optional] | +| **kratosCourierHttpRequestConfigAuthBasicAuthPassword** | **kotlin.String** | The password to use for basic auth in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.password\" setting | [optional] | +| **kratosCourierHttpRequestConfigAuthBasicAuthUser** | **kotlin.String** | The user to use for basic auth in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.user\" setting | [optional] | +| **kratosCourierHttpRequestConfigAuthType** | **kotlin.String** | The authentication type to use while contacting the remote HTTP email sending service `basic_auth`: Use Basic Authentication `api_key`: Use API Key Authentication in a header or cookie | [optional] | +| **kratosCourierHttpRequestConfigBody** | **kotlin.String** | The Jsonnet template to generate the body to send to the remote HTTP email sending service Should be valid Jsonnet and base64 encoded This governs the \"courier.http.body\" setting | [optional] | +| **kratosCourierHttpRequestConfigHeaders** | **kotlin.String** | NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- | [optional] | +| **kratosCourierHttpRequestConfigMethod** | **kotlin.String** | The http METHOD to use when calling the remote HTTP email sending service | [optional] | +| **kratosCourierHttpRequestConfigUrl** | **kotlin.String** | The URL of the remote HTTP email sending service This governs the \"courier.http.url\" setting | [optional] | +| **kratosCourierSmtpConnectionUri** | **kotlin.String** | Configures the Ory Kratos SMTP Connection URI This governs the \"courier.smtp.connection_uri\" setting. | [optional] | +| **kratosCourierSmtpFromAddress** | **kotlin.String** | Configures the Ory Kratos SMTP From Address This governs the \"courier.smtp.from_address\" setting. | [optional] | +| **kratosCourierSmtpFromName** | **kotlin.String** | Configures the Ory Kratos SMTP From Name This governs the \"courier.smtp.from_name\" setting. | [optional] | +| **kratosCourierSmtpHeaders** | **kotlin.String** | NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- | [optional] | +| **kratosCourierSmtpLocalName** | **kotlin.String** | Configures the local_name to use in SMTP connections This governs the \"courier.smtp.local_name\" setting. | [optional] | +| **kratosCourierTemplatesLoginCodeValidEmailBodyHtml** | **kotlin.String** | Configures the Ory Kratos Valid Login via Code Email Body HTML Template This governs the \"courier.smtp.templates.login_code.valid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesLoginCodeValidEmailBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.login_code.valid.email.body.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesLoginCodeValidEmailSubject** | **kotlin.String** | Configures the Ory Kratos Valid Login via Code Email Subject Template This governs the \"courier.smtp.templates.login_code.valid.email.subject\" setting. | [optional] | +| **kratosCourierTemplatesLoginCodeValidSmsBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Valid Login via Code SMS plain text body This governs the \"courier.smtp.templates.login_code.valid.sms.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryCodeInvalidEmailBodyHtml** | **kotlin.String** | Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryCodeInvalidEmailBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryCodeInvalidEmailSubject** | **kotlin.String** | Configures the Ory Kratos Invalid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryCodeValidEmailBodyHtml** | **kotlin.String** | Configures the Ory Kratos Valid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.valid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryCodeValidEmailBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Valid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.valid.email.body.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryCodeValidEmailSubject** | **kotlin.String** | Configures the Ory Kratos Valid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.valid.email.subject\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryInvalidEmailBodyHtml** | **kotlin.String** | Configures the Ory Kratos Invalid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryInvalidEmailBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryInvalidEmailSubject** | **kotlin.String** | Configures the Ory Kratos Invalid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryValidEmailBodyHtml** | **kotlin.String** | Configures the Ory Kratos Valid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.valid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryValidEmailBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Valid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryValidEmailSubject** | **kotlin.String** | Configures the Ory Kratos Valid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.valid.email.subject\" setting. | [optional] | +| **kratosCourierTemplatesRegistrationCodeValidEmailBodyHtml** | **kotlin.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** | **kotlin.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** | **kotlin.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** | **kotlin.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** | **kotlin.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** | **kotlin.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** | **kotlin.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] | +| **kratosCourierTemplatesVerificationCodeValidEmailBodyHtml** | **kotlin.String** | Configures the Ory Kratos Valid Verification via Code Email Body HTML Template This governs the \"courier.smtp.templates.verification_code.valid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesVerificationCodeValidEmailBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Valid Verification via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.verification_code.valid.email.body.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesVerificationCodeValidEmailSubject** | **kotlin.String** | Configures the Ory Kratos Valid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.valid.email.subject\" setting. | [optional] | +| **kratosCourierTemplatesVerificationCodeValidSmsBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Valid Verification via Code SMS Body Plaintext This governs the \"courier.smtp.templates.verification_code.valid.sms.body.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesVerificationInvalidEmailBodyHtml** | **kotlin.String** | Configures the Ory Kratos Invalid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.invalid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesVerificationInvalidEmailBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Invalid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.verification.invalid.email.body.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesVerificationInvalidEmailSubject** | **kotlin.String** | Configures the Ory Kratos Invalid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.invalid.email.subject\" setting. | [optional] | +| **kratosCourierTemplatesVerificationValidEmailBodyHtml** | **kotlin.String** | Configures the Ory Kratos Valid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.valid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesVerificationValidEmailBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Valid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.verification.valid.email.body.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesVerificationValidEmailSubject** | **kotlin.String** | Configures the Ory Kratos Valid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.valid.email.subject\" setting. | [optional] | +| **kratosFeatureFlagsCacheableSessions** | **kotlin.Boolean** | Configures the Ory Kratos Session caching feature flag This governs the \"feature_flags.cacheable_sessions\" setting. | [optional] | +| **kratosFeatureFlagsCacheableSessionsMaxAge** | **kotlin.String** | Configures the Ory Kratos Session caching max-age feature flag This governs the \"feature_flags.cacheable_sessions_max_age\" setting. | [optional] | +| **kratosFeatureFlagsFasterSessionExtend** | **kotlin.Boolean** | Configures the Ory Kratos Faster Session Extend setting If enabled allows faster session extension by skipping the session lookup and returning 201 instead of 200. Disabling this feature will be deprecated in the future. This governs the \"feature_flags.faster_session_extend\" setting. | [optional] | +| **kratosFeatureFlagsUseContinueWithTransitions** | **kotlin.Boolean** | Configures the Ory Kratos Session use_continue_with_transitions flag This governs the \"feature_flags.use_continue_with_transitions\" setting. | [optional] | +| **kratosIdentitySchemas** | [**kotlin.collections.List<NormalizedProjectRevisionIdentitySchema>**](NormalizedProjectRevisionIdentitySchema.md) | | [optional] | +| **kratosOauth2ProviderHeaders** | **kotlin.String** | NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- | [optional] | +| **kratosOauth2ProviderOverrideReturnTo** | **kotlin.Boolean** | Kratos OAuth2 Provider Override Return To Enabling this allows Kratos to set the return_to parameter automatically to the OAuth2 request URL on the login flow, allowing complex flows such as recovery to continue to the initial OAuth2 flow. | [optional] | +| **kratosOauth2ProviderUrl** | **kotlin.String** | The Revisions' OAuth2 Provider Integration URL This governs the \"oauth2_provider.url\" setting. | [optional] | +| **kratosPreviewDefaultReadConsistencyLevel** | **kotlin.String** | Configures the default read consistency level for identity APIs This governs the `preview.default_read_consistency_level` setting. 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. 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` Defaults to \"strong\" for new and existing projects. This feature is in preview. Use with caution. | [optional] | +| **kratosSecretsCipher** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **kratosSecretsCookie** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **kratosSecretsDefault** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **kratosSelfserviceAllowedReturnUrls** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **kratosSelfserviceDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Default Return URL This governs the \"selfservice.allowed_return_urls\" setting. | [optional] | +| **kratosSelfserviceFlowsErrorUiUrl** | **kotlin.String** | Configures the Ory Kratos Error UI URL This governs the \"selfservice.flows.error.ui_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginAfterCodeDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.code.after.password.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginAfterDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Login Default Return URL This governs the \"selfservice.flows.login.after.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginAfterLookupSecretDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.lookup_secret.after.password.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginAfterOidcDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Login After OIDC Default Return URL This governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginAfterPasskeyDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Login After Passkey Default Return URL This governs the \"selfservice.flows.login.after.passkey.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginAfterPasswordDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginAfterTotpDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.totp.after.password.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginAfterWebauthnDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Login After WebAuthn Default Return URL This governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginLifespan** | **kotlin.String** | Configures the Ory Kratos Login Lifespan This governs the \"selfservice.flows.login.lifespan\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginUiUrl** | **kotlin.String** | Configures the Ory Kratos Login UI URL This governs the \"selfservice.flows.login.ui_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLogoutAfterDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Logout Default Return URL This governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsRecoveryAfterDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Recovery Default Return URL This governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsRecoveryEnabled** | **kotlin.Boolean** | Configures the Ory Kratos Recovery Enabled Setting This governs the \"selfservice.flows.recovery.enabled\" setting. | [optional] | +| **kratosSelfserviceFlowsRecoveryLifespan** | **kotlin.String** | Configures the Ory Kratos Recovery Lifespan This governs the \"selfservice.flows.recovery.lifespan\" setting. | [optional] | +| **kratosSelfserviceFlowsRecoveryNotifyUnknownRecipients** | **kotlin.Boolean** | Configures whether to notify unknown recipients of a Ory Kratos recovery flow This governs the \"selfservice.flows.recovery.notify_unknown_recipients\" setting. | [optional] | +| **kratosSelfserviceFlowsRecoveryUiUrl** | **kotlin.String** | Configures the Ory Kratos Recovery UI URL This governs the \"selfservice.flows.recovery.ui_url\" setting. | [optional] | +| **kratosSelfserviceFlowsRecoveryUse** | [**inline**](#KratosSelfserviceFlowsRecoveryUse) | Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\") This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode | [optional] | +| **kratosSelfserviceFlowsRegistrationAfterCodeDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Registration After Code Default Return URL This governs the \"selfservice.flows.registration.after.code.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsRegistrationAfterDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Registration Default Return URL This governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsRegistrationAfterOidcDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Registration After OIDC Default Return URL This governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsRegistrationAfterPasskeyDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Registration After Passkey Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsRegistrationAfterPasswordDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Registration After Password Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsRegistrationAfterWebauthnDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Registration After Webauthn Default Return URL This governs the \"selfservice.flows.registration.after.webauthn.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsRegistrationEnableLegacyOneStep** | **kotlin.Boolean** | Disable two-step registration Two-step registration is a significantly improved sign up flow and recommended when using more than one sign up methods. To revert to one-step registration, set this to `true`. This governs the \"selfservice.flows.registration.enable_legacy_one_step\" setting. | [optional] | +| **kratosSelfserviceFlowsRegistrationEnabled** | **kotlin.Boolean** | Configures the Whether Ory Kratos Registration is Enabled This governs the \"selfservice.flows.registration.enabled\" setting.0 | [optional] | +| **kratosSelfserviceFlowsRegistrationLifespan** | **kotlin.String** | Configures the Ory Kratos Registration Lifespan This governs the \"selfservice.flows.registration.lifespan\" setting. | [optional] | +| **kratosSelfserviceFlowsRegistrationLoginHints** | **kotlin.Boolean** | Configures the Ory Kratos Registration Login Hints Shows helpful information when a user tries to sign up with a duplicate account. This governs the \"selfservice.flows.registration.login_hints\" setting. | [optional] | +| **kratosSelfserviceFlowsRegistrationUiUrl** | **kotlin.String** | Configures the Ory Kratos Registration UI URL This governs the \"selfservice.flows.registration.ui_url\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsAfterDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Settings Default Return URL This governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsAfterLookupSecretDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Settings Default Return URL After Updating Lookup Secrets This governs the \"selfservice.flows.settings.after.lookup_secret.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsAfterOidcDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Settings Default Return URL After Updating Social Sign In This governs the \"selfservice.flows.settings.after.oidc.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsAfterPasskeyDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Settings Default Return URL After Updating Passkey This governs the \"selfservice.flows.settings.after.passkey.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsAfterPasswordDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Settings Default Return URL After Updating Passwords This governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsAfterProfileDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Settings Default Return URL After Updating Profiles This governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsAfterTotpDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Settings Default Return URL After Updating TOTP This governs the \"selfservice.flows.settings.after.totp.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsAfterWebauthnDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Settings Default Return URL After Updating WebAuthn This governs the \"selfservice.flows.settings.after.webauthn.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsLifespan** | **kotlin.String** | Configures the Ory Kratos Settings Lifespan This governs the \"selfservice.flows.settings.lifespan\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsPrivilegedSessionMaxAge** | **kotlin.String** | Configures the Ory Kratos Settings Privileged Session Max Age This governs the \"selfservice.flows.settings.privileged_session_max_age\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsRequiredAal** | **kotlin.String** | Configures the Ory Kratos Settings Required AAL This governs the \"selfservice.flows.settings.required_aal\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsUiUrl** | **kotlin.String** | Configures the Ory Kratos Settings UI URL This governs the \"selfservice.flows.settings.ui_url\" setting. | [optional] | +| **kratosSelfserviceFlowsVerificationAfterDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Verification Default Return URL This governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsVerificationEnabled** | **kotlin.Boolean** | Configures the Ory Kratos Verification Enabled Setting This governs the \"selfservice.flows.verification.enabled\" setting. | [optional] | +| **kratosSelfserviceFlowsVerificationLifespan** | **kotlin.String** | Configures the Ory Kratos Verification Lifespan This governs the \"selfservice.flows.verification.lifespan\" setting. | [optional] | +| **kratosSelfserviceFlowsVerificationNotifyUnknownRecipients** | **kotlin.Boolean** | Configures whether to notify unknown recipients of a Ory Kratos verification flow This governs the \"selfservice.flows.verification.notify_unknown_recipients\" setting. | [optional] | +| **kratosSelfserviceFlowsVerificationUiUrl** | **kotlin.String** | Configures the Ory Kratos Verification UI URL This governs the \"selfservice.flows.verification.ui_url\" setting. | [optional] | +| **kratosSelfserviceFlowsVerificationUse** | [**inline**](#KratosSelfserviceFlowsVerificationUse) | Configures the Ory Kratos Strategy to use for Verification This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode | [optional] | +| **kratosSelfserviceMethodsCodeConfigLifespan** | **kotlin.String** | Configures the Ory Kratos Code Method's lifespan This governs the \"selfservice.methods.code.config.lifespan\" setting. | [optional] | +| **kratosSelfserviceMethodsCodeConfigMissingCredentialFallbackEnabled** | **kotlin.Boolean** | Enables a fallback method required in certain legacy use cases. This governs the \"selfservice.methods.code.config.missing_credential_fallback_enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsCodeEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Code Method is enabled This governs the \"selfservice.methods.code.enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsCodeMfaEnabled** | **kotlin.Boolean** | Configures whether the code method can be used to fulfil MFA flows This governs the \"selfservice.methods.code.mfa_enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsCodePasswordlessEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Passwordless should use the Code Method This governs the \"selfservice.methods.code.passwordless_enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsCodePasswordlessLoginFallbackEnabled** | **kotlin.Boolean** | This setting allows the code method to always login a user with code if they have registered with another authentication method such as password or social sign in. This governs the \"selfservice.methods.code.passwordless_login_fallback_enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsLinkConfigBaseUrl** | **kotlin.String** | Configures the Base URL which Recovery, Verification, and Login Links Point to It is recommended to leave this value empty. It will be appropriately configured to the best matching domain (e.g. when using custom domains) automatically. This governs the \"selfservice.methods.link.config.base_url\" setting. | [optional] | +| **kratosSelfserviceMethodsLinkConfigLifespan** | **kotlin.String** | Configures the Ory Kratos Link Method's lifespan This governs the \"selfservice.methods.link.config.lifespan\" setting. | [optional] | +| **kratosSelfserviceMethodsLinkEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Link Method is enabled This governs the \"selfservice.methods.link.enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsLookupSecretEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos TOTP Lookup Secret is enabled This governs the \"selfservice.methods.lookup_secret.enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsOidcConfigBaseRedirectUri** | **kotlin.String** | Configures the Ory Kratos Third Party / OpenID Connect base redirect URI This governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting. | [optional] | +| **kratosSelfserviceMethodsOidcConfigProviders** | [**kotlin.collections.List<NormalizedProjectRevisionThirdPartyProvider>**](NormalizedProjectRevisionThirdPartyProvider.md) | | [optional] | +| **kratosSelfserviceMethodsOidcEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled This governs the \"selfservice.methods.oidc.enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsPasskeyConfigRpDisplayName** | **kotlin.String** | Configures the Ory Kratos Passkey RP Display Name This governs the \"selfservice.methods.passkey.config.rp.display_name\" setting. | [optional] | +| **kratosSelfserviceMethodsPasskeyConfigRpId** | **kotlin.String** | Configures the Ory Kratos Passkey RP ID This governs the \"selfservice.methods.passkey.config.rp.id\" setting. | [optional] | +| **kratosSelfserviceMethodsPasskeyConfigRpOrigins** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **kratosSelfserviceMethodsPasskeyEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Passkey authentication is enabled This governs the \"selfservice.methods.passkey.enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsPasswordConfigHaveibeenpwnedEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Password HIBP Checks is enabled This governs the \"selfservice.methods.password.config.haveibeenpwned_enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsPasswordConfigIdentifierSimilarityCheckEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Password should disable the similarity policy. This governs the \"selfservice.methods.password.config.identifier_similarity_check_enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsPasswordConfigIgnoreNetworkErrors** | **kotlin.Boolean** | Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors This governs the \"selfservice.methods.password.config.ignore_network_errors\" setting. | [optional] | +| **kratosSelfserviceMethodsPasswordConfigMaxBreaches** | **kotlin.Long** | Configures Ory Kratos Password Max Breaches Detection This governs the \"selfservice.methods.password.config.max_breaches\" setting. | [optional] | +| **kratosSelfserviceMethodsPasswordConfigMinPasswordLength** | **kotlin.Long** | Configures the minimum length of passwords. This governs the \"selfservice.methods.password.config.min_password_length\" setting. | [optional] | +| **kratosSelfserviceMethodsPasswordEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Password Method is enabled This governs the \"selfservice.methods.password.enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsProfileEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Profile Method is enabled This governs the \"selfservice.methods.profile.enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsTotpConfigIssuer** | **kotlin.String** | Configures Ory Kratos TOTP Issuer This governs the \"selfservice.methods.totp.config.issuer\" setting. | [optional] | +| **kratosSelfserviceMethodsTotpEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos TOTP Method is enabled This governs the \"selfservice.methods.totp.enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsWebauthnConfigPasswordless** | **kotlin.Boolean** | Configures whether Ory Kratos Webauthn is used for passwordless flows This governs the \"selfservice.methods.webauthn.config.passwordless\" setting. | [optional] | +| **kratosSelfserviceMethodsWebauthnConfigRpDisplayName** | **kotlin.String** | Configures the Ory Kratos Webauthn RP Display Name This governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting. | [optional] | +| **kratosSelfserviceMethodsWebauthnConfigRpIcon** | **kotlin.String** | Configures the Ory Kratos Webauthn RP Icon This governs the \"selfservice.methods.webauthn.config.rp.icon\" setting. Deprecated: This value will be ignored due to security considerations. | [optional] | +| **kratosSelfserviceMethodsWebauthnConfigRpId** | **kotlin.String** | Configures the Ory Kratos Webauthn RP ID This governs the \"selfservice.methods.webauthn.config.rp.id\" setting. | [optional] | +| **kratosSelfserviceMethodsWebauthnConfigRpOrigins** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **kratosSelfserviceMethodsWebauthnEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Webauthn is enabled This governs the \"selfservice.methods.webauthn.enabled\" setting. | [optional] | +| **kratosSessionCookiePersistent** | **kotlin.Boolean** | Configures the Ory Kratos Session Cookie Persistent Attribute This governs the \"session.cookie.persistent\" setting. | [optional] | +| **kratosSessionCookieSameSite** | **kotlin.String** | Configures the Ory Kratos Session Cookie SameSite Attribute This governs the \"session.cookie.same_site\" setting. | [optional] | +| **kratosSessionLifespan** | **kotlin.String** | Configures the Ory Kratos Session Lifespan This governs the \"session.lifespan\" setting. | [optional] | +| **kratosSessionWhoamiRequiredAal** | **kotlin.String** | Configures the Ory Kratos Session Whoami AAL requirement This governs the \"session.whoami.required_aal\" setting. | [optional] | +| **kratosSessionWhoamiTokenizerTemplates** | [**kotlin.collections.List<NormalizedProjectRevisionTokenizerTemplate>**](NormalizedProjectRevisionTokenizerTemplate.md) | | [optional] | +| **projectId** | **kotlin.String** | The Revision's Project ID | [optional] | +| **projectRevisionHooks** | [**kotlin.collections.List<NormalizedProjectRevisionHook>**](NormalizedProjectRevisionHook.md) | | [optional] | +| **serveAdminCorsAllowedOrigins** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **serveAdminCorsEnabled** | **kotlin.Boolean** | Enable CORS headers on all admin APIs This governs the \"serve.admin.cors.enabled\" setting. | [optional] | +| **servePublicCorsAllowedOrigins** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **servePublicCorsEnabled** | **kotlin.Boolean** | Enable CORS headers on all public APIs This governs the \"serve.public.cors.enabled\" setting. | [optional] | +| **strictSecurity** | **kotlin.Boolean** | Whether the project should employ strict security measures. Setting this to true is recommended for going into production. | [optional] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | Last Time Project's Revision was Updated | [optional] [readonly] | +| **workspaceId** | **kotlin.String** | | [optional] | + + + +## Enum: environment +| Name | Value | +| ---- | ----- | +| environment | prod, stage, dev | + + + +## Enum: home_region +| Name | Value | +| ---- | ----- | +| homeRegion | eu-central, asia-northeast, us-east, us-west, us, global | + + + +## Enum: hydra_strategies_access_token +| Name | Value | +| ---- | ----- | +| hydraStrategiesAccessToken | opaque, jwt | + + + +## Enum: hydra_strategies_jwt_scope_claim +| Name | Value | +| ---- | ----- | +| hydraStrategiesJwtScopeClaim | list, string, both | + + + +## Enum: hydra_strategies_scope +| Name | Value | +| ---- | ----- | +| hydraStrategiesScope | exact, wildcard | + + + +## Enum: kratos_selfservice_flows_recovery_use +| Name | Value | +| ---- | ----- | +| kratosSelfserviceFlowsRecoveryUse | link, code | + + + +## Enum: kratos_selfservice_flows_verification_use +| Name | Value | +| ---- | ----- | +| kratosSelfserviceFlowsVerificationUse | link, code | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateRecoveryCodeForIdentityBody.md b/clients/client/kotlin-multiplatform/docs/CreateRecoveryCodeForIdentityBody.md new file mode 100644 index 00000000000..ed035c68828 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateRecoveryCodeForIdentityBody.md @@ -0,0 +1,12 @@ + +# CreateRecoveryCodeForIdentityBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **identityId** | **kotlin.String** | Identity to Recover The identity's ID you wish to recover. | | +| **expiresIn** | **kotlin.String** | Code Expires In The recovery code will expire after that amount of time has passed. Defaults to the configuration value of `selfservice.methods.code.config.lifespan`. | [optional] | +| **flowType** | **kotlin.String** | The flow type can either be `api` or `browser`. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateRecoveryLinkForIdentityBody.md b/clients/client/kotlin-multiplatform/docs/CreateRecoveryLinkForIdentityBody.md new file mode 100644 index 00000000000..d929b8c664a --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateRecoveryLinkForIdentityBody.md @@ -0,0 +1,11 @@ + +# CreateRecoveryLinkForIdentityBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **identityId** | **kotlin.String** | Identity to Recover The identity's ID you wish to recover. | | +| **expiresIn** | **kotlin.String** | Link Expires In The recovery link will expire after that amount of time has passed. Defaults to the configuration value of `selfservice.methods.code.config.lifespan`. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateRelationshipBody.md b/clients/client/kotlin-multiplatform/docs/CreateRelationshipBody.md new file mode 100644 index 00000000000..f325272d1ef --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateRelationshipBody.md @@ -0,0 +1,14 @@ + +# CreateRelationshipBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **namespace** | **kotlin.String** | Namespace to query | [optional] | +| **`object`** | **kotlin.String** | Object to query | [optional] | +| **relation** | **kotlin.String** | Relation to query | [optional] | +| **subjectId** | **kotlin.String** | SubjectID to query Either SubjectSet or SubjectID can be provided. | [optional] | +| **subjectSet** | [**SubjectSet**](SubjectSet.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateSubscriptionBody.md b/clients/client/kotlin-multiplatform/docs/CreateSubscriptionBody.md new file mode 100644 index 00000000000..d874d548542 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateSubscriptionBody.md @@ -0,0 +1,28 @@ + +# CreateSubscriptionBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **interval** | [**inline**](#Interval) | monthly Monthly yearly Yearly | | +| **plan** | **kotlin.String** | | | +| **provisionFirstProject** | **kotlin.String** | | | +| **currency** | [**inline**](#Currency) | usd USD eur Euro | [optional] | +| **returnTo** | **kotlin.String** | | [optional] | + + + +## Enum: interval +| Name | Value | +| ---- | ----- | +| interval | monthly, yearly | + + + +## Enum: currency +| Name | Value | +| ---- | ----- | +| currency | usd, eur | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateSubscriptionCommon.md b/clients/client/kotlin-multiplatform/docs/CreateSubscriptionCommon.md new file mode 100644 index 00000000000..7202e893d5e --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateSubscriptionCommon.md @@ -0,0 +1,27 @@ + +# CreateSubscriptionCommon + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **interval** | [**inline**](#Interval) | monthly Monthly yearly Yearly | | +| **plan** | **kotlin.String** | | | +| **currency** | [**inline**](#Currency) | usd USD eur Euro | [optional] | +| **returnTo** | **kotlin.String** | | [optional] | + + + +## Enum: interval +| Name | Value | +| ---- | ----- | +| interval | monthly, yearly | + + + +## Enum: currency +| Name | Value | +| ---- | ----- | +| currency | usd, eur | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateVerifiableCredentialRequestBody.md b/clients/client/kotlin-multiplatform/docs/CreateVerifiableCredentialRequestBody.md new file mode 100644 index 00000000000..54b033f97ef --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateVerifiableCredentialRequestBody.md @@ -0,0 +1,12 @@ + +# CreateVerifiableCredentialRequestBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **format** | **kotlin.String** | | [optional] | +| **proof** | [**VerifiableCredentialProof**](VerifiableCredentialProof.md) | | [optional] | +| **types** | **kotlin.collections.List<kotlin.String>** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateWorkspaceApiKeyBody.md b/clients/client/kotlin-multiplatform/docs/CreateWorkspaceApiKeyBody.md new file mode 100644 index 00000000000..5607a82ccd8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateWorkspaceApiKeyBody.md @@ -0,0 +1,11 @@ + +# CreateWorkspaceApiKeyBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | The API Key Name A descriptive name for the API key. | | +| **expiresAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateWorkspaceBody.md b/clients/client/kotlin-multiplatform/docs/CreateWorkspaceBody.md new file mode 100644 index 00000000000..787de095e6c --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateWorkspaceBody.md @@ -0,0 +1,10 @@ + +# CreateWorkspaceBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | The name of the workspace | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateWorkspaceMemberInviteBody.md b/clients/client/kotlin-multiplatform/docs/CreateWorkspaceMemberInviteBody.md new file mode 100644 index 00000000000..39f811a9f7e --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateWorkspaceMemberInviteBody.md @@ -0,0 +1,18 @@ + +# CreateWorkspaceMemberInviteBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **inviteeEmail** | **kotlin.String** | A email to invite | | +| **role** | [**inline**](#Role) | The role the user will have in the workspace owner WorkspaceMemberRoleOwner developer WorkspaceMemberRoleDeveloper | | + + + +## Enum: role +| Name | Value | +| ---- | ----- | +| role | owner, developer | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CreateWorkspaceSubscriptionBody.md b/clients/client/kotlin-multiplatform/docs/CreateWorkspaceSubscriptionBody.md new file mode 100644 index 00000000000..b70ccb05063 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CreateWorkspaceSubscriptionBody.md @@ -0,0 +1,27 @@ + +# CreateWorkspaceSubscriptionBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **interval** | [**inline**](#Interval) | monthly Monthly yearly Yearly | | +| **plan** | **kotlin.String** | | | +| **currency** | [**inline**](#Currency) | usd USD eur Euro | [optional] | +| **returnTo** | **kotlin.String** | | [optional] | + + + +## Enum: interval +| Name | Value | +| ---- | ----- | +| interval | monthly, yearly | + + + +## Enum: currency +| Name | Value | +| ---- | ----- | +| currency | usd, eur | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CredentialSupportedDraft00.md b/clients/client/kotlin-multiplatform/docs/CredentialSupportedDraft00.md new file mode 100644 index 00000000000..db7b0b238aa --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CredentialSupportedDraft00.md @@ -0,0 +1,13 @@ + +# CredentialSupportedDraft00 + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **cryptographicBindingMethodsSupported** | **kotlin.collections.List<kotlin.String>** | OpenID Connect Verifiable Credentials Cryptographic Binding Methods Supported Contains a list of cryptographic binding methods supported for signing the proof. | [optional] | +| **cryptographicSuitesSupported** | **kotlin.collections.List<kotlin.String>** | OpenID Connect Verifiable Credentials Cryptographic Suites Supported Contains a list of cryptographic suites methods supported for signing the proof. | [optional] | +| **format** | **kotlin.String** | OpenID Connect Verifiable Credentials Format Contains the format that is supported by this authorization server. | [optional] | +| **types** | **kotlin.collections.List<kotlin.String>** | OpenID Connect Verifiable Credentials Types Contains the types of verifiable credentials supported. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/CustomDomain.md b/clients/client/kotlin-multiplatform/docs/CustomDomain.md new file mode 100644 index 00000000000..4560329c931 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/CustomDomain.md @@ -0,0 +1,27 @@ + +# CustomDomain + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **cookieDomain** | **kotlin.String** | | [optional] | +| **corsAllowedOrigins** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **corsEnabled** | **kotlin.Boolean** | | [optional] | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | +| **customUiBaseUrl** | **kotlin.String** | | [optional] | +| **hostname** | **kotlin.String** | | [optional] | +| **id** | **kotlin.String** | | [optional] | +| **sslStatus** | [**inline**](#SslStatus) | | [optional] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | +| **verificationErrors** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **verificationStatus** | **kotlin.String** | | [optional] | + + + +## Enum: ssl_status +| Name | Value | +| ---- | ----- | +| sslStatus | initializing, pending_validation, deleted, pending_issuance, pending_deployment, pending_deletion, pending_expiration, expired, active, initializing_timed_out, validation_timed_out, issuance_timed_out, deployment_timed_out, deletion_timed_out, pending_cleanup, staging_deployment, staging_active, deactivating, inactive, backup_issued, holding_deployment, | + + + diff --git a/clients/client/kotlin-multiplatform/docs/DeleteMySessionsCount.md b/clients/client/kotlin-multiplatform/docs/DeleteMySessionsCount.md new file mode 100644 index 00000000000..201e93a3e9c --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/DeleteMySessionsCount.md @@ -0,0 +1,10 @@ + +# DeleteMySessionsCount + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **count** | **kotlin.Long** | The number of sessions that were revoked. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/EmailTemplateData.md b/clients/client/kotlin-multiplatform/docs/EmailTemplateData.md new file mode 100644 index 00000000000..5a6e942baa8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/EmailTemplateData.md @@ -0,0 +1,11 @@ + +# EmailTemplateData + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **body** | [**EmailTemplateDataBody**](EmailTemplateDataBody.md) | | | +| **subject** | **kotlin.String** | | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/EmailTemplateDataBody.md b/clients/client/kotlin-multiplatform/docs/EmailTemplateDataBody.md new file mode 100644 index 00000000000..65e02cac342 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/EmailTemplateDataBody.md @@ -0,0 +1,11 @@ + +# EmailTemplateDataBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **html** | **kotlin.String** | | | +| **plaintext** | **kotlin.String** | | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ErrorAuthenticatorAssuranceLevelNotSatisfied.md b/clients/client/kotlin-multiplatform/docs/ErrorAuthenticatorAssuranceLevelNotSatisfied.md new file mode 100644 index 00000000000..d64adb4b318 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ErrorAuthenticatorAssuranceLevelNotSatisfied.md @@ -0,0 +1,11 @@ + +# ErrorAuthenticatorAssuranceLevelNotSatisfied + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **error** | [**GenericError**](GenericError.md) | | [optional] | +| **redirectBrowserTo** | **kotlin.String** | Points to where to redirect the user to next. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ErrorBrowserLocationChangeRequired.md b/clients/client/kotlin-multiplatform/docs/ErrorBrowserLocationChangeRequired.md new file mode 100644 index 00000000000..a88884499c5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ErrorBrowserLocationChangeRequired.md @@ -0,0 +1,11 @@ + +# ErrorBrowserLocationChangeRequired + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **error** | [**ErrorGeneric**](ErrorGeneric.md) | | [optional] | +| **redirectBrowserTo** | **kotlin.String** | Points to where to redirect the user to next. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ErrorFlowReplaced.md b/clients/client/kotlin-multiplatform/docs/ErrorFlowReplaced.md new file mode 100644 index 00000000000..2bb0aed751a --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ErrorFlowReplaced.md @@ -0,0 +1,11 @@ + +# ErrorFlowReplaced + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **error** | [**GenericError**](GenericError.md) | | [optional] | +| **useFlowId** | **kotlin.String** | The flow ID that should be used for the new flow as it contains the correct messages. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ErrorGeneric.md b/clients/client/kotlin-multiplatform/docs/ErrorGeneric.md new file mode 100644 index 00000000000..77b3ee870f0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ErrorGeneric.md @@ -0,0 +1,10 @@ + +# ErrorGeneric + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **error** | [**GenericErrorContent**](GenericErrorContent.md) | | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ErrorOAuth2.md b/clients/client/kotlin-multiplatform/docs/ErrorOAuth2.md new file mode 100644 index 00000000000..cc57369872c --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ErrorOAuth2.md @@ -0,0 +1,14 @@ + +# ErrorOAuth2 + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **error** | **kotlin.String** | Error | [optional] | +| **errorDebug** | **kotlin.String** | Error Debug Information Only available in dev mode. | [optional] | +| **errorDescription** | **kotlin.String** | Error Description | [optional] | +| **errorHint** | **kotlin.String** | Error Hint Helps the user identify the error cause. | [optional] | +| **statusCode** | **kotlin.Long** | HTTP Status Code | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/EventStream.md b/clients/client/kotlin-multiplatform/docs/EventStream.md new file mode 100644 index 00000000000..d4897399a9a --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/EventStream.md @@ -0,0 +1,15 @@ + +# EventStream + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | +| **id** | **kotlin.String** | | [optional] | +| **roleArn** | **kotlin.String** | | [optional] | +| **topicArn** | **kotlin.String** | | [optional] | +| **type** | **kotlin.String** | | [optional] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/EventsApi.md b/clients/client/kotlin-multiplatform/docs/EventsApi.md new file mode 100644 index 00000000000..1fffa7cbb09 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/EventsApi.md @@ -0,0 +1,205 @@ +# EventsApi + +All URIs are relative to *https://playground.projects.oryapis.com* + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**createEventStream**](EventsApi.md#createEventStream) | **POST** /projects/{project_id}/eventstreams | Create an event stream for your project. | +| [**deleteEventStream**](EventsApi.md#deleteEventStream) | **DELETE** /projects/{project_id}/eventstreams/{event_stream_id} | Remove an event stream from a project | +| [**listEventStreams**](EventsApi.md#listEventStreams) | **GET** /projects/{project_id}/eventstreams | List all event streams for the project. This endpoint is not paginated. | +| [**setEventStream**](EventsApi.md#setEventStream) | **PUT** /projects/{project_id}/eventstreams/{event_stream_id} | Update an event stream for a project. | + + + +# **createEventStream** +> EventStream createEventStream(projectId, createEventStreamBody) + +Create an event stream for your project. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = EventsApi() +val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. +val createEventStreamBody : CreateEventStreamBody = // CreateEventStreamBody | +try { + val result : EventStream = apiInstance.createEventStream(projectId, createEventStreamBody) + println(result) +} catch (e: ClientException) { + println("4xx response calling EventsApi#createEventStream") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling EventsApi#createEventStream") + e.printStackTrace() +} +``` + +### Parameters +| **projectId** | **kotlin.String**| Project ID The project's ID. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **createEventStreamBody** | [**CreateEventStreamBody**](CreateEventStreamBody.md)| | | + +### Return type + +[**EventStream**](EventStream.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **deleteEventStream** +> deleteEventStream(projectId, eventStreamId) + +Remove an event stream from a project + +Remove an event stream from a project. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = EventsApi() +val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. +val eventStreamId : kotlin.String = eventStreamId_example // kotlin.String | Event Stream ID The ID of the event stream to be deleted, as returned when created. +try { + apiInstance.deleteEventStream(projectId, eventStreamId) +} catch (e: ClientException) { + println("4xx response calling EventsApi#deleteEventStream") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling EventsApi#deleteEventStream") + e.printStackTrace() +} +``` + +### Parameters +| **projectId** | **kotlin.String**| Project ID The project's ID. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **eventStreamId** | **kotlin.String**| Event Stream ID The ID of the event stream to be deleted, as returned when created. | | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **listEventStreams** +> ListEventStreams listEventStreams(projectId) + +List all event streams for the project. This endpoint is not paginated. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = EventsApi() +val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. +try { + val result : ListEventStreams = apiInstance.listEventStreams(projectId) + println(result) +} catch (e: ClientException) { + println("4xx response calling EventsApi#listEventStreams") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling EventsApi#listEventStreams") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **projectId** | **kotlin.String**| Project ID The project's ID. | | + +### Return type + +[**ListEventStreams**](ListEventStreams.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **setEventStream** +> EventStream setEventStream(projectId, eventStreamId, setEventStreamBody) + +Update an event stream for a project. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = EventsApi() +val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. +val eventStreamId : kotlin.String = eventStreamId_example // kotlin.String | Event Stream ID The event stream's ID. +val setEventStreamBody : SetEventStreamBody = // SetEventStreamBody | +try { + val result : EventStream = apiInstance.setEventStream(projectId, eventStreamId, setEventStreamBody) + println(result) +} catch (e: ClientException) { + println("4xx response calling EventsApi#setEventStream") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling EventsApi#setEventStream") + e.printStackTrace() +} +``` + +### Parameters +| **projectId** | **kotlin.String**| Project ID The project's ID. | | +| **eventStreamId** | **kotlin.String**| Event Stream ID The event stream's ID. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **setEventStreamBody** | [**SetEventStreamBody**](SetEventStreamBody.md)| | [optional] | + +### Return type + +[**EventStream**](EventStream.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + diff --git a/clients/client/kotlin-multiplatform/docs/ExpandedPermissionTree.md b/clients/client/kotlin-multiplatform/docs/ExpandedPermissionTree.md new file mode 100644 index 00000000000..41b1da1100b --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ExpandedPermissionTree.md @@ -0,0 +1,19 @@ + +# ExpandedPermissionTree + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **type** | [**inline**](#Type) | The type of the node. union TreeNodeUnion exclusion TreeNodeExclusion intersection TreeNodeIntersection leaf TreeNodeLeaf tuple_to_subject_set TreeNodeTupleToSubjectSet computed_subject_set TreeNodeComputedSubjectSet not TreeNodeNot unspecified TreeNodeUnspecified | | +| **children** | [**kotlin.collections.List<ExpandedPermissionTree>**](ExpandedPermissionTree.md) | The children of the node, possibly none. | [optional] | +| **tuple** | [**Relationship**](Relationship.md) | | [optional] | + + + +## Enum: type +| Name | Value | +| ---- | ----- | +| type | union, exclusion, intersection, leaf, tuple_to_subject_set, computed_subject_set, not, unspecified | + + + diff --git a/clients/client/kotlin-multiplatform/docs/FlowError.md b/clients/client/kotlin-multiplatform/docs/FlowError.md new file mode 100644 index 00000000000..b9d56aaf391 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/FlowError.md @@ -0,0 +1,13 @@ + +# FlowError + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.String** | ID of the error container. | | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | CreatedAt is a helper struct field for gobuffalo.pop. | [optional] | +| **error** | **kotlin.String** | | [optional] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | UpdatedAt is a helper struct field for gobuffalo.pop. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/FrontendApi.md b/clients/client/kotlin-multiplatform/docs/FrontendApi.md new file mode 100644 index 00000000000..cd62d81c8e8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/FrontendApi.md @@ -0,0 +1,1511 @@ +# FrontendApi + +All URIs are relative to *https://playground.projects.oryapis.com* + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**createBrowserLoginFlow**](FrontendApi.md#createBrowserLoginFlow) | **GET** /self-service/login/browser | Create Login Flow for Browsers | +| [**createBrowserLogoutFlow**](FrontendApi.md#createBrowserLogoutFlow) | **GET** /self-service/logout/browser | Create a Logout URL for Browsers | +| [**createBrowserRecoveryFlow**](FrontendApi.md#createBrowserRecoveryFlow) | **GET** /self-service/recovery/browser | Create Recovery Flow for Browsers | +| [**createBrowserRegistrationFlow**](FrontendApi.md#createBrowserRegistrationFlow) | **GET** /self-service/registration/browser | Create Registration Flow for Browsers | +| [**createBrowserSettingsFlow**](FrontendApi.md#createBrowserSettingsFlow) | **GET** /self-service/settings/browser | Create Settings Flow for Browsers | +| [**createBrowserVerificationFlow**](FrontendApi.md#createBrowserVerificationFlow) | **GET** /self-service/verification/browser | Create Verification Flow for Browser Clients | +| [**createNativeLoginFlow**](FrontendApi.md#createNativeLoginFlow) | **GET** /self-service/login/api | Create Login Flow for Native Apps | +| [**createNativeRecoveryFlow**](FrontendApi.md#createNativeRecoveryFlow) | **GET** /self-service/recovery/api | Create Recovery Flow for Native Apps | +| [**createNativeRegistrationFlow**](FrontendApi.md#createNativeRegistrationFlow) | **GET** /self-service/registration/api | Create Registration Flow for Native Apps | +| [**createNativeSettingsFlow**](FrontendApi.md#createNativeSettingsFlow) | **GET** /self-service/settings/api | Create Settings Flow for Native Apps | +| [**createNativeVerificationFlow**](FrontendApi.md#createNativeVerificationFlow) | **GET** /self-service/verification/api | Create Verification Flow for Native Apps | +| [**disableMyOtherSessions**](FrontendApi.md#disableMyOtherSessions) | **DELETE** /sessions | Disable my other sessions | +| [**disableMySession**](FrontendApi.md#disableMySession) | **DELETE** /sessions/{id} | Disable one of my sessions | +| [**exchangeSessionToken**](FrontendApi.md#exchangeSessionToken) | **GET** /sessions/token-exchange | Exchange Session Token | +| [**getFlowError**](FrontendApi.md#getFlowError) | **GET** /self-service/errors | Get User-Flow Errors | +| [**getLoginFlow**](FrontendApi.md#getLoginFlow) | **GET** /self-service/login/flows | Get Login Flow | +| [**getRecoveryFlow**](FrontendApi.md#getRecoveryFlow) | **GET** /self-service/recovery/flows | Get Recovery Flow | +| [**getRegistrationFlow**](FrontendApi.md#getRegistrationFlow) | **GET** /self-service/registration/flows | Get Registration Flow | +| [**getSettingsFlow**](FrontendApi.md#getSettingsFlow) | **GET** /self-service/settings/flows | Get Settings Flow | +| [**getVerificationFlow**](FrontendApi.md#getVerificationFlow) | **GET** /self-service/verification/flows | Get Verification Flow | +| [**getWebAuthnJavaScript**](FrontendApi.md#getWebAuthnJavaScript) | **GET** /.well-known/ory/webauthn.js | Get WebAuthn JavaScript | +| [**listMySessions**](FrontendApi.md#listMySessions) | **GET** /sessions | Get My Active Sessions | +| [**performNativeLogout**](FrontendApi.md#performNativeLogout) | **DELETE** /self-service/logout/api | Perform Logout for Native Apps | +| [**toSession**](FrontendApi.md#toSession) | **GET** /sessions/whoami | Check Who the Current HTTP Session Belongs To | +| [**updateLoginFlow**](FrontendApi.md#updateLoginFlow) | **POST** /self-service/login | Submit a Login Flow | +| [**updateLogoutFlow**](FrontendApi.md#updateLogoutFlow) | **GET** /self-service/logout | Update Logout Flow | +| [**updateRecoveryFlow**](FrontendApi.md#updateRecoveryFlow) | **POST** /self-service/recovery | Update Recovery Flow | +| [**updateRegistrationFlow**](FrontendApi.md#updateRegistrationFlow) | **POST** /self-service/registration | Update Registration Flow | +| [**updateSettingsFlow**](FrontendApi.md#updateSettingsFlow) | **POST** /self-service/settings | Complete Settings Flow | +| [**updateVerificationFlow**](FrontendApi.md#updateVerificationFlow) | **POST** /self-service/verification | Complete Verification Flow | + + + +# **createBrowserLoginFlow** +> LoginFlow createBrowserLoginFlow(refresh, aal, returnTo, cookie, loginChallenge, organization, via) + +Create Login Flow for Browsers + +This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! The optional query parameter login_challenge is set when using Kratos with Hydra in an OAuth2 flow. See the oauth2_provider.url configuration option. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val refresh : kotlin.Boolean = true // kotlin.Boolean | Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session. +val aal : kotlin.String = aal_example // kotlin.String | Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session's authenticator assurance level (AAL). This allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password, the AAL is 1. If you wish to \"upgrade\" the session's security by asking the user to perform TOTP / WebAuth/ ... you would set this to \"aal2\". +val returnTo : kotlin.String = returnTo_example // kotlin.String | The URL to return the browser to after the flow was completed. +val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. +val loginChallenge : kotlin.String = loginChallenge_example // kotlin.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`). +val organization : kotlin.String = organization_example // kotlin.String | An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network. +val via : kotlin.String = via_example // kotlin.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 { + val result : LoginFlow = apiInstance.createBrowserLoginFlow(refresh, aal, returnTo, cookie, loginChallenge, organization, via) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#createBrowserLoginFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#createBrowserLoginFlow") + e.printStackTrace() +} +``` + +### Parameters +| **refresh** | **kotlin.Boolean**| Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session. | [optional] | +| **aal** | **kotlin.String**| Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session's authenticator assurance level (AAL). This allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password, the AAL is 1. If you wish to \"upgrade\" the session's security by asking the user to perform TOTP / WebAuth/ ... you would set this to \"aal2\". | [optional] | +| **returnTo** | **kotlin.String**| The URL to return the browser to after the flow was completed. | [optional] | +| **cookie** | **kotlin.String**| HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] | +| **loginChallenge** | **kotlin.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`). | [optional] | +| **organization** | **kotlin.String**| An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **via** | **kotlin.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 + +[**LoginFlow**](LoginFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **createBrowserLogoutFlow** +> LogoutFlow createBrowserLogoutFlow(cookie, returnTo) + +Create a Logout URL for Browsers + +This endpoint initializes a browser-based user logout flow and a URL which can be used to log out the user. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. The URL is only valid for the currently signed in user. If no user is signed in, this endpoint returns a 401 error. When calling this endpoint from a backend, please ensure to properly forward the HTTP cookies. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies If you call this endpoint from a backend, please include the original Cookie header in the request. +val returnTo : kotlin.String = returnTo_example // kotlin.String | Return to URL The URL to which the browser should be redirected to after the logout has been performed. +try { + val result : LogoutFlow = apiInstance.createBrowserLogoutFlow(cookie, returnTo) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#createBrowserLogoutFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#createBrowserLogoutFlow") + e.printStackTrace() +} +``` + +### Parameters +| **cookie** | **kotlin.String**| HTTP Cookies If you call this endpoint from a backend, please include the original Cookie header in the request. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **returnTo** | **kotlin.String**| Return to URL The URL to which the browser should be redirected to after the logout has been performed. | [optional] | + +### Return type + +[**LogoutFlow**](LogoutFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **createBrowserRecoveryFlow** +> RecoveryFlow createBrowserRecoveryFlow(returnTo) + +Create Recovery Flow for Browsers + +This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to `selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists, the browser is returned to the configured return URL. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects or a 400 bad request error if the user is already authenticated. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val returnTo : kotlin.String = returnTo_example // kotlin.String | The URL to return the browser to after the flow was completed. +try { + val result : RecoveryFlow = apiInstance.createBrowserRecoveryFlow(returnTo) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#createBrowserRecoveryFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#createBrowserRecoveryFlow") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **returnTo** | **kotlin.String**| The URL to return the browser to after the flow was completed. | [optional] | + +### Return type + +[**RecoveryFlow**](RecoveryFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **createBrowserRegistrationFlow** +> RegistrationFlow createBrowserRegistrationFlow(returnTo, loginChallenge, afterVerificationReturnTo, organization) + +Create Registration Flow for Browsers + +This endpoint initializes a browser-based user registration flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.registration.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url`. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val returnTo : kotlin.String = returnTo_example // kotlin.String | The URL to return the browser to after the flow was completed. +val loginChallenge : kotlin.String = loginChallenge_example // kotlin.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. +val afterVerificationReturnTo : kotlin.String = afterVerificationReturnTo_example // kotlin.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. +val organization : kotlin.String = organization_example // kotlin.String | An optional organization ID that should be used to register this user. This parameter is only effective in the Ory Network. +try { + val result : RegistrationFlow = apiInstance.createBrowserRegistrationFlow(returnTo, loginChallenge, afterVerificationReturnTo, organization) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#createBrowserRegistrationFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#createBrowserRegistrationFlow") + e.printStackTrace() +} +``` + +### Parameters +| **returnTo** | **kotlin.String**| The URL to return the browser to after the flow was completed. | [optional] | +| **loginChallenge** | **kotlin.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** | **kotlin.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] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **organization** | **kotlin.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 + +[**RegistrationFlow**](RegistrationFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **createBrowserSettingsFlow** +> SettingsFlow createBrowserSettingsFlow(returnTo, cookie) + +Create Settings Flow for Browsers + +This endpoint initializes a browser-based user settings flow. Once initialized, the browser will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid Ory Kratos Session Cookie is included in the request, a login flow will be initialized. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid user session was set, the browser will be redirected to the login endpoint. If this endpoint is called via an AJAX request, the response contains the settings flow without any redirects or a 401 forbidden error if no valid session was set. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val returnTo : kotlin.String = returnTo_example // kotlin.String | The URL to return the browser to after the flow was completed. +val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. +try { + val result : SettingsFlow = apiInstance.createBrowserSettingsFlow(returnTo, cookie) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#createBrowserSettingsFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#createBrowserSettingsFlow") + e.printStackTrace() +} +``` + +### Parameters +| **returnTo** | **kotlin.String**| The URL to return the browser to after the flow was completed. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **cookie** | **kotlin.String**| HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] | + +### Return type + +[**SettingsFlow**](SettingsFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **createBrowserVerificationFlow** +> VerificationFlow createBrowserVerificationFlow(returnTo) + +Create Verification Flow for Browser Clients + +This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to `selfservice.flows.verification.ui_url` with the flow ID set as the query parameter `?flow=`. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val returnTo : kotlin.String = returnTo_example // kotlin.String | The URL to return the browser to after the flow was completed. +try { + val result : VerificationFlow = apiInstance.createBrowserVerificationFlow(returnTo) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#createBrowserVerificationFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#createBrowserVerificationFlow") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **returnTo** | **kotlin.String**| The URL to return the browser to after the flow was completed. | [optional] | + +### Return type + +[**VerificationFlow**](VerificationFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **createNativeLoginFlow** +> LoginFlow createNativeLoginFlow(refresh, aal, xSessionToken, returnSessionTokenExchangeCode, returnTo, organization, via) + +Create Login Flow for Native Apps + +This endpoint initiates a login flow for native apps that do not use a browser, such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing login flow call `/self-service/login/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, including CSRF login attacks. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. 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 Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val refresh : kotlin.Boolean = true // kotlin.Boolean | Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session. +val aal : kotlin.String = aal_example // kotlin.String | Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session's authenticator assurance level (AAL). This allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password, the AAL is 1. If you wish to \"upgrade\" the session's security by asking the user to perform TOTP / WebAuth/ ... you would set this to \"aal2\". +val xSessionToken : kotlin.String = xSessionToken_example // kotlin.String | The Session Token of the Identity performing the settings flow. +val returnSessionTokenExchangeCode : kotlin.Boolean = true // kotlin.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. +val returnTo : kotlin.String = returnTo_example // kotlin.String | The URL to return the browser to after the flow was completed. +val organization : kotlin.String = organization_example // kotlin.String | An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network. +val via : kotlin.String = via_example // kotlin.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 { + val result : LoginFlow = apiInstance.createNativeLoginFlow(refresh, aal, xSessionToken, returnSessionTokenExchangeCode, returnTo, organization, via) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#createNativeLoginFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#createNativeLoginFlow") + e.printStackTrace() +} +``` + +### Parameters +| **refresh** | **kotlin.Boolean**| Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session. | [optional] | +| **aal** | **kotlin.String**| Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session's authenticator assurance level (AAL). This allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password, the AAL is 1. If you wish to \"upgrade\" the session's security by asking the user to perform TOTP / WebAuth/ ... you would set this to \"aal2\". | [optional] | +| **xSessionToken** | **kotlin.String**| The Session Token of the Identity performing the settings flow. | [optional] | +| **returnSessionTokenExchangeCode** | **kotlin.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] | +| **returnTo** | **kotlin.String**| The URL to return the browser to after the flow was completed. | [optional] | +| **organization** | **kotlin.String**| An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **via** | **kotlin.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 + +[**LoginFlow**](LoginFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **createNativeRecoveryFlow** +> RecoveryFlow createNativeRecoveryFlow() + +Create Recovery Flow for Native Apps + +This endpoint initiates a recovery flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error. On an existing recovery flow, use the `getRecoveryFlow` API endpoint. 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 Kratos Account Recovery Documentation](../self-service/flows/account-recovery). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +try { + val result : RecoveryFlow = apiInstance.createNativeRecoveryFlow() + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#createNativeRecoveryFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#createNativeRecoveryFlow") + e.printStackTrace() +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**RecoveryFlow**](RecoveryFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **createNativeRegistrationFlow** +> RegistrationFlow createNativeRegistrationFlow(returnSessionTokenExchangeCode, returnTo, organization) + +Create Registration Flow for Native Apps + +This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing registration flow call `/self-service/registration/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. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. 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 Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val returnSessionTokenExchangeCode : kotlin.Boolean = true // kotlin.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. +val returnTo : kotlin.String = returnTo_example // kotlin.String | The URL to return the browser to after the flow was completed. +val organization : kotlin.String = organization_example // kotlin.String | An optional organization ID that should be used to register this user. This parameter is only effective in the Ory Network. +try { + val result : RegistrationFlow = apiInstance.createNativeRegistrationFlow(returnSessionTokenExchangeCode, returnTo, organization) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#createNativeRegistrationFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#createNativeRegistrationFlow") + e.printStackTrace() +} +``` + +### Parameters +| **returnSessionTokenExchangeCode** | **kotlin.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] | +| **returnTo** | **kotlin.String**| The URL to return the browser to after the flow was completed. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **organization** | **kotlin.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 + +[**RegistrationFlow**](RegistrationFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **createNativeSettingsFlow** +> SettingsFlow createNativeSettingsFlow(xSessionToken) + +Create Settings Flow for Native Apps + +This endpoint initiates a settings flow for API clients such as mobile devices, smart TVs, and so on. You must provide a valid Ory Kratos Session Token for this endpoint to respond with HTTP 200 OK. To fetch an existing settings flow call `/self-service/settings/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. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. In the case of an error, the `error.id` of the JSON response body can be one of: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. 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 Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val xSessionToken : kotlin.String = xSessionToken_example // kotlin.String | The Session Token of the Identity performing the settings flow. +try { + val result : SettingsFlow = apiInstance.createNativeSettingsFlow(xSessionToken) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#createNativeSettingsFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#createNativeSettingsFlow") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **xSessionToken** | **kotlin.String**| The Session Token of the Identity performing the settings flow. | [optional] | + +### Return type + +[**SettingsFlow**](SettingsFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **createNativeVerificationFlow** +> VerificationFlow createNativeVerificationFlow(returnTo) + +Create Verification Flow for Native Apps + +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). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val returnTo : kotlin.String = returnTo_example // kotlin.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 { + val result : VerificationFlow = apiInstance.createNativeVerificationFlow(returnTo) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#createNativeVerificationFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#createNativeVerificationFlow") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **returnTo** | **kotlin.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 + +[**VerificationFlow**](VerificationFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **disableMyOtherSessions** +> DeleteMySessionsCount disableMyOtherSessions(xSessionToken, cookie) + +Disable my other sessions + +Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val xSessionToken : kotlin.String = xSessionToken_example // kotlin.String | Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`. +val cookie : kotlin.String = cookie_example // kotlin.String | Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored. +try { + val result : DeleteMySessionsCount = apiInstance.disableMyOtherSessions(xSessionToken, cookie) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#disableMyOtherSessions") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#disableMyOtherSessions") + e.printStackTrace() +} +``` + +### Parameters +| **xSessionToken** | **kotlin.String**| Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **cookie** | **kotlin.String**| Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored. | [optional] | + +### Return type + +[**DeleteMySessionsCount**](DeleteMySessionsCount.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **disableMySession** +> disableMySession(id, xSessionToken, cookie) + +Disable one of my sessions + +Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val id : kotlin.String = id_example // kotlin.String | ID is the session's ID. +val xSessionToken : kotlin.String = xSessionToken_example // kotlin.String | Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`. +val cookie : kotlin.String = cookie_example // kotlin.String | Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored. +try { + apiInstance.disableMySession(id, xSessionToken, cookie) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#disableMySession") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#disableMySession") + e.printStackTrace() +} +``` + +### Parameters +| **id** | **kotlin.String**| ID is the session's ID. | | +| **xSessionToken** | **kotlin.String**| Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **cookie** | **kotlin.String**| Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored. | [optional] | + +### Return type + +null (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **exchangeSessionToken** +> SuccessfulNativeLogin exchangeSessionToken(initCode, returnToCode) + +Exchange Session Token + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val initCode : kotlin.String = initCode_example // kotlin.String | The part of the code return when initializing the flow. +val returnToCode : kotlin.String = returnToCode_example // kotlin.String | The part of the code returned by the return_to URL. +try { + val result : SuccessfulNativeLogin = apiInstance.exchangeSessionToken(initCode, returnToCode) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#exchangeSessionToken") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#exchangeSessionToken") + e.printStackTrace() +} +``` + +### Parameters +| **initCode** | **kotlin.String**| The part of the code return when initializing the flow. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **returnToCode** | **kotlin.String**| The part of the code returned by the return_to URL. | | + +### Return type + +[**SuccessfulNativeLogin**](SuccessfulNativeLogin.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getFlowError** +> FlowError getFlowError(id) + +Get User-Flow Errors + +This endpoint returns the error associated with a user-facing self service errors. This endpoint supports stub values to help you implement the error UI: `?id=stub:500` - returns a stub 500 (Internal Server Error) error. More information can be found at [Ory Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val id : kotlin.String = id_example // kotlin.String | Error is the error's ID +try { + val result : FlowError = apiInstance.getFlowError(id) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#getFlowError") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#getFlowError") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.String**| Error is the error's ID | | + +### Return type + +[**FlowError**](FlowError.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getLoginFlow** +> LoginFlow getLoginFlow(id, cookie) + +Get Login Flow + +This endpoint returns a login flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/login', async function (req, res) { const flow = await client.getLoginFlow(req.header('cookie'), req.query['flow']) res.render('login', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val id : kotlin.String = id_example // kotlin.String | The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`). +val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. +try { + val result : LoginFlow = apiInstance.getLoginFlow(id, cookie) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#getLoginFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#getLoginFlow") + e.printStackTrace() +} +``` + +### Parameters +| **id** | **kotlin.String**| The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`). | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **cookie** | **kotlin.String**| HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] | + +### Return type + +[**LoginFlow**](LoginFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getRecoveryFlow** +> RecoveryFlow getRecoveryFlow(id, cookie) + +Get Recovery Flow + +This endpoint returns a recovery flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getRecoveryFlow(req.header('Cookie'), req.query['flow']) res.render('recovery', flow) }) ``` More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val id : kotlin.String = id_example // kotlin.String | The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`). +val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. +try { + val result : RecoveryFlow = apiInstance.getRecoveryFlow(id, cookie) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#getRecoveryFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#getRecoveryFlow") + e.printStackTrace() +} +``` + +### Parameters +| **id** | **kotlin.String**| The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`). | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **cookie** | **kotlin.String**| HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] | + +### Return type + +[**RecoveryFlow**](RecoveryFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getRegistrationFlow** +> RegistrationFlow getRegistrationFlow(id, cookie) + +Get Registration Flow + +This endpoint returns a registration flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/registration', async function (req, res) { const flow = await client.getRegistrationFlow(req.header('cookie'), req.query['flow']) res.render('registration', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val id : kotlin.String = id_example // kotlin.String | The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`). +val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. +try { + val result : RegistrationFlow = apiInstance.getRegistrationFlow(id, cookie) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#getRegistrationFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#getRegistrationFlow") + e.printStackTrace() +} +``` + +### Parameters +| **id** | **kotlin.String**| The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`). | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **cookie** | **kotlin.String**| HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] | + +### Return type + +[**RegistrationFlow**](RegistrationFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getSettingsFlow** +> SettingsFlow getSettingsFlow(id, xSessionToken, cookie) + +Get Settings Flow + +When accessing this endpoint through Ory Kratos' Public API you must ensure that either the Ory Kratos Session Cookie or the Ory Kratos Session Token are set. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. You can access this endpoint without credentials when using Ory Kratos' Admin API. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val id : kotlin.String = id_example // kotlin.String | ID is the Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`). +val xSessionToken : kotlin.String = xSessionToken_example // kotlin.String | The Session Token When using the SDK in an app without a browser, please include the session token here. +val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. +try { + val result : SettingsFlow = apiInstance.getSettingsFlow(id, xSessionToken, cookie) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#getSettingsFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#getSettingsFlow") + e.printStackTrace() +} +``` + +### Parameters +| **id** | **kotlin.String**| ID is the Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`). | | +| **xSessionToken** | **kotlin.String**| The Session Token When using the SDK in an app without a browser, please include the session token here. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **cookie** | **kotlin.String**| HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] | + +### Return type + +[**SettingsFlow**](SettingsFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getVerificationFlow** +> VerificationFlow getVerificationFlow(id, cookie) + +Get Verification Flow + +This endpoint returns a verification flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getVerificationFlow(req.header('cookie'), req.query['flow']) res.render('verification', flow) }) ``` More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val id : kotlin.String = id_example // kotlin.String | The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`). +val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here. +try { + val result : VerificationFlow = apiInstance.getVerificationFlow(id, cookie) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#getVerificationFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#getVerificationFlow") + e.printStackTrace() +} +``` + +### Parameters +| **id** | **kotlin.String**| The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`). | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **cookie** | **kotlin.String**| HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here. | [optional] | + +### Return type + +[**VerificationFlow**](VerificationFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getWebAuthnJavaScript** +> kotlin.String getWebAuthnJavaScript() + +Get WebAuthn JavaScript + +This endpoint provides JavaScript which is needed in order to perform WebAuthn login and registration. If you are building a JavaScript Browser App (e.g. in ReactJS or AngularJS) you will need to load this file: ```html <script src=\"https://public-kratos.example.org/.well-known/ory/webauthn.js\" type=\"script\" async /> ``` More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +try { + val result : kotlin.String = apiInstance.getWebAuthnJavaScript() + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#getWebAuthnJavaScript") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#getWebAuthnJavaScript") + e.printStackTrace() +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +**kotlin.String** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **listMySessions** +> kotlin.collections.List<Session> listMySessions(perPage, page, pageSize, pageToken, xSessionToken, cookie) + +Get My Active Sessions + +This endpoints returns all other active sessions that belong to the logged-in user. The current session can be retrieved by calling the `/sessions/whoami` endpoint. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val perPage : kotlin.Long = 789 // kotlin.Long | Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page. +val page : kotlin.Long = 789 // kotlin.Long | Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. +val pageSize : kotlin.Long = 789 // kotlin.Long | 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). +val pageToken : kotlin.String = pageToken_example // kotlin.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). +val xSessionToken : kotlin.String = xSessionToken_example // kotlin.String | Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`. +val cookie : kotlin.String = cookie_example // kotlin.String | Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored. +try { + val result : kotlin.collections.List = apiInstance.listMySessions(perPage, page, pageSize, pageToken, xSessionToken, cookie) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#listMySessions") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#listMySessions") + e.printStackTrace() +} +``` + +### Parameters +| **perPage** | **kotlin.Long**| Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page. | [optional] [default to 250L] | +| **page** | **kotlin.Long**| Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. | [optional] | +| **pageSize** | **kotlin.Long**| 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 250L] | +| **pageToken** | **kotlin.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"] | +| **xSessionToken** | **kotlin.String**| Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **cookie** | **kotlin.String**| Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored. | [optional] | + +### Return type + +[**kotlin.collections.List<Session>**](Session.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **performNativeLogout** +> performNativeLogout(performNativeLogoutBody) + +Perform Logout for Native Apps + +Use this endpoint to log out an identity using an Ory Session Token. If the Ory Session Token was successfully revoked, the server returns a 204 No Content response. A 204 No Content response is also sent when the Ory Session Token has been revoked already before. If the Ory Session Token is malformed or does not exist a 403 Forbidden response will be returned. This endpoint does not remove any HTTP Cookies - use the Browser-Based Self-Service Logout Flow instead. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val performNativeLogoutBody : PerformNativeLogoutBody = // PerformNativeLogoutBody | +try { + apiInstance.performNativeLogout(performNativeLogoutBody) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#performNativeLogout") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#performNativeLogout") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **performNativeLogoutBody** | [**PerformNativeLogoutBody**](PerformNativeLogoutBody.md)| | | + +### Return type + +null (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **toSession** +> Session toSession(xSessionToken, cookie, tokenizeAs) + +Check Who the Current HTTP Session Belongs To + +Uses the HTTP Headers in the GET request to determine (e.g. by using checking the cookies) who is authenticated. Returns a session object in the body or 401 if the credentials are invalid or no credentials were sent. When the request it successful it adds the user ID to the 'X-Kratos-Authenticated-Identity-Id' header in the response. If you call this endpoint from a server-side application, you must forward the HTTP Cookie Header to this endpoint: ```js pseudo-code example router.get('/protected-endpoint', async function (req, res) { const session = await client.toSession(undefined, req.header('cookie')) console.log(session) }) ``` When calling this endpoint from a non-browser application (e.g. mobile app) you must include the session token: ```js pseudo-code example ... const session = await client.toSession(\"the-session-token\") console.log(session) ``` When using a token template, the token is included in the `tokenized` field of the session. ```js pseudo-code example ... const session = await client.toSession(\"the-session-token\", { tokenize_as: \"example-jwt-template\" }) console.log(session.tokenized) // The JWT ``` Depending on your configuration this endpoint might return a 403 status code if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. This endpoint is useful for: AJAX calls. Remember to send credentials and set up CORS correctly! Reverse proxies and API Gateways Server-side calls - use the `X-Session-Token` header! This endpoint authenticates users by checking: if the `Cookie` HTTP header was set containing an Ory Kratos Session Cookie; if the `Authorization: bearer <ory-session-token>` HTTP header was set with a valid Ory Kratos Session Token; if the `X-Session-Token` HTTP header was set with a valid Ory Kratos Session Token. If none of these headers are set or the cookie or token are invalid, the endpoint returns a HTTP 401 status code. As explained above, this request may fail due to several reasons. The `error.id` can be one of: `session_inactive`: No active session was found in the request (e.g. no Ory Session Cookie / Ory Session Token). `session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val xSessionToken : kotlin.String = MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj // kotlin.String | Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`. +val cookie : kotlin.String = ory_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f== // kotlin.String | Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored. +val tokenizeAs : kotlin.String = tokenizeAs_example // kotlin.String | Returns the session additionally as a token (such as a JWT) The value of this parameter has to be a valid, configured Ory Session token template. For more information head over to [the documentation](http://ory.sh/docs/identities/session-to-jwt-cors). +try { + val result : Session = apiInstance.toSession(xSessionToken, cookie, tokenizeAs) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#toSession") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#toSession") + e.printStackTrace() +} +``` + +### Parameters +| **xSessionToken** | **kotlin.String**| Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`. | [optional] | +| **cookie** | **kotlin.String**| Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **tokenizeAs** | **kotlin.String**| Returns the session additionally as a token (such as a JWT) The value of this parameter has to be a valid, configured Ory Session token template. For more information head over to [the documentation](http://ory.sh/docs/identities/session-to-jwt-cors). | [optional] | + +### Return type + +[**Session**](Session.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **updateLoginFlow** +> SuccessfulNativeLogin updateLoginFlow(flow, updateLoginFlowBody, xSessionToken, cookie) + +Submit a Login Flow + +Use this endpoint to complete a login flow. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 303 redirect to the login UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val flow : kotlin.String = flow_example // kotlin.String | The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`). +val updateLoginFlowBody : UpdateLoginFlowBody = // UpdateLoginFlowBody | +val xSessionToken : kotlin.String = xSessionToken_example // kotlin.String | The Session Token of the Identity performing the settings flow. +val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. +try { + val result : SuccessfulNativeLogin = apiInstance.updateLoginFlow(flow, updateLoginFlowBody, xSessionToken, cookie) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#updateLoginFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#updateLoginFlow") + e.printStackTrace() +} +``` + +### Parameters +| **flow** | **kotlin.String**| The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`). | | +| **updateLoginFlowBody** | [**UpdateLoginFlowBody**](UpdateLoginFlowBody.md)| | | +| **xSessionToken** | **kotlin.String**| The Session Token of the Identity performing the settings flow. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **cookie** | **kotlin.String**| HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] | + +### Return type + +[**SuccessfulNativeLogin**](SuccessfulNativeLogin.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/x-www-form-urlencoded + - **Accept**: application/json + + +# **updateLogoutFlow** +> updateLogoutFlow(token, returnTo, cookie) + +Update Logout Flow + +This endpoint logs out an identity in a self-service manner. If the `Accept` HTTP header is not set to `application/json`, the browser will be redirected (HTTP 303 See Other) to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`. If the `Accept` HTTP header is set to `application/json`, a 204 No Content response will be sent on successful logout instead. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. More information can be found at [Ory Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val token : kotlin.String = token_example // kotlin.String | A Valid Logout Token If you do not have a logout token because you only have a session cookie, call `/self-service/logout/browser` to generate a URL for this endpoint. +val returnTo : kotlin.String = returnTo_example // kotlin.String | The URL to return to after the logout was completed. +val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. +try { + apiInstance.updateLogoutFlow(token, returnTo, cookie) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#updateLogoutFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#updateLogoutFlow") + e.printStackTrace() +} +``` + +### Parameters +| **token** | **kotlin.String**| A Valid Logout Token If you do not have a logout token because you only have a session cookie, call `/self-service/logout/browser` to generate a URL for this endpoint. | [optional] | +| **returnTo** | **kotlin.String**| The URL to return to after the logout was completed. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **cookie** | **kotlin.String**| HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] | + +### Return type + +null (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **updateRecoveryFlow** +> RecoveryFlow updateRecoveryFlow(flow, updateRecoveryFlowBody, token, cookie) + +Update Recovery Flow + +Use this endpoint to update a recovery flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid. and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/_*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended. `sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a recovery link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with a new Recovery Flow ID which contains an error message that the recovery link was invalid. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val flow : kotlin.String = flow_example // kotlin.String | The Recovery Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`). +val updateRecoveryFlowBody : UpdateRecoveryFlowBody = // UpdateRecoveryFlowBody | +val token : kotlin.String = token_example // kotlin.String | Recovery Token The recovery token which completes the recovery request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call. +val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. +try { + val result : RecoveryFlow = apiInstance.updateRecoveryFlow(flow, updateRecoveryFlowBody, token, cookie) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#updateRecoveryFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#updateRecoveryFlow") + e.printStackTrace() +} +``` + +### Parameters +| **flow** | **kotlin.String**| The Recovery Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`). | | +| **updateRecoveryFlowBody** | [**UpdateRecoveryFlowBody**](UpdateRecoveryFlowBody.md)| | | +| **token** | **kotlin.String**| Recovery Token The recovery token which completes the recovery request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **cookie** | **kotlin.String**| HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] | + +### Return type + +[**RecoveryFlow**](RecoveryFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/x-www-form-urlencoded + - **Accept**: application/json + + +# **updateRegistrationFlow** +> SuccessfulNativeRegistration updateRegistrationFlow(flow, updateRegistrationFlowBody, cookie) + +Update Registration Flow + +Use this endpoint to complete a registration flow by sending an identity's traits and password. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the `session` and `session_token` will also be included; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 303 redirect to the registration UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val flow : kotlin.String = flow_example // kotlin.String | The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`). +val updateRegistrationFlowBody : UpdateRegistrationFlowBody = // UpdateRegistrationFlowBody | +val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. +try { + val result : SuccessfulNativeRegistration = apiInstance.updateRegistrationFlow(flow, updateRegistrationFlowBody, cookie) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#updateRegistrationFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#updateRegistrationFlow") + e.printStackTrace() +} +``` + +### Parameters +| **flow** | **kotlin.String**| The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`). | | +| **updateRegistrationFlowBody** | [**UpdateRegistrationFlowBody**](UpdateRegistrationFlowBody.md)| | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **cookie** | **kotlin.String**| HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] | + +### Return type + +[**SuccessfulNativeRegistration**](SuccessfulNativeRegistration.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/x-www-form-urlencoded + - **Accept**: application/json + + +# **updateSettingsFlow** +> SettingsFlow updateSettingsFlow(flow, updateSettingsFlowBody, xSessionToken, cookie) + +Complete Settings Flow + +Use this endpoint to complete a settings flow by sending an identity's updated password. This endpoint behaves differently for API and browser flows. API-initiated flows expect `application/json` to be sent in the body and respond with HTTP 200 and an application/json body with the session token on success; HTTP 303 redirect to a fresh settings flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. HTTP 401 when the endpoint is called without a valid session token. HTTP 403 when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low. Implies that the user needs to re-authenticate. Browser flows without HTTP Header `Accept` or with `Accept: text/_*` respond with a HTTP 303 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded; a HTTP 303 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise. a HTTP 303 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low. Browser flows with HTTP Header `Accept: application/json` respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 401 when the endpoint is called without a valid session cookie. HTTP 403 when the page is accessed without a session cookie or the session's AAL is too low. HTTP 400 on form validation errors. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration. If this endpoint is called with a `Accept: application/json` HTTP header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_refresh_required`: The identity requested to change something that needs a privileged session. Redirect the identity to the login init endpoint with query parameters `?refresh=true&return_to=<the-current-browser-url>`, or initiate a refresh login flow otherwise. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val flow : kotlin.String = flow_example // kotlin.String | The Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`). +val updateSettingsFlowBody : UpdateSettingsFlowBody = // UpdateSettingsFlowBody | +val xSessionToken : kotlin.String = xSessionToken_example // kotlin.String | The Session Token of the Identity performing the settings flow. +val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. +try { + val result : SettingsFlow = apiInstance.updateSettingsFlow(flow, updateSettingsFlowBody, xSessionToken, cookie) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#updateSettingsFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#updateSettingsFlow") + e.printStackTrace() +} +``` + +### Parameters +| **flow** | **kotlin.String**| The Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`). | | +| **updateSettingsFlowBody** | [**UpdateSettingsFlowBody**](UpdateSettingsFlowBody.md)| | | +| **xSessionToken** | **kotlin.String**| The Session Token of the Identity performing the settings flow. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **cookie** | **kotlin.String**| HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] | + +### Return type + +[**SettingsFlow**](SettingsFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/x-www-form-urlencoded + - **Accept**: application/json + + +# **updateVerificationFlow** +> VerificationFlow updateVerificationFlow(flow, updateVerificationFlowBody, token, cookie) + +Complete Verification Flow + +Use this endpoint to complete a verification flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid and a HTTP 303 See Other redirect with a fresh verification flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/_*` it returns a HTTP 303 See Other redirect to the Verification UI URL with the Verification Flow ID appended. `sent_email` is the success state after `choose_method` when using the `link` method and allows the user to request another verification email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a verification link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Verification UI URL with a new Verification Flow ID which contains an error message that the verification link was invalid. More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = FrontendApi() +val flow : kotlin.String = flow_example // kotlin.String | The Verification Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`). +val updateVerificationFlowBody : UpdateVerificationFlowBody = // UpdateVerificationFlowBody | +val token : kotlin.String = token_example // kotlin.String | Verification Token The verification token which completes the verification request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call. +val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. +try { + val result : VerificationFlow = apiInstance.updateVerificationFlow(flow, updateVerificationFlowBody, token, cookie) + println(result) +} catch (e: ClientException) { + println("4xx response calling FrontendApi#updateVerificationFlow") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling FrontendApi#updateVerificationFlow") + e.printStackTrace() +} +``` + +### Parameters +| **flow** | **kotlin.String**| The Verification Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`). | | +| **updateVerificationFlowBody** | [**UpdateVerificationFlowBody**](UpdateVerificationFlowBody.md)| | | +| **token** | **kotlin.String**| Verification Token The verification token which completes the verification request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **cookie** | **kotlin.String**| HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. | [optional] | + +### Return type + +[**VerificationFlow**](VerificationFlow.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json, application/x-www-form-urlencoded + - **Accept**: application/json + diff --git a/clients/client/kotlin-multiplatform/docs/GenericError.md b/clients/client/kotlin-multiplatform/docs/GenericError.md new file mode 100644 index 00000000000..d1cc60d22df --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/GenericError.md @@ -0,0 +1,18 @@ + +# GenericError + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **message** | **kotlin.String** | Error message The error's message. | | +| **code** | **kotlin.Long** | The status code | [optional] | +| **debug** | **kotlin.String** | Debug information This field is often not exposed to protect against leaking sensitive information. | [optional] | +| **details** | [**kotlin.Any**](.md) | Further error details | [optional] | +| **error** | [**GenericErrorContent**](GenericErrorContent.md) | | [optional] | +| **id** | **kotlin.String** | The error ID Useful when trying to identify various errors in application logic. | [optional] | +| **reason** | **kotlin.String** | A human-readable reason for the error | [optional] | +| **request** | **kotlin.String** | The request ID The request ID is often exposed internally in order to trace errors across service architectures. This is often a UUID. | [optional] | +| **status** | **kotlin.String** | The status description | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/GenericErrorContent.md b/clients/client/kotlin-multiplatform/docs/GenericErrorContent.md new file mode 100644 index 00000000000..49e2ec1b25e --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/GenericErrorContent.md @@ -0,0 +1,14 @@ + +# GenericErrorContent + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **debug** | **kotlin.String** | Debug contains debug information. This is usually not available and has to be enabled. | [optional] | +| **error** | **kotlin.String** | Name is the error name. | [optional] | +| **errorDescription** | **kotlin.String** | Description contains further information on the nature of the error. | [optional] | +| **message** | **kotlin.String** | Message contains the error message. | [optional] | +| **statusCode** | **kotlin.Long** | Code represents the error status code (404, 403, 401, ...). | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/GenericUsage.md b/clients/client/kotlin-multiplatform/docs/GenericUsage.md new file mode 100644 index 00000000000..ec96d68700d --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/GenericUsage.md @@ -0,0 +1,11 @@ + +# GenericUsage + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **additionalPrice** | [**Money**](Money.md) | | | +| **includedUsage** | **kotlin.Long** | IncludedUsage is the number of included items. | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/GetAttributesCountResponse.md b/clients/client/kotlin-multiplatform/docs/GetAttributesCountResponse.md new file mode 100644 index 00000000000..8a21645e4af --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/GetAttributesCountResponse.md @@ -0,0 +1,10 @@ + +# GetAttributesCountResponse + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **`data`** | [**kotlin.collections.List<AttributesCountDatapoint>**](AttributesCountDatapoint.md) | The list of data points. | [readonly] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/GetManagedIdentitySchemaLocation.md b/clients/client/kotlin-multiplatform/docs/GetManagedIdentitySchemaLocation.md new file mode 100644 index 00000000000..b8e507e5b2d --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/GetManagedIdentitySchemaLocation.md @@ -0,0 +1,10 @@ + +# GetManagedIdentitySchemaLocation + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **location** | **kotlin.String** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/GetMetricsEventAttributesResponse.md b/clients/client/kotlin-multiplatform/docs/GetMetricsEventAttributesResponse.md new file mode 100644 index 00000000000..5f7acf56e4a --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/GetMetricsEventAttributesResponse.md @@ -0,0 +1,10 @@ + +# GetMetricsEventAttributesResponse + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **events** | **kotlin.collections.List<kotlin.String>** | The list of data points. | [readonly] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/GetMetricsEventTypesResponse.md b/clients/client/kotlin-multiplatform/docs/GetMetricsEventTypesResponse.md new file mode 100644 index 00000000000..969d4627624 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/GetMetricsEventTypesResponse.md @@ -0,0 +1,10 @@ + +# GetMetricsEventTypesResponse + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **events** | **kotlin.collections.List<kotlin.String>** | The list of data points. | [readonly] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/GetOrganizationResponse.md b/clients/client/kotlin-multiplatform/docs/GetOrganizationResponse.md new file mode 100644 index 00000000000..c24751a18cb --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/GetOrganizationResponse.md @@ -0,0 +1,10 @@ + +# GetOrganizationResponse + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **organization** | [**Organization**](Organization.md) | | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/GetProjectEventsBody.md b/clients/client/kotlin-multiplatform/docs/GetProjectEventsBody.md new file mode 100644 index 00000000000..ee9d990af5f --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/GetProjectEventsBody.md @@ -0,0 +1,15 @@ + +# GetProjectEventsBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **from** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The start RFC3339 date of the time window | | +| **to** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The end RFC3339 date of the time window | | +| **eventName** | **kotlin.String** | The event name to query for | [optional] | +| **filters** | [**kotlin.collections.List<AttributeFilter>**](AttributeFilter.md) | Event attribute filters | [optional] | +| **pageSize** | **kotlin.Long** | Maximum number of events to return | [optional] | +| **pageToken** | **kotlin.String** | Pagination token to fetch next page, empty if first page | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/GetProjectEventsResponse.md b/clients/client/kotlin-multiplatform/docs/GetProjectEventsResponse.md new file mode 100644 index 00000000000..6cad1f8eca5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/GetProjectEventsResponse.md @@ -0,0 +1,11 @@ + +# GetProjectEventsResponse + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **events** | [**kotlin.collections.List<ProjectEventsDatapoint>**](ProjectEventsDatapoint.md) | The list of data points. | [readonly] | +| **pageToken** | **kotlin.String** | Pagination token to be included in next page request | [optional] [readonly] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/GetProjectMetricsResponse.md b/clients/client/kotlin-multiplatform/docs/GetProjectMetricsResponse.md new file mode 100644 index 00000000000..b7c1b4fd19b --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/GetProjectMetricsResponse.md @@ -0,0 +1,10 @@ + +# GetProjectMetricsResponse + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **`data`** | [**kotlin.collections.List<MetricsDatapoint>**](MetricsDatapoint.md) | The list of data points. | [readonly] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/GetSessionActivityResponse.md b/clients/client/kotlin-multiplatform/docs/GetSessionActivityResponse.md new file mode 100644 index 00000000000..44a3cadbbd6 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/GetSessionActivityResponse.md @@ -0,0 +1,10 @@ + +# GetSessionActivityResponse + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **`data`** | [**kotlin.collections.List<SessionActivityDatapoint>**](SessionActivityDatapoint.md) | The list of data points. | [readonly] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/GetVersion200Response.md b/clients/client/kotlin-multiplatform/docs/GetVersion200Response.md new file mode 100644 index 00000000000..1232bd85d6a --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/GetVersion200Response.md @@ -0,0 +1,10 @@ + +# GetVersion200Response + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **version** | **kotlin.String** | The version of Ory Kratos. | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/HealthNotReadyStatus.md b/clients/client/kotlin-multiplatform/docs/HealthNotReadyStatus.md new file mode 100644 index 00000000000..52dc7569636 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/HealthNotReadyStatus.md @@ -0,0 +1,10 @@ + +# HealthNotReadyStatus + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **errors** | **kotlin.collections.Map<kotlin.String, kotlin.String>** | Errors contains a list of errors that caused the not ready status. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/HealthStatus.md b/clients/client/kotlin-multiplatform/docs/HealthStatus.md new file mode 100644 index 00000000000..fee83b6fe34 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/HealthStatus.md @@ -0,0 +1,10 @@ + +# HealthStatus + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **status** | **kotlin.String** | Status always contains \"ok\". | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/Identity.md b/clients/client/kotlin-multiplatform/docs/Identity.md new file mode 100644 index 00000000000..437baf27efe --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/Identity.md @@ -0,0 +1,30 @@ + +# Identity + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.String** | ID is the identity's unique identifier. The Identity ID can not be changed and can not be chosen. This ensures future compatibility and optimization for distributed stores such as CockroachDB. | | +| **schemaId** | **kotlin.String** | SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. | | +| **schemaUrl** | **kotlin.String** | SchemaURL is the URL of the endpoint where the identity's traits schema can be fetched from. format: url | | +| **traits** | [**kotlin.Any**](.md) | Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_url`. | | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | CreatedAt is a helper struct field for gobuffalo.pop. | [optional] | +| **credentials** | [**kotlin.collections.Map<kotlin.String, IdentityCredentials>**](IdentityCredentials.md) | Credentials represents all credentials that can be used for authenticating this identity. | [optional] | +| **metadataAdmin** | **kotlin.String** | NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- | [optional] | +| **metadataPublic** | **kotlin.String** | NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- | [optional] | +| **organizationId** | **kotlin.String** | | [optional] | +| **recoveryAddresses** | [**kotlin.collections.List<RecoveryIdentityAddress>**](RecoveryIdentityAddress.md) | RecoveryAddresses contains all the addresses that can be used to recover an identity. | [optional] | +| **state** | [**inline**](#State) | State is the identity's state. This value has currently no effect. active StateActive inactive StateInactive | [optional] | +| **stateChangedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | UpdatedAt is a helper struct field for gobuffalo.pop. | [optional] | +| **verifiableAddresses** | [**kotlin.collections.List<VerifiableIdentityAddress>**](VerifiableIdentityAddress.md) | VerifiableAddresses contains all the addresses that can be verified by the user. | [optional] | + + + +## Enum: state +| Name | Value | +| ---- | ----- | +| state | active, inactive | + + + diff --git a/clients/client/kotlin-multiplatform/docs/IdentityApi.md b/clients/client/kotlin-multiplatform/docs/IdentityApi.md new file mode 100644 index 00000000000..2e6f767e3ed --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IdentityApi.md @@ -0,0 +1,936 @@ +# IdentityApi + +All URIs are relative to *https://playground.projects.oryapis.com* + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**batchPatchIdentities**](IdentityApi.md#batchPatchIdentities) | **PATCH** /admin/identities | Create multiple identities | +| [**createIdentity**](IdentityApi.md#createIdentity) | **POST** /admin/identities | Create an Identity | +| [**createRecoveryCodeForIdentity**](IdentityApi.md#createRecoveryCodeForIdentity) | **POST** /admin/recovery/code | Create a Recovery Code | +| [**createRecoveryLinkForIdentity**](IdentityApi.md#createRecoveryLinkForIdentity) | **POST** /admin/recovery/link | Create a Recovery Link | +| [**deleteIdentity**](IdentityApi.md#deleteIdentity) | **DELETE** /admin/identities/{id} | Delete an Identity | +| [**deleteIdentityCredentials**](IdentityApi.md#deleteIdentityCredentials) | **DELETE** /admin/identities/{id}/credentials/{type} | Delete a credential for a specific identity | +| [**deleteIdentitySessions**](IdentityApi.md#deleteIdentitySessions) | **DELETE** /admin/identities/{id}/sessions | Delete & Invalidate an Identity's Sessions | +| [**disableSession**](IdentityApi.md#disableSession) | **DELETE** /admin/sessions/{id} | Deactivate a Session | +| [**extendSession**](IdentityApi.md#extendSession) | **PATCH** /admin/sessions/{id}/extend | Extend a Session | +| [**getIdentity**](IdentityApi.md#getIdentity) | **GET** /admin/identities/{id} | Get an Identity | +| [**getIdentitySchema**](IdentityApi.md#getIdentitySchema) | **GET** /schemas/{id} | Get Identity JSON Schema | +| [**getSession**](IdentityApi.md#getSession) | **GET** /admin/sessions/{id} | Get Session | +| [**listIdentities**](IdentityApi.md#listIdentities) | **GET** /admin/identities | List Identities | +| [**listIdentitySchemas**](IdentityApi.md#listIdentitySchemas) | **GET** /schemas | Get all Identity Schemas | +| [**listIdentitySessions**](IdentityApi.md#listIdentitySessions) | **GET** /admin/identities/{id}/sessions | List an Identity's Sessions | +| [**listSessions**](IdentityApi.md#listSessions) | **GET** /admin/sessions | List All Sessions | +| [**patchIdentity**](IdentityApi.md#patchIdentity) | **PATCH** /admin/identities/{id} | Patch an Identity | +| [**updateIdentity**](IdentityApi.md#updateIdentity) | **PUT** /admin/identities/{id} | Update an Identity | + + + +# **batchPatchIdentities** +> BatchPatchIdentitiesResponse batchPatchIdentities(patchIdentitiesBody) + +Create multiple identities + +Creates multiple [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model). This endpoint can also be used to [import credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities) for instance passwords, social sign in configurations or multifactor methods. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = IdentityApi() +val patchIdentitiesBody : PatchIdentitiesBody = // PatchIdentitiesBody | +try { + val result : BatchPatchIdentitiesResponse = apiInstance.batchPatchIdentities(patchIdentitiesBody) + println(result) +} catch (e: ClientException) { + println("4xx response calling IdentityApi#batchPatchIdentities") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling IdentityApi#batchPatchIdentities") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **patchIdentitiesBody** | [**PatchIdentitiesBody**](PatchIdentitiesBody.md)| | [optional] | + +### Return type + +[**BatchPatchIdentitiesResponse**](BatchPatchIdentitiesResponse.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **createIdentity** +> Identity createIdentity(createIdentityBody) + +Create an Identity + +Create an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model). This endpoint can also be used to [import credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities) for instance passwords, social sign in configurations or multifactor methods. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = IdentityApi() +val createIdentityBody : CreateIdentityBody = // CreateIdentityBody | +try { + val result : Identity = apiInstance.createIdentity(createIdentityBody) + println(result) +} catch (e: ClientException) { + println("4xx response calling IdentityApi#createIdentity") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling IdentityApi#createIdentity") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **createIdentityBody** | [**CreateIdentityBody**](CreateIdentityBody.md)| | [optional] | + +### Return type + +[**Identity**](Identity.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **createRecoveryCodeForIdentity** +> RecoveryCodeForIdentity createRecoveryCodeForIdentity(createRecoveryCodeForIdentityBody) + +Create a Recovery Code + +This endpoint creates a recovery code which should be given to the user in order for them to recover (or activate) their account. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = IdentityApi() +val createRecoveryCodeForIdentityBody : CreateRecoveryCodeForIdentityBody = // CreateRecoveryCodeForIdentityBody | +try { + val result : RecoveryCodeForIdentity = apiInstance.createRecoveryCodeForIdentity(createRecoveryCodeForIdentityBody) + println(result) +} catch (e: ClientException) { + println("4xx response calling IdentityApi#createRecoveryCodeForIdentity") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling IdentityApi#createRecoveryCodeForIdentity") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **createRecoveryCodeForIdentityBody** | [**CreateRecoveryCodeForIdentityBody**](CreateRecoveryCodeForIdentityBody.md)| | [optional] | + +### Return type + +[**RecoveryCodeForIdentity**](RecoveryCodeForIdentity.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **createRecoveryLinkForIdentity** +> RecoveryLinkForIdentity createRecoveryLinkForIdentity(returnTo, createRecoveryLinkForIdentityBody) + +Create a Recovery Link + +This endpoint creates a recovery link which should be given to the user in order for them to recover (or activate) their account. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = IdentityApi() +val returnTo : kotlin.String = returnTo_example // kotlin.String | +val createRecoveryLinkForIdentityBody : CreateRecoveryLinkForIdentityBody = // CreateRecoveryLinkForIdentityBody | +try { + val result : RecoveryLinkForIdentity = apiInstance.createRecoveryLinkForIdentity(returnTo, createRecoveryLinkForIdentityBody) + println(result) +} catch (e: ClientException) { + println("4xx response calling IdentityApi#createRecoveryLinkForIdentity") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling IdentityApi#createRecoveryLinkForIdentity") + e.printStackTrace() +} +``` + +### Parameters +| **returnTo** | **kotlin.String**| | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **createRecoveryLinkForIdentityBody** | [**CreateRecoveryLinkForIdentityBody**](CreateRecoveryLinkForIdentityBody.md)| | [optional] | + +### Return type + +[**RecoveryLinkForIdentity**](RecoveryLinkForIdentity.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **deleteIdentity** +> deleteIdentity(id) + +Delete an Identity + +Calling this endpoint irrecoverably and permanently deletes the [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) given its ID. This action can not be undone. This endpoint returns 204 when the identity was deleted or when the identity was not found, in which case it is assumed that is has been deleted already. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = IdentityApi() +val id : kotlin.String = id_example // kotlin.String | ID is the identity's ID. +try { + apiInstance.deleteIdentity(id) +} catch (e: ClientException) { + println("4xx response calling IdentityApi#deleteIdentity") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling IdentityApi#deleteIdentity") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.String**| ID is the identity's ID. | | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **deleteIdentityCredentials** +> deleteIdentityCredentials(id, type, identifier) + +Delete a credential for a specific identity + +Delete an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) credential by its type. You cannot delete password or code auth credentials through this API. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = IdentityApi() +val id : kotlin.String = id_example // kotlin.String | ID is the identity's ID. +val type : kotlin.String = type_example // kotlin.String | Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode +val identifier : kotlin.String = identifier_example // kotlin.String | Identifier is the identifier of the OIDC credential to delete. Find the identifier by calling the `GET /admin/identities/{id}?include_credential=oidc` endpoint. +try { + apiInstance.deleteIdentityCredentials(id, type, identifier) +} catch (e: ClientException) { + println("4xx response calling IdentityApi#deleteIdentityCredentials") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling IdentityApi#deleteIdentityCredentials") + e.printStackTrace() +} +``` + +### Parameters +| **id** | **kotlin.String**| ID is the identity's ID. | | +| **type** | **kotlin.String**| Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | [enum: password, oidc, totp, lookup_secret, webauthn, code, passkey, profile, link_recovery, code_recovery] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **identifier** | **kotlin.String**| Identifier is the identifier of the OIDC credential to delete. Find the identifier by calling the `GET /admin/identities/{id}?include_credential=oidc` endpoint. | [optional] | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **deleteIdentitySessions** +> deleteIdentitySessions(id) + +Delete & Invalidate an Identity's Sessions + +Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = IdentityApi() +val id : kotlin.String = id_example // kotlin.String | ID is the identity's ID. +try { + apiInstance.deleteIdentitySessions(id) +} catch (e: ClientException) { + println("4xx response calling IdentityApi#deleteIdentitySessions") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling IdentityApi#deleteIdentitySessions") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.String**| ID is the identity's ID. | | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **disableSession** +> disableSession(id) + +Deactivate a Session + +Calling this endpoint deactivates the specified session. Session data is not deleted. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = IdentityApi() +val id : kotlin.String = id_example // kotlin.String | ID is the session's ID. +try { + apiInstance.disableSession(id) +} catch (e: ClientException) { + println("4xx response calling IdentityApi#disableSession") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling IdentityApi#disableSession") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.String**| ID is the session's ID. | | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **extendSession** +> Session extendSession(id) + +Extend a Session + +Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed. This endpoint returns per default a 204 No Content response on success. Older Ory Network projects may return a 200 OK response with the session in the body. Returning the session as part of the response will be deprecated in the future and should not be relied upon. This endpoint ignores consecutive requests to extend the same session and returns a 404 error in those scenarios. This endpoint also returns 404 errors if the session does not exist. Retrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = IdentityApi() +val id : kotlin.String = id_example // kotlin.String | ID is the session's ID. +try { + val result : Session = apiInstance.extendSession(id) + println(result) +} catch (e: ClientException) { + println("4xx response calling IdentityApi#extendSession") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling IdentityApi#extendSession") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.String**| ID is the session's ID. | | + +### Return type + +[**Session**](Session.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getIdentity** +> Identity getIdentity(id, includeCredential) + +Get an Identity + +Return an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) by its ID. You can optionally include credentials (e.g. social sign in connections) in the response by using the `include_credential` query parameter. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = IdentityApi() +val id : kotlin.String = id_example // kotlin.String | ID must be set to the ID of identity you want to get +val includeCredential : kotlin.collections.List = // kotlin.collections.List | Include Credentials in Response Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available. +try { + val result : Identity = apiInstance.getIdentity(id, includeCredential) + println(result) +} catch (e: ClientException) { + println("4xx response calling IdentityApi#getIdentity") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling IdentityApi#getIdentity") + e.printStackTrace() +} +``` + +### Parameters +| **id** | **kotlin.String**| ID must be set to the ID of identity you want to get | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **includeCredential** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Include Credentials in Response Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available. | [optional] [enum: password, oidc, totp, lookup_secret, webauthn, code, passkey, profile, link_recovery, code_recovery] | + +### Return type + +[**Identity**](Identity.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getIdentitySchema** +> kotlin.String getIdentitySchema(id) + +Get Identity JSON Schema + +Return a specific identity schema. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = IdentityApi() +val id : kotlin.String = id_example // kotlin.String | ID must be set to the ID of schema you want to get +try { + val result : kotlin.String = apiInstance.getIdentitySchema(id) + println(result) +} catch (e: ClientException) { + println("4xx response calling IdentityApi#getIdentitySchema") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling IdentityApi#getIdentitySchema") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.String**| ID must be set to the ID of schema you want to get | | + +### Return type + +**kotlin.String** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getSession** +> Session getSession(id, expand) + +Get Session + +This endpoint is useful for: Getting a session object with all specified expandables that exist in an administrative context. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = IdentityApi() +val id : kotlin.String = id_example // kotlin.String | ID is the session's ID. +val expand : kotlin.collections.List = // kotlin.collections.List | ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. Example - ?expand=Identity&expand=Devices If no value is provided, the expandable properties are skipped. +try { + val result : Session = apiInstance.getSession(id, expand) + println(result) +} catch (e: ClientException) { + println("4xx response calling IdentityApi#getSession") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling IdentityApi#getSession") + e.printStackTrace() +} +``` + +### Parameters +| **id** | **kotlin.String**| ID is the session's ID. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **expand** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. Example - ?expand=Identity&expand=Devices If no value is provided, the expandable properties are skipped. | [optional] [enum: identity, devices] | + +### Return type + +[**Session**](Session.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **listIdentities** +> kotlin.collections.List<Identity> listIdentities(perPage, page, pageSize, pageToken, consistency, ids, credentialsIdentifier, previewCredentialsIdentifierSimilar, includeCredential, organizationId) + +List Identities + +Lists all [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model) in the system. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = IdentityApi() +val perPage : kotlin.Long = 789 // kotlin.Long | Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page. +val page : kotlin.Long = 789 // kotlin.Long | Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. +val pageSize : kotlin.Long = 789 // kotlin.Long | 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). +val pageToken : kotlin.String = pageToken_example // kotlin.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). +val consistency : kotlin.String = consistency_example // kotlin.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. +val ids : kotlin.collections.List = // kotlin.collections.List | List of ids used to filter identities. If this list is empty, then no filter will be applied. +val credentialsIdentifier : kotlin.String = credentialsIdentifier_example // kotlin.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. +val previewCredentialsIdentifierSimilar : kotlin.String = previewCredentialsIdentifierSimilar_example // kotlin.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. +val includeCredential : kotlin.collections.List = // kotlin.collections.List | Include Credentials in Response Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available. +val organizationId : kotlin.String = organizationId_example // kotlin.String | OrganizationID is the organization id to filter identities by. If `ids` is set, this parameter is ignored. +try { + val result : kotlin.collections.List = apiInstance.listIdentities(perPage, page, pageSize, pageToken, consistency, ids, credentialsIdentifier, previewCredentialsIdentifierSimilar, includeCredential, organizationId) + println(result) +} catch (e: ClientException) { + println("4xx response calling IdentityApi#listIdentities") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling IdentityApi#listIdentities") + e.printStackTrace() +} +``` + +### Parameters +| **perPage** | **kotlin.Long**| Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page. | [optional] [default to 250L] | +| **page** | **kotlin.Long**| Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. | [optional] | +| **pageSize** | **kotlin.Long**| 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 250L] | +| **pageToken** | **kotlin.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** | **kotlin.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] [enum: , strong, eventual] | +| **ids** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| List of ids used to filter identities. If this list is empty, then no filter will be applied. | [optional] | +| **credentialsIdentifier** | **kotlin.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** | **kotlin.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] | +| **includeCredential** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| Include Credentials in Response Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **organizationId** | **kotlin.String**| OrganizationID is the organization id to filter identities by. If `ids` is set, this parameter is ignored. | [optional] | + +### Return type + +[**kotlin.collections.List<Identity>**](Identity.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **listIdentitySchemas** +> kotlin.collections.List<IdentitySchemaContainer> listIdentitySchemas(perPage, page, pageSize, pageToken) + +Get all Identity Schemas + +Returns a list of all identity schemas currently in use. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = IdentityApi() +val perPage : kotlin.Long = 789 // kotlin.Long | Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page. +val page : kotlin.Long = 789 // kotlin.Long | Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. +val pageSize : kotlin.Long = 789 // kotlin.Long | 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). +val pageToken : kotlin.String = pageToken_example // kotlin.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). +try { + val result : kotlin.collections.List = apiInstance.listIdentitySchemas(perPage, page, pageSize, pageToken) + println(result) +} catch (e: ClientException) { + println("4xx response calling IdentityApi#listIdentitySchemas") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling IdentityApi#listIdentitySchemas") + e.printStackTrace() +} +``` + +### Parameters +| **perPage** | **kotlin.Long**| Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page. | [optional] [default to 250L] | +| **page** | **kotlin.Long**| Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. | [optional] | +| **pageSize** | **kotlin.Long**| 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 250L] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **pageToken** | **kotlin.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"] | + +### Return type + +[**kotlin.collections.List<IdentitySchemaContainer>**](IdentitySchemaContainer.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **listIdentitySessions** +> kotlin.collections.List<Session> listIdentitySessions(id, perPage, page, pageSize, pageToken, active) + +List an Identity's Sessions + +This endpoint returns all sessions that belong to the given Identity. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = IdentityApi() +val id : kotlin.String = id_example // kotlin.String | ID is the identity's ID. +val perPage : kotlin.Long = 789 // kotlin.Long | Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page. +val page : kotlin.Long = 789 // kotlin.Long | Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. +val pageSize : kotlin.Long = 789 // kotlin.Long | 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). +val pageToken : kotlin.String = pageToken_example // kotlin.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). +val active : kotlin.Boolean = true // kotlin.Boolean | Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned. +try { + val result : kotlin.collections.List = apiInstance.listIdentitySessions(id, perPage, page, pageSize, pageToken, active) + println(result) +} catch (e: ClientException) { + println("4xx response calling IdentityApi#listIdentitySessions") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling IdentityApi#listIdentitySessions") + e.printStackTrace() +} +``` + +### Parameters +| **id** | **kotlin.String**| ID is the identity's ID. | | +| **perPage** | **kotlin.Long**| Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page. | [optional] [default to 250L] | +| **page** | **kotlin.Long**| Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. | [optional] | +| **pageSize** | **kotlin.Long**| 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 250L] | +| **pageToken** | **kotlin.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"] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **active** | **kotlin.Boolean**| Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned. | [optional] | + +### Return type + +[**kotlin.collections.List<Session>**](Session.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **listSessions** +> kotlin.collections.List<Session> listSessions(pageSize, pageToken, active, expand) + +List All Sessions + +Listing all sessions that exist. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = IdentityApi() +val pageSize : kotlin.Long = 789 // kotlin.Long | Items per Page 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). +val pageToken : kotlin.String = pageToken_example // kotlin.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). +val active : kotlin.Boolean = true // kotlin.Boolean | Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned. +val expand : kotlin.collections.List = // kotlin.collections.List | ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. If no value is provided, the expandable properties are skipped. +try { + val result : kotlin.collections.List = apiInstance.listSessions(pageSize, pageToken, active, expand) + println(result) +} catch (e: ClientException) { + println("4xx response calling IdentityApi#listSessions") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling IdentityApi#listSessions") + e.printStackTrace() +} +``` + +### Parameters +| **pageSize** | **kotlin.Long**| Items per Page 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 250L] | +| **pageToken** | **kotlin.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] | +| **active** | **kotlin.Boolean**| Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **expand** | [**kotlin.collections.List<kotlin.String>**](kotlin.String.md)| ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. If no value is provided, the expandable properties are skipped. | [optional] [enum: identity, devices] | + +### Return type + +[**kotlin.collections.List<Session>**](Session.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **patchIdentity** +> Identity patchIdentity(id, jsonPatch) + +Patch an Identity + +Partially updates an [identity's](https://www.ory.sh/docs/kratos/concepts/identity-user-model) field using [JSON Patch](https://jsonpatch.com/). The fields `id`, `stateChangedAt` and `credentials` can not be updated using this method. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = IdentityApi() +val id : kotlin.String = id_example // kotlin.String | ID must be set to the ID of identity you want to update +val jsonPatch : kotlin.collections.List = // kotlin.collections.List | +try { + val result : Identity = apiInstance.patchIdentity(id, jsonPatch) + println(result) +} catch (e: ClientException) { + println("4xx response calling IdentityApi#patchIdentity") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling IdentityApi#patchIdentity") + e.printStackTrace() +} +``` + +### Parameters +| **id** | **kotlin.String**| ID must be set to the ID of identity you want to update | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **jsonPatch** | [**kotlin.collections.List<JsonPatch>**](JsonPatch.md)| | [optional] | + +### Return type + +[**Identity**](Identity.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **updateIdentity** +> Identity updateIdentity(id, updateIdentityBody) + +Update an Identity + +This endpoint updates an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model). The full identity payload (except credentials) is expected. It is possible to update the identity's credentials as well. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = IdentityApi() +val id : kotlin.String = id_example // kotlin.String | ID must be set to the ID of identity you want to update +val updateIdentityBody : UpdateIdentityBody = // UpdateIdentityBody | +try { + val result : Identity = apiInstance.updateIdentity(id, updateIdentityBody) + println(result) +} catch (e: ClientException) { + println("4xx response calling IdentityApi#updateIdentity") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling IdentityApi#updateIdentity") + e.printStackTrace() +} +``` + +### Parameters +| **id** | **kotlin.String**| ID must be set to the ID of identity you want to update | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **updateIdentityBody** | [**UpdateIdentityBody**](UpdateIdentityBody.md)| | [optional] | + +### Return type + +[**Identity**](Identity.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + diff --git a/clients/client/kotlin-multiplatform/docs/IdentityCredentials.md b/clients/client/kotlin-multiplatform/docs/IdentityCredentials.md new file mode 100644 index 00000000000..dbd43044847 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IdentityCredentials.md @@ -0,0 +1,22 @@ + +# IdentityCredentials + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **config** | **kotlin.String** | | [optional] | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | CreatedAt is a helper struct field for gobuffalo.pop. | [optional] | +| **identifiers** | **kotlin.collections.List<kotlin.String>** | Identifiers represents a list of unique identifiers this credential type matches. | [optional] | +| **type** | [**inline**](#Type) | Type discriminates between different types of credentials. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | [optional] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | UpdatedAt is a helper struct field for gobuffalo.pop. | [optional] | +| **version** | **kotlin.Long** | Version refers to the version of the credential. Useful when changing the config schema. | [optional] | + + + +## Enum: type +| Name | Value | +| ---- | ----- | +| type | password, oidc, totp, lookup_secret, webauthn, code, passkey, profile, link_recovery, code_recovery | + + + diff --git a/clients/client/kotlin-multiplatform/docs/IdentityCredentialsCode.md b/clients/client/kotlin-multiplatform/docs/IdentityCredentialsCode.md new file mode 100644 index 00000000000..caa2fe127b1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IdentityCredentialsCode.md @@ -0,0 +1,10 @@ + +# IdentityCredentialsCode + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **addresses** | [**kotlin.collections.List<IdentityCredentialsCodeAddress>**](IdentityCredentialsCodeAddress.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/IdentityCredentialsCodeAddress.md b/clients/client/kotlin-multiplatform/docs/IdentityCredentialsCodeAddress.md new file mode 100644 index 00000000000..efdcd8b39dc --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IdentityCredentialsCodeAddress.md @@ -0,0 +1,11 @@ + +# IdentityCredentialsCodeAddress + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **address** | **kotlin.String** | The address for this code | [optional] | +| **channel** | **kotlin.String** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/IdentityCredentialsOidc.md b/clients/client/kotlin-multiplatform/docs/IdentityCredentialsOidc.md new file mode 100644 index 00000000000..02f3fabf97f --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IdentityCredentialsOidc.md @@ -0,0 +1,10 @@ + +# IdentityCredentialsOidc + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **providers** | [**kotlin.collections.List<IdentityCredentialsOidcProvider>**](IdentityCredentialsOidcProvider.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/IdentityCredentialsOidcProvider.md b/clients/client/kotlin-multiplatform/docs/IdentityCredentialsOidcProvider.md new file mode 100644 index 00000000000..22f48f6f224 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IdentityCredentialsOidcProvider.md @@ -0,0 +1,15 @@ + +# IdentityCredentialsOidcProvider + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **initialAccessToken** | **kotlin.String** | | [optional] | +| **initialIdToken** | **kotlin.String** | | [optional] | +| **initialRefreshToken** | **kotlin.String** | | [optional] | +| **organization** | **kotlin.String** | | [optional] | +| **provider** | **kotlin.String** | | [optional] | +| **subject** | **kotlin.String** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/IdentityCredentialsPassword.md b/clients/client/kotlin-multiplatform/docs/IdentityCredentialsPassword.md new file mode 100644 index 00000000000..b45f3bc99b4 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IdentityCredentialsPassword.md @@ -0,0 +1,11 @@ + +# IdentityCredentialsPassword + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **hashedPassword** | **kotlin.String** | HashedPassword is a hash-representation of the password. | [optional] | +| **usePasswordMigrationHook** | **kotlin.Boolean** | UsePasswordMigrationHook is set to true if the password should be migrated using the password migration hook. If set, and the HashedPassword is empty, a webhook will be called during login to migrate the password. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/IdentityPatch.md b/clients/client/kotlin-multiplatform/docs/IdentityPatch.md new file mode 100644 index 00000000000..85458982f82 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IdentityPatch.md @@ -0,0 +1,11 @@ + +# IdentityPatch + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **create** | [**CreateIdentityBody**](CreateIdentityBody.md) | | [optional] | +| **patchId** | **kotlin.String** | The ID of this patch. The patch ID is optional. If specified, the ID will be returned in the response, so consumers of this API can correlate the response with the patch. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/IdentityPatchResponse.md b/clients/client/kotlin-multiplatform/docs/IdentityPatchResponse.md new file mode 100644 index 00000000000..a1299ffd61d --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IdentityPatchResponse.md @@ -0,0 +1,20 @@ + +# IdentityPatchResponse + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **action** | [**inline**](#Action) | The action for this specific patch create ActionCreate Create this identity. error ActionError Error indicates that the patch failed. | [optional] | +| **error** | [**kotlin.Any**](.md) | | [optional] | +| **identity** | **kotlin.String** | The identity ID payload of this patch | [optional] | +| **patchId** | **kotlin.String** | The ID of this patch response, if an ID was specified in the patch. | [optional] | + + + +## Enum: action +| Name | Value | +| ---- | ----- | +| action | create, error | + + + diff --git a/clients/client/kotlin-multiplatform/docs/IdentitySchemaContainer.md b/clients/client/kotlin-multiplatform/docs/IdentitySchemaContainer.md new file mode 100644 index 00000000000..b3378e43474 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IdentitySchemaContainer.md @@ -0,0 +1,11 @@ + +# IdentitySchemaContainer + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.String** | The ID of the Identity JSON Schema | [optional] | +| **schema** | **kotlin.String** | The actual Identity JSON Schema | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/IdentitySchemaPreset.md b/clients/client/kotlin-multiplatform/docs/IdentitySchemaPreset.md new file mode 100644 index 00000000000..0edaa2c0105 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IdentitySchemaPreset.md @@ -0,0 +1,11 @@ + +# IdentitySchemaPreset + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **schema** | **kotlin.String** | Schema is the Identity JSON Schema | | +| **url** | **kotlin.String** | URL is the preset identifier | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/IdentityWithCredentials.md b/clients/client/kotlin-multiplatform/docs/IdentityWithCredentials.md new file mode 100644 index 00000000000..5b55a9b660b --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IdentityWithCredentials.md @@ -0,0 +1,11 @@ + +# IdentityWithCredentials + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **oidc** | [**IdentityWithCredentialsOidc**](IdentityWithCredentialsOidc.md) | | [optional] | +| **password** | [**IdentityWithCredentialsPassword**](IdentityWithCredentialsPassword.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/IdentityWithCredentialsOidc.md b/clients/client/kotlin-multiplatform/docs/IdentityWithCredentialsOidc.md new file mode 100644 index 00000000000..0d72da946ee --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IdentityWithCredentialsOidc.md @@ -0,0 +1,10 @@ + +# IdentityWithCredentialsOidc + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **config** | [**IdentityWithCredentialsOidcConfig**](IdentityWithCredentialsOidcConfig.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/IdentityWithCredentialsOidcConfig.md b/clients/client/kotlin-multiplatform/docs/IdentityWithCredentialsOidcConfig.md new file mode 100644 index 00000000000..e156bb1c2c8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IdentityWithCredentialsOidcConfig.md @@ -0,0 +1,11 @@ + +# IdentityWithCredentialsOidcConfig + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **config** | [**IdentityWithCredentialsPasswordConfig**](IdentityWithCredentialsPasswordConfig.md) | | [optional] | +| **providers** | [**kotlin.collections.List<IdentityWithCredentialsOidcConfigProvider>**](IdentityWithCredentialsOidcConfigProvider.md) | A list of OpenID Connect Providers | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/IdentityWithCredentialsOidcConfigProvider.md b/clients/client/kotlin-multiplatform/docs/IdentityWithCredentialsOidcConfigProvider.md new file mode 100644 index 00000000000..6d16c05227e --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IdentityWithCredentialsOidcConfigProvider.md @@ -0,0 +1,11 @@ + +# IdentityWithCredentialsOidcConfigProvider + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **provider** | **kotlin.String** | The OpenID Connect provider to link the subject to. Usually something like `google` or `github`. | | +| **subject** | **kotlin.String** | The subject (`sub`) of the OpenID Connect connection. Usually the `sub` field of the ID Token. | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/IdentityWithCredentialsPassword.md b/clients/client/kotlin-multiplatform/docs/IdentityWithCredentialsPassword.md new file mode 100644 index 00000000000..97e99809c8e --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IdentityWithCredentialsPassword.md @@ -0,0 +1,10 @@ + +# IdentityWithCredentialsPassword + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **config** | [**IdentityWithCredentialsPasswordConfig**](IdentityWithCredentialsPasswordConfig.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/IdentityWithCredentialsPasswordConfig.md b/clients/client/kotlin-multiplatform/docs/IdentityWithCredentialsPasswordConfig.md new file mode 100644 index 00000000000..1fcdb1d892b --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IdentityWithCredentialsPasswordConfig.md @@ -0,0 +1,12 @@ + +# IdentityWithCredentialsPasswordConfig + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **hashedPassword** | **kotlin.String** | The hashed password in [PHC format](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities#hashed-passwords) | [optional] | +| **password** | **kotlin.String** | The password in plain text if no hash is available. | [optional] | +| **usePasswordMigrationHook** | **kotlin.Boolean** | If set to true, the password will be migrated using the password migration hook. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/InternalGetProjectBrandingBody.md b/clients/client/kotlin-multiplatform/docs/InternalGetProjectBrandingBody.md new file mode 100644 index 00000000000..c3e17f12cdb --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/InternalGetProjectBrandingBody.md @@ -0,0 +1,10 @@ + +# InternalGetProjectBrandingBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **hostname** | **kotlin.String** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/InternalIsAXWelcomeScreenEnabledForProjectBody.md b/clients/client/kotlin-multiplatform/docs/InternalIsAXWelcomeScreenEnabledForProjectBody.md new file mode 100644 index 00000000000..d636779144a --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/InternalIsAXWelcomeScreenEnabledForProjectBody.md @@ -0,0 +1,11 @@ + +# InternalIsAXWelcomeScreenEnabledForProjectBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **path** | **kotlin.String** | Path is the path of the request. | | +| **projectSlug** | **kotlin.String** | ProjectSlug is the project's slug. | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/InternalIsOwnerForProjectBySlugBody.md b/clients/client/kotlin-multiplatform/docs/InternalIsOwnerForProjectBySlugBody.md new file mode 100644 index 00000000000..926fa0bc3b0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/InternalIsOwnerForProjectBySlugBody.md @@ -0,0 +1,20 @@ + +# InternalIsOwnerForProjectBySlugBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **namespace** | [**inline**](#Namespace) | Namespace is the namespace of the subject. | | +| **projectSlug** | **kotlin.String** | ProjectSlug is the project's slug. | | +| **subject** | **kotlin.String** | Subject is the subject acting (user or API key). | | +| **projectScope** | **kotlin.String** | ProjectScope is the project_id resolved from the API key. | [optional] | + + + +## Enum: namespace +| Name | Value | +| ---- | ----- | +| namespace | User, ApiKey | + + + diff --git a/clients/client/kotlin-multiplatform/docs/InternalIsOwnerForProjectBySlugResponse.md b/clients/client/kotlin-multiplatform/docs/InternalIsOwnerForProjectBySlugResponse.md new file mode 100644 index 00000000000..8ab92fd976d --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/InternalIsOwnerForProjectBySlugResponse.md @@ -0,0 +1,10 @@ + +# InternalIsOwnerForProjectBySlugResponse + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **projectId** | **kotlin.String** | ProjectID is the project's ID. | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/IntrospectedOAuth2Token.md b/clients/client/kotlin-multiplatform/docs/IntrospectedOAuth2Token.md new file mode 100644 index 00000000000..4d9939074d7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IntrospectedOAuth2Token.md @@ -0,0 +1,23 @@ + +# IntrospectedOAuth2Token + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **active** | **kotlin.Boolean** | Active is a boolean indicator of whether or not the presented token is currently active. The specifics of a token's \"active\" state will vary depending on the implementation of the authorization server and the information it keeps about its tokens, but a \"true\" value return for the \"active\" property will generally indicate that a given token has been issued by this authorization server, has not been revoked by the resource owner, and is within its given time window of validity (e.g., after its issuance time and before its expiration time). | | +| **aud** | **kotlin.collections.List<kotlin.String>** | Audience contains a list of the token's intended audiences. | [optional] | +| **clientId** | **kotlin.String** | ID is aclient identifier for the OAuth 2.0 client that requested this token. | [optional] | +| **exp** | **kotlin.Long** | Expires at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token will expire. | [optional] | +| **ext** | [**kotlin.collections.Map<kotlin.String, kotlin.Any>**](kotlin.Any.md) | Extra is arbitrary data set by the session. | [optional] | +| **iat** | **kotlin.Long** | Issued at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token was originally issued. | [optional] | +| **iss** | **kotlin.String** | IssuerURL is a string representing the issuer of this token | [optional] | +| **nbf** | **kotlin.Long** | NotBefore is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token is not to be used before. | [optional] | +| **obfuscatedSubject** | **kotlin.String** | ObfuscatedSubject is set when the subject identifier algorithm was set to \"pairwise\" during authorization. It is the `sub` value of the ID Token that was issued. | [optional] | +| **scope** | **kotlin.String** | Scope is a JSON string containing a space-separated list of scopes associated with this token. | [optional] | +| **sub** | **kotlin.String** | Subject of the token, as defined in JWT [RFC7519]. Usually a machine-readable identifier of the resource owner who authorized this token. | [optional] | +| **tokenType** | **kotlin.String** | TokenType is the introspected token's type, typically `Bearer`. | [optional] | +| **tokenUse** | **kotlin.String** | TokenUse is the introspected token's use, for example `access_token` or `refresh_token`. | [optional] | +| **username** | **kotlin.String** | Username is a human-readable identifier for the resource owner who authorized this token. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/Invoice.md b/clients/client/kotlin-multiplatform/docs/Invoice.md new file mode 100644 index 00000000000..2bd78ef9c3c --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/Invoice.md @@ -0,0 +1,21 @@ + +# Invoice + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.String** | The ID of the invoice. | [readonly] | +| **invoicedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | | +| **type** | [**inline**](#Type) | Type is the type of the invoice. usage InvoiceTypeUsage base InvoiceTypeBase | [readonly] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | +| **v1** | [**InvoiceDataV1**](InvoiceDataV1.md) | | [optional] | + + + +## Enum: type +| Name | Value | +| ---- | ----- | +| type | usage, base | + + + diff --git a/clients/client/kotlin-multiplatform/docs/InvoiceDataV1.md b/clients/client/kotlin-multiplatform/docs/InvoiceDataV1.md new file mode 100644 index 00000000000..d994d01b674 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/InvoiceDataV1.md @@ -0,0 +1,21 @@ + +# InvoiceDataV1 + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **billingPeriod** | [**TimeInterval**](TimeInterval.md) | | | +| **currency** | **kotlin.String** | The currency of the invoice. | [readonly] | +| **items** | [**kotlin.collections.List<LineItemV1>**](LineItemV1.md) | The items that are part of this invoice. | [readonly] | +| **title** | **kotlin.String** | The title of the invoice. | [readonly] | +| **totalInCent** | **kotlin.Long** | | | +| **deleted** | **kotlin.Boolean** | Deleted is true if the invoice has been soft-deleted. | [optional] [readonly] | +| **plan** | **kotlin.String** | The plan that this invoice is based on, in the format \"Name@version\". | [optional] [readonly] | +| **stripeInvoiceItem** | **kotlin.String** | | [optional] | +| **stripeInvoiceStatus** | **kotlin.String** | The status of the invoice, one of `draft`, `open`, `paid`, `uncollectible`, or `void`. [Learn more](https://stripe.com/docs/billing/invoices/workflow#workflow-overview) | [optional] | +| **stripeLink** | **kotlin.String** | An optional link to the invoice on Stripe. | [optional] [readonly] | +| **subtitle** | **kotlin.String** | The subtitle of the invoice. | [optional] [readonly] | +| **tax** | [**TaxLineItem**](TaxLineItem.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/IsOwnerForProjectBySlug.md b/clients/client/kotlin-multiplatform/docs/IsOwnerForProjectBySlug.md new file mode 100644 index 00000000000..d5dfa01f77e --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/IsOwnerForProjectBySlug.md @@ -0,0 +1,11 @@ + +# IsOwnerForProjectBySlug + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **projectSlug** | **kotlin.String** | ProjectSlug is the project's slug. | | +| **subject** | **kotlin.String** | Subject is the subject from the API key. | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/JsonPatch.md b/clients/client/kotlin-multiplatform/docs/JsonPatch.md new file mode 100644 index 00000000000..f0ee111b74a --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/JsonPatch.md @@ -0,0 +1,20 @@ + +# JsonPatch + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **op** | [**inline**](#Op) | The operation to be performed. One of \"add\", \"remove\", \"replace\", \"move\", \"copy\", or \"test\". | | +| **path** | **kotlin.String** | The path to the target path. Uses JSON pointer notation. Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5). | | +| **from** | **kotlin.String** | This field is used together with operation \"move\" and uses JSON Pointer notation. Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5). | [optional] | +| **`value`** | [**kotlin.Any**](.md) | The value to be used within the operations. Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5). | [optional] | + + + +## Enum: op +| Name | Value | +| ---- | ----- | +| op | add, remove, replace, move, copy, test | + + + diff --git a/clients/client/kotlin-multiplatform/docs/JsonWebKey.md b/clients/client/kotlin-multiplatform/docs/JsonWebKey.md new file mode 100644 index 00000000000..d74fd43387c --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/JsonWebKey.md @@ -0,0 +1,26 @@ + +# JsonWebKey + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **alg** | **kotlin.String** | The \"alg\" (algorithm) parameter identifies the algorithm intended for use with the key. The values used should either be registered in the IANA \"JSON Web Signature and Encryption Algorithms\" registry established by [JWA] or be a value that contains a Collision- Resistant Name. | | +| **kid** | **kotlin.String** | The \"kid\" (key ID) parameter is used to match a specific key. This is used, for instance, to choose among a set of keys within a JWK Set during key rollover. The structure of the \"kid\" value is unspecified. When \"kid\" values are used within a JWK Set, different keys within the JWK Set SHOULD use distinct \"kid\" values. (One example in which different keys might use the same \"kid\" value is if they have different \"kty\" (key type) values but are considered to be equivalent alternatives by the application using them.) The \"kid\" value is a case-sensitive string. | | +| **kty** | **kotlin.String** | The \"kty\" (key type) parameter identifies the cryptographic algorithm family used with the key, such as \"RSA\" or \"EC\". \"kty\" values should either be registered in the IANA \"JSON Web Key Types\" registry established by [JWA] or be a value that contains a Collision- Resistant Name. The \"kty\" value is a case-sensitive string. | | +| **use** | **kotlin.String** | Use (\"public key use\") identifies the intended use of the public key. The \"use\" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Values are commonly \"sig\" (signature) or \"enc\" (encryption). | | +| **crv** | **kotlin.String** | | [optional] | +| **d** | **kotlin.String** | | [optional] | +| **dp** | **kotlin.String** | | [optional] | +| **dq** | **kotlin.String** | | [optional] | +| **e** | **kotlin.String** | | [optional] | +| **k** | **kotlin.String** | | [optional] | +| **n** | **kotlin.String** | | [optional] | +| **p** | **kotlin.String** | | [optional] | +| **q** | **kotlin.String** | | [optional] | +| **qi** | **kotlin.String** | | [optional] | +| **x** | **kotlin.String** | | [optional] | +| **x5c** | **kotlin.collections.List<kotlin.String>** | The \"x5c\" (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates [RFC5280]. The certificate chain is represented as a JSON array of certificate value strings. Each string in the array is a base64-encoded (Section 4 of [RFC4648] -- not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. The PKIX certificate containing the key value MUST be the first certificate. | [optional] | +| **y** | **kotlin.String** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/JsonWebKeySet.md b/clients/client/kotlin-multiplatform/docs/JsonWebKeySet.md new file mode 100644 index 00000000000..a208a16d1a3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/JsonWebKeySet.md @@ -0,0 +1,10 @@ + +# JsonWebKeySet + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **propertyKeys** | [**kotlin.collections.List<JsonWebKey>**](JsonWebKey.md) | List of JSON Web Keys The value of the \"keys\" parameter is an array of JSON Web Key (JWK) values. By default, the order of the JWK values within the array does not imply an order of preference among them, although applications of JWK Sets can choose to assign a meaning to the order for their purposes, if desired. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/JwkApi.md b/clients/client/kotlin-multiplatform/docs/JwkApi.md new file mode 100644 index 00000000000..cda506cbe0a --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/JwkApi.md @@ -0,0 +1,361 @@ +# JwkApi + +All URIs are relative to *https://playground.projects.oryapis.com* + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**createJsonWebKeySet**](JwkApi.md#createJsonWebKeySet) | **POST** /admin/keys/{set} | Create JSON Web Key | +| [**deleteJsonWebKey**](JwkApi.md#deleteJsonWebKey) | **DELETE** /admin/keys/{set}/{kid} | Delete JSON Web Key | +| [**deleteJsonWebKeySet**](JwkApi.md#deleteJsonWebKeySet) | **DELETE** /admin/keys/{set} | Delete JSON Web Key Set | +| [**getJsonWebKey**](JwkApi.md#getJsonWebKey) | **GET** /admin/keys/{set}/{kid} | Get JSON Web Key | +| [**getJsonWebKeySet**](JwkApi.md#getJsonWebKeySet) | **GET** /admin/keys/{set} | Retrieve a JSON Web Key Set | +| [**setJsonWebKey**](JwkApi.md#setJsonWebKey) | **PUT** /admin/keys/{set}/{kid} | Set JSON Web Key | +| [**setJsonWebKeySet**](JwkApi.md#setJsonWebKeySet) | **PUT** /admin/keys/{set} | Update a JSON Web Key Set | + + + +# **createJsonWebKeySet** +> JsonWebKeySet createJsonWebKeySet(set, createJsonWebKeySet) + +Create JSON Web Key + +This endpoint is capable of generating JSON Web Key Sets for you. There a different strategies available, such as symmetric cryptographic keys (HS256, HS512) and asymetric cryptographic keys (RS256, ECDSA). If the specified JSON Web Key Set does not exist, it will be created. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = JwkApi() +val set : kotlin.String = set_example // kotlin.String | The JSON Web Key Set ID +val createJsonWebKeySet : CreateJsonWebKeySet = // CreateJsonWebKeySet | +try { + val result : JsonWebKeySet = apiInstance.createJsonWebKeySet(set, createJsonWebKeySet) + println(result) +} catch (e: ClientException) { + println("4xx response calling JwkApi#createJsonWebKeySet") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling JwkApi#createJsonWebKeySet") + e.printStackTrace() +} +``` + +### Parameters +| **set** | **kotlin.String**| The JSON Web Key Set ID | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **createJsonWebKeySet** | [**CreateJsonWebKeySet**](CreateJsonWebKeySet.md)| | | + +### Return type + +[**JsonWebKeySet**](JsonWebKeySet.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **deleteJsonWebKey** +> deleteJsonWebKey(set, kid) + +Delete JSON Web Key + +Use this endpoint to delete a single JSON Web Key. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = JwkApi() +val set : kotlin.String = set_example // kotlin.String | The JSON Web Key Set +val kid : kotlin.String = kid_example // kotlin.String | The JSON Web Key ID (kid) +try { + apiInstance.deleteJsonWebKey(set, kid) +} catch (e: ClientException) { + println("4xx response calling JwkApi#deleteJsonWebKey") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling JwkApi#deleteJsonWebKey") + e.printStackTrace() +} +``` + +### Parameters +| **set** | **kotlin.String**| The JSON Web Key Set | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **kid** | **kotlin.String**| The JSON Web Key ID (kid) | | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **deleteJsonWebKeySet** +> deleteJsonWebKeySet(set) + +Delete JSON Web Key Set + +Use this endpoint to delete a complete JSON Web Key Set and all the keys in that set. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = JwkApi() +val set : kotlin.String = set_example // kotlin.String | The JSON Web Key Set +try { + apiInstance.deleteJsonWebKeySet(set) +} catch (e: ClientException) { + println("4xx response calling JwkApi#deleteJsonWebKeySet") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling JwkApi#deleteJsonWebKeySet") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **set** | **kotlin.String**| The JSON Web Key Set | | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getJsonWebKey** +> JsonWebKeySet getJsonWebKey(set, kid) + +Get JSON Web Key + +This endpoint returns a singular JSON Web Key contained in a set. It is identified by the set and the specific key ID (kid). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = JwkApi() +val set : kotlin.String = set_example // kotlin.String | JSON Web Key Set ID +val kid : kotlin.String = kid_example // kotlin.String | JSON Web Key ID +try { + val result : JsonWebKeySet = apiInstance.getJsonWebKey(set, kid) + println(result) +} catch (e: ClientException) { + println("4xx response calling JwkApi#getJsonWebKey") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling JwkApi#getJsonWebKey") + e.printStackTrace() +} +``` + +### Parameters +| **set** | **kotlin.String**| JSON Web Key Set ID | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **kid** | **kotlin.String**| JSON Web Key ID | | + +### Return type + +[**JsonWebKeySet**](JsonWebKeySet.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getJsonWebKeySet** +> JsonWebKeySet getJsonWebKeySet(set) + +Retrieve a JSON Web Key Set + +This endpoint can be used to retrieve JWK Sets stored in ORY Hydra. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = JwkApi() +val set : kotlin.String = set_example // kotlin.String | JSON Web Key Set ID +try { + val result : JsonWebKeySet = apiInstance.getJsonWebKeySet(set) + println(result) +} catch (e: ClientException) { + println("4xx response calling JwkApi#getJsonWebKeySet") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling JwkApi#getJsonWebKeySet") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **set** | **kotlin.String**| JSON Web Key Set ID | | + +### Return type + +[**JsonWebKeySet**](JsonWebKeySet.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **setJsonWebKey** +> JsonWebKey setJsonWebKey(set, kid, jsonWebKey) + +Set JSON Web Key + +Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = JwkApi() +val set : kotlin.String = set_example // kotlin.String | The JSON Web Key Set ID +val kid : kotlin.String = kid_example // kotlin.String | JSON Web Key ID +val jsonWebKey : JsonWebKey = // JsonWebKey | +try { + val result : JsonWebKey = apiInstance.setJsonWebKey(set, kid, jsonWebKey) + println(result) +} catch (e: ClientException) { + println("4xx response calling JwkApi#setJsonWebKey") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling JwkApi#setJsonWebKey") + e.printStackTrace() +} +``` + +### Parameters +| **set** | **kotlin.String**| The JSON Web Key Set ID | | +| **kid** | **kotlin.String**| JSON Web Key ID | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **jsonWebKey** | [**JsonWebKey**](JsonWebKey.md)| | [optional] | + +### Return type + +[**JsonWebKey**](JsonWebKey.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **setJsonWebKeySet** +> JsonWebKeySet setJsonWebKeySet(set, jsonWebKeySet) + +Update a JSON Web Key Set + +Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = JwkApi() +val set : kotlin.String = set_example // kotlin.String | The JSON Web Key Set ID +val jsonWebKeySet : JsonWebKeySet = // JsonWebKeySet | +try { + val result : JsonWebKeySet = apiInstance.setJsonWebKeySet(set, jsonWebKeySet) + println(result) +} catch (e: ClientException) { + println("4xx response calling JwkApi#setJsonWebKeySet") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling JwkApi#setJsonWebKeySet") + e.printStackTrace() +} +``` + +### Parameters +| **set** | **kotlin.String**| The JSON Web Key Set ID | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **jsonWebKeySet** | [**JsonWebKeySet**](JsonWebKeySet.md)| | [optional] | + +### Return type + +[**JsonWebKeySet**](JsonWebKeySet.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + diff --git a/clients/client/kotlin-multiplatform/docs/KetoNamespace.md b/clients/client/kotlin-multiplatform/docs/KetoNamespace.md new file mode 100644 index 00000000000..9d7050bf2ed --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/KetoNamespace.md @@ -0,0 +1,11 @@ + +# KetoNamespace + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Long** | | [optional] | +| **name** | **kotlin.String** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/LineItemV1.md b/clients/client/kotlin-multiplatform/docs/LineItemV1.md new file mode 100644 index 00000000000..8d90167b65c --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/LineItemV1.md @@ -0,0 +1,15 @@ + +# LineItemV1 + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **amountInCent** | **kotlin.Long** | | [optional] | +| **description** | **kotlin.String** | | [optional] | +| **items** | [**kotlin.collections.List<LineItemV1>**](LineItemV1.md) | Each line item can have sub-items to create a hierarchy. | [optional] | +| **quantity** | **kotlin.Long** | | [optional] | +| **title** | **kotlin.String** | | [optional] | +| **unitPrice** | **kotlin.String** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ListEventStreams.md b/clients/client/kotlin-multiplatform/docs/ListEventStreams.md new file mode 100644 index 00000000000..510e374f57e --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ListEventStreams.md @@ -0,0 +1,10 @@ + +# ListEventStreams + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **eventStreams** | [**kotlin.collections.List<EventStream>**](EventStream.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ListInvoicesResponse.md b/clients/client/kotlin-multiplatform/docs/ListInvoicesResponse.md new file mode 100644 index 00000000000..5f149d2e295 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ListInvoicesResponse.md @@ -0,0 +1,12 @@ + +# ListInvoicesResponse + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **buckets** | [**kotlin.collections.List<BillingPeriodBucket>**](BillingPeriodBucket.md) | | | +| **hasNextPage** | **kotlin.Boolean** | | | +| **nextPageToken** | **kotlin.String** | | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ListOrganizationsResponse.md b/clients/client/kotlin-multiplatform/docs/ListOrganizationsResponse.md new file mode 100644 index 00000000000..1ca6e1e0f54 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ListOrganizationsResponse.md @@ -0,0 +1,12 @@ + +# ListOrganizationsResponse + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **hasNextPage** | **kotlin.Boolean** | | | +| **nextPageToken** | **kotlin.String** | | | +| **organizations** | [**kotlin.collections.List<Organization>**](Organization.md) | The list of organizations | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ListWorkspaceProjects.md b/clients/client/kotlin-multiplatform/docs/ListWorkspaceProjects.md new file mode 100644 index 00000000000..50828b1d32e --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ListWorkspaceProjects.md @@ -0,0 +1,12 @@ + +# ListWorkspaceProjects + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **hasNextPage** | **kotlin.Boolean** | | | +| **nextPage** | **kotlin.String** | | | +| **projects** | [**kotlin.collections.List<ProjectMetadata>**](ProjectMetadata.md) | | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ListWorkspaces.md b/clients/client/kotlin-multiplatform/docs/ListWorkspaces.md new file mode 100644 index 00000000000..36c9a467e15 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ListWorkspaces.md @@ -0,0 +1,12 @@ + +# ListWorkspaces + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **hasNextPage** | **kotlin.Boolean** | | | +| **nextPageToken** | **kotlin.String** | | | +| **workspaces** | [**kotlin.collections.List<Workspace>**](Workspace.md) | | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/LoginFlow.md b/clients/client/kotlin-multiplatform/docs/LoginFlow.md new file mode 100644 index 00000000000..9f8b057c606 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/LoginFlow.md @@ -0,0 +1,34 @@ + +# LoginFlow + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **expiresAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. | | +| **id** | **kotlin.String** | ID represents the flow's unique ID. When performing the login flow, this represents the id in the login UI's query parameter: http://<selfservice.flows.login.ui_url>/?flow=<flow_id> | | +| **issuedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | IssuedAt is the time (UTC) when the flow started. | | +| **requestUrl** | **kotlin.String** | RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. | | +| **state** | [**kotlin.Any**](.md) | State represents the state of this request: choose_method: ask the user to choose a method to sign in with sent_email: the email has been sent to the user passed_challenge: the request was successful and the login challenge was passed. | | +| **type** | **kotlin.String** | The flow type can either be `api` or `browser`. | | +| **ui** | [**UiContainer**](UiContainer.md) | | | +| **active** | [**inline**](#Active) | The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | [optional] | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | CreatedAt is a helper struct field for gobuffalo.pop. | [optional] | +| **oauth2LoginChallenge** | **kotlin.String** | Ory OAuth 2.0 Login Challenge. This value is set using the `login_challenge` query parameter of the registration and login endpoints. If set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. | [optional] | +| **oauth2LoginRequest** | [**OAuth2LoginRequest**](OAuth2LoginRequest.md) | | [optional] | +| **organizationId** | **kotlin.String** | | [optional] | +| **refresh** | **kotlin.Boolean** | Refresh stores whether this login flow should enforce re-authentication. | [optional] | +| **requestedAal** | [**AuthenticatorAssuranceLevel**](AuthenticatorAssuranceLevel.md) | | [optional] | +| **returnTo** | **kotlin.String** | ReturnTo contains the requested return_to URL. | [optional] | +| **sessionTokenExchangeCode** | **kotlin.String** | SessionTokenExchangeCode holds the secret code that the client can use to retrieve a session token after the login flow has been completed. This is only set if the client has requested a session token exchange code, and if the flow is of type \"api\", and only on creating the login flow. | [optional] | +| **transientPayload** | **kotlin.String** | TransientPayload is used to pass data from the login to hooks and email templates | [optional] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | UpdatedAt is a helper struct field for gobuffalo.pop. | [optional] | + + + +## Enum: active +| Name | Value | +| ---- | ----- | +| active | password, oidc, totp, lookup_secret, webauthn, code, passkey, profile, link_recovery, code_recovery | + + + diff --git a/clients/client/kotlin-multiplatform/docs/LoginFlowState.md b/clients/client/kotlin-multiplatform/docs/LoginFlowState.md new file mode 100644 index 00000000000..f4ff6571098 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/LoginFlowState.md @@ -0,0 +1,14 @@ + +# LoginFlowState + +## Enum + + + * `choose_method` (value: `"choose_method"`) + + * `sent_email` (value: `"sent_email"`) + + * `passed_challenge` (value: `"passed_challenge"`) + + + diff --git a/clients/client/kotlin-multiplatform/docs/LogoutFlow.md b/clients/client/kotlin-multiplatform/docs/LogoutFlow.md new file mode 100644 index 00000000000..103e7a1ca54 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/LogoutFlow.md @@ -0,0 +1,11 @@ + +# LogoutFlow + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **logoutToken** | **kotlin.String** | LogoutToken can be used to perform logout using AJAX. | | +| **logoutUrl** | **kotlin.String** | LogoutURL can be opened in a browser to sign the user out. format: uri | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ManagedIdentitySchema.md b/clients/client/kotlin-multiplatform/docs/ManagedIdentitySchema.md new file mode 100644 index 00000000000..a6ffd350a3c --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ManagedIdentitySchema.md @@ -0,0 +1,16 @@ + +# ManagedIdentitySchema + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **blobName** | **kotlin.String** | The gcs file name This is a randomly generated name which is used to uniquely identify the file on the blob storage | | +| **blobUrl** | **kotlin.String** | The publicly accessible url of the schema | | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The Schema's Creation Date | [readonly] | +| **id** | **kotlin.String** | The schema's ID. | [readonly] | +| **name** | **kotlin.String** | The schema name This is set by the user and is for them to easily recognise their schema | | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | Last Time Schema was Updated | [readonly] | +| **contentHash** | **kotlin.String** | The Content Hash Contains a hash of the schema's content. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ManagedIdentitySchemaValidationResult.md b/clients/client/kotlin-multiplatform/docs/ManagedIdentitySchemaValidationResult.md new file mode 100644 index 00000000000..9a9d9f362a3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ManagedIdentitySchemaValidationResult.md @@ -0,0 +1,11 @@ + +# ManagedIdentitySchemaValidationResult + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **message** | **kotlin.String** | | [optional] | +| **valid** | **kotlin.Boolean** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/MemberInvite.md b/clients/client/kotlin-multiplatform/docs/MemberInvite.md new file mode 100644 index 00000000000..d82d80469fc --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/MemberInvite.md @@ -0,0 +1,27 @@ + +# MemberInvite + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The Project's Revision Creation Date | [readonly] | +| **id** | **kotlin.String** | The invite's ID. | [readonly] | +| **inviteeEmail** | **kotlin.String** | The invitee's email | | +| **ownerEmail** | **kotlin.String** | The invite owner's email Usually the project's owner email | | +| **ownerId** | **kotlin.String** | The invite owner's ID Usually the project's owner | | +| **status** | [**inline**](#Status) | The invite's status Keeps track of the invites status such as pending, accepted, declined, expired pending PENDING accepted ACCEPTED declined DECLINED expired EXPIRED cancelled CANCELLED removed REMOVED | | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | Last Time Project's Revision was Updated | [readonly] | +| **inviteeId** | **kotlin.String** | | [optional] | +| **projectId** | **kotlin.String** | | [optional] | +| **role** | **kotlin.String** | | [optional] | +| **workspaceId** | **kotlin.String** | | [optional] | + + + +## Enum: status +| Name | Value | +| ---- | ----- | +| status | pending, accepted, declined, expired, cancelled, removed | + + + diff --git a/clients/client/kotlin-multiplatform/docs/Message.md b/clients/client/kotlin-multiplatform/docs/Message.md new file mode 100644 index 00000000000..fd019c16b33 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/Message.md @@ -0,0 +1,28 @@ + +# Message + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **body** | **kotlin.String** | | | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | CreatedAt is a helper struct field for gobuffalo.pop. | | +| **id** | **kotlin.String** | | | +| **recipient** | **kotlin.String** | | | +| **sendCount** | **kotlin.Long** | | | +| **status** | [**CourierMessageStatus**](CourierMessageStatus.md) | | | +| **subject** | **kotlin.String** | | | +| **templateType** | [**inline**](#TemplateType) | recovery_invalid TypeRecoveryInvalid recovery_valid TypeRecoveryValid recovery_code_invalid TypeRecoveryCodeInvalid recovery_code_valid TypeRecoveryCodeValid verification_invalid TypeVerificationInvalid verification_valid TypeVerificationValid verification_code_invalid TypeVerificationCodeInvalid verification_code_valid TypeVerificationCodeValid stub TypeTestStub login_code_valid TypeLoginCodeValid registration_code_valid TypeRegistrationCodeValid | | +| **type** | [**CourierMessageType**](CourierMessageType.md) | | | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | UpdatedAt is a helper struct field for gobuffalo.pop. | | +| **channel** | **kotlin.String** | | [optional] | +| **dispatches** | [**kotlin.collections.List<MessageDispatch>**](MessageDispatch.md) | Dispatches store information about the attempts of delivering a message May contain an error if any happened, or just the `success` state. | [optional] | + + + +## Enum: template_type +| Name | Value | +| ---- | ----- | +| templateType | recovery_invalid, recovery_valid, recovery_code_invalid, recovery_code_valid, verification_invalid, verification_valid, verification_code_invalid, verification_code_valid, stub, login_code_valid, registration_code_valid | + + + diff --git a/clients/client/kotlin-multiplatform/docs/MessageDispatch.md b/clients/client/kotlin-multiplatform/docs/MessageDispatch.md new file mode 100644 index 00000000000..c723ea5cb87 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/MessageDispatch.md @@ -0,0 +1,22 @@ + +# MessageDispatch + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | CreatedAt is a helper struct field for gobuffalo.pop. | | +| **id** | **kotlin.String** | The ID of this message dispatch | | +| **messageId** | **kotlin.String** | The ID of the message being dispatched | | +| **status** | [**inline**](#Status) | The status of this dispatch Either \"failed\" or \"success\" failed CourierMessageDispatchStatusFailed success CourierMessageDispatchStatusSuccess | | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | UpdatedAt is a helper struct field for gobuffalo.pop. | | +| **error** | **kotlin.String** | | [optional] | + + + +## Enum: status +| Name | Value | +| ---- | ----- | +| status | failed, success | + + + diff --git a/clients/client/kotlin-multiplatform/docs/MetadataApi.md b/clients/client/kotlin-multiplatform/docs/MetadataApi.md new file mode 100644 index 00000000000..2684042af4d --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/MetadataApi.md @@ -0,0 +1,54 @@ +# MetadataApi + +All URIs are relative to *https://playground.projects.oryapis.com* + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**getVersion**](MetadataApi.md#getVersion) | **GET** /version | Return Running Software Version. | + + + +# **getVersion** +> GetVersion200Response getVersion() + +Return Running Software Version. + +This endpoint returns the version of Ory Kratos. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the version will never refer to the cluster state, only to a single instance. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = MetadataApi() +try { + val result : GetVersion200Response = apiInstance.getVersion() + println(result) +} catch (e: ClientException) { + println("4xx response calling MetadataApi#getVersion") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling MetadataApi#getVersion") + e.printStackTrace() +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**GetVersion200Response**](GetVersion200Response.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + diff --git a/clients/client/kotlin-multiplatform/docs/MetricsDatapoint.md b/clients/client/kotlin-multiplatform/docs/MetricsDatapoint.md new file mode 100644 index 00000000000..c7de46b1fd4 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/MetricsDatapoint.md @@ -0,0 +1,11 @@ + +# MetricsDatapoint + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **count** | **kotlin.Long** | The count of events that occured in this time | | +| **time** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The time of the bucket | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/Money.md b/clients/client/kotlin-multiplatform/docs/Money.md new file mode 100644 index 00000000000..267a3e444e3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/Money.md @@ -0,0 +1,12 @@ + +# Money + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **cents** | **kotlin.Long** | | [optional] | +| **string** | **kotlin.String** | | [optional] | +| **unit** | **kotlin.String** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/Namespace.md b/clients/client/kotlin-multiplatform/docs/Namespace.md new file mode 100644 index 00000000000..65bc81f1ca0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/Namespace.md @@ -0,0 +1,10 @@ + +# Namespace + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | Name of the namespace. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/NeedsPrivilegedSessionError.md b/clients/client/kotlin-multiplatform/docs/NeedsPrivilegedSessionError.md new file mode 100644 index 00000000000..0240cc919aa --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/NeedsPrivilegedSessionError.md @@ -0,0 +1,11 @@ + +# NeedsPrivilegedSessionError + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **redirectBrowserTo** | **kotlin.String** | Points to where to redirect the user to next. | | +| **error** | [**GenericError**](GenericError.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/NormalizedProject.md b/clients/client/kotlin-multiplatform/docs/NormalizedProject.md new file mode 100644 index 00000000000..b29dd09093e --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/NormalizedProject.md @@ -0,0 +1,43 @@ + +# NormalizedProject + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The Project's Creation Date | [readonly] | +| **currentRevision** | [**NormalizedProjectRevision**](NormalizedProjectRevision.md) | | | +| **environment** | [**inline**](#Environment) | The environment of the project. prod Production stage Staging dev Development | | +| **homeRegion** | [**inline**](#HomeRegion) | The project's data home region. eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global | [readonly] | +| **hosts** | **kotlin.collections.List<kotlin.String>** | | | +| **id** | **kotlin.String** | The project's ID. | [readonly] | +| **slug** | **kotlin.String** | The project's slug | [readonly] | +| **state** | [**inline**](#State) | The state of the project. running Running halted Halted deleted Deleted | [readonly] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | Last Time Project was Updated | [readonly] | +| **workspaceId** | **kotlin.String** | | | +| **subscriptionId** | **kotlin.String** | | [optional] | +| **subscriptionPlan** | **kotlin.String** | | [optional] | +| **workspace** | [**Workspace**](Workspace.md) | | [optional] | + + + +## Enum: environment +| Name | Value | +| ---- | ----- | +| environment | prod, stage, dev | + + + +## Enum: home_region +| Name | Value | +| ---- | ----- | +| homeRegion | eu-central, asia-northeast, us-east, us-west, us, global | + + + +## Enum: state +| Name | Value | +| ---- | ----- | +| state | running, halted, deleted | + + + diff --git a/clients/client/kotlin-multiplatform/docs/NormalizedProjectRevision.md b/clients/client/kotlin-multiplatform/docs/NormalizedProjectRevision.md new file mode 100644 index 00000000000..48fd903612f --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/NormalizedProjectRevision.md @@ -0,0 +1,250 @@ + +# NormalizedProjectRevision + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | The project's name. | | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The Project's Revision Creation Date | [optional] [readonly] | +| **disableAccountExperienceWelcomeScreen** | **kotlin.Boolean** | Whether to disable the account experience welcome screen, which is hosted under `/ui/welcome`. | [optional] | +| **enableAxV2** | **kotlin.Boolean** | Whether the new account experience is enabled and reachable. | [optional] | +| **hydraOauth2AllowedTopLevelClaims** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **hydraOauth2ClientCredentialsDefaultGrantAllowedScope** | **kotlin.Boolean** | Automatically grant authorized OAuth2 Scope in OAuth2 Client Credentials Flow. Each OAuth2 Client is allowed to request a predefined OAuth2 Scope (for example `read write`). If this option is enabled, the full scope is automatically granted when performing the OAuth2 Client Credentials flow. If disabled, the OAuth2 Client has to request the scope in the OAuth2 request by providing the `scope` query parameter. Setting this option to true is common if you need compatibility with MITREid. This governs the \"oauth2.client_credentials.default_grant_allowed_scope\" setting. | [optional] | +| **hydraOauth2ExcludeNotBeforeClaim** | **kotlin.Boolean** | Set to true if you want to exclude claim `nbf (not before)` part of access token. This governs the \"oauth2.exclude_not_before_claim\" setting. | [optional] | +| **hydraOauth2GrantJwtIatOptional** | **kotlin.Boolean** | Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.iat_optional\" setting. | [optional] | +| **hydraOauth2GrantJwtJtiOptional** | **kotlin.Boolean** | Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.jti_optional\" setting. | [optional] | +| **hydraOauth2GrantJwtMaxTtl** | **kotlin.String** | Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be. This feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied. Useful as a safety measure and recommended to keep below 720h. This governs the \"oauth2.grant.jwt.max_ttl\" setting. | [optional] | +| **hydraOauth2MirrorTopLevelClaims** | **kotlin.Boolean** | Set to false if you don't want to mirror custom claims under 'ext'. This governs the \"oauth2.mirror_top_level_claims\" setting. | [optional] | +| **hydraOauth2PkceEnforced** | **kotlin.Boolean** | Configures whether PKCE should be enforced for all OAuth2 Clients. This governs the \"oauth2.pkce.enforced\" setting. | [optional] | +| **hydraOauth2PkceEnforcedForPublicClients** | **kotlin.Boolean** | Configures whether PKCE should be enforced for OAuth2 Clients without a client secret (public clients). This governs the \"oauth2.pkce.enforced_for_public_clients\" setting. | [optional] | +| **hydraOauth2RefreshTokenHook** | **kotlin.String** | Sets the Refresh Token Hook Endpoint. If set this endpoint will be called during the OAuth2 Token Refresh grant update the OAuth2 Access Token claims. This governs the \"oauth2.refresh_token_hook\" setting. | [optional] | +| **hydraOauth2TokenHook** | **kotlin.String** | Sets the token hook endpoint for all grant types. If set it will be called while providing token to customize claims. This governs the \"oauth2.token_hook.url\" setting. | [optional] | +| **hydraOidcDynamicClientRegistrationDefaultScope** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **hydraOidcDynamicClientRegistrationEnabled** | **kotlin.Boolean** | Configures OpenID Connect Dynamic Client Registration. This governs the \"oidc.dynamic_client_registration.enabled\" setting. | [optional] | +| **hydraOidcSubjectIdentifiersPairwiseSalt** | **kotlin.String** | Configures OpenID Connect Discovery and overwrites the pairwise algorithm This governs the \"oidc.subject_identifiers.pairwise_salt\" setting. | [optional] | +| **hydraOidcSubjectIdentifiersSupportedTypes** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **hydraSecretsCookie** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **hydraSecretsSystem** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **hydraServeCookiesSameSiteLegacyWorkaround** | **kotlin.Boolean** | Configures the Ory Hydra Cookie Same Site Legacy Workaround This governs the \"serve.cookies.same_site_legacy_workaround\" setting. | [optional] | +| **hydraServeCookiesSameSiteMode** | **kotlin.String** | Configures the Ory Hydra Cookie Same Site Mode This governs the \"serve.cookies.same_site_mode\" setting. | [optional] | +| **hydraStrategiesAccessToken** | [**inline**](#HydraStrategiesAccessToken) | Defines access token type This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt | [optional] | +| **hydraStrategiesJwtScopeClaim** | [**inline**](#HydraStrategiesJwtScopeClaim) | Define the claim to use as the scope in the access token. This governs the \"strategies.jwt.scope_claim\" setting: list: The scope claim is an array of strings named `scope`: `{ \"scope\": [\"read\", \"write\"] }` string: The scope claim is a space delimited list of strings named `scp`: `{ \"scp\": \"read write\" }` both: The scope claim is both a space delimited list and an array of strings named `scope` and `scp`: `{ \"scope\": [\"read\", \"write\"], \"scp\": \"read write\" }` list OAuth2JWTScopeClaimList string OAuth2JWTScopeClaimString both OAuth2JWTScopeClaimBoth | [optional] | +| **hydraStrategiesScope** | [**inline**](#HydraStrategiesScope) | Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes This governs the \"strategies.scope\" setting. exact Oauth2ScopeStrategyExact wildcard Oauth2ScopeStrategyWildcard | [optional] | +| **hydraTtlAccessToken** | **kotlin.String** | This governs the \"ttl.access_token\" setting. | [optional] | +| **hydraTtlAuthCode** | **kotlin.String** | Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.auth_code\" setting. | [optional] | +| **hydraTtlIdToken** | **kotlin.String** | This governs the \"ttl.id_token\" setting. | [optional] | +| **hydraTtlLoginConsentRequest** | **kotlin.String** | Configures how long a user login and consent flow may take. This governs the \"ttl.login_consent_request\" setting. | [optional] | +| **hydraTtlRefreshToken** | **kotlin.String** | Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.refresh_token\" setting. | [optional] | +| **hydraUrlsConsent** | **kotlin.String** | Sets the OAuth2 Consent Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.consent\" setting. | [optional] | +| **hydraUrlsError** | **kotlin.String** | Sets the OAuth2 Error URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.error\" setting. | [optional] | +| **hydraUrlsLogin** | **kotlin.String** | Sets the OAuth2 Login Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.login\" setting. | [optional] | +| **hydraUrlsLogout** | **kotlin.String** | Sets the logout endpoint. Defaults to the Ory Account Experience if left empty. This governs the \"urls.logout\" setting. | [optional] | +| **hydraUrlsPostLogoutRedirect** | **kotlin.String** | When an OAuth2-related user agent requests to log out, they will be redirected to this url afterwards per default. Defaults to the Ory Account Experience in development and your application in production mode when a custom domain is connected. This governs the \"urls.post_logout_redirect\" setting. | [optional] | +| **hydraUrlsRegistration** | **kotlin.String** | Sets the OAuth2 Registration Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.registration\" setting. | [optional] | +| **hydraUrlsSelfIssuer** | **kotlin.String** | This value will be used as the issuer in access and ID tokens. It must be specified and using HTTPS protocol, unless the development mode is enabled. On the Ory Network it will be very rare that you want to modify this value. If left empty, it will default to the correct value for the Ory Network. This governs the \"urls.self.issuer\" setting. | [optional] | +| **hydraWebfingerJwksBroadcastKeys** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **hydraWebfingerOidcDiscoveryAuthUrl** | **kotlin.String** | Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL. This governs the \"webfinger.oidc.discovery.auth_url\" setting. | [optional] | +| **hydraWebfingerOidcDiscoveryClientRegistrationUrl** | **kotlin.String** | Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint. This governs the \"webfinger.oidc.discovery.client_registration_url\" setting. | [optional] | +| **hydraWebfingerOidcDiscoveryJwksUrl** | **kotlin.String** | Configures OpenID Connect Discovery and overwrites the JWKS URL. This governs the \"webfinger.oidc.discovery.jwks_url\" setting. | [optional] | +| **hydraWebfingerOidcDiscoverySupportedClaims** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **hydraWebfingerOidcDiscoverySupportedScope** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **hydraWebfingerOidcDiscoveryTokenUrl** | **kotlin.String** | Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL. This governs the \"webfinger.oidc.discovery.token_url\" setting. | [optional] | +| **hydraWebfingerOidcDiscoveryUserinfoUrl** | **kotlin.String** | Configures OpenID Connect Discovery and overwrites userinfo endpoint to be advertised at the OpenID Connect Discovery endpoint /.well-known/openid-configuration. Defaults to Ory Hydra's userinfo endpoint at /userinfo. Set this value if you want to handle this endpoint yourself. This governs the \"webfinger.oidc.discovery.userinfo_url\" setting. | [optional] | +| **id** | **kotlin.String** | The revision ID. | [optional] [readonly] | +| **ketoNamespaceConfiguration** | **kotlin.String** | The Revisions' Keto Namespace Configuration The string is a URL pointing to an OPL file with the configuration. | [optional] | +| **ketoNamespaces** | [**kotlin.collections.List<KetoNamespace>**](KetoNamespace.md) | | [optional] | +| **kratosCookiesSameSite** | **kotlin.String** | Configures the Ory Kratos Cookie SameSite Attribute This governs the \"cookies.same_site\" setting. | [optional] | +| **kratosCourierChannels** | [**kotlin.collections.List<NormalizedProjectRevisionCourierChannel>**](NormalizedProjectRevisionCourierChannel.md) | | [optional] | +| **kratosCourierDeliveryStrategy** | **kotlin.String** | The delivery strategy to use when sending emails `smtp`: Use SMTP server `http`: Use the built in HTTP client to send the email to some remote service | [optional] | +| **kratosCourierHttpRequestConfigAuthApiKeyIn** | **kotlin.String** | The location of the API key to use in the HTTP email sending service's authentication `header`: Send the key value pair as a header `cookie`: Send the key value pair as a cookie This governs the \"courier.http.auth.config.in\" setting | [optional] | +| **kratosCourierHttpRequestConfigAuthApiKeyName** | **kotlin.String** | The name of the API key to use in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.name\" setting | [optional] | +| **kratosCourierHttpRequestConfigAuthApiKeyValue** | **kotlin.String** | The value of the API key to use in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.value\" setting | [optional] | +| **kratosCourierHttpRequestConfigAuthBasicAuthPassword** | **kotlin.String** | The password to use for basic auth in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.password\" setting | [optional] | +| **kratosCourierHttpRequestConfigAuthBasicAuthUser** | **kotlin.String** | The user to use for basic auth in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.user\" setting | [optional] | +| **kratosCourierHttpRequestConfigAuthType** | **kotlin.String** | The authentication type to use while contacting the remote HTTP email sending service `basic_auth`: Use Basic Authentication `api_key`: Use API Key Authentication in a header or cookie | [optional] | +| **kratosCourierHttpRequestConfigBody** | **kotlin.String** | The Jsonnet template to generate the body to send to the remote HTTP email sending service Should be valid Jsonnet and base64 encoded This governs the \"courier.http.body\" setting | [optional] | +| **kratosCourierHttpRequestConfigHeaders** | **kotlin.String** | NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- | [optional] | +| **kratosCourierHttpRequestConfigMethod** | **kotlin.String** | The http METHOD to use when calling the remote HTTP email sending service | [optional] | +| **kratosCourierHttpRequestConfigUrl** | **kotlin.String** | The URL of the remote HTTP email sending service This governs the \"courier.http.url\" setting | [optional] | +| **kratosCourierSmtpConnectionUri** | **kotlin.String** | Configures the Ory Kratos SMTP Connection URI This governs the \"courier.smtp.connection_uri\" setting. | [optional] | +| **kratosCourierSmtpFromAddress** | **kotlin.String** | Configures the Ory Kratos SMTP From Address This governs the \"courier.smtp.from_address\" setting. | [optional] | +| **kratosCourierSmtpFromName** | **kotlin.String** | Configures the Ory Kratos SMTP From Name This governs the \"courier.smtp.from_name\" setting. | [optional] | +| **kratosCourierSmtpHeaders** | **kotlin.String** | NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- | [optional] | +| **kratosCourierSmtpLocalName** | **kotlin.String** | Configures the local_name to use in SMTP connections This governs the \"courier.smtp.local_name\" setting. | [optional] | +| **kratosCourierTemplatesLoginCodeValidEmailBodyHtml** | **kotlin.String** | Configures the Ory Kratos Valid Login via Code Email Body HTML Template This governs the \"courier.smtp.templates.login_code.valid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesLoginCodeValidEmailBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.login_code.valid.email.body.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesLoginCodeValidEmailSubject** | **kotlin.String** | Configures the Ory Kratos Valid Login via Code Email Subject Template This governs the \"courier.smtp.templates.login_code.valid.email.subject\" setting. | [optional] | +| **kratosCourierTemplatesLoginCodeValidSmsBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Valid Login via Code SMS plain text body This governs the \"courier.smtp.templates.login_code.valid.sms.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryCodeInvalidEmailBodyHtml** | **kotlin.String** | Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryCodeInvalidEmailBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryCodeInvalidEmailSubject** | **kotlin.String** | Configures the Ory Kratos Invalid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryCodeValidEmailBodyHtml** | **kotlin.String** | Configures the Ory Kratos Valid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.valid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryCodeValidEmailBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Valid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.valid.email.body.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryCodeValidEmailSubject** | **kotlin.String** | Configures the Ory Kratos Valid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.valid.email.subject\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryInvalidEmailBodyHtml** | **kotlin.String** | Configures the Ory Kratos Invalid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryInvalidEmailBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryInvalidEmailSubject** | **kotlin.String** | Configures the Ory Kratos Invalid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryValidEmailBodyHtml** | **kotlin.String** | Configures the Ory Kratos Valid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.valid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryValidEmailBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Valid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesRecoveryValidEmailSubject** | **kotlin.String** | Configures the Ory Kratos Valid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.valid.email.subject\" setting. | [optional] | +| **kratosCourierTemplatesRegistrationCodeValidEmailBodyHtml** | **kotlin.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** | **kotlin.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** | **kotlin.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** | **kotlin.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** | **kotlin.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** | **kotlin.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** | **kotlin.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] | +| **kratosCourierTemplatesVerificationCodeValidEmailBodyHtml** | **kotlin.String** | Configures the Ory Kratos Valid Verification via Code Email Body HTML Template This governs the \"courier.smtp.templates.verification_code.valid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesVerificationCodeValidEmailBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Valid Verification via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.verification_code.valid.email.body.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesVerificationCodeValidEmailSubject** | **kotlin.String** | Configures the Ory Kratos Valid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.valid.email.subject\" setting. | [optional] | +| **kratosCourierTemplatesVerificationCodeValidSmsBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Valid Verification via Code SMS Body Plaintext This governs the \"courier.smtp.templates.verification_code.valid.sms.body.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesVerificationInvalidEmailBodyHtml** | **kotlin.String** | Configures the Ory Kratos Invalid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.invalid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesVerificationInvalidEmailBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Invalid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.verification.invalid.email.body.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesVerificationInvalidEmailSubject** | **kotlin.String** | Configures the Ory Kratos Invalid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.invalid.email.subject\" setting. | [optional] | +| **kratosCourierTemplatesVerificationValidEmailBodyHtml** | **kotlin.String** | Configures the Ory Kratos Valid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.valid.email.body.html\" setting. | [optional] | +| **kratosCourierTemplatesVerificationValidEmailBodyPlaintext** | **kotlin.String** | Configures the Ory Kratos Valid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.verification.valid.email.body.plaintext\" setting. | [optional] | +| **kratosCourierTemplatesVerificationValidEmailSubject** | **kotlin.String** | Configures the Ory Kratos Valid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.valid.email.subject\" setting. | [optional] | +| **kratosFeatureFlagsCacheableSessions** | **kotlin.Boolean** | Configures the Ory Kratos Session caching feature flag This governs the \"feature_flags.cacheable_sessions\" setting. | [optional] | +| **kratosFeatureFlagsCacheableSessionsMaxAge** | **kotlin.String** | Configures the Ory Kratos Session caching max-age feature flag This governs the \"feature_flags.cacheable_sessions_max_age\" setting. | [optional] | +| **kratosFeatureFlagsFasterSessionExtend** | **kotlin.Boolean** | Configures the Ory Kratos Faster Session Extend setting If enabled allows faster session extension by skipping the session lookup and returning 201 instead of 200. Disabling this feature will be deprecated in the future. This governs the \"feature_flags.faster_session_extend\" setting. | [optional] | +| **kratosFeatureFlagsUseContinueWithTransitions** | **kotlin.Boolean** | Configures the Ory Kratos Session use_continue_with_transitions flag This governs the \"feature_flags.use_continue_with_transitions\" setting. | [optional] | +| **kratosIdentitySchemas** | [**kotlin.collections.List<NormalizedProjectRevisionIdentitySchema>**](NormalizedProjectRevisionIdentitySchema.md) | | [optional] | +| **kratosOauth2ProviderHeaders** | **kotlin.String** | NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- | [optional] | +| **kratosOauth2ProviderOverrideReturnTo** | **kotlin.Boolean** | Kratos OAuth2 Provider Override Return To Enabling this allows Kratos to set the return_to parameter automatically to the OAuth2 request URL on the login flow, allowing complex flows such as recovery to continue to the initial OAuth2 flow. | [optional] | +| **kratosOauth2ProviderUrl** | **kotlin.String** | The Revisions' OAuth2 Provider Integration URL This governs the \"oauth2_provider.url\" setting. | [optional] | +| **kratosPreviewDefaultReadConsistencyLevel** | **kotlin.String** | Configures the default read consistency level for identity APIs This governs the `preview.default_read_consistency_level` setting. 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. 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` Defaults to \"strong\" for new and existing projects. This feature is in preview. Use with caution. | [optional] | +| **kratosSecretsCipher** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **kratosSecretsCookie** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **kratosSecretsDefault** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **kratosSelfserviceAllowedReturnUrls** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **kratosSelfserviceDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Default Return URL This governs the \"selfservice.allowed_return_urls\" setting. | [optional] | +| **kratosSelfserviceFlowsErrorUiUrl** | **kotlin.String** | Configures the Ory Kratos Error UI URL This governs the \"selfservice.flows.error.ui_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginAfterCodeDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.code.after.password.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginAfterDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Login Default Return URL This governs the \"selfservice.flows.login.after.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginAfterLookupSecretDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.lookup_secret.after.password.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginAfterOidcDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Login After OIDC Default Return URL This governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginAfterPasskeyDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Login After Passkey Default Return URL This governs the \"selfservice.flows.login.after.passkey.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginAfterPasswordDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginAfterTotpDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.totp.after.password.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginAfterWebauthnDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Login After WebAuthn Default Return URL This governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginLifespan** | **kotlin.String** | Configures the Ory Kratos Login Lifespan This governs the \"selfservice.flows.login.lifespan\" setting. | [optional] | +| **kratosSelfserviceFlowsLoginUiUrl** | **kotlin.String** | Configures the Ory Kratos Login UI URL This governs the \"selfservice.flows.login.ui_url\" setting. | [optional] | +| **kratosSelfserviceFlowsLogoutAfterDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Logout Default Return URL This governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsRecoveryAfterDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Recovery Default Return URL This governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsRecoveryEnabled** | **kotlin.Boolean** | Configures the Ory Kratos Recovery Enabled Setting This governs the \"selfservice.flows.recovery.enabled\" setting. | [optional] | +| **kratosSelfserviceFlowsRecoveryLifespan** | **kotlin.String** | Configures the Ory Kratos Recovery Lifespan This governs the \"selfservice.flows.recovery.lifespan\" setting. | [optional] | +| **kratosSelfserviceFlowsRecoveryNotifyUnknownRecipients** | **kotlin.Boolean** | Configures whether to notify unknown recipients of a Ory Kratos recovery flow This governs the \"selfservice.flows.recovery.notify_unknown_recipients\" setting. | [optional] | +| **kratosSelfserviceFlowsRecoveryUiUrl** | **kotlin.String** | Configures the Ory Kratos Recovery UI URL This governs the \"selfservice.flows.recovery.ui_url\" setting. | [optional] | +| **kratosSelfserviceFlowsRecoveryUse** | [**inline**](#KratosSelfserviceFlowsRecoveryUse) | Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\") This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode | [optional] | +| **kratosSelfserviceFlowsRegistrationAfterCodeDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Registration After Code Default Return URL This governs the \"selfservice.flows.registration.after.code.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsRegistrationAfterDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Registration Default Return URL This governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsRegistrationAfterOidcDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Registration After OIDC Default Return URL This governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsRegistrationAfterPasskeyDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Registration After Passkey Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsRegistrationAfterPasswordDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Registration After Password Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsRegistrationAfterWebauthnDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Registration After Webauthn Default Return URL This governs the \"selfservice.flows.registration.after.webauthn.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsRegistrationEnableLegacyOneStep** | **kotlin.Boolean** | Disable two-step registration Two-step registration is a significantly improved sign up flow and recommended when using more than one sign up methods. To revert to one-step registration, set this to `true`. This governs the \"selfservice.flows.registration.enable_legacy_one_step\" setting. | [optional] | +| **kratosSelfserviceFlowsRegistrationEnabled** | **kotlin.Boolean** | Configures the Whether Ory Kratos Registration is Enabled This governs the \"selfservice.flows.registration.enabled\" setting.0 | [optional] | +| **kratosSelfserviceFlowsRegistrationLifespan** | **kotlin.String** | Configures the Ory Kratos Registration Lifespan This governs the \"selfservice.flows.registration.lifespan\" setting. | [optional] | +| **kratosSelfserviceFlowsRegistrationLoginHints** | **kotlin.Boolean** | Configures the Ory Kratos Registration Login Hints Shows helpful information when a user tries to sign up with a duplicate account. This governs the \"selfservice.flows.registration.login_hints\" setting. | [optional] | +| **kratosSelfserviceFlowsRegistrationUiUrl** | **kotlin.String** | Configures the Ory Kratos Registration UI URL This governs the \"selfservice.flows.registration.ui_url\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsAfterDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Settings Default Return URL This governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsAfterLookupSecretDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Settings Default Return URL After Updating Lookup Secrets This governs the \"selfservice.flows.settings.after.lookup_secret.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsAfterOidcDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Settings Default Return URL After Updating Social Sign In This governs the \"selfservice.flows.settings.after.oidc.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsAfterPasskeyDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Settings Default Return URL After Updating Passkey This governs the \"selfservice.flows.settings.after.passkey.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsAfterPasswordDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Settings Default Return URL After Updating Passwords This governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsAfterProfileDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Settings Default Return URL After Updating Profiles This governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsAfterTotpDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Settings Default Return URL After Updating TOTP This governs the \"selfservice.flows.settings.after.totp.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsAfterWebauthnDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Settings Default Return URL After Updating WebAuthn This governs the \"selfservice.flows.settings.after.webauthn.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsLifespan** | **kotlin.String** | Configures the Ory Kratos Settings Lifespan This governs the \"selfservice.flows.settings.lifespan\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsPrivilegedSessionMaxAge** | **kotlin.String** | Configures the Ory Kratos Settings Privileged Session Max Age This governs the \"selfservice.flows.settings.privileged_session_max_age\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsRequiredAal** | **kotlin.String** | Configures the Ory Kratos Settings Required AAL This governs the \"selfservice.flows.settings.required_aal\" setting. | [optional] | +| **kratosSelfserviceFlowsSettingsUiUrl** | **kotlin.String** | Configures the Ory Kratos Settings UI URL This governs the \"selfservice.flows.settings.ui_url\" setting. | [optional] | +| **kratosSelfserviceFlowsVerificationAfterDefaultBrowserReturnUrl** | **kotlin.String** | Configures the Ory Kratos Verification Default Return URL This governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting. | [optional] | +| **kratosSelfserviceFlowsVerificationEnabled** | **kotlin.Boolean** | Configures the Ory Kratos Verification Enabled Setting This governs the \"selfservice.flows.verification.enabled\" setting. | [optional] | +| **kratosSelfserviceFlowsVerificationLifespan** | **kotlin.String** | Configures the Ory Kratos Verification Lifespan This governs the \"selfservice.flows.verification.lifespan\" setting. | [optional] | +| **kratosSelfserviceFlowsVerificationNotifyUnknownRecipients** | **kotlin.Boolean** | Configures whether to notify unknown recipients of a Ory Kratos verification flow This governs the \"selfservice.flows.verification.notify_unknown_recipients\" setting. | [optional] | +| **kratosSelfserviceFlowsVerificationUiUrl** | **kotlin.String** | Configures the Ory Kratos Verification UI URL This governs the \"selfservice.flows.verification.ui_url\" setting. | [optional] | +| **kratosSelfserviceFlowsVerificationUse** | [**inline**](#KratosSelfserviceFlowsVerificationUse) | Configures the Ory Kratos Strategy to use for Verification This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode | [optional] | +| **kratosSelfserviceMethodsCodeConfigLifespan** | **kotlin.String** | Configures the Ory Kratos Code Method's lifespan This governs the \"selfservice.methods.code.config.lifespan\" setting. | [optional] | +| **kratosSelfserviceMethodsCodeConfigMissingCredentialFallbackEnabled** | **kotlin.Boolean** | Enables a fallback method required in certain legacy use cases. This governs the \"selfservice.methods.code.config.missing_credential_fallback_enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsCodeEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Code Method is enabled This governs the \"selfservice.methods.code.enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsCodeMfaEnabled** | **kotlin.Boolean** | Configures whether the code method can be used to fulfil MFA flows This governs the \"selfservice.methods.code.mfa_enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsCodePasswordlessEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Passwordless should use the Code Method This governs the \"selfservice.methods.code.passwordless_enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsCodePasswordlessLoginFallbackEnabled** | **kotlin.Boolean** | This setting allows the code method to always login a user with code if they have registered with another authentication method such as password or social sign in. This governs the \"selfservice.methods.code.passwordless_login_fallback_enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsLinkConfigBaseUrl** | **kotlin.String** | Configures the Base URL which Recovery, Verification, and Login Links Point to It is recommended to leave this value empty. It will be appropriately configured to the best matching domain (e.g. when using custom domains) automatically. This governs the \"selfservice.methods.link.config.base_url\" setting. | [optional] | +| **kratosSelfserviceMethodsLinkConfigLifespan** | **kotlin.String** | Configures the Ory Kratos Link Method's lifespan This governs the \"selfservice.methods.link.config.lifespan\" setting. | [optional] | +| **kratosSelfserviceMethodsLinkEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Link Method is enabled This governs the \"selfservice.methods.link.enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsLookupSecretEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos TOTP Lookup Secret is enabled This governs the \"selfservice.methods.lookup_secret.enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsOidcConfigBaseRedirectUri** | **kotlin.String** | Configures the Ory Kratos Third Party / OpenID Connect base redirect URI This governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting. | [optional] | +| **kratosSelfserviceMethodsOidcConfigProviders** | [**kotlin.collections.List<NormalizedProjectRevisionThirdPartyProvider>**](NormalizedProjectRevisionThirdPartyProvider.md) | | [optional] | +| **kratosSelfserviceMethodsOidcEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled This governs the \"selfservice.methods.oidc.enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsPasskeyConfigRpDisplayName** | **kotlin.String** | Configures the Ory Kratos Passkey RP Display Name This governs the \"selfservice.methods.passkey.config.rp.display_name\" setting. | [optional] | +| **kratosSelfserviceMethodsPasskeyConfigRpId** | **kotlin.String** | Configures the Ory Kratos Passkey RP ID This governs the \"selfservice.methods.passkey.config.rp.id\" setting. | [optional] | +| **kratosSelfserviceMethodsPasskeyConfigRpOrigins** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **kratosSelfserviceMethodsPasskeyEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Passkey authentication is enabled This governs the \"selfservice.methods.passkey.enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsPasswordConfigHaveibeenpwnedEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Password HIBP Checks is enabled This governs the \"selfservice.methods.password.config.haveibeenpwned_enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsPasswordConfigIdentifierSimilarityCheckEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Password should disable the similarity policy. This governs the \"selfservice.methods.password.config.identifier_similarity_check_enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsPasswordConfigIgnoreNetworkErrors** | **kotlin.Boolean** | Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors This governs the \"selfservice.methods.password.config.ignore_network_errors\" setting. | [optional] | +| **kratosSelfserviceMethodsPasswordConfigMaxBreaches** | **kotlin.Long** | Configures Ory Kratos Password Max Breaches Detection This governs the \"selfservice.methods.password.config.max_breaches\" setting. | [optional] | +| **kratosSelfserviceMethodsPasswordConfigMinPasswordLength** | **kotlin.Long** | Configures the minimum length of passwords. This governs the \"selfservice.methods.password.config.min_password_length\" setting. | [optional] | +| **kratosSelfserviceMethodsPasswordEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Password Method is enabled This governs the \"selfservice.methods.password.enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsProfileEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Profile Method is enabled This governs the \"selfservice.methods.profile.enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsTotpConfigIssuer** | **kotlin.String** | Configures Ory Kratos TOTP Issuer This governs the \"selfservice.methods.totp.config.issuer\" setting. | [optional] | +| **kratosSelfserviceMethodsTotpEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos TOTP Method is enabled This governs the \"selfservice.methods.totp.enabled\" setting. | [optional] | +| **kratosSelfserviceMethodsWebauthnConfigPasswordless** | **kotlin.Boolean** | Configures whether Ory Kratos Webauthn is used for passwordless flows This governs the \"selfservice.methods.webauthn.config.passwordless\" setting. | [optional] | +| **kratosSelfserviceMethodsWebauthnConfigRpDisplayName** | **kotlin.String** | Configures the Ory Kratos Webauthn RP Display Name This governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting. | [optional] | +| **kratosSelfserviceMethodsWebauthnConfigRpIcon** | **kotlin.String** | Configures the Ory Kratos Webauthn RP Icon This governs the \"selfservice.methods.webauthn.config.rp.icon\" setting. Deprecated: This value will be ignored due to security considerations. | [optional] | +| **kratosSelfserviceMethodsWebauthnConfigRpId** | **kotlin.String** | Configures the Ory Kratos Webauthn RP ID This governs the \"selfservice.methods.webauthn.config.rp.id\" setting. | [optional] | +| **kratosSelfserviceMethodsWebauthnConfigRpOrigins** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **kratosSelfserviceMethodsWebauthnEnabled** | **kotlin.Boolean** | Configures whether Ory Kratos Webauthn is enabled This governs the \"selfservice.methods.webauthn.enabled\" setting. | [optional] | +| **kratosSessionCookiePersistent** | **kotlin.Boolean** | Configures the Ory Kratos Session Cookie Persistent Attribute This governs the \"session.cookie.persistent\" setting. | [optional] | +| **kratosSessionCookieSameSite** | **kotlin.String** | Configures the Ory Kratos Session Cookie SameSite Attribute This governs the \"session.cookie.same_site\" setting. | [optional] | +| **kratosSessionLifespan** | **kotlin.String** | Configures the Ory Kratos Session Lifespan This governs the \"session.lifespan\" setting. | [optional] | +| **kratosSessionWhoamiRequiredAal** | **kotlin.String** | Configures the Ory Kratos Session Whoami AAL requirement This governs the \"session.whoami.required_aal\" setting. | [optional] | +| **kratosSessionWhoamiTokenizerTemplates** | [**kotlin.collections.List<NormalizedProjectRevisionTokenizerTemplate>**](NormalizedProjectRevisionTokenizerTemplate.md) | | [optional] | +| **projectId** | **kotlin.String** | The Revision's Project ID | [optional] | +| **projectRevisionHooks** | [**kotlin.collections.List<NormalizedProjectRevisionHook>**](NormalizedProjectRevisionHook.md) | | [optional] | +| **serveAdminCorsAllowedOrigins** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **serveAdminCorsEnabled** | **kotlin.Boolean** | Enable CORS headers on all admin APIs This governs the \"serve.admin.cors.enabled\" setting. | [optional] | +| **servePublicCorsAllowedOrigins** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **servePublicCorsEnabled** | **kotlin.Boolean** | Enable CORS headers on all public APIs This governs the \"serve.public.cors.enabled\" setting. | [optional] | +| **strictSecurity** | **kotlin.Boolean** | Whether the project should employ strict security measures. Setting this to true is recommended for going into production. | [optional] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | Last Time Project's Revision was Updated | [optional] [readonly] | + + + +## Enum: hydra_strategies_access_token +| Name | Value | +| ---- | ----- | +| hydraStrategiesAccessToken | opaque, jwt | + + + +## Enum: hydra_strategies_jwt_scope_claim +| Name | Value | +| ---- | ----- | +| hydraStrategiesJwtScopeClaim | list, string, both | + + + +## Enum: hydra_strategies_scope +| Name | Value | +| ---- | ----- | +| hydraStrategiesScope | exact, wildcard | + + + +## Enum: kratos_selfservice_flows_recovery_use +| Name | Value | +| ---- | ----- | +| kratosSelfserviceFlowsRecoveryUse | link, code | + + + +## Enum: kratos_selfservice_flows_verification_use +| Name | Value | +| ---- | ----- | +| kratosSelfserviceFlowsVerificationUse | link, code | + + + diff --git a/clients/client/kotlin-multiplatform/docs/NormalizedProjectRevisionCourierChannel.md b/clients/client/kotlin-multiplatform/docs/NormalizedProjectRevisionCourierChannel.md new file mode 100644 index 00000000000..d98b2f8d65d --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/NormalizedProjectRevisionCourierChannel.md @@ -0,0 +1,29 @@ + +# NormalizedProjectRevisionCourierChannel + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **channelId** | **kotlin.String** | The Channel's public ID | | +| **requestConfigBody** | **kotlin.String** | URI pointing to the JsonNet template used for HTTP body payload generation. | | +| **requestConfigMethod** | **kotlin.String** | The HTTP method to use (GET, POST, etc) for the HTTP call | | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The creation date | [optional] [readonly] | +| **requestConfigAuthConfigApiKeyIn** | **kotlin.String** | API key location Can either be \"header\" or \"query\" | [optional] | +| **requestConfigAuthConfigApiKeyName** | **kotlin.String** | API key name Only used if the auth type is api_key | [optional] | +| **requestConfigAuthConfigApiKeyValue** | **kotlin.String** | API key value Only used if the auth type is api_key | [optional] | +| **requestConfigAuthConfigBasicAuthPassword** | **kotlin.String** | Basic Auth Password Only used if the auth type is basic_auth | [optional] | +| **requestConfigAuthConfigBasicAuthUser** | **kotlin.String** | Basic Auth Username Only used if the auth type is basic_auth | [optional] | +| **requestConfigAuthType** | [**inline**](#RequestConfigAuthType) | HTTP Auth Method to use for the HTTP call Can either be basic_auth or api_key basic_auth CourierChannelAuthTypeBasicAuth api_key CourierChannelAuthTypeApiKey | [optional] | +| **requestConfigHeaders** | **kotlin.String** | NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- | [optional] | +| **requestConfigUrl** | **kotlin.String** | | [optional] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | Last upate time | [optional] [readonly] | + + + +## Enum: request_config_auth_type +| Name | Value | +| ---- | ----- | +| requestConfigAuthType | basic_auth, api_key | + + + diff --git a/clients/client/kotlin-multiplatform/docs/NormalizedProjectRevisionHook.md b/clients/client/kotlin-multiplatform/docs/NormalizedProjectRevisionHook.md new file mode 100644 index 00000000000..11d0a5f6909 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/NormalizedProjectRevisionHook.md @@ -0,0 +1,27 @@ + +# NormalizedProjectRevisionHook + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **configKey** | **kotlin.String** | The Hooks Config Key | | +| **hook** | **kotlin.String** | The Hook Type | | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The Project's Revision Creation Date | [optional] [readonly] | +| **id** | **kotlin.String** | ID of the entry | [optional] | +| **projectRevisionId** | **kotlin.String** | The Revision's ID this schema belongs to | [optional] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | Last Time Project's Revision was Updated | [optional] [readonly] | +| **webHookConfigAuthApiKeyIn** | **kotlin.String** | Whether to send the API Key in the HTTP Header or as a HTTP Cookie | [optional] | +| **webHookConfigAuthApiKeyName** | **kotlin.String** | The name of the api key | [optional] | +| **webHookConfigAuthApiKeyValue** | **kotlin.String** | The value of the api key | [optional] | +| **webHookConfigAuthBasicAuthPassword** | **kotlin.String** | The password to be sent in the HTTP Basic Auth Header | [optional] | +| **webHookConfigAuthBasicAuthUser** | **kotlin.String** | The username to be sent in the HTTP Basic Auth Header | [optional] | +| **webHookConfigAuthType** | **kotlin.String** | HTTP Auth Method to use for the Web-Hook | [optional] | +| **webHookConfigBody** | **kotlin.String** | URI pointing to the JsonNet template used for Web-Hook payload generation. Only used for those HTTP methods, which support HTTP body payloads. | [optional] | +| **webHookConfigCanInterrupt** | **kotlin.Boolean** | If enabled allows the web hook to interrupt / abort the self-service flow. It only applies to certain flows (registration/verification/login/settings) and requires a valid response format. | [optional] | +| **webHookConfigMethod** | **kotlin.String** | The HTTP method to use (GET, POST, etc) for the Web-Hook | [optional] | +| **webHookConfigResponseIgnore** | **kotlin.Boolean** | Whether to ignore the Web Hook response | [optional] | +| **webHookConfigResponseParse** | **kotlin.Boolean** | Whether to parse the Web Hook response | [optional] | +| **webHookConfigUrl** | **kotlin.String** | The URL the Web-Hook should call | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/NormalizedProjectRevisionIdentitySchema.md b/clients/client/kotlin-multiplatform/docs/NormalizedProjectRevisionIdentitySchema.md new file mode 100644 index 00000000000..9e0238e3085 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/NormalizedProjectRevisionIdentitySchema.md @@ -0,0 +1,19 @@ + +# NormalizedProjectRevisionIdentitySchema + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The Project's Revision Creation Date | [optional] [readonly] | +| **id** | **kotlin.String** | The unique ID of this entry. | [optional] | +| **identitySchema** | [**ManagedIdentitySchema**](ManagedIdentitySchema.md) | | [optional] | +| **identitySchemaId** | **kotlin.String** | | [optional] | +| **importId** | **kotlin.String** | The imported (named) ID of the Identity Schema referenced in the Ory Kratos config. | [optional] | +| **importUrl** | **kotlin.String** | The ImportURL can be used to import an Identity Schema from a bse64 encoded string. In the future, this key also support HTTPS and other sources! If you import an Ory Kratos configuration, this would be akin to the `identity.schemas.#.url` key. The configuration will always return the import URL when you fetch it from the API. | [optional] | +| **isDefault** | **kotlin.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] | +| **preset** | **kotlin.String** | Use a preset instead of a custom identity schema. | [optional] | +| **projectRevisionId** | **kotlin.String** | The Revision's ID this schema belongs to | [optional] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | Last Time Project's Revision was Updated | [optional] [readonly] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/NormalizedProjectRevisionThirdPartyProvider.md b/clients/client/kotlin-multiplatform/docs/NormalizedProjectRevisionThirdPartyProvider.md new file mode 100644 index 00000000000..d59afde66c2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/NormalizedProjectRevisionThirdPartyProvider.md @@ -0,0 +1,48 @@ + +# NormalizedProjectRevisionThirdPartyProvider + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **additionalIdTokenAudiences** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **applePrivateKey** | **kotlin.String** | | [optional] | +| **applePrivateKeyId** | **kotlin.String** | Apple Private Key Identifier Sign In with Apple Private Key Identifier needed for generating a JWT token for client secret | [optional] | +| **appleTeamId** | **kotlin.String** | Apple Developer Team ID Apple Developer Team ID needed for generating a JWT token for client secret | [optional] | +| **authUrl** | **kotlin.String** | AuthURL is the authorize url, typically something like: https://example.org/oauth2/auth Should only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when `provider` is set to `generic`. | [optional] | +| **azureTenant** | **kotlin.String** | Tenant is the Azure AD Tenant to use for authentication, and must be set when `provider` is set to `microsoft`. Can be either `common`, `organizations`, `consumers` for a multitenant application or a specific tenant like `8eaef023-2b34-4da1-9baa-8bc8c9d6a490` or `contoso.onmicrosoft.com`. | [optional] | +| **claimsSource** | **kotlin.String** | | [optional] | +| **clientId** | **kotlin.String** | ClientID is the application's Client ID. | [optional] | +| **clientSecret** | **kotlin.String** | | [optional] | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The Project's Revision Creation Date | [optional] [readonly] | +| **id** | **kotlin.String** | | [optional] | +| **issuerUrl** | **kotlin.String** | IssuerURL is the OpenID Connect Server URL. You can leave this empty if `provider` is not set to `generic`. If set, neither `auth_url` nor `token_url` are required. | [optional] | +| **label** | **kotlin.String** | Label represents an optional label which can be used in the UI generation. | [optional] | +| **mapperUrl** | **kotlin.String** | Mapper specifies the JSONNet code snippet which uses the OpenID Connect Provider's data (e.g. GitHub or Google profile information) to hydrate the identity's data. | [optional] | +| **organizationId** | **kotlin.String** | | [optional] | +| **pkce** | [**inline**](#Pkce) | PKCE controls if the OpenID Connect OAuth2 flow should use PKCE (Proof Key for Code Exchange). Possible values are: `auto` (default), `never`, `force`. `auto`: PKCE is used if the provider supports it. Requires setting `issuer_url`. `never`: Disable PKCE entirely for this provider, even if the provider advertises support for it. `force`: Always use PKCE, even if the provider does not advertise support for it. OAuth2 flows will fail if the provider does not support PKCE. IMPORTANT: If you set this to `force`, you must whitelist a different return URL for your OAuth2 client in the provider's configuration. Instead of <base-url>/self-service/methods/oidc/callback/<provider>, you must use <base-url>/self-service/methods/oidc/callback (Note the missing <provider> path segment and no trailing slash). | [optional] | +| **projectRevisionId** | **kotlin.String** | The Revision's ID this schema belongs to | [optional] | +| **provider** | **kotlin.String** | Provider is either \"generic\" for a generic OAuth 2.0 / OpenID Connect Provider or one of: generic google github gitlab microsoft discord slack facebook vk yandex apple | [optional] | +| **providerId** | **kotlin.String** | ID is the provider's ID | [optional] | +| **requestedClaims** | **kotlin.String** | | [optional] | +| **scope** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **state** | [**inline**](#State) | State indicates the state of the provider Only providers with state `enabled` will be used for authentication enabled ThirdPartyProviderStateEnabled disabled ThirdPartyProviderStateDisabled | [optional] | +| **subjectSource** | **kotlin.String** | | [optional] | +| **tokenUrl** | **kotlin.String** | TokenURL is the token url, typically something like: https://example.org/oauth2/token Should only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when `provider` is set to `generic`. | [optional] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | Last Time Project's Revision was Updated | [optional] [readonly] | + + + +## Enum: pkce +| Name | Value | +| ---- | ----- | +| pkce | auto, never, force | + + + +## Enum: state +| Name | Value | +| ---- | ----- | +| state | enabled, disabled | + + + diff --git a/clients/client/kotlin-multiplatform/docs/NormalizedProjectRevisionTokenizerTemplate.md b/clients/client/kotlin-multiplatform/docs/NormalizedProjectRevisionTokenizerTemplate.md new file mode 100644 index 00000000000..a30da025101 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/NormalizedProjectRevisionTokenizerTemplate.md @@ -0,0 +1,17 @@ + +# NormalizedProjectRevisionTokenizerTemplate + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **claimsMapperUrl** | **kotlin.String** | Claims mapper URL | [optional] | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The Project's Revision Creation Date | [optional] [readonly] | +| **id** | **kotlin.String** | The revision ID. | [optional] [readonly] | +| **jwksUrl** | **kotlin.String** | JSON Web Key URL | [optional] | +| **key** | **kotlin.String** | The unique key of the template | [optional] | +| **projectRevisionId** | **kotlin.String** | The Revision's ID this schema belongs to | [optional] | +| **ttl** | **kotlin.String** | Token time to live | [optional] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | Last Time Project's Revision was Updated | [optional] [readonly] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/OAuth2Api.md b/clients/client/kotlin-multiplatform/docs/OAuth2Api.md new file mode 100644 index 00000000000..90d77f68606 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/OAuth2Api.md @@ -0,0 +1,1424 @@ +# OAuth2Api + +All URIs are relative to *https://playground.projects.oryapis.com* + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**acceptOAuth2ConsentRequest**](OAuth2Api.md#acceptOAuth2ConsentRequest) | **PUT** /admin/oauth2/auth/requests/consent/accept | Accept OAuth 2.0 Consent Request | +| [**acceptOAuth2LoginRequest**](OAuth2Api.md#acceptOAuth2LoginRequest) | **PUT** /admin/oauth2/auth/requests/login/accept | Accept OAuth 2.0 Login Request | +| [**acceptOAuth2LogoutRequest**](OAuth2Api.md#acceptOAuth2LogoutRequest) | **PUT** /admin/oauth2/auth/requests/logout/accept | Accept OAuth 2.0 Session Logout Request | +| [**createOAuth2Client**](OAuth2Api.md#createOAuth2Client) | **POST** /admin/clients | Create OAuth 2.0 Client | +| [**deleteOAuth2Client**](OAuth2Api.md#deleteOAuth2Client) | **DELETE** /admin/clients/{id} | Delete OAuth 2.0 Client | +| [**deleteOAuth2Token**](OAuth2Api.md#deleteOAuth2Token) | **DELETE** /admin/oauth2/tokens | Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client | +| [**deleteTrustedOAuth2JwtGrantIssuer**](OAuth2Api.md#deleteTrustedOAuth2JwtGrantIssuer) | **DELETE** /admin/trust/grants/jwt-bearer/issuers/{id} | Delete Trusted OAuth2 JWT Bearer Grant Type Issuer | +| [**getOAuth2Client**](OAuth2Api.md#getOAuth2Client) | **GET** /admin/clients/{id} | Get an OAuth 2.0 Client | +| [**getOAuth2ConsentRequest**](OAuth2Api.md#getOAuth2ConsentRequest) | **GET** /admin/oauth2/auth/requests/consent | Get OAuth 2.0 Consent Request | +| [**getOAuth2LoginRequest**](OAuth2Api.md#getOAuth2LoginRequest) | **GET** /admin/oauth2/auth/requests/login | Get OAuth 2.0 Login Request | +| [**getOAuth2LogoutRequest**](OAuth2Api.md#getOAuth2LogoutRequest) | **GET** /admin/oauth2/auth/requests/logout | Get OAuth 2.0 Session Logout Request | +| [**getTrustedOAuth2JwtGrantIssuer**](OAuth2Api.md#getTrustedOAuth2JwtGrantIssuer) | **GET** /admin/trust/grants/jwt-bearer/issuers/{id} | Get Trusted OAuth2 JWT Bearer Grant Type Issuer | +| [**introspectOAuth2Token**](OAuth2Api.md#introspectOAuth2Token) | **POST** /admin/oauth2/introspect | Introspect OAuth2 Access and Refresh Tokens | +| [**listOAuth2Clients**](OAuth2Api.md#listOAuth2Clients) | **GET** /admin/clients | List OAuth 2.0 Clients | +| [**listOAuth2ConsentSessions**](OAuth2Api.md#listOAuth2ConsentSessions) | **GET** /admin/oauth2/auth/sessions/consent | List OAuth 2.0 Consent Sessions of a Subject | +| [**listTrustedOAuth2JwtGrantIssuers**](OAuth2Api.md#listTrustedOAuth2JwtGrantIssuers) | **GET** /admin/trust/grants/jwt-bearer/issuers | List Trusted OAuth2 JWT Bearer Grant Type Issuers | +| [**oAuth2Authorize**](OAuth2Api.md#oAuth2Authorize) | **GET** /oauth2/auth | OAuth 2.0 Authorize Endpoint | +| [**oauth2TokenExchange**](OAuth2Api.md#oauth2TokenExchange) | **POST** /oauth2/token | The OAuth 2.0 Token Endpoint | +| [**patchOAuth2Client**](OAuth2Api.md#patchOAuth2Client) | **PATCH** /admin/clients/{id} | Patch OAuth 2.0 Client | +| [**rejectOAuth2ConsentRequest**](OAuth2Api.md#rejectOAuth2ConsentRequest) | **PUT** /admin/oauth2/auth/requests/consent/reject | Reject OAuth 2.0 Consent Request | +| [**rejectOAuth2LoginRequest**](OAuth2Api.md#rejectOAuth2LoginRequest) | **PUT** /admin/oauth2/auth/requests/login/reject | Reject OAuth 2.0 Login Request | +| [**rejectOAuth2LogoutRequest**](OAuth2Api.md#rejectOAuth2LogoutRequest) | **PUT** /admin/oauth2/auth/requests/logout/reject | Reject OAuth 2.0 Session Logout Request | +| [**revokeOAuth2ConsentSessions**](OAuth2Api.md#revokeOAuth2ConsentSessions) | **DELETE** /admin/oauth2/auth/sessions/consent | Revoke OAuth 2.0 Consent Sessions of a Subject | +| [**revokeOAuth2LoginSessions**](OAuth2Api.md#revokeOAuth2LoginSessions) | **DELETE** /admin/oauth2/auth/sessions/login | Revokes OAuth 2.0 Login Sessions by either a Subject or a SessionID | +| [**revokeOAuth2Token**](OAuth2Api.md#revokeOAuth2Token) | **POST** /oauth2/revoke | Revoke OAuth 2.0 Access or Refresh Token | +| [**setOAuth2Client**](OAuth2Api.md#setOAuth2Client) | **PUT** /admin/clients/{id} | Set OAuth 2.0 Client | +| [**setOAuth2ClientLifespans**](OAuth2Api.md#setOAuth2ClientLifespans) | **PUT** /admin/clients/{id}/lifespans | Set OAuth2 Client Token Lifespans | +| [**trustOAuth2JwtGrantIssuer**](OAuth2Api.md#trustOAuth2JwtGrantIssuer) | **POST** /admin/trust/grants/jwt-bearer/issuers | Trust OAuth2 JWT Bearer Grant Type Issuer | + + + +# **acceptOAuth2ConsentRequest** +> OAuth2RedirectTo acceptOAuth2ConsentRequest(consentChallenge, acceptOAuth2ConsentRequest) + +Accept OAuth 2.0 Consent Request + +When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell Ory now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf. The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells Ory if the subject accepted or rejected the request. This endpoint tells Ory that the subject has authorized the OAuth 2.0 client to access resources on his/her behalf. The consent provider includes additional information, such as session data for access and ID tokens, and if the consent request should be used as basis for future requests. The response contains a redirect URL which the consent provider should redirect the user-agent to. The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please head over to the OAuth 2.0 documentation. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val consentChallenge : kotlin.String = consentChallenge_example // kotlin.String | OAuth 2.0 Consent Request Challenge +val acceptOAuth2ConsentRequest : AcceptOAuth2ConsentRequest = // AcceptOAuth2ConsentRequest | +try { + val result : OAuth2RedirectTo = apiInstance.acceptOAuth2ConsentRequest(consentChallenge, acceptOAuth2ConsentRequest) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#acceptOAuth2ConsentRequest") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#acceptOAuth2ConsentRequest") + e.printStackTrace() +} +``` + +### Parameters +| **consentChallenge** | **kotlin.String**| OAuth 2.0 Consent Request Challenge | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **acceptOAuth2ConsentRequest** | [**AcceptOAuth2ConsentRequest**](AcceptOAuth2ConsentRequest.md)| | [optional] | + +### Return type + +[**OAuth2RedirectTo**](OAuth2RedirectTo.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **acceptOAuth2LoginRequest** +> OAuth2RedirectTo acceptOAuth2LoginRequest(loginChallenge, acceptOAuth2LoginRequest) + +Accept OAuth 2.0 Login Request + +When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell the Ory OAuth2 Service about it. The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process. This endpoint tells Ory that the subject has successfully authenticated and includes additional information such as the subject's ID and if Ory should remember the subject's subject agent for future authentication attempts by setting a cookie. The response contains a redirect URL which the login provider should redirect the user-agent to. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val loginChallenge : kotlin.String = loginChallenge_example // kotlin.String | OAuth 2.0 Login Request Challenge +val acceptOAuth2LoginRequest : AcceptOAuth2LoginRequest = // AcceptOAuth2LoginRequest | +try { + val result : OAuth2RedirectTo = apiInstance.acceptOAuth2LoginRequest(loginChallenge, acceptOAuth2LoginRequest) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#acceptOAuth2LoginRequest") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#acceptOAuth2LoginRequest") + e.printStackTrace() +} +``` + +### Parameters +| **loginChallenge** | **kotlin.String**| OAuth 2.0 Login Request Challenge | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **acceptOAuth2LoginRequest** | [**AcceptOAuth2LoginRequest**](AcceptOAuth2LoginRequest.md)| | [optional] | + +### Return type + +[**OAuth2RedirectTo**](OAuth2RedirectTo.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **acceptOAuth2LogoutRequest** +> OAuth2RedirectTo acceptOAuth2LogoutRequest(logoutChallenge) + +Accept OAuth 2.0 Session Logout Request + +When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, this endpoint is used to confirm that logout request. The response contains a redirect URL which the consent provider should redirect the user-agent to. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val logoutChallenge : kotlin.String = logoutChallenge_example // kotlin.String | OAuth 2.0 Logout Request Challenge +try { + val result : OAuth2RedirectTo = apiInstance.acceptOAuth2LogoutRequest(logoutChallenge) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#acceptOAuth2LogoutRequest") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#acceptOAuth2LogoutRequest") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **logoutChallenge** | **kotlin.String**| OAuth 2.0 Logout Request Challenge | | + +### Return type + +[**OAuth2RedirectTo**](OAuth2RedirectTo.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **createOAuth2Client** +> OAuth2Client createOAuth2Client(oauth2Client) + +Create OAuth 2.0 Client + +Create a new OAuth 2.0 client. If you pass `client_secret` the secret is used, otherwise a random secret is generated. The secret is echoed in the response. It is not possible to retrieve it later on. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val oauth2Client : OAuth2Client = // OAuth2Client | OAuth 2.0 Client Request Body +try { + val result : OAuth2Client = apiInstance.createOAuth2Client(oauth2Client) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#createOAuth2Client") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#createOAuth2Client") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **oauth2Client** | [**OAuth2Client**](OAuth2Client.md)| OAuth 2.0 Client Request Body | | + +### Return type + +[**OAuth2Client**](OAuth2Client.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **deleteOAuth2Client** +> deleteOAuth2Client(id) + +Delete OAuth 2.0 Client + +Delete an existing OAuth 2.0 Client by its ID. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. Make sure that this endpoint is well protected and only callable by first-party components. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val id : kotlin.String = id_example // kotlin.String | The id of the OAuth 2.0 Client. +try { + apiInstance.deleteOAuth2Client(id) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#deleteOAuth2Client") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#deleteOAuth2Client") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.String**| The id of the OAuth 2.0 Client. | | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **deleteOAuth2Token** +> deleteOAuth2Token(clientId) + +Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client + +This endpoint deletes OAuth2 access tokens issued to an OAuth 2.0 Client from the database. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val clientId : kotlin.String = clientId_example // kotlin.String | OAuth 2.0 Client ID +try { + apiInstance.deleteOAuth2Token(clientId) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#deleteOAuth2Token") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#deleteOAuth2Token") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **clientId** | **kotlin.String**| OAuth 2.0 Client ID | | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **deleteTrustedOAuth2JwtGrantIssuer** +> deleteTrustedOAuth2JwtGrantIssuer(id) + +Delete Trusted OAuth2 JWT Bearer Grant Type Issuer + +Use this endpoint to delete trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you created the trust relationship. Once deleted, the associated issuer will no longer be able to perform the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grant. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val id : kotlin.String = id_example // kotlin.String | The id of the desired grant +try { + apiInstance.deleteTrustedOAuth2JwtGrantIssuer(id) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#deleteTrustedOAuth2JwtGrantIssuer") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#deleteTrustedOAuth2JwtGrantIssuer") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.String**| The id of the desired grant | | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getOAuth2Client** +> OAuth2Client getOAuth2Client(id) + +Get an OAuth 2.0 Client + +Get an OAuth 2.0 client by its ID. This endpoint never returns the client secret. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val id : kotlin.String = id_example // kotlin.String | The id of the OAuth 2.0 Client. +try { + val result : OAuth2Client = apiInstance.getOAuth2Client(id) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#getOAuth2Client") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#getOAuth2Client") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.String**| The id of the OAuth 2.0 Client. | | + +### Return type + +[**OAuth2Client**](OAuth2Client.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getOAuth2ConsentRequest** +> OAuth2ConsentRequest getOAuth2ConsentRequest(consentChallenge) + +Get OAuth 2.0 Consent Request + +When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell Ory now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf. The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells Ory if the subject accepted or rejected the request. The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please head over to the OAuth 2.0 documentation. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val consentChallenge : kotlin.String = consentChallenge_example // kotlin.String | OAuth 2.0 Consent Request Challenge +try { + val result : OAuth2ConsentRequest = apiInstance.getOAuth2ConsentRequest(consentChallenge) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#getOAuth2ConsentRequest") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#getOAuth2ConsentRequest") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **consentChallenge** | **kotlin.String**| OAuth 2.0 Consent Request Challenge | | + +### Return type + +[**OAuth2ConsentRequest**](OAuth2ConsentRequest.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getOAuth2LoginRequest** +> OAuth2LoginRequest getOAuth2LoginRequest(loginChallenge) + +Get OAuth 2.0 Login Request + +When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell the Ory OAuth2 Service about it. Per default, the login provider is Ory itself. You may use a different login provider which needs to be a web-app you write and host, and it must be able to authenticate (\"show the subject a login screen\") a subject (in OAuth2 the proper name for subject is \"resource owner\"). The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val loginChallenge : kotlin.String = loginChallenge_example // kotlin.String | OAuth 2.0 Login Request Challenge +try { + val result : OAuth2LoginRequest = apiInstance.getOAuth2LoginRequest(loginChallenge) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#getOAuth2LoginRequest") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#getOAuth2LoginRequest") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **loginChallenge** | **kotlin.String**| OAuth 2.0 Login Request Challenge | | + +### Return type + +[**OAuth2LoginRequest**](OAuth2LoginRequest.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getOAuth2LogoutRequest** +> OAuth2LogoutRequest getOAuth2LogoutRequest(logoutChallenge) + +Get OAuth 2.0 Session Logout Request + +Use this endpoint to fetch an Ory OAuth 2.0 logout request. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val logoutChallenge : kotlin.String = logoutChallenge_example // kotlin.String | +try { + val result : OAuth2LogoutRequest = apiInstance.getOAuth2LogoutRequest(logoutChallenge) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#getOAuth2LogoutRequest") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#getOAuth2LogoutRequest") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **logoutChallenge** | **kotlin.String**| | | + +### Return type + +[**OAuth2LogoutRequest**](OAuth2LogoutRequest.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getTrustedOAuth2JwtGrantIssuer** +> TrustedOAuth2JwtGrantIssuer getTrustedOAuth2JwtGrantIssuer(id) + +Get Trusted OAuth2 JWT Bearer Grant Type Issuer + +Use this endpoint to get a trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you created the trust relationship. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val id : kotlin.String = id_example // kotlin.String | The id of the desired grant +try { + val result : TrustedOAuth2JwtGrantIssuer = apiInstance.getTrustedOAuth2JwtGrantIssuer(id) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#getTrustedOAuth2JwtGrantIssuer") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#getTrustedOAuth2JwtGrantIssuer") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.String**| The id of the desired grant | | + +### Return type + +[**TrustedOAuth2JwtGrantIssuer**](TrustedOAuth2JwtGrantIssuer.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **introspectOAuth2Token** +> IntrospectedOAuth2Token introspectOAuth2Token(token, scope) + +Introspect OAuth2 Access and Refresh Tokens + +The introspection endpoint allows to check if a token (both refresh and access) is active or not. An active token is neither expired nor revoked. If a token is active, additional information on the token will be included. You can set additional data for a token by setting `session.access_token` during the consent flow. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val token : kotlin.String = token_example // kotlin.String | The string value of the token. For access tokens, this is the \\\"access_token\\\" value returned from the token endpoint defined in OAuth 2.0. For refresh tokens, this is the \\\"refresh_token\\\" value returned. +val scope : kotlin.String = scope_example // kotlin.String | An optional, space separated list of required scopes. If the access token was not granted one of the scopes, the result of active will be false. +try { + val result : IntrospectedOAuth2Token = apiInstance.introspectOAuth2Token(token, scope) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#introspectOAuth2Token") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#introspectOAuth2Token") + e.printStackTrace() +} +``` + +### Parameters +| **token** | **kotlin.String**| The string value of the token. For access tokens, this is the \\\"access_token\\\" value returned from the token endpoint defined in OAuth 2.0. For refresh tokens, this is the \\\"refresh_token\\\" value returned. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **scope** | **kotlin.String**| An optional, space separated list of required scopes. If the access token was not granted one of the scopes, the result of active will be false. | [optional] | + +### Return type + +[**IntrospectedOAuth2Token**](IntrospectedOAuth2Token.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/x-www-form-urlencoded + - **Accept**: application/json + + +# **listOAuth2Clients** +> kotlin.collections.List<OAuth2Client> listOAuth2Clients(pageSize, pageToken, clientName, owner) + +List OAuth 2.0 Clients + +This endpoint lists all clients in the database, and never returns client secrets. As a default it lists the first 100 clients. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val pageSize : kotlin.Long = 789 // kotlin.Long | Items per Page 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). +val pageToken : kotlin.String = pageToken_example // kotlin.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). +val clientName : kotlin.String = clientName_example // kotlin.String | The name of the clients to filter by. +val owner : kotlin.String = owner_example // kotlin.String | The owner of the clients to filter by. +try { + val result : kotlin.collections.List = apiInstance.listOAuth2Clients(pageSize, pageToken, clientName, owner) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#listOAuth2Clients") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#listOAuth2Clients") + e.printStackTrace() +} +``` + +### Parameters +| **pageSize** | **kotlin.Long**| Items per Page 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 250L] | +| **pageToken** | **kotlin.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"] | +| **clientName** | **kotlin.String**| The name of the clients to filter by. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **owner** | **kotlin.String**| The owner of the clients to filter by. | [optional] | + +### Return type + +[**kotlin.collections.List<OAuth2Client>**](OAuth2Client.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **listOAuth2ConsentSessions** +> kotlin.collections.List<OAuth2ConsentSession> listOAuth2ConsentSessions(subject, pageSize, pageToken, loginSessionId) + +List OAuth 2.0 Consent Sessions of a Subject + +This endpoint lists all subject's granted consent sessions, including client and granted scope. If the subject is unknown or has not granted any consent sessions yet, the endpoint returns an empty JSON array with status code 200 OK. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val subject : kotlin.String = subject_example // kotlin.String | The subject to list the consent sessions for. +val pageSize : kotlin.Long = 789 // kotlin.Long | Items per Page 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). +val pageToken : kotlin.String = pageToken_example // kotlin.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). +val loginSessionId : kotlin.String = loginSessionId_example // kotlin.String | The login session id to list the consent sessions for. +try { + val result : kotlin.collections.List = apiInstance.listOAuth2ConsentSessions(subject, pageSize, pageToken, loginSessionId) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#listOAuth2ConsentSessions") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#listOAuth2ConsentSessions") + e.printStackTrace() +} +``` + +### Parameters +| **subject** | **kotlin.String**| The subject to list the consent sessions for. | | +| **pageSize** | **kotlin.Long**| Items per Page 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 250L] | +| **pageToken** | **kotlin.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"] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **loginSessionId** | **kotlin.String**| The login session id to list the consent sessions for. | [optional] | + +### Return type + +[**kotlin.collections.List<OAuth2ConsentSession>**](OAuth2ConsentSession.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **listTrustedOAuth2JwtGrantIssuers** +> kotlin.collections.List<TrustedOAuth2JwtGrantIssuer> listTrustedOAuth2JwtGrantIssuers(maxItems, defaultItems, issuer) + +List Trusted OAuth2 JWT Bearer Grant Type Issuers + +Use this endpoint to list all trusted JWT Bearer Grant Type Issuers. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val maxItems : kotlin.Long = 789 // kotlin.Long | +val defaultItems : kotlin.Long = 789 // kotlin.Long | +val issuer : kotlin.String = issuer_example // kotlin.String | If optional \"issuer\" is supplied, only jwt-bearer grants with this issuer will be returned. +try { + val result : kotlin.collections.List = apiInstance.listTrustedOAuth2JwtGrantIssuers(maxItems, defaultItems, issuer) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#listTrustedOAuth2JwtGrantIssuers") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#listTrustedOAuth2JwtGrantIssuers") + e.printStackTrace() +} +``` + +### Parameters +| **maxItems** | **kotlin.Long**| | [optional] | +| **defaultItems** | **kotlin.Long**| | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **issuer** | **kotlin.String**| If optional \"issuer\" is supplied, only jwt-bearer grants with this issuer will be returned. | [optional] | + +### Return type + +[**kotlin.collections.List<TrustedOAuth2JwtGrantIssuer>**](TrustedOAuth2JwtGrantIssuer.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **oAuth2Authorize** +> ErrorOAuth2 oAuth2Authorize() + +OAuth 2.0 Authorize Endpoint + +Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries at https://oauth.net/code/ This endpoint should not be used via the Ory SDK and is only included for technical reasons. Instead, use one of the libraries linked above. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +try { + val result : ErrorOAuth2 = apiInstance.oAuth2Authorize() + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#oAuth2Authorize") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#oAuth2Authorize") + e.printStackTrace() +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**ErrorOAuth2**](ErrorOAuth2.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **oauth2TokenExchange** +> OAuth2TokenExchange oauth2TokenExchange(grantType, clientId, code, redirectUri, refreshToken) + +The OAuth 2.0 Token Endpoint + +Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/ This endpoint should not be used via the Ory SDK and is only included for technical reasons. Instead, use one of the libraries linked above. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val grantType : kotlin.String = grantType_example // kotlin.String | +val clientId : kotlin.String = clientId_example // kotlin.String | +val code : kotlin.String = code_example // kotlin.String | +val redirectUri : kotlin.String = redirectUri_example // kotlin.String | +val refreshToken : kotlin.String = refreshToken_example // kotlin.String | +try { + val result : OAuth2TokenExchange = apiInstance.oauth2TokenExchange(grantType, clientId, code, redirectUri, refreshToken) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#oauth2TokenExchange") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#oauth2TokenExchange") + e.printStackTrace() +} +``` + +### Parameters +| **grantType** | **kotlin.String**| | | +| **clientId** | **kotlin.String**| | [optional] | +| **code** | **kotlin.String**| | [optional] | +| **redirectUri** | **kotlin.String**| | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **refreshToken** | **kotlin.String**| | [optional] | + +### Return type + +[**OAuth2TokenExchange**](OAuth2TokenExchange.md) + +### Authorization + + +Configure basic: + ApiClient.username = "" + ApiClient.password = "" +Configure oauth2: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/x-www-form-urlencoded + - **Accept**: application/json + + +# **patchOAuth2Client** +> OAuth2Client patchOAuth2Client(id, jsonPatch) + +Patch OAuth 2.0 Client + +Patch an existing OAuth 2.0 Client using JSON Patch. If you pass `client_secret` the secret will be updated and returned via the API. This is the only time you will be able to retrieve the client secret, so write it down and keep it safe. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val id : kotlin.String = id_example // kotlin.String | The id of the OAuth 2.0 Client. +val jsonPatch : kotlin.collections.List = // kotlin.collections.List | OAuth 2.0 Client JSON Patch Body +try { + val result : OAuth2Client = apiInstance.patchOAuth2Client(id, jsonPatch) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#patchOAuth2Client") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#patchOAuth2Client") + e.printStackTrace() +} +``` + +### Parameters +| **id** | **kotlin.String**| The id of the OAuth 2.0 Client. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **jsonPatch** | [**kotlin.collections.List<JsonPatch>**](JsonPatch.md)| OAuth 2.0 Client JSON Patch Body | | + +### Return type + +[**OAuth2Client**](OAuth2Client.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **rejectOAuth2ConsentRequest** +> OAuth2RedirectTo rejectOAuth2ConsentRequest(consentChallenge, rejectOAuth2Request) + +Reject OAuth 2.0 Consent Request + +When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell Ory now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf. The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells Ory if the subject accepted or rejected the request. This endpoint tells Ory that the subject has not authorized the OAuth 2.0 client to access resources on his/her behalf. The consent provider must include a reason why the consent was not granted. The response contains a redirect URL which the consent provider should redirect the user-agent to. The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please head over to the OAuth 2.0 documentation. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val consentChallenge : kotlin.String = consentChallenge_example // kotlin.String | OAuth 2.0 Consent Request Challenge +val rejectOAuth2Request : RejectOAuth2Request = // RejectOAuth2Request | +try { + val result : OAuth2RedirectTo = apiInstance.rejectOAuth2ConsentRequest(consentChallenge, rejectOAuth2Request) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#rejectOAuth2ConsentRequest") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#rejectOAuth2ConsentRequest") + e.printStackTrace() +} +``` + +### Parameters +| **consentChallenge** | **kotlin.String**| OAuth 2.0 Consent Request Challenge | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **rejectOAuth2Request** | [**RejectOAuth2Request**](RejectOAuth2Request.md)| | [optional] | + +### Return type + +[**OAuth2RedirectTo**](OAuth2RedirectTo.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **rejectOAuth2LoginRequest** +> OAuth2RedirectTo rejectOAuth2LoginRequest(loginChallenge, rejectOAuth2Request) + +Reject OAuth 2.0 Login Request + +When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell the Ory OAuth2 Service about it. The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process. This endpoint tells Ory that the subject has not authenticated and includes a reason why the authentication was denied. The response contains a redirect URL which the login provider should redirect the user-agent to. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val loginChallenge : kotlin.String = loginChallenge_example // kotlin.String | OAuth 2.0 Login Request Challenge +val rejectOAuth2Request : RejectOAuth2Request = // RejectOAuth2Request | +try { + val result : OAuth2RedirectTo = apiInstance.rejectOAuth2LoginRequest(loginChallenge, rejectOAuth2Request) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#rejectOAuth2LoginRequest") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#rejectOAuth2LoginRequest") + e.printStackTrace() +} +``` + +### Parameters +| **loginChallenge** | **kotlin.String**| OAuth 2.0 Login Request Challenge | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **rejectOAuth2Request** | [**RejectOAuth2Request**](RejectOAuth2Request.md)| | [optional] | + +### Return type + +[**OAuth2RedirectTo**](OAuth2RedirectTo.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **rejectOAuth2LogoutRequest** +> rejectOAuth2LogoutRequest(logoutChallenge) + +Reject OAuth 2.0 Session Logout Request + +When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, this endpoint is used to deny that logout request. No HTTP request body is required. The response is empty as the logout provider has to chose what action to perform next. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val logoutChallenge : kotlin.String = logoutChallenge_example // kotlin.String | +try { + apiInstance.rejectOAuth2LogoutRequest(logoutChallenge) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#rejectOAuth2LogoutRequest") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#rejectOAuth2LogoutRequest") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **logoutChallenge** | **kotlin.String**| | | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **revokeOAuth2ConsentSessions** +> revokeOAuth2ConsentSessions(subject, client, all) + +Revoke OAuth 2.0 Consent Sessions of a Subject + +This endpoint revokes a subject's granted consent sessions and invalidates all associated OAuth 2.0 Access Tokens. You may also only revoke sessions for a specific OAuth 2.0 Client ID. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val subject : kotlin.String = subject_example // kotlin.String | OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted. +val client : kotlin.String = client_example // kotlin.String | OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID. +val all : kotlin.Boolean = true // kotlin.Boolean | Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted. +try { + apiInstance.revokeOAuth2ConsentSessions(subject, client, all) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#revokeOAuth2ConsentSessions") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#revokeOAuth2ConsentSessions") + e.printStackTrace() +} +``` + +### Parameters +| **subject** | **kotlin.String**| OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted. | | +| **client** | **kotlin.String**| OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **all** | **kotlin.Boolean**| Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted. | [optional] | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **revokeOAuth2LoginSessions** +> revokeOAuth2LoginSessions(subject, sid) + +Revokes OAuth 2.0 Login Sessions by either a Subject or a SessionID + +This endpoint invalidates authentication sessions. After revoking the authentication session(s), the subject has to re-authenticate at the Ory OAuth2 Provider. This endpoint does not invalidate any tokens. If you send the subject in a query param, all authentication sessions that belong to that subject are revoked. No OpenID Connect Front- or Back-channel logout is performed in this case. Alternatively, you can send a SessionID via `sid` query param, in which case, only the session that is connected to that SessionID is revoked. OpenID Connect Back-channel logout is performed in this case. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val subject : kotlin.String = subject_example // kotlin.String | OAuth 2.0 Subject The subject to revoke authentication sessions for. +val sid : kotlin.String = sid_example // kotlin.String | Login Session ID The login session to revoke. +try { + apiInstance.revokeOAuth2LoginSessions(subject, sid) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#revokeOAuth2LoginSessions") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#revokeOAuth2LoginSessions") + e.printStackTrace() +} +``` + +### Parameters +| **subject** | **kotlin.String**| OAuth 2.0 Subject The subject to revoke authentication sessions for. | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **sid** | **kotlin.String**| Login Session ID The login session to revoke. | [optional] | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **revokeOAuth2Token** +> revokeOAuth2Token(token, clientId, clientSecret) + +Revoke OAuth 2.0 Access or Refresh Token + +Revoking a token (both access and refresh) means that the tokens will be invalid. A revoked access token can no longer be used to make access requests, and a revoked refresh token can no longer be used to refresh an access token. Revoking a refresh token also invalidates the access token that was created with it. A token may only be revoked by the client the token was generated for. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val token : kotlin.String = token_example // kotlin.String | +val clientId : kotlin.String = clientId_example // kotlin.String | +val clientSecret : kotlin.String = clientSecret_example // kotlin.String | +try { + apiInstance.revokeOAuth2Token(token, clientId, clientSecret) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#revokeOAuth2Token") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#revokeOAuth2Token") + e.printStackTrace() +} +``` + +### Parameters +| **token** | **kotlin.String**| | | +| **clientId** | **kotlin.String**| | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **clientSecret** | **kotlin.String**| | [optional] | + +### Return type + +null (empty response body) + +### Authorization + + +Configure basic: + ApiClient.username = "" + ApiClient.password = "" +Configure oauth2: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/x-www-form-urlencoded + - **Accept**: application/json + + +# **setOAuth2Client** +> OAuth2Client setOAuth2Client(id, oauth2Client) + +Set OAuth 2.0 Client + +Replaces an existing OAuth 2.0 Client with the payload you send. If you pass `client_secret` the secret is used, otherwise the existing secret is used. If set, the secret is echoed in the response. It is not possible to retrieve it later on. OAuth 2.0 Clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val id : kotlin.String = id_example // kotlin.String | OAuth 2.0 Client ID +val oauth2Client : OAuth2Client = // OAuth2Client | OAuth 2.0 Client Request Body +try { + val result : OAuth2Client = apiInstance.setOAuth2Client(id, oauth2Client) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#setOAuth2Client") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#setOAuth2Client") + e.printStackTrace() +} +``` + +### Parameters +| **id** | **kotlin.String**| OAuth 2.0 Client ID | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **oauth2Client** | [**OAuth2Client**](OAuth2Client.md)| OAuth 2.0 Client Request Body | | + +### Return type + +[**OAuth2Client**](OAuth2Client.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **setOAuth2ClientLifespans** +> OAuth2Client setOAuth2ClientLifespans(id, oauth2ClientTokenLifespans) + +Set OAuth2 Client Token Lifespans + +Set lifespans of different token types issued for this OAuth 2.0 client. Does not modify other fields. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val id : kotlin.String = id_example // kotlin.String | OAuth 2.0 Client ID +val oauth2ClientTokenLifespans : OAuth2ClientTokenLifespans = // OAuth2ClientTokenLifespans | +try { + val result : OAuth2Client = apiInstance.setOAuth2ClientLifespans(id, oauth2ClientTokenLifespans) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#setOAuth2ClientLifespans") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#setOAuth2ClientLifespans") + e.printStackTrace() +} +``` + +### Parameters +| **id** | **kotlin.String**| OAuth 2.0 Client ID | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **oauth2ClientTokenLifespans** | [**OAuth2ClientTokenLifespans**](OAuth2ClientTokenLifespans.md)| | [optional] | + +### Return type + +[**OAuth2Client**](OAuth2Client.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **trustOAuth2JwtGrantIssuer** +> TrustedOAuth2JwtGrantIssuer trustOAuth2JwtGrantIssuer(trustOAuth2JwtGrantIssuer) + +Trust OAuth2 JWT Bearer Grant Type Issuer + +Use this endpoint to establish a trust relationship for a JWT issuer to perform JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants [RFC7523](https://datatracker.ietf.org/doc/html/rfc7523). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OAuth2Api() +val trustOAuth2JwtGrantIssuer : TrustOAuth2JwtGrantIssuer = // TrustOAuth2JwtGrantIssuer | +try { + val result : TrustedOAuth2JwtGrantIssuer = apiInstance.trustOAuth2JwtGrantIssuer(trustOAuth2JwtGrantIssuer) + println(result) +} catch (e: ClientException) { + println("4xx response calling OAuth2Api#trustOAuth2JwtGrantIssuer") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OAuth2Api#trustOAuth2JwtGrantIssuer") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **trustOAuth2JwtGrantIssuer** | [**TrustOAuth2JwtGrantIssuer**](TrustOAuth2JwtGrantIssuer.md)| | [optional] | + +### Return type + +[**TrustedOAuth2JwtGrantIssuer**](TrustedOAuth2JwtGrantIssuer.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + diff --git a/clients/client/kotlin-multiplatform/docs/OAuth2Client.md b/clients/client/kotlin-multiplatform/docs/OAuth2Client.md new file mode 100644 index 00000000000..1182cb1b1ca --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/OAuth2Client.md @@ -0,0 +1,57 @@ + +# OAuth2Client + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **accessTokenStrategy** | **kotlin.String** | OAuth 2.0 Access Token Strategy AccessTokenStrategy is the strategy used to generate access tokens. Valid options are `jwt` and `opaque`. `jwt` is a bad idea, see https://www.ory.sh/docs/hydra/advanced#json-web-tokens Setting the stragegy here overrides the global setting in `strategies.access_token`. | [optional] | +| **allowedCorsOrigins** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **audience** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **authorizationCodeGrantAccessTokenLifespan** | **kotlin.String** | | [optional] | +| **authorizationCodeGrantIdTokenLifespan** | **kotlin.String** | | [optional] | +| **authorizationCodeGrantRefreshTokenLifespan** | **kotlin.String** | | [optional] | +| **backchannelLogoutSessionRequired** | **kotlin.Boolean** | OpenID Connect Back-Channel Logout Session Required Boolean value specifying whether the RP requires that a sid (session ID) Claim be included in the Logout Token to identify the RP session with the OP when the backchannel_logout_uri is used. If omitted, the default value is false. | [optional] | +| **backchannelLogoutUri** | **kotlin.String** | OpenID Connect Back-Channel Logout URI RP URL that will cause the RP to log itself out when sent a Logout Token by the OP. | [optional] | +| **clientCredentialsGrantAccessTokenLifespan** | **kotlin.String** | | [optional] | +| **clientId** | **kotlin.String** | OAuth 2.0 Client ID The ID is immutable. If no ID is provided, a UUID4 will be generated. | [optional] | +| **clientName** | **kotlin.String** | OAuth 2.0 Client Name The human-readable name of the client to be presented to the end-user during authorization. | [optional] | +| **clientSecret** | **kotlin.String** | OAuth 2.0 Client Secret The secret will be included in the create request as cleartext, and then never again. The secret is kept in hashed format and is not recoverable once lost. | [optional] | +| **clientSecretExpiresAt** | **kotlin.Long** | OAuth 2.0 Client Secret Expires At The field is currently not supported and its value is always 0. | [optional] | +| **clientUri** | **kotlin.String** | OAuth 2.0 Client URI ClientURI is a URL string of a web page providing information about the client. If present, the server SHOULD display this URL to the end-user in a clickable fashion. | [optional] | +| **contacts** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | OAuth 2.0 Client Creation Date CreatedAt returns the timestamp of the client's creation. | [optional] | +| **frontchannelLogoutSessionRequired** | **kotlin.Boolean** | OpenID Connect Front-Channel Logout Session Required Boolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters be included to identify the RP session with the OP when the frontchannel_logout_uri is used. If omitted, the default value is false. | [optional] | +| **frontchannelLogoutUri** | **kotlin.String** | OpenID Connect Front-Channel Logout URI RP URL that will cause the RP to log itself out when rendered in an iframe by the OP. An iss (issuer) query parameter and a sid (session ID) query parameter MAY be included by the OP to enable the RP to validate the request and to determine which of the potentially multiple sessions is to be logged out; if either is included, both MUST be. | [optional] | +| **grantTypes** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **implicitGrantAccessTokenLifespan** | **kotlin.String** | | [optional] | +| **implicitGrantIdTokenLifespan** | **kotlin.String** | | [optional] | +| **jwks** | [**kotlin.Any**](.md) | OAuth 2.0 Client JSON Web Key Set Client's JSON Web Key Set [JWK] document, passed by value. The semantics of the jwks parameter are the same as the jwks_uri parameter, other than that the JWK Set is passed by value, rather than by reference. This parameter is intended only to be used by Clients that, for some reason, are unable to use the jwks_uri parameter, for instance, by native applications that might not have a location to host the contents of the JWK Set. If a Client can use jwks_uri, it MUST NOT use jwks. One significant downside of jwks is that it does not enable key rotation (which jwks_uri does, as described in Section 10 of OpenID Connect Core 1.0 [OpenID.Core]). The jwks_uri and jwks parameters MUST NOT be used together. | [optional] | +| **jwksUri** | **kotlin.String** | OAuth 2.0 Client JSON Web Key Set URL URL for the Client's JSON Web Key Set [JWK] document. If the Client signs requests to the Server, it contains the signing key(s) the Server uses to validate signatures from the Client. The JWK Set MAY also contain the Client's encryption keys(s), which are used by the Server to encrypt responses to the Client. When both signing and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate. | [optional] | +| **jwtBearerGrantAccessTokenLifespan** | **kotlin.String** | | [optional] | +| **logoUri** | **kotlin.String** | OAuth 2.0 Client Logo URI A URL string referencing the client's logo. | [optional] | +| **metadata** | **kotlin.String** | | [optional] | +| **owner** | **kotlin.String** | OAuth 2.0 Client Owner Owner is a string identifying the owner of the OAuth 2.0 Client. | [optional] | +| **policyUri** | **kotlin.String** | OAuth 2.0 Client Policy URI PolicyURI is a URL string that points to a human-readable privacy policy document that describes how the deployment organization collects, uses, retains, and discloses personal data. | [optional] | +| **postLogoutRedirectUris** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **redirectUris** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **refreshTokenGrantAccessTokenLifespan** | **kotlin.String** | | [optional] | +| **refreshTokenGrantIdTokenLifespan** | **kotlin.String** | | [optional] | +| **refreshTokenGrantRefreshTokenLifespan** | **kotlin.String** | | [optional] | +| **registrationAccessToken** | **kotlin.String** | OpenID Connect Dynamic Client Registration Access Token RegistrationAccessToken can be used to update, get, or delete the OAuth2 Client. It is sent when creating a client using Dynamic Client Registration. | [optional] | +| **registrationClientUri** | **kotlin.String** | OpenID Connect Dynamic Client Registration URL RegistrationClientURI is the URL used to update, get, or delete the OAuth2 Client. | [optional] | +| **requestObjectSigningAlg** | **kotlin.String** | OpenID Connect Request Object Signing Algorithm JWS [JWS] alg algorithm [JWA] that MUST be used for signing Request Objects sent to the OP. All Request Objects from this Client MUST be rejected, if not signed with this algorithm. | [optional] | +| **requestUris** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **responseTypes** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **scope** | **kotlin.String** | OAuth 2.0 Client Scope Scope is a string containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens. | [optional] | +| **sectorIdentifierUri** | **kotlin.String** | OpenID Connect Sector Identifier URI URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. The URL references a file with a single JSON array of redirect_uri values. | [optional] | +| **skipConsent** | **kotlin.Boolean** | SkipConsent skips the consent screen for this client. This field can only be set from the admin API. | [optional] | +| **skipLogoutConsent** | **kotlin.Boolean** | SkipLogoutConsent skips the logout consent screen for this client. This field can only be set from the admin API. | [optional] | +| **subjectType** | **kotlin.String** | OpenID Connect Subject Type The `subject_types_supported` Discovery parameter contains a list of the supported subject_type values for this server. Valid types include `pairwise` and `public`. | [optional] | +| **tokenEndpointAuthMethod** | **kotlin.String** | OAuth 2.0 Token Endpoint Authentication Method Requested Client Authentication method for the Token Endpoint. The options are: `client_secret_basic`: (default) Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` encoded in the HTTP Authorization header. `client_secret_post`: Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` in the HTTP body. `private_key_jwt`: Use JSON Web Tokens to authenticate the client. `none`: Used for public clients (native apps, mobile apps) which can not have secrets. | [optional] | +| **tokenEndpointAuthSigningAlg** | **kotlin.String** | OAuth 2.0 Token Endpoint Signing Algorithm Requested Client Authentication signing algorithm for the Token Endpoint. | [optional] | +| **tosUri** | **kotlin.String** | OAuth 2.0 Client Terms of Service URI A URL string pointing to a human-readable terms of service document for the client that describes a contractual relationship between the end-user and the client that the end-user accepts when authorizing the client. | [optional] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | OAuth 2.0 Client Last Update Date UpdatedAt returns the timestamp of the last update. | [optional] | +| **userinfoSignedResponseAlg** | **kotlin.String** | OpenID Connect Request Userinfo Signed Response Algorithm JWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. If this is specified, the response will be JWT [JWT] serialized, and signed using JWS. The default, if omitted, is for the UserInfo Response to return the Claims as a UTF-8 encoded JSON object using the application/json content-type. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/OAuth2ClientTokenLifespans.md b/clients/client/kotlin-multiplatform/docs/OAuth2ClientTokenLifespans.md new file mode 100644 index 00000000000..846a41c9cf0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/OAuth2ClientTokenLifespans.md @@ -0,0 +1,19 @@ + +# OAuth2ClientTokenLifespans + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **authorizationCodeGrantAccessTokenLifespan** | **kotlin.String** | | [optional] | +| **authorizationCodeGrantIdTokenLifespan** | **kotlin.String** | | [optional] | +| **authorizationCodeGrantRefreshTokenLifespan** | **kotlin.String** | | [optional] | +| **clientCredentialsGrantAccessTokenLifespan** | **kotlin.String** | | [optional] | +| **implicitGrantAccessTokenLifespan** | **kotlin.String** | | [optional] | +| **implicitGrantIdTokenLifespan** | **kotlin.String** | | [optional] | +| **jwtBearerGrantAccessTokenLifespan** | **kotlin.String** | | [optional] | +| **refreshTokenGrantAccessTokenLifespan** | **kotlin.String** | | [optional] | +| **refreshTokenGrantIdTokenLifespan** | **kotlin.String** | | [optional] | +| **refreshTokenGrantRefreshTokenLifespan** | **kotlin.String** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/OAuth2ConsentRequest.md b/clients/client/kotlin-multiplatform/docs/OAuth2ConsentRequest.md new file mode 100644 index 00000000000..202fcf65ca9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/OAuth2ConsentRequest.md @@ -0,0 +1,22 @@ + +# OAuth2ConsentRequest + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **challenge** | **kotlin.String** | ID is the identifier (\"authorization challenge\") of the consent authorization request. It is used to identify the session. | | +| **acr** | **kotlin.String** | ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication. | [optional] | +| **amr** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **client** | [**OAuth2Client**](OAuth2Client.md) | | [optional] | +| **context** | **kotlin.String** | | [optional] | +| **loginChallenge** | **kotlin.String** | LoginChallenge is the login challenge this consent challenge belongs to. It can be used to associate a login and consent request in the login & consent app. | [optional] | +| **loginSessionId** | **kotlin.String** | LoginSessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \"sid\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user. | [optional] | +| **oidcContext** | [**OAuth2ConsentRequestOpenIDConnectContext**](OAuth2ConsentRequestOpenIDConnectContext.md) | | [optional] | +| **requestUrl** | **kotlin.String** | RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters. | [optional] | +| **requestedAccessTokenAudience** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **requestedScope** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **skip** | **kotlin.Boolean** | Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you must not ask the user to grant the requested scopes. You must however either allow or deny the consent request using the usual API call. | [optional] | +| **subject** | **kotlin.String** | Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/OAuth2ConsentRequestOpenIDConnectContext.md b/clients/client/kotlin-multiplatform/docs/OAuth2ConsentRequestOpenIDConnectContext.md new file mode 100644 index 00000000000..64d4fa399f5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/OAuth2ConsentRequestOpenIDConnectContext.md @@ -0,0 +1,14 @@ + +# OAuth2ConsentRequestOpenIDConnectContext + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **acrValues** | **kotlin.collections.List<kotlin.String>** | ACRValues is the Authentication AuthorizationContext Class Reference requested in the OAuth 2.0 Authorization request. It is a parameter defined by OpenID Connect and expresses which level of authentication (e.g. 2FA) is required. OpenID Connect defines it as follows: > Requested Authentication AuthorizationContext Class Reference values. Space-separated string that specifies the acr values that the Authorization Server is being requested to use for processing this Authentication Request, with the values appearing in order of preference. The Authentication AuthorizationContext Class satisfied by the authentication performed is returned as the acr Claim Value, as specified in Section 2. The acr Claim is requested as a Voluntary Claim by this parameter. | [optional] | +| **display** | **kotlin.String** | Display is a string value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User. The defined values are: page: The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view. If the display parameter is not specified, this is the default display mode. popup: The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over. touch: The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface. wap: The Authorization Server SHOULD display the authentication and consent UI consistent with a \"feature phone\" type display. The Authorization Server MAY also attempt to detect the capabilities of the User Agent and present an appropriate display. | [optional] | +| **idTokenHintClaims** | [**kotlin.collections.Map<kotlin.String, kotlin.Any>**](kotlin.Any.md) | IDTokenHintClaims are the claims of the ID Token previously issued by the Authorization Server being passed as a hint about the End-User's current or past authenticated session with the Client. | [optional] | +| **loginHint** | **kotlin.String** | LoginHint hints about the login identifier the End-User might use to log in (if necessary). This hint can be used by an RP if it first asks the End-User for their e-mail address (or other identifier) and then wants to pass that value as a hint to the discovered authorization service. This value MAY also be a phone number in the format specified for the phone_number Claim. The use of this parameter is optional. | [optional] | +| **uiLocales** | **kotlin.collections.List<kotlin.String>** | UILocales is the End-User'id preferred languages and scripts for the user interface, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For instance, the value \"fr-CA fr en\" represents a preference for French as spoken in Canada, then French (without a region designation), followed by English (without a region designation). An error SHOULD NOT result if some or all of the requested locales are not supported by the OpenID Provider. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/OAuth2ConsentSession.md b/clients/client/kotlin-multiplatform/docs/OAuth2ConsentSession.md new file mode 100644 index 00000000000..c14dbb333be --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/OAuth2ConsentSession.md @@ -0,0 +1,18 @@ + +# OAuth2ConsentSession + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **consentRequest** | [**OAuth2ConsentRequest**](OAuth2ConsentRequest.md) | | [optional] | +| **context** | **kotlin.String** | | [optional] | +| **expiresAt** | [**OAuth2ConsentSessionExpiresAt**](OAuth2ConsentSessionExpiresAt.md) | | [optional] | +| **grantAccessTokenAudience** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **grantScope** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **handledAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | +| **remember** | **kotlin.Boolean** | Remember Consent Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same client asks the same user for the same, or a subset of, scope. | [optional] | +| **rememberFor** | **kotlin.Long** | Remember Consent For RememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the authorization will be remembered indefinitely. | [optional] | +| **session** | [**AcceptOAuth2ConsentRequestSession**](AcceptOAuth2ConsentRequestSession.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/OAuth2ConsentSessionExpiresAt.md b/clients/client/kotlin-multiplatform/docs/OAuth2ConsentSessionExpiresAt.md new file mode 100644 index 00000000000..6ec4401f749 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/OAuth2ConsentSessionExpiresAt.md @@ -0,0 +1,14 @@ + +# OAuth2ConsentSessionExpiresAt + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **accessToken** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | +| **authorizeCode** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | +| **idToken** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | +| **parContext** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | +| **refreshToken** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/OAuth2LoginRequest.md b/clients/client/kotlin-multiplatform/docs/OAuth2LoginRequest.md new file mode 100644 index 00000000000..5b9494efe4a --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/OAuth2LoginRequest.md @@ -0,0 +1,18 @@ + +# OAuth2LoginRequest + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **challenge** | **kotlin.String** | ID is the identifier (\"login challenge\") of the login request. It is used to identify the session. | | +| **client** | [**OAuth2Client**](OAuth2Client.md) | | | +| **requestUrl** | **kotlin.String** | RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters. | | +| **skip** | **kotlin.Boolean** | Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you can skip asking the user to grant the requested scopes, and simply forward the user to the redirect URL. This feature allows you to update / set session information. | | +| **subject** | **kotlin.String** | Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client. If this value is set and `skip` is true, you MUST include this subject type when accepting the login request, or the request will fail. | | +| **oidcContext** | [**OAuth2ConsentRequestOpenIDConnectContext**](OAuth2ConsentRequestOpenIDConnectContext.md) | | [optional] | +| **requestedAccessTokenAudience** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **requestedScope** | **kotlin.collections.List<kotlin.String>** | | [optional] | +| **sessionId** | **kotlin.String** | SessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \"sid\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/OAuth2LogoutRequest.md b/clients/client/kotlin-multiplatform/docs/OAuth2LogoutRequest.md new file mode 100644 index 00000000000..b08260b309c --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/OAuth2LogoutRequest.md @@ -0,0 +1,15 @@ + +# OAuth2LogoutRequest + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **challenge** | **kotlin.String** | Challenge is the identifier (\"logout challenge\") of the logout authentication request. It is used to identify the session. | [optional] | +| **client** | [**OAuth2Client**](OAuth2Client.md) | | [optional] | +| **requestUrl** | **kotlin.String** | RequestURL is the original Logout URL requested. | [optional] | +| **rpInitiated** | **kotlin.Boolean** | RPInitiated is set to true if the request was initiated by a Relying Party (RP), also known as an OAuth 2.0 Client. | [optional] | +| **sid** | **kotlin.String** | SessionID is the login session ID that was requested to log out. | [optional] | +| **subject** | **kotlin.String** | Subject is the user for whom the logout was request. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/OAuth2RedirectTo.md b/clients/client/kotlin-multiplatform/docs/OAuth2RedirectTo.md new file mode 100644 index 00000000000..cff3e545768 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/OAuth2RedirectTo.md @@ -0,0 +1,10 @@ + +# OAuth2RedirectTo + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **redirectTo** | **kotlin.String** | RedirectURL is the URL which you should redirect the user's browser to once the authentication process is completed. | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/OAuth2TokenExchange.md b/clients/client/kotlin-multiplatform/docs/OAuth2TokenExchange.md new file mode 100644 index 00000000000..228bca1488f --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/OAuth2TokenExchange.md @@ -0,0 +1,15 @@ + +# OAuth2TokenExchange + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **accessToken** | **kotlin.String** | The access token issued by the authorization server. | [optional] | +| **expiresIn** | **kotlin.Long** | The lifetime in seconds of the access token. For example, the value \"3600\" denotes that the access token will expire in one hour from the time the response was generated. | [optional] | +| **idToken** | **kotlin.String** | To retrieve a refresh token request the id_token scope. | [optional] | +| **refreshToken** | **kotlin.String** | The refresh token, which can be used to obtain new access tokens. To retrieve it add the scope \"offline\" to your access token request. | [optional] | +| **scope** | **kotlin.String** | The scope of the access token | [optional] | +| **tokenType** | **kotlin.String** | The type of the token issued | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/OidcApi.md b/clients/client/kotlin-multiplatform/docs/OidcApi.md new file mode 100644 index 00000000000..a8357feb4e4 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/OidcApi.md @@ -0,0 +1,383 @@ +# OidcApi + +All URIs are relative to *https://playground.projects.oryapis.com* + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**createOidcDynamicClient**](OidcApi.md#createOidcDynamicClient) | **POST** /oauth2/register | Register OAuth2 Client using OpenID Dynamic Client Registration | +| [**createVerifiableCredential**](OidcApi.md#createVerifiableCredential) | **POST** /credentials | Issues a Verifiable Credential | +| [**deleteOidcDynamicClient**](OidcApi.md#deleteOidcDynamicClient) | **DELETE** /oauth2/register/{id} | Delete OAuth 2.0 Client using the OpenID Dynamic Client Registration Management Protocol | +| [**discoverOidcConfiguration**](OidcApi.md#discoverOidcConfiguration) | **GET** /.well-known/openid-configuration | OpenID Connect Discovery | +| [**getOidcDynamicClient**](OidcApi.md#getOidcDynamicClient) | **GET** /oauth2/register/{id} | Get OAuth2 Client using OpenID Dynamic Client Registration | +| [**getOidcUserInfo**](OidcApi.md#getOidcUserInfo) | **GET** /userinfo | OpenID Connect Userinfo | +| [**revokeOidcSession**](OidcApi.md#revokeOidcSession) | **GET** /oauth2/sessions/logout | OpenID Connect Front- and Back-channel Enabled Logout | +| [**setOidcDynamicClient**](OidcApi.md#setOidcDynamicClient) | **PUT** /oauth2/register/{id} | Set OAuth2 Client using OpenID Dynamic Client Registration | + + + +# **createOidcDynamicClient** +> OAuth2Client createOidcDynamicClient(oauth2Client) + +Register OAuth2 Client using OpenID Dynamic Client Registration + +This endpoint behaves like the administrative counterpart (`createOAuth2Client`) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator. Please note that using this endpoint you are not able to choose the `client_secret` nor the `client_id` as those values will be server generated when specifying `token_endpoint_auth_method` as `client_secret_basic` or `client_secret_post`. The `client_secret` will be returned in the response and you will not be able to retrieve it later on. Write the secret down and keep it somewhere safe. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OidcApi() +val oauth2Client : OAuth2Client = // OAuth2Client | Dynamic Client Registration Request Body +try { + val result : OAuth2Client = apiInstance.createOidcDynamicClient(oauth2Client) + println(result) +} catch (e: ClientException) { + println("4xx response calling OidcApi#createOidcDynamicClient") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OidcApi#createOidcDynamicClient") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **oauth2Client** | [**OAuth2Client**](OAuth2Client.md)| Dynamic Client Registration Request Body | | + +### Return type + +[**OAuth2Client**](OAuth2Client.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **createVerifiableCredential** +> VerifiableCredentialResponse createVerifiableCredential(createVerifiableCredentialRequestBody) + +Issues a Verifiable Credential + +This endpoint creates a verifiable credential that attests that the user authenticated with the provided access token owns a certain public/private key pair. More information can be found at https://openid.net/specs/openid-connect-userinfo-vc-1_0.html. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OidcApi() +val createVerifiableCredentialRequestBody : CreateVerifiableCredentialRequestBody = // CreateVerifiableCredentialRequestBody | +try { + val result : VerifiableCredentialResponse = apiInstance.createVerifiableCredential(createVerifiableCredentialRequestBody) + println(result) +} catch (e: ClientException) { + println("4xx response calling OidcApi#createVerifiableCredential") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OidcApi#createVerifiableCredential") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **createVerifiableCredentialRequestBody** | [**CreateVerifiableCredentialRequestBody**](CreateVerifiableCredentialRequestBody.md)| | [optional] | + +### Return type + +[**VerifiableCredentialResponse**](VerifiableCredentialResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **deleteOidcDynamicClient** +> deleteOidcDynamicClient(id) + +Delete OAuth 2.0 Client using the OpenID Dynamic Client Registration Management Protocol + +This endpoint behaves like the administrative counterpart (`deleteOAuth2Client`) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator. To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OidcApi() +val id : kotlin.String = id_example // kotlin.String | The id of the OAuth 2.0 Client. +try { + apiInstance.deleteOidcDynamicClient(id) +} catch (e: ClientException) { + println("4xx response calling OidcApi#deleteOidcDynamicClient") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OidcApi#deleteOidcDynamicClient") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.String**| The id of the OAuth 2.0 Client. | | + +### Return type + +null (empty response body) + +### Authorization + + +Configure bearer: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **discoverOidcConfiguration** +> OidcConfiguration discoverOidcConfiguration() + +OpenID Connect Discovery + +A mechanism for an OpenID Connect Relying Party to discover the End-User's OpenID Provider and obtain information needed to interact with it, including its OAuth 2.0 endpoint locations. Popular libraries for OpenID Connect clients include oidc-client-js (JavaScript), go-oidc (Golang), and others. For a full list of clients go here: https://openid.net/developers/certified/ + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OidcApi() +try { + val result : OidcConfiguration = apiInstance.discoverOidcConfiguration() + println(result) +} catch (e: ClientException) { + println("4xx response calling OidcApi#discoverOidcConfiguration") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OidcApi#discoverOidcConfiguration") + e.printStackTrace() +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**OidcConfiguration**](OidcConfiguration.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getOidcDynamicClient** +> OAuth2Client getOidcDynamicClient(id) + +Get OAuth2 Client using OpenID Dynamic Client Registration + +This endpoint behaves like the administrative counterpart (`getOAuth2Client`) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OidcApi() +val id : kotlin.String = id_example // kotlin.String | The id of the OAuth 2.0 Client. +try { + val result : OAuth2Client = apiInstance.getOidcDynamicClient(id) + println(result) +} catch (e: ClientException) { + println("4xx response calling OidcApi#getOidcDynamicClient") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OidcApi#getOidcDynamicClient") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **id** | **kotlin.String**| The id of the OAuth 2.0 Client. | | + +### Return type + +[**OAuth2Client**](OAuth2Client.md) + +### Authorization + + +Configure bearer: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getOidcUserInfo** +> OidcUserInfo getOidcUserInfo() + +OpenID Connect Userinfo + +This endpoint returns the payload of the ID Token, including `session.id_token` values, of the provided OAuth 2.0 Access Token's consent request. In the case of authentication error, a WWW-Authenticate header might be set in the response with more information about the error. See [the spec](https://datatracker.ietf.org/doc/html/rfc6750#section-3) for more details about header format. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OidcApi() +try { + val result : OidcUserInfo = apiInstance.getOidcUserInfo() + println(result) +} catch (e: ClientException) { + println("4xx response calling OidcApi#getOidcUserInfo") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OidcApi#getOidcUserInfo") + e.printStackTrace() +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**OidcUserInfo**](OidcUserInfo.md) + +### Authorization + + +Configure oauth2: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **revokeOidcSession** +> revokeOidcSession() + +OpenID Connect Front- and Back-channel Enabled Logout + +This endpoint initiates and completes user logout at the Ory OAuth2 & OpenID provider and initiates OpenID Connect Front- / Back-channel logout: https://openid.net/specs/openid-connect-frontchannel-1_0.html https://openid.net/specs/openid-connect-backchannel-1_0.html Back-channel logout is performed asynchronously and does not affect logout flow. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OidcApi() +try { + apiInstance.revokeOidcSession() +} catch (e: ClientException) { + println("4xx response calling OidcApi#revokeOidcSession") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OidcApi#revokeOidcSession") + e.printStackTrace() +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +null (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + + +# **setOidcDynamicClient** +> OAuth2Client setOidcDynamicClient(id, oauth2Client) + +Set OAuth2 Client using OpenID Dynamic Client Registration + +This endpoint behaves like the administrative counterpart (`setOAuth2Client`) but is capable of facing the public internet directly to be used by third parties. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature is disabled per default. It can be enabled by a system administrator. If you pass `client_secret` the secret is used, otherwise the existing secret is used. If set, the secret is echoed in the response. It is not possible to retrieve it later on. To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = OidcApi() +val id : kotlin.String = id_example // kotlin.String | OAuth 2.0 Client ID +val oauth2Client : OAuth2Client = // OAuth2Client | OAuth 2.0 Client Request Body +try { + val result : OAuth2Client = apiInstance.setOidcDynamicClient(id, oauth2Client) + println(result) +} catch (e: ClientException) { + println("4xx response calling OidcApi#setOidcDynamicClient") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling OidcApi#setOidcDynamicClient") + e.printStackTrace() +} +``` + +### Parameters +| **id** | **kotlin.String**| OAuth 2.0 Client ID | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **oauth2Client** | [**OAuth2Client**](OAuth2Client.md)| OAuth 2.0 Client Request Body | | + +### Return type + +[**OAuth2Client**](OAuth2Client.md) + +### Authorization + + +Configure bearer: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + diff --git a/clients/client/kotlin-multiplatform/docs/OidcConfiguration.md b/clients/client/kotlin-multiplatform/docs/OidcConfiguration.md new file mode 100644 index 00000000000..1b889e7c0b7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/OidcConfiguration.md @@ -0,0 +1,40 @@ + +# OidcConfiguration + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **authorizationEndpoint** | **kotlin.String** | OAuth 2.0 Authorization Endpoint URL | | +| **idTokenSignedResponseAlg** | **kotlin.collections.List<kotlin.String>** | OpenID Connect Default ID Token Signing Algorithms Algorithm used to sign OpenID Connect ID Tokens. | | +| **idTokenSigningAlgValuesSupported** | **kotlin.collections.List<kotlin.String>** | OpenID Connect Supported ID Token Signing Algorithms JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. | | +| **issuer** | **kotlin.String** | OpenID Connect Issuer URL An URL using the https scheme with no query or fragment component that the OP asserts as its IssuerURL Identifier. If IssuerURL discovery is supported , this value MUST be identical to the issuer value returned by WebFinger. This also MUST be identical to the iss Claim value in ID Tokens issued from this IssuerURL. | | +| **jwksUri** | **kotlin.String** | OpenID Connect Well-Known JSON Web Keys URL URL of the OP's JSON Web Key Set [JWK] document. This contains the signing key(s) the RP uses to validate signatures from the OP. The JWK Set MAY also contain the Server's encryption key(s), which are used by RPs to encrypt requests to the Server. When both signing and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate. | | +| **responseTypesSupported** | **kotlin.collections.List<kotlin.String>** | OAuth 2.0 Supported Response Types JSON array containing a list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values. | | +| **subjectTypesSupported** | **kotlin.collections.List<kotlin.String>** | OpenID Connect Supported Subject Types JSON array containing a list of the Subject Identifier types that this OP supports. Valid types include pairwise and public. | | +| **tokenEndpoint** | **kotlin.String** | OAuth 2.0 Token Endpoint URL | | +| **userinfoSignedResponseAlg** | **kotlin.collections.List<kotlin.String>** | OpenID Connect User Userinfo Signing Algorithm Algorithm used to sign OpenID Connect Userinfo Responses. | | +| **backchannelLogoutSessionSupported** | **kotlin.Boolean** | OpenID Connect Back-Channel Logout Session Required Boolean value specifying whether the OP can pass a sid (session ID) Claim in the Logout Token to identify the RP session with the OP. If supported, the sid Claim is also included in ID Tokens issued by the OP | [optional] | +| **backchannelLogoutSupported** | **kotlin.Boolean** | OpenID Connect Back-Channel Logout Supported Boolean value specifying whether the OP supports back-channel logout, with true indicating support. | [optional] | +| **claimsParameterSupported** | **kotlin.Boolean** | OpenID Connect Claims Parameter Parameter Supported Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. | [optional] | +| **claimsSupported** | **kotlin.collections.List<kotlin.String>** | OpenID Connect Supported Claims JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. | [optional] | +| **codeChallengeMethodsSupported** | **kotlin.collections.List<kotlin.String>** | OAuth 2.0 PKCE Supported Code Challenge Methods JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server. | [optional] | +| **credentialsEndpointDraft00** | **kotlin.String** | OpenID Connect Verifiable Credentials Endpoint Contains the URL of the Verifiable Credentials Endpoint. | [optional] | +| **credentialsSupportedDraft00** | [**kotlin.collections.List<CredentialSupportedDraft00>**](CredentialSupportedDraft00.md) | OpenID Connect Verifiable Credentials Supported JSON array containing a list of the Verifiable Credentials supported by this authorization server. | [optional] | +| **endSessionEndpoint** | **kotlin.String** | OpenID Connect End-Session Endpoint URL at the OP to which an RP can perform a redirect to request that the End-User be logged out at the OP. | [optional] | +| **frontchannelLogoutSessionSupported** | **kotlin.Boolean** | OpenID Connect Front-Channel Logout Session Required Boolean value specifying whether the OP can pass iss (issuer) and sid (session ID) query parameters to identify the RP session with the OP when the frontchannel_logout_uri is used. If supported, the sid Claim is also included in ID Tokens issued by the OP. | [optional] | +| **frontchannelLogoutSupported** | **kotlin.Boolean** | OpenID Connect Front-Channel Logout Supported Boolean value specifying whether the OP supports HTTP-based logout, with true indicating support. | [optional] | +| **grantTypesSupported** | **kotlin.collections.List<kotlin.String>** | OAuth 2.0 Supported Grant Types JSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports. | [optional] | +| **registrationEndpoint** | **kotlin.String** | OpenID Connect Dynamic Client Registration Endpoint URL | [optional] | +| **requestObjectSigningAlgValuesSupported** | **kotlin.collections.List<kotlin.String>** | OpenID Connect Supported Request Object Signing Algorithms JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). | [optional] | +| **requestParameterSupported** | **kotlin.Boolean** | OpenID Connect Request Parameter Supported Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. | [optional] | +| **requestUriParameterSupported** | **kotlin.Boolean** | OpenID Connect Request URI Parameter Supported Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. | [optional] | +| **requireRequestUriRegistration** | **kotlin.Boolean** | OpenID Connect Requires Request URI Registration Boolean value specifying whether the OP requires any request_uri values used to be pre-registered using the request_uris registration parameter. | [optional] | +| **responseModesSupported** | **kotlin.collections.List<kotlin.String>** | OAuth 2.0 Supported Response Modes JSON array containing a list of the OAuth 2.0 response_mode values that this OP supports. | [optional] | +| **revocationEndpoint** | **kotlin.String** | OAuth 2.0 Token Revocation URL URL of the authorization server's OAuth 2.0 revocation endpoint. | [optional] | +| **scopesSupported** | **kotlin.collections.List<kotlin.String>** | OAuth 2.0 Supported Scope Values JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used | [optional] | +| **tokenEndpointAuthMethodsSupported** | **kotlin.collections.List<kotlin.String>** | OAuth 2.0 Supported Client Authentication Methods JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 | [optional] | +| **userinfoEndpoint** | **kotlin.String** | OpenID Connect Userinfo URL URL of the OP's UserInfo Endpoint. | [optional] | +| **userinfoSigningAlgValuesSupported** | **kotlin.collections.List<kotlin.String>** | OpenID Connect Supported Userinfo Signing Algorithm JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/OidcUserInfo.md b/clients/client/kotlin-multiplatform/docs/OidcUserInfo.md new file mode 100644 index 00000000000..7a859bfce4d --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/OidcUserInfo.md @@ -0,0 +1,28 @@ + +# OidcUserInfo + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **birthdate** | **kotlin.String** | End-User's birthday, represented as an ISO 8601:2004 [ISO8601‑2004] YYYY-MM-DD format. The year MAY be 0000, indicating that it is omitted. To represent only the year, YYYY format is allowed. Note that depending on the underlying platform's date related function, providing just year can result in varying month and day, so the implementers need to take this factor into account to correctly process the dates. | [optional] | +| **email** | **kotlin.String** | End-User's preferred e-mail address. Its value MUST conform to the RFC 5322 [RFC5322] addr-spec syntax. The RP MUST NOT rely upon this value being unique, as discussed in Section 5.7. | [optional] | +| **emailVerified** | **kotlin.Boolean** | True if the End-User's e-mail address has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this e-mail address was controlled by the End-User at the time the verification was performed. The means by which an e-mail address is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating. | [optional] | +| **familyName** | **kotlin.String** | Surname(s) or last name(s) of the End-User. Note that in some cultures, people can have multiple family names or no family name; all can be present, with the names being separated by space characters. | [optional] | +| **gender** | **kotlin.String** | End-User's gender. Values defined by this specification are female and male. Other values MAY be used when neither of the defined values are applicable. | [optional] | +| **givenName** | **kotlin.String** | Given name(s) or first name(s) of the End-User. Note that in some cultures, people can have multiple given names; all can be present, with the names being separated by space characters. | [optional] | +| **locale** | **kotlin.String** | End-User's locale, represented as a BCP47 [RFC5646] language tag. This is typically an ISO 639-1 Alpha-2 [ISO639‑1] language code in lowercase and an ISO 3166-1 Alpha-2 [ISO3166‑1] country code in uppercase, separated by a dash. For example, en-US or fr-CA. As a compatibility note, some implementations have used an underscore as the separator rather than a dash, for example, en_US; Relying Parties MAY choose to accept this locale syntax as well. | [optional] | +| **middleName** | **kotlin.String** | Middle name(s) of the End-User. Note that in some cultures, people can have multiple middle names; all can be present, with the names being separated by space characters. Also note that in some cultures, middle names are not used. | [optional] | +| **name** | **kotlin.String** | End-User's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User's locale and preferences. | [optional] | +| **nickname** | **kotlin.String** | Casual name of the End-User that may or may not be the same as the given_name. For instance, a nickname value of Mike might be returned alongside a given_name value of Michael. | [optional] | +| **phoneNumber** | **kotlin.String** | End-User's preferred telephone number. E.164 [E.164] is RECOMMENDED as the format of this Claim, for example, +1 (425) 555-1212 or +56 (2) 687 2400. If the phone number contains an extension, it is RECOMMENDED that the extension be represented using the RFC 3966 [RFC3966] extension syntax, for example, +1 (604) 555-1234;ext=5678. | [optional] | +| **phoneNumberVerified** | **kotlin.Boolean** | True if the End-User's phone number has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this phone number was controlled by the End-User at the time the verification was performed. The means by which a phone number is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating. When true, the phone_number Claim MUST be in E.164 format and any extensions MUST be represented in RFC 3966 format. | [optional] | +| **picture** | **kotlin.String** | URL of the End-User's profile picture. This URL MUST refer to an image file (for example, a PNG, JPEG, or GIF image file), rather than to a Web page containing an image. Note that this URL SHOULD specifically reference a profile photo of the End-User suitable for displaying when describing the End-User, rather than an arbitrary photo taken by the End-User. | [optional] | +| **preferredUsername** | **kotlin.String** | Non-unique shorthand name by which the End-User wishes to be referred to at the RP, such as janedoe or j.doe. This value MAY be any valid JSON string including special characters such as @, /, or whitespace. | [optional] | +| **profile** | **kotlin.String** | URL of the End-User's profile page. The contents of this Web page SHOULD be about the End-User. | [optional] | +| **sub** | **kotlin.String** | Subject - Identifier for the End-User at the IssuerURL. | [optional] | +| **updatedAt** | **kotlin.Long** | Time the End-User's information was last updated. Its value is a JSON number representing the number of seconds from 1970-01-01T0:0:0Z as measured in UTC until the date/time. | [optional] | +| **website** | **kotlin.String** | URL of the End-User's Web page or blog. This Web page SHOULD contain information published by the End-User or an organization that the End-User is affiliated with. | [optional] | +| **zoneinfo** | **kotlin.String** | String from zoneinfo [zoneinfo] time zone database representing the End-User's time zone. For example, Europe/Paris or America/Los_Angeles. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/Organization.md b/clients/client/kotlin-multiplatform/docs/Organization.md new file mode 100644 index 00000000000..2992a30d509 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/Organization.md @@ -0,0 +1,15 @@ + +# Organization + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The organization's creation date. | [readonly] | +| **domains** | **kotlin.collections.List<kotlin.String>** | | | +| **id** | **kotlin.String** | The organization's ID. | | +| **label** | **kotlin.String** | The organization's human-readable label. | | +| **projectId** | **kotlin.String** | The project's ID. | | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The last time the organization was updated. | [readonly] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/OrganizationBody.md b/clients/client/kotlin-multiplatform/docs/OrganizationBody.md new file mode 100644 index 00000000000..60c522057d5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/OrganizationBody.md @@ -0,0 +1,11 @@ + +# OrganizationBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **domains** | **kotlin.collections.List<kotlin.String>** | Domains contains the list of organization's domains. | [optional] | +| **label** | **kotlin.String** | Label contains the organization's label. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/Pagination.md b/clients/client/kotlin-multiplatform/docs/Pagination.md new file mode 100644 index 00000000000..a6be96a7c69 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/Pagination.md @@ -0,0 +1,11 @@ + +# Pagination + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **pageSize** | **kotlin.Long** | Items per page 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] | +| **pageToken** | **kotlin.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] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/PaginationHeaders.md b/clients/client/kotlin-multiplatform/docs/PaginationHeaders.md new file mode 100644 index 00000000000..0698963dcf3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/PaginationHeaders.md @@ -0,0 +1,11 @@ + +# PaginationHeaders + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **link** | **kotlin.String** | The link header contains pagination links. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). in: header | [optional] | +| **xTotalCount** | **kotlin.String** | The total number of clients. in: header | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ParseError.md b/clients/client/kotlin-multiplatform/docs/ParseError.md new file mode 100644 index 00000000000..4a21b68f893 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ParseError.md @@ -0,0 +1,12 @@ + +# ParseError + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **end** | [**SourcePosition**](SourcePosition.md) | | [optional] | +| **message** | **kotlin.String** | | [optional] | +| **start** | [**SourcePosition**](SourcePosition.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/PatchIdentitiesBody.md b/clients/client/kotlin-multiplatform/docs/PatchIdentitiesBody.md new file mode 100644 index 00000000000..a140a540306 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/PatchIdentitiesBody.md @@ -0,0 +1,10 @@ + +# PatchIdentitiesBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **identities** | [**kotlin.collections.List<IdentityPatch>**](IdentityPatch.md) | Identities holds the list of patches to apply required | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/PerformNativeLogoutBody.md b/clients/client/kotlin-multiplatform/docs/PerformNativeLogoutBody.md new file mode 100644 index 00000000000..f7ec1e48eb8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/PerformNativeLogoutBody.md @@ -0,0 +1,10 @@ + +# PerformNativeLogoutBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **sessionToken** | **kotlin.String** | The Session Token Invalidate this session token. | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/PermissionApi.md b/clients/client/kotlin-multiplatform/docs/PermissionApi.md new file mode 100644 index 00000000000..03a28686dda --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/PermissionApi.md @@ -0,0 +1,342 @@ +# PermissionApi + +All URIs are relative to *https://playground.projects.oryapis.com* + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**batchCheckPermission**](PermissionApi.md#batchCheckPermission) | **POST** /relation-tuples/batch/check | Batch check permissions | +| [**checkPermission**](PermissionApi.md#checkPermission) | **GET** /relation-tuples/check/openapi | Check a permission | +| [**checkPermissionOrError**](PermissionApi.md#checkPermissionOrError) | **GET** /relation-tuples/check | Check a permission | +| [**expandPermissions**](PermissionApi.md#expandPermissions) | **GET** /relation-tuples/expand | Expand a Relationship into permissions. | +| [**postCheckPermission**](PermissionApi.md#postCheckPermission) | **POST** /relation-tuples/check/openapi | Check a permission | +| [**postCheckPermissionOrError**](PermissionApi.md#postCheckPermissionOrError) | **POST** /relation-tuples/check | Check a permission | + + + +# **batchCheckPermission** +> BatchCheckPermissionResult batchCheckPermission(maxDepth, batchCheckPermissionBody) + +Batch check permissions + +To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = PermissionApi() +val maxDepth : kotlin.Long = 789 // kotlin.Long | +val batchCheckPermissionBody : BatchCheckPermissionBody = // BatchCheckPermissionBody | +try { + val result : BatchCheckPermissionResult = apiInstance.batchCheckPermission(maxDepth, batchCheckPermissionBody) + println(result) +} catch (e: ClientException) { + println("4xx response calling PermissionApi#batchCheckPermission") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling PermissionApi#batchCheckPermission") + e.printStackTrace() +} +``` + +### Parameters +| **maxDepth** | **kotlin.Long**| | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **batchCheckPermissionBody** | [**BatchCheckPermissionBody**](BatchCheckPermissionBody.md)| | [optional] | + +### Return type + +[**BatchCheckPermissionResult**](BatchCheckPermissionResult.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **checkPermission** +> CheckPermissionResult checkPermission(namespace, `object`, relation, subjectId, subjectSetNamespace, subjectSetObject, subjectSetRelation, maxDepth) + +Check a permission + +To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = PermissionApi() +val namespace : kotlin.String = namespace_example // kotlin.String | Namespace of the Relationship +val `object` : kotlin.String = `object`_example // kotlin.String | Object of the Relationship +val relation : kotlin.String = relation_example // kotlin.String | Relation of the Relationship +val subjectId : kotlin.String = subjectId_example // kotlin.String | SubjectID of the Relationship +val subjectSetNamespace : kotlin.String = subjectSetNamespace_example // kotlin.String | Namespace of the Subject Set +val subjectSetObject : kotlin.String = subjectSetObject_example // kotlin.String | Object of the Subject Set +val subjectSetRelation : kotlin.String = subjectSetRelation_example // kotlin.String | Relation of the Subject Set +val maxDepth : kotlin.Long = 789 // kotlin.Long | +try { + val result : CheckPermissionResult = apiInstance.checkPermission(namespace, `object`, relation, subjectId, subjectSetNamespace, subjectSetObject, subjectSetRelation, maxDepth) + println(result) +} catch (e: ClientException) { + println("4xx response calling PermissionApi#checkPermission") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling PermissionApi#checkPermission") + e.printStackTrace() +} +``` + +### Parameters +| **namespace** | **kotlin.String**| Namespace of the Relationship | [optional] | +| **`object`** | **kotlin.String**| Object of the Relationship | [optional] | +| **relation** | **kotlin.String**| Relation of the Relationship | [optional] | +| **subjectId** | **kotlin.String**| SubjectID of the Relationship | [optional] | +| **subjectSetNamespace** | **kotlin.String**| Namespace of the Subject Set | [optional] | +| **subjectSetObject** | **kotlin.String**| Object of the Subject Set | [optional] | +| **subjectSetRelation** | **kotlin.String**| Relation of the Subject Set | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **maxDepth** | **kotlin.Long**| | [optional] | + +### Return type + +[**CheckPermissionResult**](CheckPermissionResult.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **checkPermissionOrError** +> CheckPermissionResult checkPermissionOrError(namespace, `object`, relation, subjectId, subjectSetNamespace, subjectSetObject, subjectSetRelation, maxDepth) + +Check a permission + +To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = PermissionApi() +val namespace : kotlin.String = namespace_example // kotlin.String | Namespace of the Relationship +val `object` : kotlin.String = `object`_example // kotlin.String | Object of the Relationship +val relation : kotlin.String = relation_example // kotlin.String | Relation of the Relationship +val subjectId : kotlin.String = subjectId_example // kotlin.String | SubjectID of the Relationship +val subjectSetNamespace : kotlin.String = subjectSetNamespace_example // kotlin.String | Namespace of the Subject Set +val subjectSetObject : kotlin.String = subjectSetObject_example // kotlin.String | Object of the Subject Set +val subjectSetRelation : kotlin.String = subjectSetRelation_example // kotlin.String | Relation of the Subject Set +val maxDepth : kotlin.Long = 789 // kotlin.Long | +try { + val result : CheckPermissionResult = apiInstance.checkPermissionOrError(namespace, `object`, relation, subjectId, subjectSetNamespace, subjectSetObject, subjectSetRelation, maxDepth) + println(result) +} catch (e: ClientException) { + println("4xx response calling PermissionApi#checkPermissionOrError") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling PermissionApi#checkPermissionOrError") + e.printStackTrace() +} +``` + +### Parameters +| **namespace** | **kotlin.String**| Namespace of the Relationship | [optional] | +| **`object`** | **kotlin.String**| Object of the Relationship | [optional] | +| **relation** | **kotlin.String**| Relation of the Relationship | [optional] | +| **subjectId** | **kotlin.String**| SubjectID of the Relationship | [optional] | +| **subjectSetNamespace** | **kotlin.String**| Namespace of the Subject Set | [optional] | +| **subjectSetObject** | **kotlin.String**| Object of the Subject Set | [optional] | +| **subjectSetRelation** | **kotlin.String**| Relation of the Subject Set | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **maxDepth** | **kotlin.Long**| | [optional] | + +### Return type + +[**CheckPermissionResult**](CheckPermissionResult.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **expandPermissions** +> ExpandedPermissionTree expandPermissions(namespace, `object`, relation, maxDepth) + +Expand a Relationship into permissions. + +Use this endpoint to expand a relationship tuple into permissions. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = PermissionApi() +val namespace : kotlin.String = namespace_example // kotlin.String | Namespace of the Subject Set +val `object` : kotlin.String = `object`_example // kotlin.String | Object of the Subject Set +val relation : kotlin.String = relation_example // kotlin.String | Relation of the Subject Set +val maxDepth : kotlin.Long = 789 // kotlin.Long | +try { + val result : ExpandedPermissionTree = apiInstance.expandPermissions(namespace, `object`, relation, maxDepth) + println(result) +} catch (e: ClientException) { + println("4xx response calling PermissionApi#expandPermissions") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling PermissionApi#expandPermissions") + e.printStackTrace() +} +``` + +### Parameters +| **namespace** | **kotlin.String**| Namespace of the Subject Set | | +| **`object`** | **kotlin.String**| Object of the Subject Set | | +| **relation** | **kotlin.String**| Relation of the Subject Set | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **maxDepth** | **kotlin.Long**| | [optional] | + +### Return type + +[**ExpandedPermissionTree**](ExpandedPermissionTree.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **postCheckPermission** +> CheckPermissionResult postCheckPermission(maxDepth, postCheckPermissionBody) + +Check a permission + +To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = PermissionApi() +val maxDepth : kotlin.Long = 789 // kotlin.Long | +val postCheckPermissionBody : PostCheckPermissionBody = // PostCheckPermissionBody | +try { + val result : CheckPermissionResult = apiInstance.postCheckPermission(maxDepth, postCheckPermissionBody) + println(result) +} catch (e: ClientException) { + println("4xx response calling PermissionApi#postCheckPermission") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling PermissionApi#postCheckPermission") + e.printStackTrace() +} +``` + +### Parameters +| **maxDepth** | **kotlin.Long**| | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **postCheckPermissionBody** | [**PostCheckPermissionBody**](PostCheckPermissionBody.md)| | [optional] | + +### Return type + +[**CheckPermissionResult**](CheckPermissionResult.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **postCheckPermissionOrError** +> CheckPermissionResult postCheckPermissionOrError(maxDepth, postCheckPermissionOrErrorBody) + +Check a permission + +To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = PermissionApi() +val maxDepth : kotlin.Long = 789 // kotlin.Long | +val postCheckPermissionOrErrorBody : PostCheckPermissionOrErrorBody = // PostCheckPermissionOrErrorBody | +try { + val result : CheckPermissionResult = apiInstance.postCheckPermissionOrError(maxDepth, postCheckPermissionOrErrorBody) + println(result) +} catch (e: ClientException) { + println("4xx response calling PermissionApi#postCheckPermissionOrError") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling PermissionApi#postCheckPermissionOrError") + e.printStackTrace() +} +``` + +### Parameters +| **maxDepth** | **kotlin.Long**| | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **postCheckPermissionOrErrorBody** | [**PostCheckPermissionOrErrorBody**](PostCheckPermissionOrErrorBody.md)| | [optional] | + +### Return type + +[**CheckPermissionResult**](CheckPermissionResult.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + diff --git a/clients/client/kotlin-multiplatform/docs/PermissionsOnWorkspace.md b/clients/client/kotlin-multiplatform/docs/PermissionsOnWorkspace.md new file mode 100644 index 00000000000..6b22f0197b3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/PermissionsOnWorkspace.md @@ -0,0 +1,10 @@ + +# PermissionsOnWorkspace + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **permissions** | **kotlin.collections.Map<kotlin.String, kotlin.Boolean>** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/Plan.md b/clients/client/kotlin-multiplatform/docs/Plan.md new file mode 100644 index 00000000000..d3deda30ae1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/Plan.md @@ -0,0 +1,11 @@ + +# Plan + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | Name is the name of the plan. | | +| **version** | **kotlin.Long** | Version is the version of the plan. The combination of `name@version` must be unique. | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/PlanDetails.md b/clients/client/kotlin-multiplatform/docs/PlanDetails.md new file mode 100644 index 00000000000..58f5a2af8fd --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/PlanDetails.md @@ -0,0 +1,17 @@ + +# PlanDetails + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **baseFeeMonthly** | **kotlin.Long** | BaseFeeMonthly is the monthly base fee for the plan. | | +| **baseFeeYearly** | **kotlin.Long** | BaseFeeYearly is the yearly base fee for the plan. | | +| **custom** | **kotlin.Boolean** | Custom is true if the plan is custom. This means it will be hidden from the pricing page. | | +| **description** | **kotlin.String** | Description is the description of the plan. | | +| **features** | [**kotlin.collections.Map<kotlin.String, GenericUsage>**](GenericUsage.md) | | | +| **name** | **kotlin.String** | Name is the name of the plan. | | +| **version** | **kotlin.Long** | Version is the version of the plan. The combination of `name@version` must be unique. | | +| **latest** | **kotlin.Boolean** | Latest is true if the plan is the latest version of a plan and should be available for self-service usage. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/PostCheckPermissionBody.md b/clients/client/kotlin-multiplatform/docs/PostCheckPermissionBody.md new file mode 100644 index 00000000000..9111f3049ce --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/PostCheckPermissionBody.md @@ -0,0 +1,14 @@ + +# PostCheckPermissionBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **namespace** | **kotlin.String** | Namespace to query | [optional] | +| **`object`** | **kotlin.String** | Object to query | [optional] | +| **relation** | **kotlin.String** | Relation to query | [optional] | +| **subjectId** | **kotlin.String** | SubjectID to query Either SubjectSet or SubjectID can be provided. | [optional] | +| **subjectSet** | [**SubjectSet**](SubjectSet.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/PostCheckPermissionOrErrorBody.md b/clients/client/kotlin-multiplatform/docs/PostCheckPermissionOrErrorBody.md new file mode 100644 index 00000000000..e542324dbb7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/PostCheckPermissionOrErrorBody.md @@ -0,0 +1,14 @@ + +# PostCheckPermissionOrErrorBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **namespace** | **kotlin.String** | Namespace to query | [optional] | +| **`object`** | **kotlin.String** | Object to query | [optional] | +| **relation** | **kotlin.String** | Relation to query | [optional] | +| **subjectId** | **kotlin.String** | SubjectID to query Either SubjectSet or SubjectID can be provided. | [optional] | +| **subjectSet** | [**SubjectSet**](SubjectSet.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/Project.md b/clients/client/kotlin-multiplatform/docs/Project.md new file mode 100644 index 00000000000..b822af328a6 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/Project.md @@ -0,0 +1,41 @@ + +# Project + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **environment** | [**inline**](#Environment) | The environment of the project. prod Production stage Staging dev Development | | +| **homeRegion** | [**inline**](#HomeRegion) | The project home region. This is used to set where the project data is stored and where the project's endpoints are located. eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global | | +| **id** | **kotlin.String** | The project's ID. | [readonly] | +| **name** | **kotlin.String** | The name of the project. | | +| **revisionId** | **kotlin.String** | The configuration revision ID. | [readonly] | +| **services** | [**ProjectServices**](ProjectServices.md) | | | +| **slug** | **kotlin.String** | The project's slug | [readonly] | +| **state** | [**inline**](#State) | The state of the project. running Running halted Halted deleted Deleted | [readonly] | +| **corsAdmin** | [**ProjectCors**](ProjectCors.md) | | [optional] | +| **corsPublic** | [**ProjectCors**](ProjectCors.md) | | [optional] | +| **workspaceId** | **kotlin.String** | | [optional] | + + + +## Enum: environment +| Name | Value | +| ---- | ----- | +| environment | prod, stage, dev | + + + +## Enum: home_region +| Name | Value | +| ---- | ----- | +| homeRegion | eu-central, asia-northeast, us-east, us-west, us, global | + + + +## Enum: state +| Name | Value | +| ---- | ----- | +| state | running, halted, deleted | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ProjectApi.md b/clients/client/kotlin-multiplatform/docs/ProjectApi.md new file mode 100644 index 00000000000..ef78da4d583 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ProjectApi.md @@ -0,0 +1,864 @@ +# ProjectApi + +All URIs are relative to *https://playground.projects.oryapis.com* + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**createOrganization**](ProjectApi.md#createOrganization) | **POST** /projects/{project_id}/organizations | Create an Enterprise SSO Organization | +| [**createProject**](ProjectApi.md#createProject) | **POST** /projects | Create a Project | +| [**createProjectApiKey**](ProjectApi.md#createProjectApiKey) | **POST** /projects/{project}/tokens | Create project API key | +| [**deleteOrganization**](ProjectApi.md#deleteOrganization) | **DELETE** /projects/{project_id}/organizations/{organization_id} | Delete Enterprise SSO Organization | +| [**deleteProjectApiKey**](ProjectApi.md#deleteProjectApiKey) | **DELETE** /projects/{project}/tokens/{token_id} | Delete project API key | +| [**getOrganization**](ProjectApi.md#getOrganization) | **GET** /projects/{project_id}/organizations/{organization_id} | Get Enterprise SSO Organization by ID | +| [**getProject**](ProjectApi.md#getProject) | **GET** /projects/{project_id} | Get a Project | +| [**getProjectMembers**](ProjectApi.md#getProjectMembers) | **GET** /projects/{project}/members | Get all members associated with this project | +| [**listOrganizations**](ProjectApi.md#listOrganizations) | **GET** /projects/{project_id}/organizations | List all Enterprise SSO organizations | +| [**listProjectApiKeys**](ProjectApi.md#listProjectApiKeys) | **GET** /projects/{project}/tokens | List a project's API keys | +| [**listProjects**](ProjectApi.md#listProjects) | **GET** /projects | List All Projects | +| [**patchProject**](ProjectApi.md#patchProject) | **PATCH** /projects/{project_id} | Patch an Ory Network Project Configuration | +| [**patchProjectWithRevision**](ProjectApi.md#patchProjectWithRevision) | **PATCH** /projects/{project_id}/revision/{revision_id} | Patch an Ory Network Project Configuration based on a revision ID | +| [**purgeProject**](ProjectApi.md#purgeProject) | **DELETE** /projects/{project_id} | Irrecoverably purge a project | +| [**removeProjectMember**](ProjectApi.md#removeProjectMember) | **DELETE** /projects/{project}/members/{member} | Remove a member associated with this project | +| [**setProject**](ProjectApi.md#setProject) | **PUT** /projects/{project_id} | Update an Ory Network Project Configuration | +| [**updateOrganization**](ProjectApi.md#updateOrganization) | **PUT** /projects/{project_id}/organizations/{organization_id} | Update an Enterprise SSO Organization | + + + +# **createOrganization** +> Organization createOrganization(projectId, organizationBody) + +Create an Enterprise SSO Organization + +Creates an Enterprise SSO Organization in a project. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = ProjectApi() +val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. +val organizationBody : OrganizationBody = // OrganizationBody | +try { + val result : Organization = apiInstance.createOrganization(projectId, organizationBody) + println(result) +} catch (e: ClientException) { + println("4xx response calling ProjectApi#createOrganization") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling ProjectApi#createOrganization") + e.printStackTrace() +} +``` + +### Parameters +| **projectId** | **kotlin.String**| Project ID The project's ID. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **organizationBody** | [**OrganizationBody**](OrganizationBody.md)| | [optional] | + +### Return type + +[**Organization**](Organization.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **createProject** +> Project createProject(createProjectBody) + +Create a Project + +Creates a new project. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = ProjectApi() +val createProjectBody : CreateProjectBody = // CreateProjectBody | +try { + val result : Project = apiInstance.createProject(createProjectBody) + println(result) +} catch (e: ClientException) { + println("4xx response calling ProjectApi#createProject") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling ProjectApi#createProject") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **createProjectBody** | [**CreateProjectBody**](CreateProjectBody.md)| | [optional] | + +### Return type + +[**Project**](Project.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **createProjectApiKey** +> ProjectApiKey createProjectApiKey(project, createProjectApiKeyRequest) + +Create project API key + +Create an API key for a project. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = ProjectApi() +val project : kotlin.String = project_example // kotlin.String | The Project ID or Project slug +val createProjectApiKeyRequest : CreateProjectApiKeyRequest = // CreateProjectApiKeyRequest | +try { + val result : ProjectApiKey = apiInstance.createProjectApiKey(project, createProjectApiKeyRequest) + println(result) +} catch (e: ClientException) { + println("4xx response calling ProjectApi#createProjectApiKey") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling ProjectApi#createProjectApiKey") + e.printStackTrace() +} +``` + +### Parameters +| **project** | **kotlin.String**| The Project ID or Project slug | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **createProjectApiKeyRequest** | [**CreateProjectApiKeyRequest**](CreateProjectApiKeyRequest.md)| | [optional] | + +### Return type + +[**ProjectApiKey**](ProjectApiKey.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **deleteOrganization** +> deleteOrganization(projectId, organizationId) + +Delete Enterprise SSO Organization + +Irrecoverably deletes an Enterprise SSO Organization in a project by its ID. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = ProjectApi() +val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. +val organizationId : kotlin.String = organizationId_example // kotlin.String | Organization ID The Organization's ID. +try { + apiInstance.deleteOrganization(projectId, organizationId) +} catch (e: ClientException) { + println("4xx response calling ProjectApi#deleteOrganization") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling ProjectApi#deleteOrganization") + e.printStackTrace() +} +``` + +### Parameters +| **projectId** | **kotlin.String**| Project ID The project's ID. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **organizationId** | **kotlin.String**| Organization ID The Organization's ID. | | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **deleteProjectApiKey** +> deleteProjectApiKey(project, tokenId) + +Delete project API key + +Deletes an API key and immediately removes it. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = ProjectApi() +val project : kotlin.String = project_example // kotlin.String | The Project ID or Project slug +val tokenId : kotlin.String = tokenId_example // kotlin.String | The Token ID +try { + apiInstance.deleteProjectApiKey(project, tokenId) +} catch (e: ClientException) { + println("4xx response calling ProjectApi#deleteProjectApiKey") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling ProjectApi#deleteProjectApiKey") + e.printStackTrace() +} +``` + +### Parameters +| **project** | **kotlin.String**| The Project ID or Project slug | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **tokenId** | **kotlin.String**| The Token ID | | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getOrganization** +> GetOrganizationResponse getOrganization(projectId, organizationId) + +Get Enterprise SSO Organization by ID + +Retrieves an Enterprise SSO Organization for a project by its ID + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = ProjectApi() +val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. +val organizationId : kotlin.String = organizationId_example // kotlin.String | Organization ID The Organization's ID. +try { + val result : GetOrganizationResponse = apiInstance.getOrganization(projectId, organizationId) + println(result) +} catch (e: ClientException) { + println("4xx response calling ProjectApi#getOrganization") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling ProjectApi#getOrganization") + e.printStackTrace() +} +``` + +### Parameters +| **projectId** | **kotlin.String**| Project ID The project's ID. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **organizationId** | **kotlin.String**| Organization ID The Organization's ID. | | + +### Return type + +[**GetOrganizationResponse**](GetOrganizationResponse.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getProject** +> Project getProject(projectId) + +Get a Project + +Get a projects you have access to by its ID. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = ProjectApi() +val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. +try { + val result : Project = apiInstance.getProject(projectId) + println(result) +} catch (e: ClientException) { + println("4xx response calling ProjectApi#getProject") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling ProjectApi#getProject") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **projectId** | **kotlin.String**| Project ID The project's ID. | | + +### Return type + +[**Project**](Project.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getProjectMembers** +> kotlin.collections.List<ProjectMember> getProjectMembers(project) + +Get all members associated with this project + +This endpoint requires the user to be a member of the project with the role `OWNER` or `DEVELOPER`. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = ProjectApi() +val project : kotlin.String = project_example // kotlin.String | +try { + val result : kotlin.collections.List = apiInstance.getProjectMembers(project) + println(result) +} catch (e: ClientException) { + println("4xx response calling ProjectApi#getProjectMembers") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling ProjectApi#getProjectMembers") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **project** | **kotlin.String**| | | + +### Return type + +[**kotlin.collections.List<ProjectMember>**](ProjectMember.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **listOrganizations** +> ListOrganizationsResponse listOrganizations(projectId, pageSize, pageToken, domain) + +List all Enterprise SSO organizations + +Lists all Enterprise SSO organizations in a project. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = ProjectApi() +val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. +val pageSize : kotlin.Long = 789 // kotlin.Long | Items per Page 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). +val pageToken : kotlin.String = pageToken_example // kotlin.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). +val domain : kotlin.String = domain_example // kotlin.String | Domain If set, only organizations with that domain will be returned. +try { + val result : ListOrganizationsResponse = apiInstance.listOrganizations(projectId, pageSize, pageToken, domain) + println(result) +} catch (e: ClientException) { + println("4xx response calling ProjectApi#listOrganizations") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling ProjectApi#listOrganizations") + e.printStackTrace() +} +``` + +### Parameters +| **projectId** | **kotlin.String**| Project ID The project's ID. | | +| **pageSize** | **kotlin.Long**| Items per Page 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 250L] | +| **pageToken** | **kotlin.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] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **domain** | **kotlin.String**| Domain If set, only organizations with that domain will be returned. | [optional] | + +### Return type + +[**ListOrganizationsResponse**](ListOrganizationsResponse.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **listProjectApiKeys** +> kotlin.collections.List<ProjectApiKey> listProjectApiKeys(project) + +List a project's API keys + +A list of all the project's API keys. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = ProjectApi() +val project : kotlin.String = project_example // kotlin.String | The Project ID or Project slug +try { + val result : kotlin.collections.List = apiInstance.listProjectApiKeys(project) + println(result) +} catch (e: ClientException) { + println("4xx response calling ProjectApi#listProjectApiKeys") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling ProjectApi#listProjectApiKeys") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **project** | **kotlin.String**| The Project ID or Project slug | | + +### Return type + +[**kotlin.collections.List<ProjectApiKey>**](ProjectApiKey.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **listProjects** +> kotlin.collections.List<ProjectMetadata> listProjects() + +List All Projects + +Lists all projects you have access to. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = ProjectApi() +try { + val result : kotlin.collections.List = apiInstance.listProjects() + println(result) +} catch (e: ClientException) { + println("4xx response calling ProjectApi#listProjects") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling ProjectApi#listProjects") + e.printStackTrace() +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**kotlin.collections.List<ProjectMetadata>**](ProjectMetadata.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **patchProject** +> SuccessfulProjectUpdate patchProject(projectId, jsonPatch) + +Patch an Ory Network Project Configuration + +Deprecated: Use the `patchProjectWithRevision` endpoint instead to specify the exact revision the patch was generated for. This endpoints allows you to patch individual Ory Network project configuration keys for Ory's services (identity, permission, ...). The configuration format is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to the Ory Network, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = ProjectApi() +val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. +val jsonPatch : kotlin.collections.List = // kotlin.collections.List | +try { + val result : SuccessfulProjectUpdate = apiInstance.patchProject(projectId, jsonPatch) + println(result) +} catch (e: ClientException) { + println("4xx response calling ProjectApi#patchProject") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling ProjectApi#patchProject") + e.printStackTrace() +} +``` + +### Parameters +| **projectId** | **kotlin.String**| Project ID The project's ID. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **jsonPatch** | [**kotlin.collections.List<JsonPatch>**](JsonPatch.md)| | [optional] | + +### Return type + +[**SuccessfulProjectUpdate**](SuccessfulProjectUpdate.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **patchProjectWithRevision** +> SuccessfulProjectUpdate patchProjectWithRevision(projectId, revisionId, jsonPatch) + +Patch an Ory Network Project Configuration based on a revision ID + +This endpoints allows you to patch individual Ory Network Project configuration keys for Ory's services (identity, permission, ...). The configuration format is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to the Ory Network, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = ProjectApi() +val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. +val revisionId : kotlin.String = revisionId_example // kotlin.String | Revision ID The revision ID that this patch was generated for. +val jsonPatch : kotlin.collections.List = // kotlin.collections.List | +try { + val result : SuccessfulProjectUpdate = apiInstance.patchProjectWithRevision(projectId, revisionId, jsonPatch) + println(result) +} catch (e: ClientException) { + println("4xx response calling ProjectApi#patchProjectWithRevision") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling ProjectApi#patchProjectWithRevision") + e.printStackTrace() +} +``` + +### Parameters +| **projectId** | **kotlin.String**| Project ID The project's ID. | | +| **revisionId** | **kotlin.String**| Revision ID The revision ID that this patch was generated for. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **jsonPatch** | [**kotlin.collections.List<JsonPatch>**](JsonPatch.md)| | [optional] | + +### Return type + +[**SuccessfulProjectUpdate**](SuccessfulProjectUpdate.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **purgeProject** +> purgeProject(projectId) + +Irrecoverably purge a project + +!! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data. This action can not be undone and will delete ALL your data. Calling this endpoint will additionally delete custom domains and other related data. If the project is linked to a subscription, the subscription needs to be unlinked first. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = ProjectApi() +val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. +try { + apiInstance.purgeProject(projectId) +} catch (e: ClientException) { + println("4xx response calling ProjectApi#purgeProject") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling ProjectApi#purgeProject") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **projectId** | **kotlin.String**| Project ID The project's ID. | | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **removeProjectMember** +> removeProjectMember(project, member) + +Remove a member associated with this project + +This also sets their invite status to `REMOVED`. This endpoint requires the user to be a member of the project with the role `OWNER`. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = ProjectApi() +val project : kotlin.String = project_example // kotlin.String | +val member : kotlin.String = member_example // kotlin.String | +try { + apiInstance.removeProjectMember(project, member) +} catch (e: ClientException) { + println("4xx response calling ProjectApi#removeProjectMember") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling ProjectApi#removeProjectMember") + e.printStackTrace() +} +``` + +### Parameters +| **project** | **kotlin.String**| | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **member** | **kotlin.String**| | | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **setProject** +> SuccessfulProjectUpdate setProject(projectId, setProject) + +Update an Ory Network Project Configuration + +This endpoints allows you to update the Ory Network project configuration for individual services (identity, permission, ...). The configuration is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to the Ory Network, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed. Be aware that updating any service's configuration will completely override your current configuration for that service! + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = ProjectApi() +val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. +val setProject : SetProject = // SetProject | +try { + val result : SuccessfulProjectUpdate = apiInstance.setProject(projectId, setProject) + println(result) +} catch (e: ClientException) { + println("4xx response calling ProjectApi#setProject") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling ProjectApi#setProject") + e.printStackTrace() +} +``` + +### Parameters +| **projectId** | **kotlin.String**| Project ID The project's ID. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **setProject** | [**SetProject**](SetProject.md)| | [optional] | + +### Return type + +[**SuccessfulProjectUpdate**](SuccessfulProjectUpdate.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **updateOrganization** +> Organization updateOrganization(projectId, organizationId, organizationBody) + +Update an Enterprise SSO Organization + +Updates an Enterprise SSO Organization in a project by its ID. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = ProjectApi() +val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. +val organizationId : kotlin.String = organizationId_example // kotlin.String | Organization ID The Organization's ID. +val organizationBody : OrganizationBody = // OrganizationBody | +try { + val result : Organization = apiInstance.updateOrganization(projectId, organizationId, organizationBody) + println(result) +} catch (e: ClientException) { + println("4xx response calling ProjectApi#updateOrganization") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling ProjectApi#updateOrganization") + e.printStackTrace() +} +``` + +### Parameters +| **projectId** | **kotlin.String**| Project ID The project's ID. | | +| **organizationId** | **kotlin.String**| Organization ID The Organization's ID. | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **organizationBody** | [**OrganizationBody**](OrganizationBody.md)| | [optional] | + +### Return type + +[**Organization**](Organization.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + diff --git a/clients/client/kotlin-multiplatform/docs/ProjectApiKey.md b/clients/client/kotlin-multiplatform/docs/ProjectApiKey.md new file mode 100644 index 00000000000..68a121ebca1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ProjectApiKey.md @@ -0,0 +1,17 @@ + +# ProjectApiKey + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.String** | The token's ID. | [readonly] | +| **name** | **kotlin.String** | The Token's Name Set this to help you remember, for example, where you use the token. | | +| **ownerId** | **kotlin.String** | The token's owner | [readonly] | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The token's creation date | [optional] [readonly] | +| **expiresAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | +| **projectId** | **kotlin.String** | The Token's Project ID | [optional] [readonly] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The token's last update date | [optional] [readonly] | +| **`value`** | **kotlin.String** | The token's value | [optional] [readonly] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ProjectBranding.md b/clients/client/kotlin-multiplatform/docs/ProjectBranding.md new file mode 100644 index 00000000000..a932c919ac2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ProjectBranding.md @@ -0,0 +1,15 @@ + +# ProjectBranding + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The Customization Creation Date | [readonly] | +| **defaultTheme** | [**ProjectBrandingTheme**](ProjectBrandingTheme.md) | | | +| **id** | **kotlin.String** | The customization ID. | [readonly] | +| **projectId** | **kotlin.String** | The Project's ID this customization is associated with | | +| **themes** | [**kotlin.collections.List<ProjectBrandingTheme>**](ProjectBrandingTheme.md) | | | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | Last Time Branding was Updated | [readonly] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ProjectBrandingColors.md b/clients/client/kotlin-multiplatform/docs/ProjectBrandingColors.md new file mode 100644 index 00000000000..5e839e630ca --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ProjectBrandingColors.md @@ -0,0 +1,38 @@ + +# ProjectBrandingColors + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **accentDefaultColor** | **kotlin.String** | AccentDefaultColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **accentDisabledColor** | **kotlin.String** | AccentDisabledColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **accentEmphasisColor** | **kotlin.String** | AccentEmphasisColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **accentMutedColor** | **kotlin.String** | AccentMutedColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **accentSubtleColor** | **kotlin.String** | AccentSubtleColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **backgroundCanvasColor** | **kotlin.String** | BackgroundCanvasColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **backgroundSubtleColor** | **kotlin.String** | BackgroundSubtleColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **backgroundSurfaceColor** | **kotlin.String** | BackgroundSurfaceColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **borderDefaultColor** | **kotlin.String** | BorderDefaultColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **errorDefaultColor** | **kotlin.String** | ErrorDefaultColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **errorEmphasisColor** | **kotlin.String** | ErrorEmphasisColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **errorMutedColor** | **kotlin.String** | ErrorMutedColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **errorSubtleColor** | **kotlin.String** | ErrorSubtleColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **foregroundDefaultColor** | **kotlin.String** | ForegroundDefaultColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **foregroundDisabledColor** | **kotlin.String** | ForegroundDisabledColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **foregroundMutedColor** | **kotlin.String** | ForegroundMutedColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **foregroundOnAccentColor** | **kotlin.String** | ForegroundOnAccentColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **foregroundOnDarkColor** | **kotlin.String** | ForegroundOnDarkColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **foregroundOnDisabledColor** | **kotlin.String** | ForegroundOnDisabledColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **foregroundSubtleColor** | **kotlin.String** | ForegroundSubtleColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **inputBackgroundColor** | **kotlin.String** | InputBackgroundColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **inputDisabledColor** | **kotlin.String** | InputDisabledColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **inputPlaceholderColor** | **kotlin.String** | InputPlaceholderColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **inputTextColor** | **kotlin.String** | InputTextColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **primaryColor** | **kotlin.String** | Primary color is an hsla color value used to derive the other colors from for the Ory Account Experience theme. | [optional] | +| **secondaryColor** | **kotlin.String** | Secondary color is a hsla color code used to derive the other colors from for the Ory Account Experience theme. | [optional] | +| **successEmphasisColor** | **kotlin.String** | SuccessEmphasisColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **textDefaultColor** | **kotlin.String** | TextDefaultColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **textDisabledColor** | **kotlin.String** | TextDisabledColor is a hex color code used by the Ory Account Experience theme. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ProjectBrandingTheme.md b/clients/client/kotlin-multiplatform/docs/ProjectBrandingTheme.md new file mode 100644 index 00000000000..e8a83d584ef --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ProjectBrandingTheme.md @@ -0,0 +1,49 @@ + +# ProjectBrandingTheme + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The Customization Creation Date. | [readonly] | +| **id** | **kotlin.String** | The customization theme ID. | [readonly] | +| **name** | **kotlin.String** | The customization theme name. | | +| **projectBrandingId** | **kotlin.String** | The ProjectBranding ID this customization is associated with. | | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | Last Time Branding was Updated. | [readonly] | +| **accentDefaultColor** | **kotlin.String** | AccentDefaultColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **accentDisabledColor** | **kotlin.String** | AccentDisabledColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **accentEmphasisColor** | **kotlin.String** | AccentEmphasisColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **accentMutedColor** | **kotlin.String** | AccentMutedColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **accentSubtleColor** | **kotlin.String** | AccentSubtleColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **accountExperienceVariables** | [**kotlin.collections.List<AccountExperienceThemeVariables>**](AccountExperienceThemeVariables.md) | The Account Experience Theme Variables. | [optional] | +| **accountExperienceVariablesStylesheet** | **kotlin.String** | AccountExperienceVariableStylesheet holds a reference to the current stylesheet that can be used in the AX | [optional] | +| **backgroundCanvasColor** | **kotlin.String** | BackgroundCanvasColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **backgroundSubtleColor** | **kotlin.String** | BackgroundSubtleColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **backgroundSurfaceColor** | **kotlin.String** | BackgroundSurfaceColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **borderDefaultColor** | **kotlin.String** | BorderDefaultColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **errorDefaultColor** | **kotlin.String** | ErrorDefaultColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **errorEmphasisColor** | **kotlin.String** | ErrorEmphasisColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **errorMutedColor** | **kotlin.String** | ErrorMutedColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **errorSubtleColor** | **kotlin.String** | ErrorSubtleColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **faviconType** | **kotlin.String** | Favicon Type The Favicon mime type. | [optional] | +| **faviconUrl** | **kotlin.String** | Favicon URL Favicon can be an https:// or base64:// URL. If the URL is not allowed, the favicon will be stored inside the Ory Network storage bucket. | [optional] | +| **foregroundDefaultColor** | **kotlin.String** | ForegroundDefaultColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **foregroundDisabledColor** | **kotlin.String** | ForegroundDisabledColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **foregroundMutedColor** | **kotlin.String** | ForegroundMutedColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **foregroundOnAccentColor** | **kotlin.String** | ForegroundOnAccentColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **foregroundOnDarkColor** | **kotlin.String** | ForegroundOnDarkColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **foregroundOnDisabledColor** | **kotlin.String** | ForegroundOnDisabledColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **foregroundSubtleColor** | **kotlin.String** | ForegroundSubtleColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **inputBackgroundColor** | **kotlin.String** | InputBackgroundColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **inputDisabledColor** | **kotlin.String** | InputDisabledColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **inputPlaceholderColor** | **kotlin.String** | InputPlaceholderColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **inputTextColor** | **kotlin.String** | InputTextColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **logoType** | **kotlin.String** | Logo Type The Logo mime type. | [optional] | +| **logoUrl** | **kotlin.String** | Logo URL Logo can be an https:// or base64:// URL. If the URL is not allowed, the logo will be stored inside the Ory Network storage bucket. | [optional] | +| **primaryColor** | **kotlin.String** | Primary color is an hsla color value used to derive the other colors from for the Ory Account Experience theme. | [optional] | +| **secondaryColor** | **kotlin.String** | Secondary color is a hsla color code used to derive the other colors from for the Ory Account Experience theme. | [optional] | +| **successEmphasisColor** | **kotlin.String** | SuccessEmphasisColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **textDefaultColor** | **kotlin.String** | TextDefaultColor is a hex color code used by the Ory Account Experience theme. | [optional] | +| **textDisabledColor** | **kotlin.String** | TextDisabledColor is a hex color code used by the Ory Account Experience theme. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ProjectCors.md b/clients/client/kotlin-multiplatform/docs/ProjectCors.md new file mode 100644 index 00000000000..51ecd868400 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ProjectCors.md @@ -0,0 +1,11 @@ + +# ProjectCors + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **enabled** | **kotlin.Boolean** | Whether CORS is enabled for this endpoint. | [optional] | +| **origins** | **kotlin.collections.List<kotlin.String>** | 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] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ProjectEventsDatapoint.md b/clients/client/kotlin-multiplatform/docs/ProjectEventsDatapoint.md new file mode 100644 index 00000000000..8620373ef7e --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ProjectEventsDatapoint.md @@ -0,0 +1,12 @@ + +# ProjectEventsDatapoint + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **attributes** | [**kotlin.collections.List<Attribute>**](Attribute.md) | Event attributes with details | | +| **name** | **kotlin.String** | Name of the event | | +| **timestamp** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | Time of occurence | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ProjectHost.md b/clients/client/kotlin-multiplatform/docs/ProjectHost.md new file mode 100644 index 00000000000..e66e03171c2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ProjectHost.md @@ -0,0 +1,12 @@ + +# ProjectHost + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **host** | **kotlin.String** | The project's host. | | +| **id** | **kotlin.String** | The mapping's ID. | [readonly] | +| **projectId** | **kotlin.String** | The Revision's Project ID | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ProjectMember.md b/clients/client/kotlin-multiplatform/docs/ProjectMember.md new file mode 100644 index 00000000000..3602f2fec34 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ProjectMember.md @@ -0,0 +1,14 @@ + +# ProjectMember + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **email** | **kotlin.String** | | | +| **emailVerified** | **kotlin.Boolean** | | | +| **id** | **kotlin.String** | | | +| **name** | **kotlin.String** | | | +| **role** | **kotlin.String** | | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ProjectMetadata.md b/clients/client/kotlin-multiplatform/docs/ProjectMetadata.md new file mode 100644 index 00000000000..8ed8eab22c0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ProjectMetadata.md @@ -0,0 +1,43 @@ + +# ProjectMetadata + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The Project's Creation Date | | +| **environment** | [**inline**](#Environment) | The environment of the project. prod Production stage Staging dev Development | | +| **homeRegion** | [**inline**](#HomeRegion) | The project's data home region eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global | | +| **hosts** | **kotlin.collections.List<kotlin.String>** | | | +| **id** | **kotlin.String** | The project's ID. | [readonly] | +| **name** | **kotlin.String** | The project's name if set | | +| **slug** | **kotlin.String** | The project's slug | [readonly] | +| **state** | [**inline**](#State) | The state of the project. running Running halted Halted deleted Deleted | | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | Last Time Project was Updated | | +| **subscriptionId** | **kotlin.String** | | [optional] | +| **subscriptionPlan** | **kotlin.String** | | [optional] | +| **workspace** | [**Workspace**](Workspace.md) | | [optional] | +| **workspaceId** | **kotlin.String** | | [optional] | + + + +## Enum: environment +| Name | Value | +| ---- | ----- | +| environment | prod, stage, dev | + + + +## Enum: home_region +| Name | Value | +| ---- | ----- | +| homeRegion | eu-central, asia-northeast, us-east, us-west, us, global | + + + +## Enum: state +| Name | Value | +| ---- | ----- | +| state | running, halted, deleted | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ProjectServiceIdentity.md b/clients/client/kotlin-multiplatform/docs/ProjectServiceIdentity.md new file mode 100644 index 00000000000..bb65d6863f3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ProjectServiceIdentity.md @@ -0,0 +1,10 @@ + +# ProjectServiceIdentity + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **config** | **kotlin.String** | | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ProjectServiceOAuth2.md b/clients/client/kotlin-multiplatform/docs/ProjectServiceOAuth2.md new file mode 100644 index 00000000000..c902cce315b --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ProjectServiceOAuth2.md @@ -0,0 +1,10 @@ + +# ProjectServiceOAuth2 + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **config** | **kotlin.String** | | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ProjectServicePermission.md b/clients/client/kotlin-multiplatform/docs/ProjectServicePermission.md new file mode 100644 index 00000000000..9a20feb673e --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ProjectServicePermission.md @@ -0,0 +1,10 @@ + +# ProjectServicePermission + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **config** | **kotlin.String** | | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/ProjectServices.md b/clients/client/kotlin-multiplatform/docs/ProjectServices.md new file mode 100644 index 00000000000..4f76e0f8fb1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/ProjectServices.md @@ -0,0 +1,12 @@ + +# ProjectServices + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **identity** | [**ProjectServiceIdentity**](ProjectServiceIdentity.md) | | [optional] | +| **oauth2** | [**ProjectServiceOAuth2**](ProjectServiceOAuth2.md) | | [optional] | +| **permission** | [**ProjectServicePermission**](ProjectServicePermission.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/QuotaUsage.md b/clients/client/kotlin-multiplatform/docs/QuotaUsage.md new file mode 100644 index 00000000000..561454c589b --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/QuotaUsage.md @@ -0,0 +1,23 @@ + +# QuotaUsage + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **additionalPrice** | **kotlin.String** | The additional price per unit in cents. | | +| **canUseMore** | **kotlin.Boolean** | | | +| **feature** | [**inline**](#Feature) | production_projects ProductionProjects staging_projects StagingProjects development_projects DevelopmentProjects daily_active_users DailyActiveUsers custom_domains CustomDomains event_streams EventStreams event_stream_events EventStreamEvents sla SLA collaborator_seats CollaboratorSeats edge_cache EdgeCache branding_themes BrandingThemes zendesk_support ZendeskSupport project_metrics ProjectMetrics project_metrics_time_window ProjectMetricsTimeWindow project_metrics_events_history ProjectMetricsEventsHistory organizations Organizations rop_grant ResourceOwnerPasswordGrant concierge_onboarding ConciergeOnboarding credit Credit data_location_global DataLocationGlobal data_location_us DataLocationUS data_location_asiane DataLocationAsiaNorthEast m2m_token_issuance M2MTokenIssuance permission_checks PermissionChecks captcha Captcha data_location_regional DataLocationRegional Required Features rate_limit_tier RateLimitTier session_rate_limit_tier RateLimitTierSessions identities_list_rate_limit_tier RateLimitTierIdentitiesList permission_checks_rate_limit_tier RateLimitTierPermissionChecks oauth2_introspect_rate_limit_tier RateLimitTierOAuth2Introspect | | +| **featureAvailable** | **kotlin.Boolean** | | | +| **included** | **kotlin.Long** | | | +| **isUnlimited** | **kotlin.Boolean** | | | +| **used** | **kotlin.Long** | | | + + + +## Enum: feature +| Name | Value | +| ---- | ----- | +| feature | production_projects, staging_projects, development_projects, daily_active_users, custom_domains, event_streams, event_stream_events, sla, collaborator_seats, edge_cache, branding_themes, zendesk_support, project_metrics, project_metrics_time_window, project_metrics_events_history, organizations, rop_grant, concierge_onboarding, credit, data_location_global, data_location_us, data_location_asiane, m2m_token_issuance, permission_checks, captcha, data_location_regional, rate_limit_tier, session_rate_limit_tier, identities_list_rate_limit_tier, permission_checks_rate_limit_tier, oauth2_introspect_rate_limit_tier | + + + diff --git a/clients/client/kotlin-multiplatform/docs/RFC6749ErrorJson.md b/clients/client/kotlin-multiplatform/docs/RFC6749ErrorJson.md new file mode 100644 index 00000000000..310a3c4b25c --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/RFC6749ErrorJson.md @@ -0,0 +1,14 @@ + +# RFC6749ErrorJson + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **error** | **kotlin.String** | | [optional] | +| **errorDebug** | **kotlin.String** | | [optional] | +| **errorDescription** | **kotlin.String** | | [optional] | +| **errorHint** | **kotlin.String** | | [optional] | +| **statusCode** | **kotlin.Long** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/RecoveryCodeForIdentity.md b/clients/client/kotlin-multiplatform/docs/RecoveryCodeForIdentity.md new file mode 100644 index 00000000000..7a97229edc3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/RecoveryCodeForIdentity.md @@ -0,0 +1,12 @@ + +# RecoveryCodeForIdentity + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **recoveryCode** | **kotlin.String** | RecoveryCode is the code that can be used to recover the account | | +| **recoveryLink** | **kotlin.String** | RecoveryLink with flow This link opens the recovery UI with an empty `code` field. | | +| **expiresAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | Expires At is the timestamp of when the recovery flow expires The timestamp when the recovery code expires. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/RecoveryFlow.md b/clients/client/kotlin-multiplatform/docs/RecoveryFlow.md new file mode 100644 index 00000000000..b0b1f5fa75c --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/RecoveryFlow.md @@ -0,0 +1,20 @@ + +# RecoveryFlow + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **expiresAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | ExpiresAt is the time (UTC) when the request expires. If the user still wishes to update the setting, a new request has to be initiated. | | +| **id** | **kotlin.String** | ID represents the request's unique ID. When performing the recovery flow, this represents the id in the recovery ui's query parameter: http://<selfservice.flows.recovery.ui_url>?request=<id> | | +| **issuedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | IssuedAt is the time (UTC) when the request occurred. | | +| **requestUrl** | **kotlin.String** | RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. | | +| **state** | [**kotlin.Any**](.md) | State represents the state of this request: choose_method: ask the user to choose a method (e.g. recover account via email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed. | | +| **type** | **kotlin.String** | The flow type can either be `api` or `browser`. | | +| **ui** | [**UiContainer**](UiContainer.md) | | | +| **active** | **kotlin.String** | Active, if set, contains the recovery method that is being used. It is initially not set. | [optional] | +| **continueWith** | [**kotlin.collections.List<ContinueWith>**](ContinueWith.md) | Contains possible actions that could follow this flow | [optional] | +| **returnTo** | **kotlin.String** | ReturnTo contains the requested return_to URL. | [optional] | +| **transientPayload** | **kotlin.String** | TransientPayload is used to pass data from the recovery flow to hooks and email templates | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/RecoveryFlowState.md b/clients/client/kotlin-multiplatform/docs/RecoveryFlowState.md new file mode 100644 index 00000000000..cae085f8b60 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/RecoveryFlowState.md @@ -0,0 +1,14 @@ + +# RecoveryFlowState + +## Enum + + + * `choose_method` (value: `"choose_method"`) + + * `sent_email` (value: `"sent_email"`) + + * `passed_challenge` (value: `"passed_challenge"`) + + + diff --git a/clients/client/kotlin-multiplatform/docs/RecoveryIdentityAddress.md b/clients/client/kotlin-multiplatform/docs/RecoveryIdentityAddress.md new file mode 100644 index 00000000000..b83bffbde58 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/RecoveryIdentityAddress.md @@ -0,0 +1,14 @@ + +# RecoveryIdentityAddress + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.String** | | | +| **`value`** | **kotlin.String** | | | +| **via** | **kotlin.String** | | | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | CreatedAt is a helper struct field for gobuffalo.pop. | [optional] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | UpdatedAt is a helper struct field for gobuffalo.pop. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/RecoveryLinkForIdentity.md b/clients/client/kotlin-multiplatform/docs/RecoveryLinkForIdentity.md new file mode 100644 index 00000000000..ad5b29401fd --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/RecoveryLinkForIdentity.md @@ -0,0 +1,11 @@ + +# RecoveryLinkForIdentity + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **recoveryLink** | **kotlin.String** | Recovery Link This link can be used to recover the account. | | +| **expiresAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | Recovery Link Expires At The timestamp when the recovery link expires. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/RegistrationFlow.md b/clients/client/kotlin-multiplatform/docs/RegistrationFlow.md new file mode 100644 index 00000000000..f0e401e519c --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/RegistrationFlow.md @@ -0,0 +1,30 @@ + +# RegistrationFlow + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **expiresAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. | | +| **id** | **kotlin.String** | ID represents the flow's unique ID. When performing the registration flow, this represents the id in the registration ui's query parameter: http://<selfservice.flows.registration.ui_url>/?flow=<id> | | +| **issuedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | IssuedAt is the time (UTC) when the flow occurred. | | +| **requestUrl** | **kotlin.String** | RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. | | +| **state** | [**kotlin.Any**](.md) | State represents the state of this request: choose_method: ask the user to choose a method (e.g. registration with email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the registration challenge was passed. | | +| **type** | **kotlin.String** | The flow type can either be `api` or `browser`. | | +| **ui** | [**UiContainer**](UiContainer.md) | | | +| **active** | [**inline**](#Active) | Active, if set, contains the registration method that is being used. It is initially not set. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode | [optional] | +| **oauth2LoginChallenge** | **kotlin.String** | Ory OAuth 2.0 Login Challenge. This value is set using the `login_challenge` query parameter of the registration and login endpoints. If set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. | [optional] | +| **oauth2LoginRequest** | [**OAuth2LoginRequest**](OAuth2LoginRequest.md) | | [optional] | +| **organizationId** | **kotlin.String** | | [optional] | +| **returnTo** | **kotlin.String** | ReturnTo contains the requested return_to URL. | [optional] | +| **sessionTokenExchangeCode** | **kotlin.String** | SessionTokenExchangeCode holds the secret code that the client can use to retrieve a session token after the flow has been completed. This is only set if the client has requested a session token exchange code, and if the flow is of type \"api\", and only on creating the flow. | [optional] | +| **transientPayload** | **kotlin.String** | TransientPayload is used to pass data from the registration to a webhook | [optional] | + + + +## Enum: active +| Name | Value | +| ---- | ----- | +| active | password, oidc, totp, lookup_secret, webauthn, code, passkey, profile, link_recovery, code_recovery | + + + diff --git a/clients/client/kotlin-multiplatform/docs/RegistrationFlowState.md b/clients/client/kotlin-multiplatform/docs/RegistrationFlowState.md new file mode 100644 index 00000000000..39286a0864a --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/RegistrationFlowState.md @@ -0,0 +1,14 @@ + +# RegistrationFlowState + +## Enum + + + * `choose_method` (value: `"choose_method"`) + + * `sent_email` (value: `"sent_email"`) + + * `passed_challenge` (value: `"passed_challenge"`) + + + diff --git a/clients/client/kotlin-multiplatform/docs/RejectOAuth2Request.md b/clients/client/kotlin-multiplatform/docs/RejectOAuth2Request.md new file mode 100644 index 00000000000..5eea80cbcc6 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/RejectOAuth2Request.md @@ -0,0 +1,14 @@ + +# RejectOAuth2Request + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **error** | **kotlin.String** | The error should follow the OAuth2 error format (e.g. `invalid_request`, `login_required`). Defaults to `request_denied`. | [optional] | +| **errorDebug** | **kotlin.String** | Debug contains information to help resolve the problem as a developer. Usually not exposed to the public but only in the server logs. | [optional] | +| **errorDescription** | **kotlin.String** | Description of the error in a human readable format. | [optional] | +| **errorHint** | **kotlin.String** | Hint to help resolve the error. | [optional] | +| **statusCode** | **kotlin.Long** | Represents the HTTP status code of the error (e.g. 401 or 403) Defaults to 400 | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/RelationQuery.md b/clients/client/kotlin-multiplatform/docs/RelationQuery.md new file mode 100644 index 00000000000..c4ea9d4a5e7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/RelationQuery.md @@ -0,0 +1,14 @@ + +# RelationQuery + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **namespace** | **kotlin.String** | Namespace to query | [optional] | +| **`object`** | **kotlin.String** | Object to query | [optional] | +| **relation** | **kotlin.String** | Relation to query | [optional] | +| **subjectId** | **kotlin.String** | SubjectID to query Either SubjectSet or SubjectID can be provided. | [optional] | +| **subjectSet** | [**SubjectSet**](SubjectSet.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/Relationship.md b/clients/client/kotlin-multiplatform/docs/Relationship.md new file mode 100644 index 00000000000..eb5d2f6d176 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/Relationship.md @@ -0,0 +1,14 @@ + +# Relationship + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **namespace** | **kotlin.String** | Namespace of the Relation Tuple | | +| **`object`** | **kotlin.String** | Object of the Relation Tuple | | +| **relation** | **kotlin.String** | Relation of the Relation Tuple | | +| **subjectId** | **kotlin.String** | SubjectID of the Relation Tuple Either SubjectSet or SubjectID can be provided. | [optional] | +| **subjectSet** | [**SubjectSet**](SubjectSet.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/RelationshipApi.md b/clients/client/kotlin-multiplatform/docs/RelationshipApi.md new file mode 100644 index 00000000000..f5e18351ee2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/RelationshipApi.md @@ -0,0 +1,325 @@ +# RelationshipApi + +All URIs are relative to *https://playground.projects.oryapis.com* + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**checkOplSyntax**](RelationshipApi.md#checkOplSyntax) | **POST** /opl/syntax/check | Check the syntax of an OPL file | +| [**createRelationship**](RelationshipApi.md#createRelationship) | **PUT** /admin/relation-tuples | Create a Relationship | +| [**deleteRelationships**](RelationshipApi.md#deleteRelationships) | **DELETE** /admin/relation-tuples | Delete Relationships | +| [**getRelationships**](RelationshipApi.md#getRelationships) | **GET** /relation-tuples | Query relationships | +| [**listRelationshipNamespaces**](RelationshipApi.md#listRelationshipNamespaces) | **GET** /namespaces | Query namespaces | +| [**patchRelationships**](RelationshipApi.md#patchRelationships) | **PATCH** /admin/relation-tuples | Patch Multiple Relationships | + + + +# **checkOplSyntax** +> CheckOplSyntaxResult checkOplSyntax(body) + +Check the syntax of an OPL file + +The OPL file is expected in the body of the request. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = RelationshipApi() +val body : kotlin.String = body_example // kotlin.String | +try { + val result : CheckOplSyntaxResult = apiInstance.checkOplSyntax(body) + println(result) +} catch (e: ClientException) { + println("4xx response calling RelationshipApi#checkOplSyntax") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling RelationshipApi#checkOplSyntax") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **body** | **kotlin.String**| | [optional] | + +### Return type + +[**CheckOplSyntaxResult**](CheckOplSyntaxResult.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: text/plain + - **Accept**: application/json + + +# **createRelationship** +> Relationship createRelationship(createRelationshipBody) + +Create a Relationship + +Use this endpoint to create a relationship. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = RelationshipApi() +val createRelationshipBody : CreateRelationshipBody = // CreateRelationshipBody | +try { + val result : Relationship = apiInstance.createRelationship(createRelationshipBody) + println(result) +} catch (e: ClientException) { + println("4xx response calling RelationshipApi#createRelationship") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling RelationshipApi#createRelationship") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **createRelationshipBody** | [**CreateRelationshipBody**](CreateRelationshipBody.md)| | [optional] | + +### Return type + +[**Relationship**](Relationship.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **deleteRelationships** +> deleteRelationships(namespace, `object`, relation, subjectId, subjectSetNamespace, subjectSetObject, subjectSetRelation) + +Delete Relationships + +Use this endpoint to delete relationships + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = RelationshipApi() +val namespace : kotlin.String = namespace_example // kotlin.String | Namespace of the Relationship +val `object` : kotlin.String = `object`_example // kotlin.String | Object of the Relationship +val relation : kotlin.String = relation_example // kotlin.String | Relation of the Relationship +val subjectId : kotlin.String = subjectId_example // kotlin.String | SubjectID of the Relationship +val subjectSetNamespace : kotlin.String = subjectSetNamespace_example // kotlin.String | Namespace of the Subject Set +val subjectSetObject : kotlin.String = subjectSetObject_example // kotlin.String | Object of the Subject Set +val subjectSetRelation : kotlin.String = subjectSetRelation_example // kotlin.String | Relation of the Subject Set +try { + apiInstance.deleteRelationships(namespace, `object`, relation, subjectId, subjectSetNamespace, subjectSetObject, subjectSetRelation) +} catch (e: ClientException) { + println("4xx response calling RelationshipApi#deleteRelationships") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling RelationshipApi#deleteRelationships") + e.printStackTrace() +} +``` + +### Parameters +| **namespace** | **kotlin.String**| Namespace of the Relationship | [optional] | +| **`object`** | **kotlin.String**| Object of the Relationship | [optional] | +| **relation** | **kotlin.String**| Relation of the Relationship | [optional] | +| **subjectId** | **kotlin.String**| SubjectID of the Relationship | [optional] | +| **subjectSetNamespace** | **kotlin.String**| Namespace of the Subject Set | [optional] | +| **subjectSetObject** | **kotlin.String**| Object of the Subject Set | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **subjectSetRelation** | **kotlin.String**| Relation of the Subject Set | [optional] | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getRelationships** +> Relationships getRelationships(pageToken, pageSize, namespace, `object`, relation, subjectId, subjectSetNamespace, subjectSetObject, subjectSetRelation) + +Query relationships + +Get all relationships that match the query. Only the namespace field is required. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = RelationshipApi() +val pageToken : kotlin.String = pageToken_example // kotlin.String | +val pageSize : kotlin.Long = 789 // kotlin.Long | +val namespace : kotlin.String = namespace_example // kotlin.String | Namespace of the Relationship +val `object` : kotlin.String = `object`_example // kotlin.String | Object of the Relationship +val relation : kotlin.String = relation_example // kotlin.String | Relation of the Relationship +val subjectId : kotlin.String = subjectId_example // kotlin.String | SubjectID of the Relationship +val subjectSetNamespace : kotlin.String = subjectSetNamespace_example // kotlin.String | Namespace of the Subject Set +val subjectSetObject : kotlin.String = subjectSetObject_example // kotlin.String | Object of the Subject Set +val subjectSetRelation : kotlin.String = subjectSetRelation_example // kotlin.String | Relation of the Subject Set +try { + val result : Relationships = apiInstance.getRelationships(pageToken, pageSize, namespace, `object`, relation, subjectId, subjectSetNamespace, subjectSetObject, subjectSetRelation) + println(result) +} catch (e: ClientException) { + println("4xx response calling RelationshipApi#getRelationships") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling RelationshipApi#getRelationships") + e.printStackTrace() +} +``` + +### Parameters +| **pageToken** | **kotlin.String**| | [optional] | +| **pageSize** | **kotlin.Long**| | [optional] | +| **namespace** | **kotlin.String**| Namespace of the Relationship | [optional] | +| **`object`** | **kotlin.String**| Object of the Relationship | [optional] | +| **relation** | **kotlin.String**| Relation of the Relationship | [optional] | +| **subjectId** | **kotlin.String**| SubjectID of the Relationship | [optional] | +| **subjectSetNamespace** | **kotlin.String**| Namespace of the Subject Set | [optional] | +| **subjectSetObject** | **kotlin.String**| Object of the Subject Set | [optional] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **subjectSetRelation** | **kotlin.String**| Relation of the Subject Set | [optional] | + +### Return type + +[**Relationships**](Relationships.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **listRelationshipNamespaces** +> RelationshipNamespaces listRelationshipNamespaces() + +Query namespaces + +Get all namespaces + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = RelationshipApi() +try { + val result : RelationshipNamespaces = apiInstance.listRelationshipNamespaces() + println(result) +} catch (e: ClientException) { + println("4xx response calling RelationshipApi#listRelationshipNamespaces") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling RelationshipApi#listRelationshipNamespaces") + e.printStackTrace() +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**RelationshipNamespaces**](RelationshipNamespaces.md) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **patchRelationships** +> patchRelationships(relationshipPatch) + +Patch Multiple Relationships + +Use this endpoint to patch one or more relationships. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = RelationshipApi() +val relationshipPatch : kotlin.collections.List = // kotlin.collections.List | +try { + apiInstance.patchRelationships(relationshipPatch) +} catch (e: ClientException) { + println("4xx response calling RelationshipApi#patchRelationships") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling RelationshipApi#patchRelationships") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **relationshipPatch** | [**kotlin.collections.List<RelationshipPatch>**](RelationshipPatch.md)| | [optional] | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryAccessToken: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + diff --git a/clients/client/kotlin-multiplatform/docs/RelationshipNamespaces.md b/clients/client/kotlin-multiplatform/docs/RelationshipNamespaces.md new file mode 100644 index 00000000000..8c6bfec1e70 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/RelationshipNamespaces.md @@ -0,0 +1,10 @@ + +# RelationshipNamespaces + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **namespaces** | [**kotlin.collections.List<Namespace>**](Namespace.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/RelationshipPatch.md b/clients/client/kotlin-multiplatform/docs/RelationshipPatch.md new file mode 100644 index 00000000000..6cff63211a6 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/RelationshipPatch.md @@ -0,0 +1,18 @@ + +# RelationshipPatch + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **action** | [**inline**](#Action) | | [optional] | +| **relationTuple** | [**Relationship**](Relationship.md) | | [optional] | + + + +## Enum: action +| Name | Value | +| ---- | ----- | +| action | insert, delete | + + + diff --git a/clients/client/kotlin-multiplatform/docs/Relationships.md b/clients/client/kotlin-multiplatform/docs/Relationships.md new file mode 100644 index 00000000000..73e3a321f79 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/Relationships.md @@ -0,0 +1,11 @@ + +# Relationships + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **nextPageToken** | **kotlin.String** | The opaque token to provide in a subsequent request to get the next page. It is the empty string iff this is the last page. | [optional] | +| **relationTuples** | [**kotlin.collections.List<Relationship>**](Relationship.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/SchemaPatch.md b/clients/client/kotlin-multiplatform/docs/SchemaPatch.md new file mode 100644 index 00000000000..812a4088227 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/SchemaPatch.md @@ -0,0 +1,11 @@ + +# SchemaPatch + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **`data`** | **kotlin.String** | The json schema | | +| **name** | **kotlin.String** | The user defined schema name | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/SelfServiceFlowExpiredError.md b/clients/client/kotlin-multiplatform/docs/SelfServiceFlowExpiredError.md new file mode 100644 index 00000000000..b0fc6bf1fba --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/SelfServiceFlowExpiredError.md @@ -0,0 +1,13 @@ + +# SelfServiceFlowExpiredError + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **error** | [**GenericError**](GenericError.md) | | [optional] | +| **expiredAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | When the flow has expired | [optional] | +| **since** | **kotlin.Long** | A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. | [optional] | +| **useFlowId** | **kotlin.String** | The flow ID that should be used for the new flow as it contains the correct messages. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/Session.md b/clients/client/kotlin-multiplatform/docs/Session.md new file mode 100644 index 00000000000..8dd19ede3d8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/Session.md @@ -0,0 +1,19 @@ + +# Session + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.String** | Session ID | | +| **active** | **kotlin.Boolean** | Active state. If false the session is no longer active. | [optional] | +| **authenticatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The Session Authentication Timestamp When this session was authenticated at. If multi-factor authentication was used this is the time when the last factor was authenticated (e.g. the TOTP code challenge was completed). | [optional] | +| **authenticationMethods** | [**kotlin.collections.List<SessionAuthenticationMethod>**](SessionAuthenticationMethod.md) | A list of authenticators which were used to authenticate the session. | [optional] | +| **authenticatorAssuranceLevel** | [**AuthenticatorAssuranceLevel**](AuthenticatorAssuranceLevel.md) | | [optional] | +| **devices** | [**kotlin.collections.List<SessionDevice>**](SessionDevice.md) | Devices has history of all endpoints where the session was used | [optional] | +| **expiresAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The Session Expiry When this session expires at. | [optional] | +| **identity** | [**Identity**](Identity.md) | | [optional] | +| **issuedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The Session Issuance Timestamp When this session was issued at. Usually equal or close to `authenticated_at`. | [optional] | +| **tokenized** | **kotlin.String** | Tokenized is the tokenized (e.g. JWT) version of the session. It is only set when the `tokenize` query parameter was set to a valid tokenize template during calls to `/session/whoami`. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/SessionActivityDatapoint.md b/clients/client/kotlin-multiplatform/docs/SessionActivityDatapoint.md new file mode 100644 index 00000000000..1e97b119073 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/SessionActivityDatapoint.md @@ -0,0 +1,12 @@ + +# SessionActivityDatapoint + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **country** | **kotlin.String** | Country of the events | | +| **failed** | **kotlin.Long** | Number of events that failed in the given timeframe | | +| **succeeded** | **kotlin.Long** | Number of events that succeeded in the given timeframe | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/SessionAuthenticationMethod.md b/clients/client/kotlin-multiplatform/docs/SessionAuthenticationMethod.md new file mode 100644 index 00000000000..4921841fd93 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/SessionAuthenticationMethod.md @@ -0,0 +1,21 @@ + +# SessionAuthenticationMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **aal** | [**AuthenticatorAssuranceLevel**](AuthenticatorAssuranceLevel.md) | | [optional] | +| **completedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | When the authentication challenge was completed. | [optional] | +| **method** | [**inline**](#Method) | | [optional] | +| **organization** | **kotlin.String** | The Organization id used for authentication | [optional] | +| **provider** | **kotlin.String** | OIDC or SAML provider id used for authentication | [optional] | + + + +## Enum: method +| Name | Value | +| ---- | ----- | +| method | link_recovery, code_recovery, password, code, totp, oidc, webauthn, lookup_secret, v0.6_legacy_session | + + + diff --git a/clients/client/kotlin-multiplatform/docs/SessionDevice.md b/clients/client/kotlin-multiplatform/docs/SessionDevice.md new file mode 100644 index 00000000000..dc817479c9a --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/SessionDevice.md @@ -0,0 +1,13 @@ + +# SessionDevice + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.String** | Device record ID | | +| **ipAddress** | **kotlin.String** | IPAddress of the client | [optional] | +| **location** | **kotlin.String** | Geo Location corresponding to the IP Address | [optional] | +| **userAgent** | **kotlin.String** | UserAgent of the client | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/SetActiveProjectInConsoleBody.md b/clients/client/kotlin-multiplatform/docs/SetActiveProjectInConsoleBody.md new file mode 100644 index 00000000000..d904eb0b3fe --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/SetActiveProjectInConsoleBody.md @@ -0,0 +1,10 @@ + +# SetActiveProjectInConsoleBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **projectId** | **kotlin.String** | Project ID The Project ID you want to set active. format: uuid | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/SetCustomDomainBody.md b/clients/client/kotlin-multiplatform/docs/SetCustomDomainBody.md new file mode 100644 index 00000000000..3a8e10120f3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/SetCustomDomainBody.md @@ -0,0 +1,14 @@ + +# SetCustomDomainBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **cookieDomain** | **kotlin.String** | The domain where cookies will be set. Has to be a parent domain of the custom hostname to work. | [optional] | +| **corsAllowedOrigins** | **kotlin.collections.List<kotlin.String>** | CORS Allowed origins for the custom hostname. | [optional] | +| **corsEnabled** | **kotlin.Boolean** | CORS Enabled for the custom hostname. | [optional] | +| **customUiBaseUrl** | **kotlin.String** | The custom UI base URL where the UI will be exposed. | [optional] | +| **hostname** | **kotlin.String** | The custom hostname where the API will be exposed. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/SetEventStreamBody.md b/clients/client/kotlin-multiplatform/docs/SetEventStreamBody.md new file mode 100644 index 00000000000..995003b583e --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/SetEventStreamBody.md @@ -0,0 +1,19 @@ + +# SetEventStreamBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **roleArn** | **kotlin.String** | The AWS IAM role ARN to assume when publishing to the SNS topic. | | +| **topicArn** | **kotlin.String** | The AWS SNS topic ARN. | | +| **type** | [**inline**](#Type) | The type of the event stream (AWS SNS, GCP Pub/Sub, etc). | | + + + +## Enum: type +| Name | Value | +| ---- | ----- | +| type | sns | + + + diff --git a/clients/client/kotlin-multiplatform/docs/SetProject.md b/clients/client/kotlin-multiplatform/docs/SetProject.md new file mode 100644 index 00000000000..29f19fc89ff --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/SetProject.md @@ -0,0 +1,13 @@ + +# SetProject + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **corsAdmin** | [**ProjectCors**](ProjectCors.md) | | | +| **corsPublic** | [**ProjectCors**](ProjectCors.md) | | | +| **name** | **kotlin.String** | The name of the project. | | +| **services** | [**ProjectServices**](ProjectServices.md) | | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/SetProjectBrandingThemeBody.md b/clients/client/kotlin-multiplatform/docs/SetProjectBrandingThemeBody.md new file mode 100644 index 00000000000..355aab07b98 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/SetProjectBrandingThemeBody.md @@ -0,0 +1,15 @@ + +# SetProjectBrandingThemeBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **faviconType** | **kotlin.String** | Favicon Type | [optional] | +| **faviconUrl** | **kotlin.String** | Favicon URL | [optional] | +| **logoType** | **kotlin.String** | Logo type | [optional] | +| **logoUrl** | **kotlin.String** | Logo URL | [optional] | +| **name** | **kotlin.String** | Branding name | [optional] | +| **theme** | [**ProjectBrandingColors**](ProjectBrandingColors.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/SettingsFlow.md b/clients/client/kotlin-multiplatform/docs/SettingsFlow.md new file mode 100644 index 00000000000..e4dd6b6cc1a --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/SettingsFlow.md @@ -0,0 +1,21 @@ + +# SettingsFlow + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **expiresAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to update the setting, a new flow has to be initiated. | | +| **id** | **kotlin.String** | ID represents the flow's unique ID. When performing the settings flow, this represents the id in the settings ui's query parameter: http://<selfservice.flows.settings.ui_url>?flow=<id> | | +| **identity** | [**Identity**](Identity.md) | | | +| **issuedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | IssuedAt is the time (UTC) when the flow occurred. | | +| **requestUrl** | **kotlin.String** | RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. | | +| **state** | [**kotlin.Any**](.md) | State represents the state of this flow. It knows two states: show_form: No user data has been collected, or it is invalid, and thus the form should be shown. success: Indicates that the settings flow has been updated successfully with the provided data. Done will stay true when repeatedly checking. If set to true, done will revert back to false only when a flow with invalid (e.g. \"please use a valid phone number\") data was sent. | | +| **type** | **kotlin.String** | The flow type can either be `api` or `browser`. | | +| **ui** | [**UiContainer**](UiContainer.md) | | | +| **active** | **kotlin.String** | Active, if set, contains the registration method that is being used. It is initially not set. | [optional] | +| **continueWith** | [**kotlin.collections.List<ContinueWith>**](ContinueWith.md) | Contains a list of actions, that could follow this flow It can, for example, contain a reference to the verification flow, created as part of the user's registration. | [optional] | +| **returnTo** | **kotlin.String** | ReturnTo contains the requested return_to URL. | [optional] | +| **transientPayload** | **kotlin.String** | TransientPayload is used to pass data from the settings flow to hooks and email templates | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/SettingsFlowState.md b/clients/client/kotlin-multiplatform/docs/SettingsFlowState.md new file mode 100644 index 00000000000..b0a5b702a07 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/SettingsFlowState.md @@ -0,0 +1,12 @@ + +# SettingsFlowState + +## Enum + + + * `show_form` (value: `"show_form"`) + + * `success` (value: `"success"`) + + + diff --git a/clients/client/kotlin-multiplatform/docs/SourcePosition.md b/clients/client/kotlin-multiplatform/docs/SourcePosition.md new file mode 100644 index 00000000000..9b1d8bd2fdd --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/SourcePosition.md @@ -0,0 +1,11 @@ + +# SourcePosition + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **line** | **kotlin.Long** | | [optional] | +| **column** | **kotlin.Long** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/SubjectSet.md b/clients/client/kotlin-multiplatform/docs/SubjectSet.md new file mode 100644 index 00000000000..308a06d3b7e --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/SubjectSet.md @@ -0,0 +1,12 @@ + +# SubjectSet + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **namespace** | **kotlin.String** | Namespace of the Subject Set | | +| **`object`** | **kotlin.String** | Object of the Subject Set | | +| **relation** | **kotlin.String** | Relation of the Subject Set | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/Subscription.md b/clients/client/kotlin-multiplatform/docs/Subscription.md new file mode 100644 index 00000000000..9210867d549 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/Subscription.md @@ -0,0 +1,38 @@ + +# Subscription + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [readonly] | +| **currency** | [**inline**](#Currency) | The currency of the subscription. To change this, a new subscription must be created. usd USD eur Euro | [readonly] | +| **currentInterval** | [**inline**](#CurrentInterval) | The currently active interval of the subscription monthly Monthly yearly Yearly | [readonly] | +| **currentPlan** | **kotlin.String** | The currently active plan of the subscription | [readonly] | +| **customerId** | **kotlin.String** | The ID of the stripe customer | [readonly] | +| **id** | **kotlin.String** | The ID of the subscription | [readonly] | +| **intervalChangesTo** | **kotlin.String** | | | +| **payedUntil** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | Until when the subscription is payed | [readonly] | +| **planChangesTo** | **kotlin.String** | | | +| **status** | **kotlin.String** | For `collection_method=charge_automatically` a subscription moves into `incomplete` if the initial payment attempt fails. A subscription in this status can only have metadata and default_source updated. Once the first invoice is paid, the subscription moves into an `active` status. If the first invoice is not paid within 23 hours, the subscription transitions to `incomplete_expired`. This is a terminal status, the open invoice will be voided and no further invoices will be generated. A subscription that is currently in a trial period is `trialing` and moves to `active` when the trial period is over. A subscription can only enter a `paused` status [when a trial ends without a payment method](https://stripe.com/billing/subscriptions/trials#create-free-trials-without-payment). A `paused` subscription doesn't generate invoices and can be resumed after your customer adds their payment method. The `paused` status is different from [pausing collection](https://stripe.com/billing/subscriptions/pause-payment), which still generates invoices and leaves the subscription's status unchanged. If subscription `collection_method=charge_automatically`, it becomes `past_due` when payment is required but cannot be paid (due to failed payment or awaiting additional user actions). Once Stripe has exhausted all payment retry attempts, the subscription will become `canceled` or `unpaid` (depending on your subscriptions settings). If subscription `collection_method=send_invoice` it becomes `past_due` when its invoice is not paid by the due date, and `canceled` or `unpaid` if it is still not paid by an additional deadline after that. Note that when a subscription has a status of `unpaid`, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices. | | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [readonly] | +| **currentPlanDetails** | [**PlanDetails**](PlanDetails.md) | | [optional] | +| **ongoingStripeCheckoutId** | **kotlin.String** | | [optional] | +| **planChangesAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | +| **stripeCheckoutExpiresAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | + + + +## Enum: currency +| Name | Value | +| ---- | ----- | +| currency | usd, eur | + + + +## Enum: current_interval +| Name | Value | +| ---- | ----- | +| currentInterval | monthly, yearly | + + + diff --git a/clients/client/kotlin-multiplatform/docs/SuccessfulCodeExchangeResponse.md b/clients/client/kotlin-multiplatform/docs/SuccessfulCodeExchangeResponse.md new file mode 100644 index 00000000000..3544f93896a --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/SuccessfulCodeExchangeResponse.md @@ -0,0 +1,11 @@ + +# SuccessfulCodeExchangeResponse + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **session** | [**Session**](Session.md) | | | +| **sessionToken** | **kotlin.String** | The Session Token A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/SuccessfulNativeLogin.md b/clients/client/kotlin-multiplatform/docs/SuccessfulNativeLogin.md new file mode 100644 index 00000000000..586d472e802 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/SuccessfulNativeLogin.md @@ -0,0 +1,12 @@ + +# SuccessfulNativeLogin + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **session** | [**Session**](Session.md) | | | +| **continueWith** | [**kotlin.collections.List<ContinueWith>**](ContinueWith.md) | Contains a list of actions, that could follow this flow It can, for example, this will contain a reference to the verification flow, created as part of the user's registration or the token of the session. | [optional] | +| **sessionToken** | **kotlin.String** | The Session Token A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/SuccessfulNativeRegistration.md b/clients/client/kotlin-multiplatform/docs/SuccessfulNativeRegistration.md new file mode 100644 index 00000000000..ef0cd59c994 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/SuccessfulNativeRegistration.md @@ -0,0 +1,13 @@ + +# SuccessfulNativeRegistration + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **identity** | [**Identity**](Identity.md) | | | +| **continueWith** | [**kotlin.collections.List<ContinueWith>**](ContinueWith.md) | Contains a list of actions, that could follow this flow It can, for example, this will contain a reference to the verification flow, created as part of the user's registration or the token of the session. | [optional] | +| **session** | [**Session**](Session.md) | | [optional] | +| **sessionToken** | **kotlin.String** | The Session Token This field is only set when the session hook is configured as a post-registration hook. A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/SuccessfulProjectUpdate.md b/clients/client/kotlin-multiplatform/docs/SuccessfulProjectUpdate.md new file mode 100644 index 00000000000..34d4437cad9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/SuccessfulProjectUpdate.md @@ -0,0 +1,11 @@ + +# SuccessfulProjectUpdate + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **project** | [**Project**](Project.md) | | | +| **warnings** | [**kotlin.collections.List<Warning>**](Warning.md) | Import Warnings Not all configuration items can be imported to the Ory Network. For example, setting the port does not make sense because the Ory Network provides the runtime and networking. This field contains warnings where configuration keys were found but can not be imported. These keys will be ignored by the Ory Network. This field will help you understand why certain configuration keys might not be respected! | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/TaxLineItem.md b/clients/client/kotlin-multiplatform/docs/TaxLineItem.md new file mode 100644 index 00000000000..b9536f1a244 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/TaxLineItem.md @@ -0,0 +1,11 @@ + +# TaxLineItem + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **amountInCent** | **kotlin.Long** | | [optional] | +| **title** | **kotlin.String** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/TimeInterval.md b/clients/client/kotlin-multiplatform/docs/TimeInterval.md new file mode 100644 index 00000000000..dee71830205 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/TimeInterval.md @@ -0,0 +1,11 @@ + +# TimeInterval + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **end** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The end of the time period. | | +| **start** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The start of the time period. | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/TokenPagination.md b/clients/client/kotlin-multiplatform/docs/TokenPagination.md new file mode 100644 index 00000000000..54119496f61 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/TokenPagination.md @@ -0,0 +1,11 @@ + +# TokenPagination + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **pageSize** | **kotlin.Long** | Items per page 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] | +| **pageToken** | **kotlin.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] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/TokenPaginationHeaders.md b/clients/client/kotlin-multiplatform/docs/TokenPaginationHeaders.md new file mode 100644 index 00000000000..ba020f2934b --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/TokenPaginationHeaders.md @@ -0,0 +1,11 @@ + +# TokenPaginationHeaders + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **link** | **kotlin.String** | The link header contains pagination links. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). in: header | [optional] | +| **xTotalCount** | **kotlin.String** | The total number of clients. in: header | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/TokenPaginationRequestParameters.md b/clients/client/kotlin-multiplatform/docs/TokenPaginationRequestParameters.md new file mode 100644 index 00000000000..99bc6bc680c --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/TokenPaginationRequestParameters.md @@ -0,0 +1,11 @@ + +# TokenPaginationRequestParameters + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **pageSize** | **kotlin.Long** | Items per Page 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] | +| **pageToken** | **kotlin.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] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/TokenPaginationResponseHeaders.md b/clients/client/kotlin-multiplatform/docs/TokenPaginationResponseHeaders.md new file mode 100644 index 00000000000..82fc7adf557 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/TokenPaginationResponseHeaders.md @@ -0,0 +1,11 @@ + +# TokenPaginationResponseHeaders + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **link** | **kotlin.String** | The Link HTTP Header The `Link` header contains a comma-delimited list of links to the following pages: first: The first page of results. next: The next page of results. prev: The previous page of results. last: The last page of results. Pages are omitted if they do not exist. For example, if there is no next page, the `next` link is omitted. Examples: </clients?page_size=5&page_token=0>; rel=\"first\",</clients?page_size=5&page_token=15>; rel=\"next\",</clients?page_size=5&page_token=5>; rel=\"prev\",</clients?page_size=5&page_token=20>; rel=\"last\" | [optional] | +| **xTotalCount** | **kotlin.Long** | The X-Total-Count HTTP Header The `X-Total-Count` header contains the total number of items in the collection. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/TrustOAuth2JwtGrantIssuer.md b/clients/client/kotlin-multiplatform/docs/TrustOAuth2JwtGrantIssuer.md new file mode 100644 index 00000000000..c51c92e61f1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/TrustOAuth2JwtGrantIssuer.md @@ -0,0 +1,15 @@ + +# TrustOAuth2JwtGrantIssuer + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **expiresAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The \"expires_at\" indicates, when grant will expire, so we will reject assertion from \"issuer\" targeting \"subject\". | | +| **issuer** | **kotlin.String** | The \"issuer\" identifies the principal that issued the JWT assertion (same as \"iss\" claim in JWT). | | +| **jwk** | [**JsonWebKey**](JsonWebKey.md) | | | +| **scope** | **kotlin.collections.List<kotlin.String>** | The \"scope\" contains list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) | | +| **allowAnySubject** | **kotlin.Boolean** | The \"allow_any_subject\" indicates that the issuer is allowed to have any principal as the subject of the JWT. | [optional] | +| **subject** | **kotlin.String** | The \"subject\" identifies the principal that is the subject of the JWT. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/TrustedOAuth2JwtGrantIssuer.md b/clients/client/kotlin-multiplatform/docs/TrustedOAuth2JwtGrantIssuer.md new file mode 100644 index 00000000000..97c0e0cc470 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/TrustedOAuth2JwtGrantIssuer.md @@ -0,0 +1,17 @@ + +# TrustedOAuth2JwtGrantIssuer + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **allowAnySubject** | **kotlin.Boolean** | The \"allow_any_subject\" indicates that the issuer is allowed to have any principal as the subject of the JWT. | [optional] | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The \"created_at\" indicates, when grant was created. | [optional] | +| **expiresAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The \"expires_at\" indicates, when grant will expire, so we will reject assertion from \"issuer\" targeting \"subject\". | [optional] | +| **id** | **kotlin.String** | | [optional] | +| **issuer** | **kotlin.String** | The \"issuer\" identifies the principal that issued the JWT assertion (same as \"iss\" claim in JWT). | [optional] | +| **publicKey** | [**TrustedOAuth2JwtGrantJsonWebKey**](TrustedOAuth2JwtGrantJsonWebKey.md) | | [optional] | +| **scope** | **kotlin.collections.List<kotlin.String>** | The \"scope\" contains list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) | [optional] | +| **subject** | **kotlin.String** | The \"subject\" identifies the principal that is the subject of the JWT. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/TrustedOAuth2JwtGrantJsonWebKey.md b/clients/client/kotlin-multiplatform/docs/TrustedOAuth2JwtGrantJsonWebKey.md new file mode 100644 index 00000000000..7672ef71bd1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/TrustedOAuth2JwtGrantJsonWebKey.md @@ -0,0 +1,11 @@ + +# TrustedOAuth2JwtGrantJsonWebKey + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **kid** | **kotlin.String** | The \"key_id\" is key unique identifier (same as kid header in jws/jwt). | [optional] | +| **set** | **kotlin.String** | The \"set\" is basically a name for a group(set) of keys. Will be the same as \"issuer\" in grant. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UiContainer.md b/clients/client/kotlin-multiplatform/docs/UiContainer.md new file mode 100644 index 00000000000..f55389485f2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UiContainer.md @@ -0,0 +1,13 @@ + +# UiContainer + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **action** | **kotlin.String** | Action should be used as the form action URL `<form action=\"{{ .Action }}\" method=\"post\">`. | | +| **method** | **kotlin.String** | Method is the form method (e.g. POST) | | +| **nodes** | [**kotlin.collections.List<UiNode>**](UiNode.md) | | | +| **messages** | [**kotlin.collections.List<UiText>**](UiText.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UiNode.md b/clients/client/kotlin-multiplatform/docs/UiNode.md new file mode 100644 index 00000000000..360064633b8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UiNode.md @@ -0,0 +1,28 @@ + +# UiNode + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **attributes** | [**UiNodeAttributes**](UiNodeAttributes.md) | | | +| **group** | [**inline**](#Group) | Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup identifier_first IdentifierFirstGroup | | +| **messages** | [**kotlin.collections.List<UiText>**](UiText.md) | | | +| **meta** | [**UiNodeMeta**](UiNodeMeta.md) | | | +| **type** | [**inline**](#Type) | The node's type text Text input Input img Image a Anchor script Script | | + + + +## Enum: group +| Name | Value | +| ---- | ----- | +| group | default, password, oidc, profile, link, code, totp, lookup_secret, webauthn, passkey, identifier_first | + + + +## Enum: type +| Name | Value | +| ---- | ----- | +| type | text, input, img, a, script | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UiNodeAnchorAttributes.md b/clients/client/kotlin-multiplatform/docs/UiNodeAnchorAttributes.md new file mode 100644 index 00000000000..d1598fd3118 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UiNodeAnchorAttributes.md @@ -0,0 +1,20 @@ + +# UiNodeAnchorAttributes + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **href** | **kotlin.String** | The link's href (destination) URL. format: uri | | +| **id** | **kotlin.String** | A unique identifier | | +| **nodeType** | [**inline**](#NodeType) | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"a\". text Text input Input img Image a Anchor script Script | | +| **title** | [**UiText**](UiText.md) | | | + + + +## Enum: node_type +| Name | Value | +| ---- | ----- | +| nodeType | text, input, img, a, script | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UiNodeAttributes.md b/clients/client/kotlin-multiplatform/docs/UiNodeAttributes.md new file mode 100644 index 00000000000..aaeeed13dff --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UiNodeAttributes.md @@ -0,0 +1,63 @@ + +# UiNodeAttributes + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **disabled** | **kotlin.Boolean** | Sets the input's disabled field to true or false. | | +| **name** | **kotlin.String** | The input's element name. | | +| **nodeType** | [**inline**](#NodeType) | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script | | +| **type** | **kotlin.String** | The script MIME type | | +| **id** | **kotlin.String** | A unique identifier | | +| **text** | [**UiText**](UiText.md) | | | +| **height** | **kotlin.Long** | Height of the image | | +| **src** | **kotlin.String** | The script source | | +| **width** | **kotlin.Long** | Width of the image | | +| **href** | **kotlin.String** | The link's href (destination) URL. format: uri | | +| **title** | [**UiText**](UiText.md) | | | +| **async** | **kotlin.Boolean** | The script async type | | +| **crossorigin** | **kotlin.String** | The script cross origin policy | | +| **integrity** | **kotlin.String** | The script's integrity hash | | +| **nonce** | **kotlin.String** | Nonce for CSP A nonce you may want to use to improve your Content Security Policy. You do not have to use this value but if you want to improve your CSP policies you may use it. You can also choose to use your own nonce value! | | +| **referrerpolicy** | **kotlin.String** | The script referrer policy | | +| **autocomplete** | [**inline**](#Autocomplete) | The autocomplete attribute for the input. email InputAttributeAutocompleteEmail tel InputAttributeAutocompleteTel url InputAttributeAutocompleteUrl current-password InputAttributeAutocompleteCurrentPassword new-password InputAttributeAutocompleteNewPassword one-time-code InputAttributeAutocompleteOneTimeCode | [optional] | +| **label** | [**UiText**](UiText.md) | | [optional] | +| **maxlength** | **kotlin.Long** | MaxLength may contain the input's maximum length. | [optional] | +| **onclick** | **kotlin.String** | OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn. Deprecated: Using OnClick requires the use of eval() which is a security risk. Use OnClickTrigger instead. | [optional] | +| **onclickTrigger** | [**inline**](#OnclickTrigger) | OnClickTrigger may contain a WebAuthn trigger which should be executed on click. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration | [optional] | +| **onload** | **kotlin.String** | OnLoad may contain javascript which should be executed on load. This is primarily used for WebAuthn. Deprecated: Using OnLoad requires the use of eval() which is a security risk. Use OnLoadTrigger instead. | [optional] | +| **onloadTrigger** | [**inline**](#OnloadTrigger) | OnLoadTrigger may contain a WebAuthn trigger which should be executed on load. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration | [optional] | +| **pattern** | **kotlin.String** | The input's pattern. | [optional] | +| **required** | **kotlin.Boolean** | Mark this input field as required. | [optional] | +| **`value`** | [**kotlin.Any**](.md) | The input's value. | [optional] | + + + +## Enum: node_type +| Name | Value | +| ---- | ----- | +| nodeType | text, input, img, a, script | + + + +## Enum: autocomplete +| Name | Value | +| ---- | ----- | +| autocomplete | email, tel, url, current-password, new-password, one-time-code | + + + +## Enum: onclickTrigger +| Name | Value | +| ---- | ----- | +| onclickTrigger | oryWebAuthnRegistration, oryWebAuthnLogin, oryPasskeyLogin, oryPasskeyLoginAutocompleteInit, oryPasskeyRegistration, oryPasskeySettingsRegistration | + + + +## Enum: onloadTrigger +| Name | Value | +| ---- | ----- | +| onloadTrigger | oryWebAuthnRegistration, oryWebAuthnLogin, oryPasskeyLogin, oryPasskeyLoginAutocompleteInit, oryPasskeyRegistration, oryPasskeySettingsRegistration | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UiNodeImageAttributes.md b/clients/client/kotlin-multiplatform/docs/UiNodeImageAttributes.md new file mode 100644 index 00000000000..40c933ab70d --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UiNodeImageAttributes.md @@ -0,0 +1,21 @@ + +# UiNodeImageAttributes + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **height** | **kotlin.Long** | Height of the image | | +| **id** | **kotlin.String** | A unique identifier | | +| **nodeType** | [**inline**](#NodeType) | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\". text Text input Input img Image a Anchor script Script | | +| **src** | **kotlin.String** | The image's source URL. format: uri | | +| **width** | **kotlin.Long** | Width of the image | | + + + +## Enum: node_type +| Name | Value | +| ---- | ----- | +| nodeType | text, input, img, a, script | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UiNodeInputAttributes.md b/clients/client/kotlin-multiplatform/docs/UiNodeInputAttributes.md new file mode 100644 index 00000000000..a7a53ed25e0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UiNodeInputAttributes.md @@ -0,0 +1,58 @@ + +# UiNodeInputAttributes + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **disabled** | **kotlin.Boolean** | Sets the input's disabled field to true or false. | | +| **name** | **kotlin.String** | The input's element name. | | +| **nodeType** | [**inline**](#NodeType) | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". text Text input Input img Image a Anchor script Script | | +| **type** | [**inline**](#Type) | The input's element type. text InputAttributeTypeText password InputAttributeTypePassword number InputAttributeTypeNumber checkbox InputAttributeTypeCheckbox hidden InputAttributeTypeHidden email InputAttributeTypeEmail tel InputAttributeTypeTel submit InputAttributeTypeSubmit button InputAttributeTypeButton datetime-local InputAttributeTypeDateTimeLocal date InputAttributeTypeDate url InputAttributeTypeURI | | +| **autocomplete** | [**inline**](#Autocomplete) | The autocomplete attribute for the input. email InputAttributeAutocompleteEmail tel InputAttributeAutocompleteTel url InputAttributeAutocompleteUrl current-password InputAttributeAutocompleteCurrentPassword new-password InputAttributeAutocompleteNewPassword one-time-code InputAttributeAutocompleteOneTimeCode | [optional] | +| **label** | [**UiText**](UiText.md) | | [optional] | +| **maxlength** | **kotlin.Long** | MaxLength may contain the input's maximum length. | [optional] | +| **onclick** | **kotlin.String** | OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn. Deprecated: Using OnClick requires the use of eval() which is a security risk. Use OnClickTrigger instead. | [optional] | +| **onclickTrigger** | [**inline**](#OnclickTrigger) | OnClickTrigger may contain a WebAuthn trigger which should be executed on click. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration | [optional] | +| **onload** | **kotlin.String** | OnLoad may contain javascript which should be executed on load. This is primarily used for WebAuthn. Deprecated: Using OnLoad requires the use of eval() which is a security risk. Use OnLoadTrigger instead. | [optional] | +| **onloadTrigger** | [**inline**](#OnloadTrigger) | OnLoadTrigger may contain a WebAuthn trigger which should be executed on load. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration | [optional] | +| **pattern** | **kotlin.String** | The input's pattern. | [optional] | +| **required** | **kotlin.Boolean** | Mark this input field as required. | [optional] | +| **`value`** | [**kotlin.Any**](.md) | The input's value. | [optional] | + + + +## Enum: node_type +| Name | Value | +| ---- | ----- | +| nodeType | text, input, img, a, script | + + + +## Enum: type +| Name | Value | +| ---- | ----- | +| type | text, password, number, checkbox, hidden, email, tel, submit, button, datetime-local, date, url | + + + +## Enum: autocomplete +| Name | Value | +| ---- | ----- | +| autocomplete | email, tel, url, current-password, new-password, one-time-code | + + + +## Enum: onclickTrigger +| Name | Value | +| ---- | ----- | +| onclickTrigger | oryWebAuthnRegistration, oryWebAuthnLogin, oryPasskeyLogin, oryPasskeyLoginAutocompleteInit, oryPasskeyRegistration, oryPasskeySettingsRegistration | + + + +## Enum: onloadTrigger +| Name | Value | +| ---- | ----- | +| onloadTrigger | oryWebAuthnRegistration, oryWebAuthnLogin, oryPasskeyLogin, oryPasskeyLoginAutocompleteInit, oryPasskeyRegistration, oryPasskeySettingsRegistration | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UiNodeMeta.md b/clients/client/kotlin-multiplatform/docs/UiNodeMeta.md new file mode 100644 index 00000000000..b4ccb87a760 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UiNodeMeta.md @@ -0,0 +1,10 @@ + +# UiNodeMeta + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **label** | [**UiText**](UiText.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UiNodeScriptAttributes.md b/clients/client/kotlin-multiplatform/docs/UiNodeScriptAttributes.md new file mode 100644 index 00000000000..a69385945af --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UiNodeScriptAttributes.md @@ -0,0 +1,25 @@ + +# UiNodeScriptAttributes + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **async** | **kotlin.Boolean** | The script async type | | +| **crossorigin** | **kotlin.String** | The script cross origin policy | | +| **id** | **kotlin.String** | A unique identifier | | +| **integrity** | **kotlin.String** | The script's integrity hash | | +| **nodeType** | [**inline**](#NodeType) | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script | | +| **nonce** | **kotlin.String** | Nonce for CSP A nonce you may want to use to improve your Content Security Policy. You do not have to use this value but if you want to improve your CSP policies you may use it. You can also choose to use your own nonce value! | | +| **referrerpolicy** | **kotlin.String** | The script referrer policy | | +| **src** | **kotlin.String** | The script source | | +| **type** | **kotlin.String** | The script MIME type | | + + + +## Enum: node_type +| Name | Value | +| ---- | ----- | +| nodeType | text, input, img, a, script | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UiNodeTextAttributes.md b/clients/client/kotlin-multiplatform/docs/UiNodeTextAttributes.md new file mode 100644 index 00000000000..b6faf6a18ea --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UiNodeTextAttributes.md @@ -0,0 +1,19 @@ + +# UiNodeTextAttributes + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.String** | A unique identifier | | +| **nodeType** | [**inline**](#NodeType) | NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"text\". text Text input Input img Image a Anchor script Script | | +| **text** | [**UiText**](UiText.md) | | | + + + +## Enum: node_type +| Name | Value | +| ---- | ----- | +| nodeType | text, input, img, a, script | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UiText.md b/clients/client/kotlin-multiplatform/docs/UiText.md new file mode 100644 index 00000000000..e2b3f169abe --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UiText.md @@ -0,0 +1,20 @@ + +# UiText + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.Long** | | | +| **text** | **kotlin.String** | The message text. Written in american english. | | +| **type** | [**inline**](#Type) | The message type. info Info error Error success Success | | +| **context** | **kotlin.String** | The message's context. Useful when customizing messages. | [optional] | + + + +## Enum: type +| Name | Value | +| ---- | ----- | +| type | info, error, success | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateIdentityBody.md b/clients/client/kotlin-multiplatform/docs/UpdateIdentityBody.md new file mode 100644 index 00000000000..fdac4dae76a --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateIdentityBody.md @@ -0,0 +1,22 @@ + +# UpdateIdentityBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **schemaId** | **kotlin.String** | SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. If set will update the Identity's SchemaID. | | +| **state** | [**inline**](#State) | State is the identity's state. active StateActive inactive StateInactive | | +| **traits** | **kotlin.String** | Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_id`. | | +| **credentials** | [**IdentityWithCredentials**](IdentityWithCredentials.md) | | [optional] | +| **metadataAdmin** | [**kotlin.Any**](.md) | Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/<id>`. | [optional] | +| **metadataPublic** | [**kotlin.Any**](.md) | Store metadata about the identity which the identity itself can see when calling for example the session endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field. | [optional] | + + + +## Enum: state +| Name | Value | +| ---- | ----- | +| state | active, inactive | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowBody.md b/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowBody.md new file mode 100644 index 00000000000..e424943eb77 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowBody.md @@ -0,0 +1,27 @@ + +# UpdateLoginFlowBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **csrfToken** | **kotlin.String** | Sending the anti-csrf token is only required for browser login flows. | | +| **identifier** | **kotlin.String** | Identifier is the email or username of the user trying to log in. | | +| **method** | **kotlin.String** | Method should be set to \"password\" when logging in using the identifier and password strategy. | | +| **password** | **kotlin.String** | The user's password. | | +| **provider** | **kotlin.String** | The provider to register with | | +| **totpCode** | **kotlin.String** | The TOTP code. | | +| **lookupSecret** | **kotlin.String** | The lookup secret. | | +| **passwordIdentifier** | **kotlin.String** | Identifier is the email or username of the user trying to log in. This field is deprecated! | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | +| **idToken** | **kotlin.String** | IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple Google | [optional] | +| **idTokenNonce** | **kotlin.String** | IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and required. | [optional] | +| **traits** | **kotlin.String** | The identity traits. This is a placeholder for the registration flow. | [optional] | +| **upstreamParameters** | **kotlin.String** | UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. | [optional] | +| **webauthnLogin** | **kotlin.String** | Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] | +| **address** | **kotlin.String** | Address is the address to send the code to, in case that there are multiple addresses. This field is only used in two-factor flows and is ineffective for passwordless flows. | [optional] | +| **code** | **kotlin.String** | Code is the 6 digits code sent to the user | [optional] | +| **resend** | **kotlin.String** | Resend is set when the user wants to resend the code | [optional] | +| **passkeyLogin** | **kotlin.String** | Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithCodeMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithCodeMethod.md new file mode 100644 index 00000000000..461e8a86fdc --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithCodeMethod.md @@ -0,0 +1,16 @@ + +# UpdateLoginFlowWithCodeMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **csrfToken** | **kotlin.String** | CSRFToken is the anti-CSRF token | | +| **method** | **kotlin.String** | Method should be set to \"code\" when logging in using the code strategy. | | +| **address** | **kotlin.String** | Address is the address to send the code to, in case that there are multiple addresses. This field is only used in two-factor flows and is ineffective for passwordless flows. | [optional] | +| **code** | **kotlin.String** | Code is the 6 digits code sent to the user | [optional] | +| **identifier** | **kotlin.String** | Identifier is the code identifier The identifier requires that the user has already completed the registration or settings with code flow. | [optional] | +| **resend** | **kotlin.String** | Resend is set when the user wants to resend the code | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithIdentifierFirstMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithIdentifierFirstMethod.md new file mode 100644 index 00000000000..6e8abcf87ab --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithIdentifierFirstMethod.md @@ -0,0 +1,13 @@ + +# UpdateLoginFlowWithIdentifierFirstMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **identifier** | **kotlin.String** | Identifier is the email or username of the user trying to log in. | | +| **method** | **kotlin.String** | Method should be set to \"password\" when logging in using the identifier and password strategy. | | +| **csrfToken** | **kotlin.String** | Sending the anti-csrf token is only required for browser login flows. | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithLookupSecretMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithLookupSecretMethod.md new file mode 100644 index 00000000000..a6209d74f87 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithLookupSecretMethod.md @@ -0,0 +1,12 @@ + +# UpdateLoginFlowWithLookupSecretMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **lookupSecret** | **kotlin.String** | The lookup secret. | | +| **method** | **kotlin.String** | Method should be set to \"lookup_secret\" when logging in using the lookup_secret strategy. | | +| **csrfToken** | **kotlin.String** | Sending the anti-csrf token is only required for browser login flows. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithOidcMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithOidcMethod.md new file mode 100644 index 00000000000..de22062f2d3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithOidcMethod.md @@ -0,0 +1,17 @@ + +# UpdateLoginFlowWithOidcMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | **kotlin.String** | Method to use This field must be set to `oidc` when using the oidc method. | | +| **provider** | **kotlin.String** | The provider to register with | | +| **csrfToken** | **kotlin.String** | The CSRF Token | [optional] | +| **idToken** | **kotlin.String** | IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple Google | [optional] | +| **idTokenNonce** | **kotlin.String** | IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and required. | [optional] | +| **traits** | **kotlin.String** | The identity traits. This is a placeholder for the registration flow. | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | +| **upstreamParameters** | **kotlin.String** | UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithPasskeyMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithPasskeyMethod.md new file mode 100644 index 00000000000..e76b2bc4986 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithPasskeyMethod.md @@ -0,0 +1,12 @@ + +# UpdateLoginFlowWithPasskeyMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | **kotlin.String** | Method should be set to \"passkey\" when logging in using the Passkey strategy. | | +| **csrfToken** | **kotlin.String** | Sending the anti-csrf token is only required for browser login flows. | [optional] | +| **passkeyLogin** | **kotlin.String** | Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithPasswordMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithPasswordMethod.md new file mode 100644 index 00000000000..29734755c9a --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithPasswordMethod.md @@ -0,0 +1,15 @@ + +# UpdateLoginFlowWithPasswordMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **identifier** | **kotlin.String** | Identifier is the email or username of the user trying to log in. | | +| **method** | **kotlin.String** | Method should be set to \"password\" when logging in using the identifier and password strategy. | | +| **password** | **kotlin.String** | The user's password. | | +| **csrfToken** | **kotlin.String** | Sending the anti-csrf token is only required for browser login flows. | [optional] | +| **passwordIdentifier** | **kotlin.String** | Identifier is the email or username of the user trying to log in. This field is deprecated! | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithTotpMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithTotpMethod.md new file mode 100644 index 00000000000..451b2d9a8cb --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithTotpMethod.md @@ -0,0 +1,13 @@ + +# UpdateLoginFlowWithTotpMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | **kotlin.String** | Method should be set to \"totp\" when logging in using the TOTP strategy. | | +| **totpCode** | **kotlin.String** | The TOTP code. | | +| **csrfToken** | **kotlin.String** | Sending the anti-csrf token is only required for browser login flows. | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithWebAuthnMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithWebAuthnMethod.md new file mode 100644 index 00000000000..5566baced6c --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateLoginFlowWithWebAuthnMethod.md @@ -0,0 +1,14 @@ + +# UpdateLoginFlowWithWebAuthnMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **identifier** | **kotlin.String** | Identifier is the email or username of the user trying to log in. | | +| **method** | **kotlin.String** | Method should be set to \"webAuthn\" when logging in using the WebAuthn strategy. | | +| **csrfToken** | **kotlin.String** | Sending the anti-csrf token is only required for browser login flows. | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | +| **webauthnLogin** | **kotlin.String** | Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateRecoveryFlowBody.md b/clients/client/kotlin-multiplatform/docs/UpdateRecoveryFlowBody.md new file mode 100644 index 00000000000..d626d8fe28b --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateRecoveryFlowBody.md @@ -0,0 +1,21 @@ + +# UpdateRecoveryFlowBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **email** | **kotlin.String** | The email address of the account to recover If the email belongs to a valid account, a recovery email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#attempted-recovery-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email | | +| **method** | [**inline**](#Method) | Method is the method that should be used for this recovery flow Allowed values are `link` and `code`. link RecoveryStrategyLink code RecoveryStrategyCode | | +| **csrfToken** | **kotlin.String** | Sending the anti-csrf token is only required for browser login flows. | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | +| **code** | **kotlin.String** | Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. | [optional] | + + + +## Enum: method +| Name | Value | +| ---- | ----- | +| method | link, code | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateRecoveryFlowWithCodeMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateRecoveryFlowWithCodeMethod.md new file mode 100644 index 00000000000..4088a4d028e --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateRecoveryFlowWithCodeMethod.md @@ -0,0 +1,21 @@ + +# UpdateRecoveryFlowWithCodeMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | [**inline**](#Method) | Method is the method that should be used for this recovery flow Allowed values are `link` and `code`. link RecoveryStrategyLink code RecoveryStrategyCode | | +| **code** | **kotlin.String** | Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. | [optional] | +| **csrfToken** | **kotlin.String** | Sending the anti-csrf token is only required for browser login flows. | [optional] | +| **email** | **kotlin.String** | The email address of the account to recover If the email belongs to a valid account, a recovery email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#attempted-recovery-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | + + + +## Enum: method +| Name | Value | +| ---- | ----- | +| method | link, code | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateRecoveryFlowWithLinkMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateRecoveryFlowWithLinkMethod.md new file mode 100644 index 00000000000..9e688794f87 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateRecoveryFlowWithLinkMethod.md @@ -0,0 +1,20 @@ + +# UpdateRecoveryFlowWithLinkMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **email** | **kotlin.String** | Email to Recover Needs to be set when initiating the flow. If the email is a registered recovery email, a recovery link will be sent. If the email is not known, a email with details on what happened will be sent instead. format: email | | +| **method** | [**inline**](#Method) | Method is the method that should be used for this recovery flow Allowed values are `link` and `code` link RecoveryStrategyLink code RecoveryStrategyCode | | +| **csrfToken** | **kotlin.String** | Sending the anti-csrf token is only required for browser login flows. | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | + + + +## Enum: method +| Name | Value | +| ---- | ----- | +| method | link, code | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowBody.md b/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowBody.md new file mode 100644 index 00000000000..015a1c3aa48 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowBody.md @@ -0,0 +1,31 @@ + +# UpdateRegistrationFlowBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | **kotlin.String** | Method Should be set to profile when trying to update a profile. | | +| **password** | **kotlin.String** | Password to sign the user up with | | +| **traits** | **kotlin.String** | Traits The identity's traits. | | +| **provider** | **kotlin.String** | The provider to register with | | +| **csrfToken** | **kotlin.String** | The Anti-CSRF Token This token is only required when performing browser flows. | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | +| **idToken** | **kotlin.String** | IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple Google | [optional] | +| **idTokenNonce** | **kotlin.String** | IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and is required. | [optional] | +| **upstreamParameters** | **kotlin.String** | UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. | [optional] | +| **webauthnRegister** | **kotlin.String** | Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional] | +| **webauthnRegisterDisplayname** | **kotlin.String** | Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. | [optional] | +| **code** | **kotlin.String** | The OTP Code sent to the user | [optional] | +| **resend** | **kotlin.String** | Resend restarts the flow with a new code | [optional] | +| **passkeyRegister** | **kotlin.String** | Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional] | +| **screen** | [**inline**](#Screen) | Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious | [optional] | + + + +## Enum: screen +| Name | Value | +| ---- | ----- | +| screen | credential-selection, previous | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowWithCodeMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowWithCodeMethod.md new file mode 100644 index 00000000000..5cb443bd9ec --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowWithCodeMethod.md @@ -0,0 +1,15 @@ + +# UpdateRegistrationFlowWithCodeMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | **kotlin.String** | Method to use This field must be set to `code` when using the code method. | | +| **traits** | **kotlin.String** | The identity's traits | | +| **code** | **kotlin.String** | The OTP Code sent to the user | [optional] | +| **csrfToken** | **kotlin.String** | The CSRF Token | [optional] | +| **resend** | **kotlin.String** | Resend restarts the flow with a new code | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowWithOidcMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowWithOidcMethod.md new file mode 100644 index 00000000000..5450d27f5cb --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowWithOidcMethod.md @@ -0,0 +1,17 @@ + +# UpdateRegistrationFlowWithOidcMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | **kotlin.String** | Method to use This field must be set to `oidc` when using the oidc method. | | +| **provider** | **kotlin.String** | The provider to register with | | +| **csrfToken** | **kotlin.String** | The CSRF Token | [optional] | +| **idToken** | **kotlin.String** | IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple Google | [optional] | +| **idTokenNonce** | **kotlin.String** | IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and is required. | [optional] | +| **traits** | **kotlin.String** | The identity traits | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | +| **upstreamParameters** | **kotlin.String** | UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowWithPasskeyMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowWithPasskeyMethod.md new file mode 100644 index 00000000000..b2d40bfe32f --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowWithPasskeyMethod.md @@ -0,0 +1,14 @@ + +# UpdateRegistrationFlowWithPasskeyMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | **kotlin.String** | Method Should be set to \"passkey\" when trying to add, update, or remove a Passkey. | | +| **traits** | **kotlin.String** | The identity's traits | | +| **csrfToken** | **kotlin.String** | CSRFToken is the anti-CSRF token | [optional] | +| **passkeyRegister** | **kotlin.String** | Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowWithPasswordMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowWithPasswordMethod.md new file mode 100644 index 00000000000..19010cc5939 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowWithPasswordMethod.md @@ -0,0 +1,14 @@ + +# UpdateRegistrationFlowWithPasswordMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | **kotlin.String** | Method to use This field must be set to `password` when using the password method. | | +| **password** | **kotlin.String** | Password to sign the user up with | | +| **traits** | **kotlin.String** | The identity's traits | | +| **csrfToken** | **kotlin.String** | The CSRF Token | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowWithProfileMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowWithProfileMethod.md new file mode 100644 index 00000000000..f181ab0b821 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowWithProfileMethod.md @@ -0,0 +1,21 @@ + +# UpdateRegistrationFlowWithProfileMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | **kotlin.String** | Method Should be set to profile when trying to update a profile. | | +| **traits** | **kotlin.String** | Traits The identity's traits. | | +| **csrfToken** | **kotlin.String** | The Anti-CSRF Token This token is only required when performing browser flows. | [optional] | +| **screen** | [**inline**](#Screen) | Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | + + + +## Enum: screen +| Name | Value | +| ---- | ----- | +| screen | credential-selection, previous | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowWithWebAuthnMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowWithWebAuthnMethod.md new file mode 100644 index 00000000000..16bb6f4f4b9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateRegistrationFlowWithWebAuthnMethod.md @@ -0,0 +1,15 @@ + +# UpdateRegistrationFlowWithWebAuthnMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | **kotlin.String** | Method Should be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing. | | +| **traits** | **kotlin.String** | The identity's traits | | +| **csrfToken** | **kotlin.String** | CSRFToken is the anti-CSRF token | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | +| **webauthnRegister** | **kotlin.String** | Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional] | +| **webauthnRegisterDisplayname** | **kotlin.String** | Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowBody.md b/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowBody.md new file mode 100644 index 00000000000..e30fac0a809 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowBody.md @@ -0,0 +1,29 @@ + +# UpdateSettingsFlowBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | **kotlin.String** | Method Should be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing. | | +| **password** | **kotlin.String** | Password is the updated password | | +| **traits** | **kotlin.String** | The identity's traits in: body | | +| **csrfToken** | **kotlin.String** | CSRFToken is the anti-CSRF token | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | +| **flow** | **kotlin.String** | Flow ID is the flow's ID. in: query | [optional] | +| **link** | **kotlin.String** | Link this provider Either this or `unlink` must be set. type: string in: body | [optional] | +| **unlink** | **kotlin.String** | Unlink this provider Either this or `link` must be set. type: string in: body | [optional] | +| **upstreamParameters** | **kotlin.String** | UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. | [optional] | +| **totpCode** | **kotlin.String** | ValidationTOTP must contain a valid TOTP based on the | [optional] | +| **totpUnlink** | **kotlin.Boolean** | UnlinkTOTP if true will remove the TOTP pairing, effectively removing the credential. This can be used to set up a new TOTP device. | [optional] | +| **webauthnRegister** | **kotlin.String** | Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional] | +| **webauthnRegisterDisplayname** | **kotlin.String** | Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. | [optional] | +| **webauthnRemove** | **kotlin.String** | Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] | +| **lookupSecretConfirm** | **kotlin.Boolean** | If set to true will save the regenerated lookup secrets | [optional] | +| **lookupSecretDisable** | **kotlin.Boolean** | Disables this method if true. | [optional] | +| **lookupSecretRegenerate** | **kotlin.Boolean** | If set to true will regenerate the lookup secrets | [optional] | +| **lookupSecretReveal** | **kotlin.Boolean** | If set to true will reveal the lookup secrets | [optional] | +| **passkeyRemove** | **kotlin.String** | Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] | +| **passkeySettingsRegister** | **kotlin.String** | Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithLookupMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithLookupMethod.md new file mode 100644 index 00000000000..8de054c964b --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithLookupMethod.md @@ -0,0 +1,16 @@ + +# UpdateSettingsFlowWithLookupMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | **kotlin.String** | Method Should be set to \"lookup\" when trying to add, update, or remove a lookup pairing. | | +| **csrfToken** | **kotlin.String** | CSRFToken is the anti-CSRF token | [optional] | +| **lookupSecretConfirm** | **kotlin.Boolean** | If set to true will save the regenerated lookup secrets | [optional] | +| **lookupSecretDisable** | **kotlin.Boolean** | Disables this method if true. | [optional] | +| **lookupSecretRegenerate** | **kotlin.Boolean** | If set to true will regenerate the lookup secrets | [optional] | +| **lookupSecretReveal** | **kotlin.Boolean** | If set to true will reveal the lookup secrets | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithOidcMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithOidcMethod.md new file mode 100644 index 00000000000..7bc23937351 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithOidcMethod.md @@ -0,0 +1,16 @@ + +# UpdateSettingsFlowWithOidcMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | **kotlin.String** | Method Should be set to profile when trying to update a profile. | | +| **flow** | **kotlin.String** | Flow ID is the flow's ID. in: query | [optional] | +| **link** | **kotlin.String** | Link this provider Either this or `unlink` must be set. type: string in: body | [optional] | +| **traits** | **kotlin.String** | The identity's traits in: body | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | +| **unlink** | **kotlin.String** | Unlink this provider Either this or `link` must be set. type: string in: body | [optional] | +| **upstreamParameters** | **kotlin.String** | UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithPasskeyMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithPasskeyMethod.md new file mode 100644 index 00000000000..f59d46081f2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithPasskeyMethod.md @@ -0,0 +1,13 @@ + +# UpdateSettingsFlowWithPasskeyMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | **kotlin.String** | Method Should be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing. | | +| **csrfToken** | **kotlin.String** | CSRFToken is the anti-CSRF token | [optional] | +| **passkeyRemove** | **kotlin.String** | Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] | +| **passkeySettingsRegister** | **kotlin.String** | Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithPasswordMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithPasswordMethod.md new file mode 100644 index 00000000000..fc124bf341c --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithPasswordMethod.md @@ -0,0 +1,13 @@ + +# UpdateSettingsFlowWithPasswordMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | **kotlin.String** | Method Should be set to password when trying to update a password. | | +| **password** | **kotlin.String** | Password is the updated password | | +| **csrfToken** | **kotlin.String** | CSRFToken is the anti-CSRF token | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithProfileMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithProfileMethod.md new file mode 100644 index 00000000000..4a15345f48a --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithProfileMethod.md @@ -0,0 +1,13 @@ + +# UpdateSettingsFlowWithProfileMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | **kotlin.String** | Method Should be set to profile when trying to update a profile. | | +| **traits** | **kotlin.String** | Traits The identity's traits. | | +| **csrfToken** | **kotlin.String** | The Anti-CSRF Token This token is only required when performing browser flows. | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithTotpMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithTotpMethod.md new file mode 100644 index 00000000000..c1a965c4956 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithTotpMethod.md @@ -0,0 +1,14 @@ + +# UpdateSettingsFlowWithTotpMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | **kotlin.String** | Method Should be set to \"totp\" when trying to add, update, or remove a totp pairing. | | +| **csrfToken** | **kotlin.String** | CSRFToken is the anti-CSRF token | [optional] | +| **totpCode** | **kotlin.String** | ValidationTOTP must contain a valid TOTP based on the | [optional] | +| **totpUnlink** | **kotlin.Boolean** | UnlinkTOTP if true will remove the TOTP pairing, effectively removing the credential. This can be used to set up a new TOTP device. | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithWebAuthnMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithWebAuthnMethod.md new file mode 100644 index 00000000000..6d5b4222db9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateSettingsFlowWithWebAuthnMethod.md @@ -0,0 +1,15 @@ + +# UpdateSettingsFlowWithWebAuthnMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | **kotlin.String** | Method Should be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing. | | +| **csrfToken** | **kotlin.String** | CSRFToken is the anti-CSRF token | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | +| **webauthnRegister** | **kotlin.String** | Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional] | +| **webauthnRegisterDisplayname** | **kotlin.String** | Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. | [optional] | +| **webauthnRemove** | **kotlin.String** | Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateSubscriptionBody.md b/clients/client/kotlin-multiplatform/docs/UpdateSubscriptionBody.md new file mode 100644 index 00000000000..8e84088aab8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateSubscriptionBody.md @@ -0,0 +1,19 @@ + +# UpdateSubscriptionBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **interval** | [**inline**](#Interval) | monthly Monthly yearly Yearly | | +| **plan** | **kotlin.String** | | | +| **returnTo** | **kotlin.String** | | [optional] | + + + +## Enum: interval +| Name | Value | +| ---- | ----- | +| interval | monthly, yearly | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateVerificationFlowBody.md b/clients/client/kotlin-multiplatform/docs/UpdateVerificationFlowBody.md new file mode 100644 index 00000000000..ee67585f38e --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateVerificationFlowBody.md @@ -0,0 +1,21 @@ + +# UpdateVerificationFlowBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **email** | **kotlin.String** | The email address to verify If the email belongs to a valid account, a verifiation email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email | | +| **method** | [**inline**](#Method) | Method is the method that should be used for this verification flow Allowed values are `link` and `code`. link VerificationStrategyLink code VerificationStrategyCode | | +| **csrfToken** | **kotlin.String** | Sending the anti-csrf token is only required for browser login flows. | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | +| **code** | **kotlin.String** | Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. | [optional] | + + + +## Enum: method +| Name | Value | +| ---- | ----- | +| method | link, code | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateVerificationFlowWithCodeMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateVerificationFlowWithCodeMethod.md new file mode 100644 index 00000000000..b615cca6a8c --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateVerificationFlowWithCodeMethod.md @@ -0,0 +1,21 @@ + +# UpdateVerificationFlowWithCodeMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **method** | [**inline**](#Method) | Method is the method that should be used for this verification flow Allowed values are `link` and `code`. link VerificationStrategyLink code VerificationStrategyCode | | +| **code** | **kotlin.String** | Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. | [optional] | +| **csrfToken** | **kotlin.String** | Sending the anti-csrf token is only required for browser login flows. | [optional] | +| **email** | **kotlin.String** | The email address to verify If the email belongs to a valid account, a verifiation email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | + + + +## Enum: method +| Name | Value | +| ---- | ----- | +| method | link, code | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateVerificationFlowWithLinkMethod.md b/clients/client/kotlin-multiplatform/docs/UpdateVerificationFlowWithLinkMethod.md new file mode 100644 index 00000000000..5046b767621 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateVerificationFlowWithLinkMethod.md @@ -0,0 +1,20 @@ + +# UpdateVerificationFlowWithLinkMethod + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **email** | **kotlin.String** | Email to Verify Needs to be set when initiating the flow. If the email is a registered verification email, a verification link will be sent. If the email is not known, a email with details on what happened will be sent instead. format: email | | +| **method** | [**inline**](#Method) | Method is the method that should be used for this verification flow Allowed values are `link` and `code` link VerificationStrategyLink code VerificationStrategyCode | | +| **csrfToken** | **kotlin.String** | Sending the anti-csrf token is only required for browser login flows. | [optional] | +| **transientPayload** | **kotlin.String** | Transient data to pass along to any webhooks | [optional] | + + + +## Enum: method +| Name | Value | +| ---- | ----- | +| method | link, code | + + + diff --git a/clients/client/kotlin-multiplatform/docs/UpdateWorkspaceBody.md b/clients/client/kotlin-multiplatform/docs/UpdateWorkspaceBody.md new file mode 100644 index 00000000000..8ab6fb6ad93 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/UpdateWorkspaceBody.md @@ -0,0 +1,10 @@ + +# UpdateWorkspaceBody + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **name** | **kotlin.String** | The name of the workspace. | | + + + diff --git a/clients/client/kotlin-multiplatform/docs/Usage.md b/clients/client/kotlin-multiplatform/docs/Usage.md new file mode 100644 index 00000000000..af825cbd127 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/Usage.md @@ -0,0 +1,10 @@ + +# Usage + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **genericUsage** | [**GenericUsage**](GenericUsage.md) | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/VerifiableCredentialPrimingResponse.md b/clients/client/kotlin-multiplatform/docs/VerifiableCredentialPrimingResponse.md new file mode 100644 index 00000000000..3048437106f --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/VerifiableCredentialPrimingResponse.md @@ -0,0 +1,17 @@ + +# VerifiableCredentialPrimingResponse + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **cNonce** | **kotlin.String** | | [optional] | +| **cNonceExpiresIn** | **kotlin.Long** | | [optional] | +| **error** | **kotlin.String** | | [optional] | +| **errorDebug** | **kotlin.String** | | [optional] | +| **errorDescription** | **kotlin.String** | | [optional] | +| **errorHint** | **kotlin.String** | | [optional] | +| **format** | **kotlin.String** | | [optional] | +| **statusCode** | **kotlin.Long** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/VerifiableCredentialProof.md b/clients/client/kotlin-multiplatform/docs/VerifiableCredentialProof.md new file mode 100644 index 00000000000..85ae7c69952 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/VerifiableCredentialProof.md @@ -0,0 +1,11 @@ + +# VerifiableCredentialProof + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **jwt** | **kotlin.String** | | [optional] | +| **proofType** | **kotlin.String** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/VerifiableCredentialResponse.md b/clients/client/kotlin-multiplatform/docs/VerifiableCredentialResponse.md new file mode 100644 index 00000000000..81b6ba0254b --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/VerifiableCredentialResponse.md @@ -0,0 +1,11 @@ + +# VerifiableCredentialResponse + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **credentialDraft00** | **kotlin.String** | | [optional] | +| **format** | **kotlin.String** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/VerifiableIdentityAddress.md b/clients/client/kotlin-multiplatform/docs/VerifiableIdentityAddress.md new file mode 100644 index 00000000000..ddcc6b46c8c --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/VerifiableIdentityAddress.md @@ -0,0 +1,24 @@ + +# VerifiableIdentityAddress + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **status** | **kotlin.String** | VerifiableAddressStatus must not exceed 16 characters as that is the limitation in the SQL Schema | | +| **`value`** | **kotlin.String** | The address value example foo@user.com | | +| **verified** | **kotlin.Boolean** | Indicates if the address has already been verified | | +| **via** | [**inline**](#Via) | The delivery method | | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | When this entry was created | [optional] | +| **id** | **kotlin.String** | The ID | [optional] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | When this entry was last updated | [optional] | +| **verifiedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | + + + +## Enum: via +| Name | Value | +| ---- | ----- | +| via | email, sms | + + + diff --git a/clients/client/kotlin-multiplatform/docs/VerificationFlow.md b/clients/client/kotlin-multiplatform/docs/VerificationFlow.md new file mode 100644 index 00000000000..2ca9baaf25b --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/VerificationFlow.md @@ -0,0 +1,19 @@ + +# VerificationFlow + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.String** | ID represents the request's unique ID. When performing the verification flow, this represents the id in the verify ui's query parameter: http://<selfservice.flows.verification.ui_url>?request=<id> type: string format: uuid | | +| **state** | [**kotlin.Any**](.md) | State represents the state of this request: choose_method: ask the user to choose a method (e.g. verify your email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the verification challenge was passed. | | +| **type** | **kotlin.String** | The flow type can either be `api` or `browser`. | | +| **ui** | [**UiContainer**](UiContainer.md) | | | +| **active** | **kotlin.String** | Active, if set, contains the registration method that is being used. It is initially not set. | [optional] | +| **expiresAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | ExpiresAt is the time (UTC) when the request expires. If the user still wishes to verify the address, a new request has to be initiated. | [optional] | +| **issuedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | IssuedAt is the time (UTC) when the request occurred. | [optional] | +| **requestUrl** | **kotlin.String** | RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. | [optional] | +| **returnTo** | **kotlin.String** | ReturnTo contains the requested return_to URL. | [optional] | +| **transientPayload** | **kotlin.String** | TransientPayload is used to pass data from the verification flow to hooks and email templates | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/VerificationFlowState.md b/clients/client/kotlin-multiplatform/docs/VerificationFlowState.md new file mode 100644 index 00000000000..052ce57572a --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/VerificationFlowState.md @@ -0,0 +1,14 @@ + +# VerificationFlowState + +## Enum + + + * `choose_method` (value: `"choose_method"`) + + * `sent_email` (value: `"sent_email"`) + + * `passed_challenge` (value: `"passed_challenge"`) + + + diff --git a/clients/client/kotlin-multiplatform/docs/Version.md b/clients/client/kotlin-multiplatform/docs/Version.md new file mode 100644 index 00000000000..13b62ee9cad --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/Version.md @@ -0,0 +1,10 @@ + +# Version + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **version** | **kotlin.String** | Version is the service's version. | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/Warning.md b/clients/client/kotlin-multiplatform/docs/Warning.md new file mode 100644 index 00000000000..a0ab6b9e235 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/Warning.md @@ -0,0 +1,11 @@ + +# Warning + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **code** | **kotlin.Long** | | [optional] | +| **message** | **kotlin.String** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/WellknownApi.md b/clients/client/kotlin-multiplatform/docs/WellknownApi.md new file mode 100644 index 00000000000..5b6d6c885ee --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/WellknownApi.md @@ -0,0 +1,52 @@ +# WellknownApi + +All URIs are relative to *https://playground.projects.oryapis.com* + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**discoverJsonWebKeys**](WellknownApi.md#discoverJsonWebKeys) | **GET** /.well-known/jwks.json | Discover Well-Known JSON Web Keys | + + + +# **discoverJsonWebKeys** +> JsonWebKeySet discoverJsonWebKeys() + +Discover Well-Known JSON Web Keys + +This endpoint returns JSON Web Keys required to verifying OpenID Connect ID Tokens and, if enabled, OAuth 2.0 JWT Access Tokens. This endpoint can be used with client libraries like [node-jwks-rsa](https://github.com/auth0/node-jwks-rsa) among others. Adding custom keys requires first creating a keyset via the createJsonWebKeySet operation, and then configuring the webfinger.jwks.broadcast_keys configuration value to include the keyset name. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = WellknownApi() +try { + val result : JsonWebKeySet = apiInstance.discoverJsonWebKeys() + println(result) +} catch (e: ClientException) { + println("4xx response calling WellknownApi#discoverJsonWebKeys") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling WellknownApi#discoverJsonWebKeys") + e.printStackTrace() +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**JsonWebKeySet**](JsonWebKeySet.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + diff --git a/clients/client/kotlin-multiplatform/docs/Workspace.md b/clients/client/kotlin-multiplatform/docs/Workspace.md new file mode 100644 index 00000000000..5b1efe71544 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/Workspace.md @@ -0,0 +1,15 @@ + +# Workspace + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | | +| **id** | **kotlin.String** | | | +| **name** | **kotlin.String** | | | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | | +| **subscriptionId** | **kotlin.String** | | [optional] | +| **subscriptionPlan** | **kotlin.String** | | [optional] | + + + diff --git a/clients/client/kotlin-multiplatform/docs/WorkspaceApi.md b/clients/client/kotlin-multiplatform/docs/WorkspaceApi.md new file mode 100644 index 00000000000..aeb34fee30a --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/WorkspaceApi.md @@ -0,0 +1,403 @@ +# WorkspaceApi + +All URIs are relative to *https://playground.projects.oryapis.com* + +| Method | HTTP request | Description | +| ------------- | ------------- | ------------- | +| [**createWorkspace**](WorkspaceApi.md#createWorkspace) | **POST** /workspaces | Create a new workspace | +| [**createWorkspaceApiKey**](WorkspaceApi.md#createWorkspaceApiKey) | **POST** /workspaces/{workspace}/tokens | Create workspace API key | +| [**deleteWorkspaceApiKey**](WorkspaceApi.md#deleteWorkspaceApiKey) | **DELETE** /workspaces/{workspace}/tokens/{token_id} | Delete workspace API key | +| [**getWorkspace**](WorkspaceApi.md#getWorkspace) | **GET** /workspaces/{workspace} | Get a workspace | +| [**listWorkspaceApiKeys**](WorkspaceApi.md#listWorkspaceApiKeys) | **GET** /workspaces/{workspace}/tokens | List a workspace's API keys | +| [**listWorkspaceProjects**](WorkspaceApi.md#listWorkspaceProjects) | **GET** /workspaces/{workspace}/projects | List all projects of a workspace | +| [**listWorkspaces**](WorkspaceApi.md#listWorkspaces) | **GET** /workspaces | List workspaces the user is a member of | +| [**updateWorkspace**](WorkspaceApi.md#updateWorkspace) | **PUT** /workspaces/{workspace} | Update an workspace | + + + +# **createWorkspace** +> Workspace createWorkspace(createWorkspaceBody) + +Create a new workspace + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = WorkspaceApi() +val createWorkspaceBody : CreateWorkspaceBody = // CreateWorkspaceBody | +try { + val result : Workspace = apiInstance.createWorkspace(createWorkspaceBody) + println(result) +} catch (e: ClientException) { + println("4xx response calling WorkspaceApi#createWorkspace") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling WorkspaceApi#createWorkspace") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **createWorkspaceBody** | [**CreateWorkspaceBody**](CreateWorkspaceBody.md)| | [optional] | + +### Return type + +[**Workspace**](Workspace.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **createWorkspaceApiKey** +> WorkspaceApiKey createWorkspaceApiKey(workspace, createWorkspaceApiKeyBody) + +Create workspace API key + +Create an API key for a workspace. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = WorkspaceApi() +val workspace : kotlin.String = workspace_example // kotlin.String | The Workspace ID +val createWorkspaceApiKeyBody : CreateWorkspaceApiKeyBody = // CreateWorkspaceApiKeyBody | +try { + val result : WorkspaceApiKey = apiInstance.createWorkspaceApiKey(workspace, createWorkspaceApiKeyBody) + println(result) +} catch (e: ClientException) { + println("4xx response calling WorkspaceApi#createWorkspaceApiKey") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling WorkspaceApi#createWorkspaceApiKey") + e.printStackTrace() +} +``` + +### Parameters +| **workspace** | **kotlin.String**| The Workspace ID | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **createWorkspaceApiKeyBody** | [**CreateWorkspaceApiKeyBody**](CreateWorkspaceApiKeyBody.md)| | [optional] | + +### Return type + +[**WorkspaceApiKey**](WorkspaceApiKey.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +# **deleteWorkspaceApiKey** +> deleteWorkspaceApiKey(workspace, tokenId) + +Delete workspace API key + +Deletes an API key and immediately removes it. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = WorkspaceApi() +val workspace : kotlin.String = workspace_example // kotlin.String | The Workspace ID or Workspace slug +val tokenId : kotlin.String = tokenId_example // kotlin.String | The Token ID +try { + apiInstance.deleteWorkspaceApiKey(workspace, tokenId) +} catch (e: ClientException) { + println("4xx response calling WorkspaceApi#deleteWorkspaceApiKey") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling WorkspaceApi#deleteWorkspaceApiKey") + e.printStackTrace() +} +``` + +### Parameters +| **workspace** | **kotlin.String**| The Workspace ID or Workspace slug | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **tokenId** | **kotlin.String**| The Token ID | | + +### Return type + +null (empty response body) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **getWorkspace** +> Workspace getWorkspace(workspace) + +Get a workspace + +Any workspace member can access this endpoint. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = WorkspaceApi() +val workspace : kotlin.String = workspace_example // kotlin.String | +try { + val result : Workspace = apiInstance.getWorkspace(workspace) + println(result) +} catch (e: ClientException) { + println("4xx response calling WorkspaceApi#getWorkspace") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling WorkspaceApi#getWorkspace") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **workspace** | **kotlin.String**| | | + +### Return type + +[**Workspace**](Workspace.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **listWorkspaceApiKeys** +> kotlin.collections.List<WorkspaceApiKey> listWorkspaceApiKeys(workspace) + +List a workspace's API keys + +A list of all the workspace's API keys. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = WorkspaceApi() +val workspace : kotlin.String = workspace_example // kotlin.String | The Workspace ID or Workspace slug +try { + val result : kotlin.collections.List = apiInstance.listWorkspaceApiKeys(workspace) + println(result) +} catch (e: ClientException) { + println("4xx response calling WorkspaceApi#listWorkspaceApiKeys") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling WorkspaceApi#listWorkspaceApiKeys") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **workspace** | **kotlin.String**| The Workspace ID or Workspace slug | | + +### Return type + +[**kotlin.collections.List<WorkspaceApiKey>**](WorkspaceApiKey.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **listWorkspaceProjects** +> ListWorkspaceProjects listWorkspaceProjects(workspace) + +List all projects of a workspace + +Any workspace member can access this endpoint. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = WorkspaceApi() +val workspace : kotlin.String = workspace_example // kotlin.String | +try { + val result : ListWorkspaceProjects = apiInstance.listWorkspaceProjects(workspace) + println(result) +} catch (e: ClientException) { + println("4xx response calling WorkspaceApi#listWorkspaceProjects") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling WorkspaceApi#listWorkspaceProjects") + e.printStackTrace() +} +``` + +### Parameters +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **workspace** | **kotlin.String**| | | + +### Return type + +[**ListWorkspaceProjects**](ListWorkspaceProjects.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **listWorkspaces** +> ListWorkspaces listWorkspaces(pageSize, pageToken) + +List workspaces the user is a member of + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = WorkspaceApi() +val pageSize : kotlin.Long = 789 // kotlin.Long | Items per Page 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). +val pageToken : kotlin.String = pageToken_example // kotlin.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). +try { + val result : ListWorkspaces = apiInstance.listWorkspaces(pageSize, pageToken) + println(result) +} catch (e: ClientException) { + println("4xx response calling WorkspaceApi#listWorkspaces") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling WorkspaceApi#listWorkspaces") + e.printStackTrace() +} +``` + +### Parameters +| **pageSize** | **kotlin.Long**| Items per Page 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 250L] | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **pageToken** | **kotlin.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] | + +### Return type + +[**ListWorkspaces**](ListWorkspaces.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +# **updateWorkspace** +> Workspace updateWorkspace(workspace, updateWorkspaceBody) + +Update an workspace + +Workspace members with the role `OWNER` can access this endpoint. + +### Example +```kotlin +// Import classes: +//import sh.ory.client-kotlin-multiplatform.infrastructure.* +//import sh.ory.client-kotlin-multiplatform.models.* + +val apiInstance = WorkspaceApi() +val workspace : kotlin.String = workspace_example // kotlin.String | +val updateWorkspaceBody : UpdateWorkspaceBody = // UpdateWorkspaceBody | +try { + val result : Workspace = apiInstance.updateWorkspace(workspace, updateWorkspaceBody) + println(result) +} catch (e: ClientException) { + println("4xx response calling WorkspaceApi#updateWorkspace") + e.printStackTrace() +} catch (e: ServerException) { + println("5xx response calling WorkspaceApi#updateWorkspace") + e.printStackTrace() +} +``` + +### Parameters +| **workspace** | **kotlin.String**| | | +| Name | Type | Description | Notes | +| ------------- | ------------- | ------------- | ------------- | +| **updateWorkspaceBody** | [**UpdateWorkspaceBody**](UpdateWorkspaceBody.md)| | [optional] | + +### Return type + +[**Workspace**](Workspace.md) + +### Authorization + + +Configure oryWorkspaceApiKey: + ApiClient.accessToken = "" + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + diff --git a/clients/client/kotlin-multiplatform/docs/WorkspaceApiKey.md b/clients/client/kotlin-multiplatform/docs/WorkspaceApiKey.md new file mode 100644 index 00000000000..e07751cad18 --- /dev/null +++ b/clients/client/kotlin-multiplatform/docs/WorkspaceApiKey.md @@ -0,0 +1,17 @@ + +# WorkspaceApiKey + +## Properties +| Name | Type | Description | Notes | +| ------------ | ------------- | ------------- | ------------- | +| **id** | **kotlin.String** | The key's ID. | [readonly] | +| **name** | **kotlin.String** | The API key's Name Set this to help you remember, for example, where you use the API key. | | +| **ownerId** | **kotlin.String** | The key's owner | [readonly] | +| **createdAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The API key's creation date | [optional] [readonly] | +| **expiresAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | | [optional] | +| **updatedAt** | [**kotlinx.datetime.Instant**](kotlinx.datetime.Instant.md) | The API key's last update date | [optional] [readonly] | +| **`value`** | **kotlin.String** | The key's value | [optional] [readonly] | +| **workspaceId** | **kotlin.String** | The API key's workspace ID | [optional] [readonly] | + + + diff --git a/clients/client/kotlin-multiplatform/gradle/wrapper/gradle-wrapper.jar b/clients/client/kotlin-multiplatform/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 00000000000..d64cd491770 Binary files /dev/null and b/clients/client/kotlin-multiplatform/gradle/wrapper/gradle-wrapper.jar differ diff --git a/clients/client/kotlin-multiplatform/gradle/wrapper/gradle-wrapper.properties b/clients/client/kotlin-multiplatform/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 00000000000..e7646dead06 --- /dev/null +++ b/clients/client/kotlin-multiplatform/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,7 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip +networkTimeout=10000 +validateDistributionUrl=true +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/clients/client/kotlin-multiplatform/gradlew b/clients/client/kotlin-multiplatform/gradlew new file mode 100755 index 00000000000..9d0ce634cb1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/gradlew @@ -0,0 +1,249 @@ +#!/bin/sh + +# +# Copyright © 2015-2021 the original authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +############################################################################## +# +# Gradle start up script for POSIX generated by Gradle. +# +# Important for running: +# +# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is +# noncompliant, but you have some other compliant shell such as ksh or +# bash, then to run this script, type that shell name before the whole +# command line, like: +# +# ksh Gradle +# +# Busybox and similar reduced shells will NOT work, because this script +# requires all of these POSIX shell features: +# * functions; +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». +# +# Important for patching: +# +# (2) This script targets any POSIX shell, so it avoids extensions provided +# by Bash, Ksh, etc; in particular arrays are avoided. +# +# The "traditional" practice of packing multiple parameters into a +# space-separated string is a well documented source of bugs and security +# problems, so this is (mostly) avoided, by progressively accumulating +# options in "$@", and eventually passing that to Java. +# +# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, +# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; +# see the in-line comments for details. +# +# There are tweaks for specific operating systems such as AIX, CygWin, +# Darwin, MinGW, and NonStop. +# +# (3) This script is generated from the Groovy template +# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# within the Gradle project. +# +# You can find Gradle at https://github.com/gradle/gradle/. +# +############################################################################## + +# Attempt to set APP_HOME + +# Resolve links: $0 may be a link +app_path=$0 + +# Need this for daisy-chained symlinks. +while +APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path +[ -h "$app_path" ] +do +ls=$( ls -ld "$app_path" ) +link=${ls#*' -> '} +case $link in #( +/*) app_path=$link ;; #( +*) app_path=$APP_HOME$link ;; +esac +done + +# This is normally unused +# shellcheck disable=SC2034 +APP_BASE_NAME=${0##*/} +# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) +APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD=maximum + +warn () { +echo "$*" +} >&2 + +die () { +echo +echo "$*" +echo +exit 1 +} >&2 + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "$( uname )" in #( +CYGWIN* ) cygwin=true ;; #( +Darwin* ) darwin=true ;; #( +MSYS* | MINGW* ) msys=true ;; #( +NONSTOP* ) nonstop=true ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then +if [ -x "$JAVA_HOME/jre/sh/java" ] ; then +# IBM's JDK on AIX uses strange locations for the executables +JAVACMD=$JAVA_HOME/jre/sh/java +else +JAVACMD=$JAVA_HOME/bin/java +fi +if [ ! -x "$JAVACMD" ] ; then +die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi +else +JAVACMD=java +if ! command -v java >/dev/null 2>&1 +then +die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi +fi + +# Increase the maximum file descriptors if we can. +if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then +case $MAX_FD in #( +max*) +# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. +# shellcheck disable=SC2039,SC3045 +MAX_FD=$( ulimit -H -n ) || +warn "Could not query maximum file descriptor limit" +esac +case $MAX_FD in #( +'' | soft) :;; #( +*) +# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. +# shellcheck disable=SC2039,SC3045 +ulimit -n "$MAX_FD" || +warn "Could not set maximum file descriptor limit to $MAX_FD" +esac +fi + +# Collect all arguments for the java command, stacking in reverse order: +# * args from the command line +# * the main class name +# * -classpath +# * -D...appname settings +# * --module-path (only if needed) +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. + +# For Cygwin or MSYS, switch paths to Windows format before running java +if "$cygwin" || "$msys" ; then +APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) +CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) + +JAVACMD=$( cygpath --unix "$JAVACMD" ) + +# Now convert the arguments - kludge to limit ourselves to /bin/sh +for arg do +if +case $arg in #( +-*) false ;; # don't mess with options #( +/?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath +[ -e "$t" ] ;; #( +*) false ;; +esac +then +arg=$( cygpath --path --ignore --mixed "$arg" ) +fi +# Roll the args list around exactly as many times as the number of +# args, so each arg winds up back in the position where it started, but +# possibly modified. +# +# NB: a `for` loop captures its iteration list before it begins, so +# changing the positional parameters here affects neither the number of +# iterations, nor the values presented in `arg`. +shift # remove old arg +set -- "$@" "$arg" # push replacement arg +done +fi + + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Collect all arguments for the java command: +# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, +# and any embedded shellness will be escaped. +# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be +# treated as '${Hostname}' itself on the command line. + +set -- \ +"-Dorg.gradle.appname=$APP_BASE_NAME" \ +-classpath "$CLASSPATH" \ +org.gradle.wrapper.GradleWrapperMain \ +"$@" + +# Stop when "xargs" is not available. +if ! command -v xargs >/dev/null 2>&1 +then +die "xargs is not available" +fi + +# Use "xargs" to parse quoted args. +# +# With -n1 it outputs one arg per line, with the quotes and backslashes removed. +# +# In Bash we could simply go: +# +# readarray ARGS < <( xargs -n1 <<<"$var" ) && +# set -- "${ARGS[@]}" "$@" +# +# but POSIX shell has neither arrays nor command substitution, so instead we +# post-process each arg (as a line of input to sed) to backslash-escape any +# character that might be a shell metacharacter, then use eval to reverse +# that process (while maintaining the separation between arguments), and wrap +# the whole thing up as a single "set" statement. +# +# This will of course break if any of these variables contains a newline or +# an unmatched quote. +# + +eval "set -- $( +printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | +xargs -n1 | +sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | +tr '\n' ' ' +)" '"$@"' + +exec "$JAVACMD" "$@" diff --git a/clients/client/kotlin-multiplatform/gradlew.bat b/clients/client/kotlin-multiplatform/gradlew.bat new file mode 100644 index 00000000000..107acd32c4e --- /dev/null +++ b/clients/client/kotlin-multiplatform/gradlew.bat @@ -0,0 +1,89 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/clients/client/kotlin-multiplatform/settings.gradle.kts b/clients/client/kotlin-multiplatform/settings.gradle.kts new file mode 100644 index 00000000000..f58e06223e4 --- /dev/null +++ b/clients/client/kotlin-multiplatform/settings.gradle.kts @@ -0,0 +1 @@ +rootProject.name = "client-kotlin-multiplatform" diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/CourierApi.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/CourierApi.kt new file mode 100644 index 00000000000..cf529d2d8b7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/CourierApi.kt @@ -0,0 +1,129 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import sh.ory.client-kotlin-multiplatform.models.CourierMessageStatus +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric +import sh.ory.client-kotlin-multiplatform.models.Message + +import sh.ory.client-kotlin-multiplatform.infrastructure.* +import io.ktor.client.HttpClient +import io.ktor.client.HttpClientConfig +import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json +import io.ktor.http.ParametersBuilder +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +open class CourierApi : ApiClient { + + constructor( + baseUrl: String = ApiClient.BASE_URL, + httpClientEngine: HttpClientEngine? = null, + httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, + jsonSerializer: Json = ApiClient.JSON_DEFAULT + ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) + + constructor( + baseUrl: String, + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) + + /** + * Get a Message + * Gets a specific messages by the given ID. + * @param id MessageID is the ID of the message. + * @return Message + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getCourierMessage(id: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/admin/courier/messages/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * List Messages + * Lists all messages by given status and recipient. + * @param pageSize Items per Page 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 250L) + * @param 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). (optional) + * @param status Status filters out messages based on status. If no value is provided, it doesn't take effect on filter. (optional) + * @param recipient Recipient filters out messages based on recipient. If no value is provided, it doesn't take effect on filter. (optional) + * @return kotlin.collections.List + */ + @Suppress("UNCHECKED_CAST") + open suspend fun listCourierMessages(pageSize: kotlin.Long? = 250L, pageToken: kotlin.String? = null, status: CourierMessageStatus? = null, recipient: kotlin.String? = null): HttpResponse> { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + pageSize?.apply { localVariableQuery["page_size"] = listOf("$pageSize") } + pageToken?.apply { localVariableQuery["page_token"] = listOf("$pageToken") } + status?.apply { localVariableQuery["status"] = listOf("$status") } + recipient?.apply { localVariableQuery["recipient"] = listOf("$recipient") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/admin/courier/messages", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap().map { value } + } + + @Serializable(ListCourierMessagesResponse.Companion::class) + private class ListCourierMessagesResponse(val value: List) { + companion object : KSerializer { + private val serializer: KSerializer> = serializer>() + override val descriptor = serializer.descriptor + override fun serialize(encoder: Encoder, value: ListCourierMessagesResponse) = serializer.serialize(encoder, value.value) + override fun deserialize(decoder: Decoder) = ListCourierMessagesResponse(serializer.deserialize(decoder)) + } + } + +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/EventsApi.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/EventsApi.kt new file mode 100644 index 00000000000..b6314b21d0b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/EventsApi.kt @@ -0,0 +1,184 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import sh.ory.client-kotlin-multiplatform.models.CreateEventStreamBody +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric +import sh.ory.client-kotlin-multiplatform.models.EventStream +import sh.ory.client-kotlin-multiplatform.models.ListEventStreams +import sh.ory.client-kotlin-multiplatform.models.SetEventStreamBody + +import sh.ory.client-kotlin-multiplatform.infrastructure.* +import io.ktor.client.HttpClient +import io.ktor.client.HttpClientConfig +import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json +import io.ktor.http.ParametersBuilder +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +open class EventsApi : ApiClient { + + constructor( + baseUrl: String = ApiClient.BASE_URL, + httpClientEngine: HttpClientEngine? = null, + httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, + jsonSerializer: Json = ApiClient.JSON_DEFAULT + ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) + + constructor( + baseUrl: String, + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) + + /** + * Create an event stream for your project. + * + * @param projectId Project ID The project's ID. + * @param createEventStreamBody + * @return EventStream + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createEventStream(projectId: kotlin.String, createEventStreamBody: CreateEventStreamBody): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = createEventStreamBody + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/projects/{project_id}/eventstreams".replace("{" + "project_id" + "}", "$projectId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Remove an event stream from a project + * Remove an event stream from a project. + * @param projectId Project ID The project's ID. + * @param eventStreamId Event Stream ID The ID of the event stream to be deleted, as returned when created. + * @return void + */ + open suspend fun deleteEventStream(projectId: kotlin.String, eventStreamId: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/projects/{project_id}/eventstreams/{event_stream_id}".replace("{" + "project_id" + "}", "$projectId").replace("{" + "event_stream_id" + "}", "$eventStreamId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * List all event streams for the project. This endpoint is not paginated. + * + * @param projectId Project ID The project's ID. + * @return ListEventStreams + */ + @Suppress("UNCHECKED_CAST") + open suspend fun listEventStreams(projectId: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/projects/{project_id}/eventstreams".replace("{" + "project_id" + "}", "$projectId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Update an event stream for a project. + * + * @param projectId Project ID The project's ID. + * @param eventStreamId Event Stream ID The event stream's ID. + * @param setEventStreamBody (optional) + * @return EventStream + */ + @Suppress("UNCHECKED_CAST") + open suspend fun setEventStream(projectId: kotlin.String, eventStreamId: kotlin.String, setEventStreamBody: SetEventStreamBody? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = setEventStreamBody + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/projects/{project_id}/eventstreams/{event_stream_id}".replace("{" + "project_id" + "}", "$projectId").replace("{" + "event_stream_id" + "}", "$eventStreamId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/FrontendApi.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/FrontendApi.kt new file mode 100644 index 00000000000..ee31b3f71ac --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/FrontendApi.kt @@ -0,0 +1,1182 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import sh.ory.client-kotlin-multiplatform.models.DeleteMySessionsCount +import sh.ory.client-kotlin-multiplatform.models.ErrorBrowserLocationChangeRequired +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric +import sh.ory.client-kotlin-multiplatform.models.FlowError +import sh.ory.client-kotlin-multiplatform.models.LoginFlow +import sh.ory.client-kotlin-multiplatform.models.LogoutFlow +import sh.ory.client-kotlin-multiplatform.models.PerformNativeLogoutBody +import sh.ory.client-kotlin-multiplatform.models.RecoveryFlow +import sh.ory.client-kotlin-multiplatform.models.RegistrationFlow +import sh.ory.client-kotlin-multiplatform.models.Session +import sh.ory.client-kotlin-multiplatform.models.SettingsFlow +import sh.ory.client-kotlin-multiplatform.models.SuccessfulNativeLogin +import sh.ory.client-kotlin-multiplatform.models.SuccessfulNativeRegistration +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowBody +import sh.ory.client-kotlin-multiplatform.models.UpdateRecoveryFlowBody +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowBody +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowBody +import sh.ory.client-kotlin-multiplatform.models.UpdateVerificationFlowBody +import sh.ory.client-kotlin-multiplatform.models.VerificationFlow + +import sh.ory.client-kotlin-multiplatform.infrastructure.* +import io.ktor.client.HttpClient +import io.ktor.client.HttpClientConfig +import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json +import io.ktor.http.ParametersBuilder +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +open class FrontendApi : ApiClient { + + constructor( + baseUrl: String = ApiClient.BASE_URL, + httpClientEngine: HttpClientEngine? = null, + httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, + jsonSerializer: Json = ApiClient.JSON_DEFAULT + ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) + + constructor( + baseUrl: String, + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) + + /** + * Create Login Flow for Browsers + * This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! The optional query parameter login_challenge is set when using Kratos with Hydra in an OAuth2 flow. See the oauth2_provider.url configuration option. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). + * @param refresh Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session. (optional) + * @param aal Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session's authenticator assurance level (AAL). This allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password, the AAL is 1. If you wish to \"upgrade\" the session's security by asking the user to perform TOTP / WebAuth/ ... you would set this to \"aal2\". (optional) + * @param returnTo The URL to return the browser to after the flow was completed. (optional) + * @param cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. (optional) + * @param loginChallenge 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`). (optional) + * @param organization An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network. (optional) + * @param via 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 LoginFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createBrowserLoginFlow(refresh: kotlin.Boolean? = null, aal: kotlin.String? = null, returnTo: kotlin.String? = null, cookie: kotlin.String? = null, loginChallenge: kotlin.String? = null, organization: kotlin.String? = null, via: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + refresh?.apply { localVariableQuery["refresh"] = listOf("$refresh") } + aal?.apply { localVariableQuery["aal"] = listOf("$aal") } + returnTo?.apply { localVariableQuery["return_to"] = listOf("$returnTo") } + loginChallenge?.apply { localVariableQuery["login_challenge"] = listOf("$loginChallenge") } + organization?.apply { localVariableQuery["organization"] = listOf("$organization") } + via?.apply { localVariableQuery["via"] = listOf("$via") } + val localVariableHeaders = mutableMapOf() + cookie?.apply { localVariableHeaders["Cookie"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/self-service/login/browser", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Create a Logout URL for Browsers + * This endpoint initializes a browser-based user logout flow and a URL which can be used to log out the user. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. The URL is only valid for the currently signed in user. If no user is signed in, this endpoint returns a 401 error. When calling this endpoint from a backend, please ensure to properly forward the HTTP cookies. + * @param cookie HTTP Cookies If you call this endpoint from a backend, please include the original Cookie header in the request. (optional) + * @param returnTo Return to URL The URL to which the browser should be redirected to after the logout has been performed. (optional) + * @return LogoutFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createBrowserLogoutFlow(cookie: kotlin.String? = null, returnTo: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + returnTo?.apply { localVariableQuery["return_to"] = listOf("$returnTo") } + val localVariableHeaders = mutableMapOf() + cookie?.apply { localVariableHeaders["cookie"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/self-service/logout/browser", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Create Recovery Flow for Browsers + * This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to `selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists, the browser is returned to the configured return URL. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects or a 400 bad request error if the user is already authenticated. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery). + * @param returnTo The URL to return the browser to after the flow was completed. (optional) + * @return RecoveryFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createBrowserRecoveryFlow(returnTo: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + returnTo?.apply { localVariableQuery["return_to"] = listOf("$returnTo") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/self-service/recovery/browser", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Create Registration Flow for Browsers + * This endpoint initializes a browser-based user registration flow. This endpoint will set the appropriate cookies and anti-CSRF measures required for browser-based flows. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.registration.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url`. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect. This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). + * @param returnTo The URL to return the browser to after the flow was completed. (optional) + * @param loginChallenge 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) + * @param afterVerificationReturnTo 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) + * @param organization An optional organization ID that should be used to register this user. This parameter is only effective in the Ory Network. (optional) + * @return RegistrationFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createBrowserRegistrationFlow(returnTo: kotlin.String? = null, loginChallenge: kotlin.String? = null, afterVerificationReturnTo: kotlin.String? = null, organization: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + returnTo?.apply { localVariableQuery["return_to"] = listOf("$returnTo") } + loginChallenge?.apply { localVariableQuery["login_challenge"] = listOf("$loginChallenge") } + afterVerificationReturnTo?.apply { localVariableQuery["after_verification_return_to"] = listOf("$afterVerificationReturnTo") } + organization?.apply { localVariableQuery["organization"] = listOf("$organization") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/self-service/registration/browser", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Create Settings Flow for Browsers + * This endpoint initializes a browser-based user settings flow. Once initialized, the browser will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid Ory Kratos Session Cookie is included in the request, a login flow will be initialized. If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid user session was set, the browser will be redirected to the login endpoint. If this endpoint is called via an AJAX request, the response contains the settings flow without any redirects or a 401 forbidden error if no valid session was set. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed. More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings). + * @param returnTo The URL to return the browser to after the flow was completed. (optional) + * @param cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. (optional) + * @return SettingsFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createBrowserSettingsFlow(returnTo: kotlin.String? = null, cookie: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + returnTo?.apply { localVariableQuery["return_to"] = listOf("$returnTo") } + val localVariableHeaders = mutableMapOf() + cookie?.apply { localVariableHeaders["Cookie"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/self-service/settings/browser", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Create Verification Flow for Browser Clients + * This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to `selfservice.flows.verification.ui_url` with the flow ID set as the query parameter `?flow=`. If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation). + * @param returnTo The URL to return the browser to after the flow was completed. (optional) + * @return VerificationFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createBrowserVerificationFlow(returnTo: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + returnTo?.apply { localVariableQuery["return_to"] = listOf("$returnTo") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/self-service/verification/browser", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Create Login Flow for Native Apps + * This endpoint initiates a login flow for native apps that do not use a browser, such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing login flow call `/self-service/login/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, including CSRF login attacks. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. 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 Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). + * @param refresh Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session. (optional) + * @param aal Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session's authenticator assurance level (AAL). This allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password, the AAL is 1. If you wish to \"upgrade\" the session's security by asking the user to perform TOTP / WebAuth/ ... you would set this to \"aal2\". (optional) + * @param xSessionToken The Session Token of the Identity performing the settings flow. (optional) + * @param returnSessionTokenExchangeCode 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) + * @param returnTo The URL to return the browser to after the flow was completed. (optional) + * @param organization An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network. (optional) + * @param via 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 LoginFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createNativeLoginFlow(refresh: kotlin.Boolean? = null, aal: kotlin.String? = null, xSessionToken: kotlin.String? = null, returnSessionTokenExchangeCode: kotlin.Boolean? = null, returnTo: kotlin.String? = null, organization: kotlin.String? = null, via: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + refresh?.apply { localVariableQuery["refresh"] = listOf("$refresh") } + aal?.apply { localVariableQuery["aal"] = listOf("$aal") } + returnSessionTokenExchangeCode?.apply { localVariableQuery["return_session_token_exchange_code"] = listOf("$returnSessionTokenExchangeCode") } + returnTo?.apply { localVariableQuery["return_to"] = listOf("$returnTo") } + organization?.apply { localVariableQuery["organization"] = listOf("$organization") } + via?.apply { localVariableQuery["via"] = listOf("$via") } + val localVariableHeaders = mutableMapOf() + xSessionToken?.apply { localVariableHeaders["X-Session-Token"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/self-service/login/api", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Create Recovery Flow for Native Apps + * This endpoint initiates a recovery flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error. On an existing recovery flow, use the `getRecoveryFlow` API endpoint. 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 Kratos Account Recovery Documentation](../self-service/flows/account-recovery). + * @return RecoveryFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createNativeRecoveryFlow(): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/self-service/recovery/api", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Create Registration Flow for Native Apps + * This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on. If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set. To fetch an existing registration flow call `/self-service/registration/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. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. 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 Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). + * @param returnSessionTokenExchangeCode 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) + * @param returnTo The URL to return the browser to after the flow was completed. (optional) + * @param organization An optional organization ID that should be used to register this user. This parameter is only effective in the Ory Network. (optional) + * @return RegistrationFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createNativeRegistrationFlow(returnSessionTokenExchangeCode: kotlin.Boolean? = null, returnTo: kotlin.String? = null, organization: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + returnSessionTokenExchangeCode?.apply { localVariableQuery["return_session_token_exchange_code"] = listOf("$returnSessionTokenExchangeCode") } + returnTo?.apply { localVariableQuery["return_to"] = listOf("$returnTo") } + organization?.apply { localVariableQuery["organization"] = listOf("$organization") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/self-service/registration/api", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Create Settings Flow for Native Apps + * This endpoint initiates a settings flow for API clients such as mobile devices, smart TVs, and so on. You must provide a valid Ory Kratos Session Token for this endpoint to respond with HTTP 200 OK. To fetch an existing settings flow call `/self-service/settings/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. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. In the case of an error, the `error.id` of the JSON response body can be one of: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. 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 Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings). + * @param xSessionToken The Session Token of the Identity performing the settings flow. (optional) + * @return SettingsFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createNativeSettingsFlow(xSessionToken: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + xSessionToken?.apply { localVariableHeaders["X-Session-Token"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/self-service/settings/api", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Create Verification Flow for Native Apps + * 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). + * @param 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. (optional) + * @return VerificationFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createNativeVerificationFlow(returnTo: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + returnTo?.apply { localVariableQuery["return_to"] = listOf("$returnTo") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/self-service/verification/api", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Disable my other sessions + * Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted. + * @param xSessionToken Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`. (optional) + * @param cookie Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored. (optional) + * @return DeleteMySessionsCount + */ + @Suppress("UNCHECKED_CAST") + open suspend fun disableMyOtherSessions(xSessionToken: kotlin.String? = null, cookie: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + xSessionToken?.apply { localVariableHeaders["X-Session-Token"] = this.toString() } + cookie?.apply { localVariableHeaders["Cookie"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/sessions", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Disable one of my sessions + * Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted. + * @param id ID is the session's ID. + * @param xSessionToken Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`. (optional) + * @param cookie Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored. (optional) + * @return void + */ + open suspend fun disableMySession(id: kotlin.String, xSessionToken: kotlin.String? = null, cookie: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + xSessionToken?.apply { localVariableHeaders["X-Session-Token"] = this.toString() } + cookie?.apply { localVariableHeaders["Cookie"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/sessions/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Exchange Session Token + * + * @param initCode The part of the code return when initializing the flow. + * @param returnToCode The part of the code returned by the return_to URL. + * @return SuccessfulNativeLogin + */ + @Suppress("UNCHECKED_CAST") + open suspend fun exchangeSessionToken(initCode: kotlin.String, returnToCode: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + initCode?.apply { localVariableQuery["init_code"] = listOf("$initCode") } + returnToCode?.apply { localVariableQuery["return_to_code"] = listOf("$returnToCode") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/sessions/token-exchange", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get User-Flow Errors + * This endpoint returns the error associated with a user-facing self service errors. This endpoint supports stub values to help you implement the error UI: `?id=stub:500` - returns a stub 500 (Internal Server Error) error. More information can be found at [Ory Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors). + * @param id Error is the error's ID + * @return FlowError + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getFlowError(id: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + id?.apply { localVariableQuery["id"] = listOf("$id") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/self-service/errors", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get Login Flow + * This endpoint returns a login flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/login', async function (req, res) { const flow = await client.getLoginFlow(req.header('cookie'), req.query['flow']) res.render('login', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). + * @param id The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`). + * @param cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. (optional) + * @return LoginFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getLoginFlow(id: kotlin.String, cookie: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + id?.apply { localVariableQuery["id"] = listOf("$id") } + val localVariableHeaders = mutableMapOf() + cookie?.apply { localVariableHeaders["Cookie"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/self-service/login/flows", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get Recovery Flow + * This endpoint returns a recovery flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getRecoveryFlow(req.header('Cookie'), req.query['flow']) res.render('recovery', flow) }) ``` More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery). + * @param id The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`). + * @param cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. (optional) + * @return RecoveryFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getRecoveryFlow(id: kotlin.String, cookie: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + id?.apply { localVariableQuery["id"] = listOf("$id") } + val localVariableHeaders = mutableMapOf() + cookie?.apply { localVariableHeaders["Cookie"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/self-service/recovery/flows", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get Registration Flow + * This endpoint returns a registration flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/registration', async function (req, res) { const flow = await client.getRegistrationFlow(req.header('cookie'), req.query['flow']) res.render('registration', flow) }) ``` This request may fail due to several reasons. The `error.id` can be one of: `session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). + * @param id The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`). + * @param cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. (optional) + * @return RegistrationFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getRegistrationFlow(id: kotlin.String, cookie: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + id?.apply { localVariableQuery["id"] = listOf("$id") } + val localVariableHeaders = mutableMapOf() + cookie?.apply { localVariableHeaders["Cookie"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/self-service/registration/flows", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get Settings Flow + * When accessing this endpoint through Ory Kratos' Public API you must ensure that either the Ory Kratos Session Cookie or the Ory Kratos Session Token are set. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. You can access this endpoint without credentials when using Ory Kratos' Admin API. If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings). + * @param id ID is the Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`). + * @param xSessionToken The Session Token When using the SDK in an app without a browser, please include the session token here. (optional) + * @param cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. (optional) + * @return SettingsFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getSettingsFlow(id: kotlin.String, xSessionToken: kotlin.String? = null, cookie: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + id?.apply { localVariableQuery["id"] = listOf("$id") } + val localVariableHeaders = mutableMapOf() + xSessionToken?.apply { localVariableHeaders["X-Session-Token"] = this.toString() } + cookie?.apply { localVariableHeaders["Cookie"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/self-service/settings/flows", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get Verification Flow + * This endpoint returns a verification flow's context with, for example, error details and other information. Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail. If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint: ```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getVerificationFlow(req.header('cookie'), req.query['flow']) res.render('verification', flow) }) ``` More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation). + * @param id The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`). + * @param cookie HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here. (optional) + * @return VerificationFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getVerificationFlow(id: kotlin.String, cookie: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + id?.apply { localVariableQuery["id"] = listOf("$id") } + val localVariableHeaders = mutableMapOf() + cookie?.apply { localVariableHeaders["cookie"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/self-service/verification/flows", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get WebAuthn JavaScript + * This endpoint provides JavaScript which is needed in order to perform WebAuthn login and registration. If you are building a JavaScript Browser App (e.g. in ReactJS or AngularJS) you will need to load this file: ```html <script src=\"https://public-kratos.example.org/.well-known/ory/webauthn.js\" type=\"script\" async /> ``` More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). + * @return kotlin.String + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getWebAuthnJavaScript(): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/.well-known/ory/webauthn.js", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get My Active Sessions + * This endpoints returns all other active sessions that belong to the logged-in user. The current session can be retrieved by calling the `/sessions/whoami` endpoint. + * @param perPage Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page. (optional, default to 250L) + * @param page Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. (optional) + * @param 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). (optional, default to 250L) + * @param 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). (optional, default to "1") + * @param xSessionToken Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`. (optional) + * @param cookie Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored. (optional) + * @return kotlin.collections.List + */ + @Suppress("UNCHECKED_CAST") + open suspend fun listMySessions(perPage: kotlin.Long? = 250L, page: kotlin.Long? = null, pageSize: kotlin.Long? = 250L, pageToken: kotlin.String? = "1", xSessionToken: kotlin.String? = null, cookie: kotlin.String? = null): HttpResponse> { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + perPage?.apply { localVariableQuery["per_page"] = listOf("$perPage") } + page?.apply { localVariableQuery["page"] = listOf("$page") } + pageSize?.apply { localVariableQuery["page_size"] = listOf("$pageSize") } + pageToken?.apply { localVariableQuery["page_token"] = listOf("$pageToken") } + val localVariableHeaders = mutableMapOf() + xSessionToken?.apply { localVariableHeaders["X-Session-Token"] = this.toString() } + cookie?.apply { localVariableHeaders["Cookie"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/sessions", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap().map { value } + } + + @Serializable(ListMySessionsResponse.Companion::class) + private class ListMySessionsResponse(val value: List) { + companion object : KSerializer { + private val serializer: KSerializer> = serializer>() + override val descriptor = serializer.descriptor + override fun serialize(encoder: Encoder, value: ListMySessionsResponse) = serializer.serialize(encoder, value.value) + override fun deserialize(decoder: Decoder) = ListMySessionsResponse(serializer.deserialize(decoder)) + } + } + + /** + * Perform Logout for Native Apps + * Use this endpoint to log out an identity using an Ory Session Token. If the Ory Session Token was successfully revoked, the server returns a 204 No Content response. A 204 No Content response is also sent when the Ory Session Token has been revoked already before. If the Ory Session Token is malformed or does not exist a 403 Forbidden response will be returned. This endpoint does not remove any HTTP Cookies - use the Browser-Based Self-Service Logout Flow instead. + * @param performNativeLogoutBody + * @return void + */ + open suspend fun performNativeLogout(performNativeLogoutBody: PerformNativeLogoutBody): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = performNativeLogoutBody + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/self-service/logout/api", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Check Who the Current HTTP Session Belongs To + * Uses the HTTP Headers in the GET request to determine (e.g. by using checking the cookies) who is authenticated. Returns a session object in the body or 401 if the credentials are invalid or no credentials were sent. When the request it successful it adds the user ID to the 'X-Kratos-Authenticated-Identity-Id' header in the response. If you call this endpoint from a server-side application, you must forward the HTTP Cookie Header to this endpoint: ```js pseudo-code example router.get('/protected-endpoint', async function (req, res) { const session = await client.toSession(undefined, req.header('cookie')) console.log(session) }) ``` When calling this endpoint from a non-browser application (e.g. mobile app) you must include the session token: ```js pseudo-code example ... const session = await client.toSession(\"the-session-token\") console.log(session) ``` When using a token template, the token is included in the `tokenized` field of the session. ```js pseudo-code example ... const session = await client.toSession(\"the-session-token\", { tokenize_as: \"example-jwt-template\" }) console.log(session.tokenized) // The JWT ``` Depending on your configuration this endpoint might return a 403 status code if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration. This endpoint is useful for: AJAX calls. Remember to send credentials and set up CORS correctly! Reverse proxies and API Gateways Server-side calls - use the `X-Session-Token` header! This endpoint authenticates users by checking: if the `Cookie` HTTP header was set containing an Ory Kratos Session Cookie; if the `Authorization: bearer <ory-session-token>` HTTP header was set with a valid Ory Kratos Session Token; if the `X-Session-Token` HTTP header was set with a valid Ory Kratos Session Token. If none of these headers are set or the cookie or token are invalid, the endpoint returns a HTTP 401 status code. As explained above, this request may fail due to several reasons. The `error.id` can be one of: `session_inactive`: No active session was found in the request (e.g. no Ory Session Cookie / Ory Session Token). `session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor. + * @param xSessionToken Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`. (optional) + * @param cookie Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored. (optional) + * @param tokenizeAs Returns the session additionally as a token (such as a JWT) The value of this parameter has to be a valid, configured Ory Session token template. For more information head over to [the documentation](http://ory.sh/docs/identities/session-to-jwt-cors). (optional) + * @return Session + */ + @Suppress("UNCHECKED_CAST") + open suspend fun toSession(xSessionToken: kotlin.String? = null, cookie: kotlin.String? = null, tokenizeAs: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + tokenizeAs?.apply { localVariableQuery["tokenize_as"] = listOf("$tokenizeAs") } + val localVariableHeaders = mutableMapOf() + xSessionToken?.apply { localVariableHeaders["X-Session-Token"] = this.toString() } + cookie?.apply { localVariableHeaders["Cookie"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/sessions/whoami", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Submit a Login Flow + * Use this endpoint to complete a login flow. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 303 redirect to the login UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). + * @param flow The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`). + * @param updateLoginFlowBody + * @param xSessionToken The Session Token of the Identity performing the settings flow. (optional) + * @param cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. (optional) + * @return SuccessfulNativeLogin + */ + @Suppress("UNCHECKED_CAST") + open suspend fun updateLoginFlow(flow: kotlin.String, updateLoginFlowBody: UpdateLoginFlowBody, xSessionToken: kotlin.String? = null, cookie: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = updateLoginFlowBody + + val localVariableQuery = mutableMapOf>() + flow?.apply { localVariableQuery["flow"] = listOf("$flow") } + val localVariableHeaders = mutableMapOf() + xSessionToken?.apply { localVariableHeaders["X-Session-Token"] = this.toString() } + cookie?.apply { localVariableHeaders["Cookie"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/self-service/login", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Update Logout Flow + * This endpoint logs out an identity in a self-service manner. If the `Accept` HTTP header is not set to `application/json`, the browser will be redirected (HTTP 303 See Other) to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`. If the `Accept` HTTP header is set to `application/json`, a 204 No Content response will be sent on successful logout instead. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. More information can be found at [Ory Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout). + * @param token A Valid Logout Token If you do not have a logout token because you only have a session cookie, call `/self-service/logout/browser` to generate a URL for this endpoint. (optional) + * @param returnTo The URL to return to after the logout was completed. (optional) + * @param cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. (optional) + * @return void + */ + open suspend fun updateLogoutFlow(token: kotlin.String? = null, returnTo: kotlin.String? = null, cookie: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + token?.apply { localVariableQuery["token"] = listOf("$token") } + returnTo?.apply { localVariableQuery["return_to"] = listOf("$returnTo") } + val localVariableHeaders = mutableMapOf() + cookie?.apply { localVariableHeaders["Cookie"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/self-service/logout", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Update Recovery Flow + * Use this endpoint to update a recovery flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid. and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/_*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended. `sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a recovery link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with a new Recovery Flow ID which contains an error message that the recovery link was invalid. More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery). + * @param flow The Recovery Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`). + * @param updateRecoveryFlowBody + * @param token Recovery Token The recovery token which completes the recovery request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call. (optional) + * @param cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. (optional) + * @return RecoveryFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun updateRecoveryFlow(flow: kotlin.String, updateRecoveryFlowBody: UpdateRecoveryFlowBody, token: kotlin.String? = null, cookie: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = updateRecoveryFlowBody + + val localVariableQuery = mutableMapOf>() + flow?.apply { localVariableQuery["flow"] = listOf("$flow") } + token?.apply { localVariableQuery["token"] = listOf("$token") } + val localVariableHeaders = mutableMapOf() + cookie?.apply { localVariableHeaders["Cookie"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/self-service/recovery", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Update Registration Flow + * Use this endpoint to complete a registration flow by sending an identity's traits and password. This endpoint behaves differently for API and browser flows. API flows expect `application/json` to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the `session` and `session_token` will also be included; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors. Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 303 redirect to the registration UI URL with the flow ID containing the validation errors otherwise. Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration). + * @param flow The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`). + * @param updateRegistrationFlowBody + * @param cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. (optional) + * @return SuccessfulNativeRegistration + */ + @Suppress("UNCHECKED_CAST") + open suspend fun updateRegistrationFlow(flow: kotlin.String, updateRegistrationFlowBody: UpdateRegistrationFlowBody, cookie: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = updateRegistrationFlowBody + + val localVariableQuery = mutableMapOf>() + flow?.apply { localVariableQuery["flow"] = listOf("$flow") } + val localVariableHeaders = mutableMapOf() + cookie?.apply { localVariableHeaders["Cookie"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/self-service/registration", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Complete Settings Flow + * Use this endpoint to complete a settings flow by sending an identity's updated password. This endpoint behaves differently for API and browser flows. API-initiated flows expect `application/json` to be sent in the body and respond with HTTP 200 and an application/json body with the session token on success; HTTP 303 redirect to a fresh settings flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. HTTP 401 when the endpoint is called without a valid session token. HTTP 403 when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low. Implies that the user needs to re-authenticate. Browser flows without HTTP Header `Accept` or with `Accept: text/_*` respond with a HTTP 303 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded; a HTTP 303 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise. a HTTP 303 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low. Browser flows with HTTP Header `Accept: application/json` respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 401 when the endpoint is called without a valid session cookie. HTTP 403 when the page is accessed without a session cookie or the session's AAL is too low. HTTP 400 on form validation errors. Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration. If this endpoint is called with a `Accept: application/json` HTTP header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of: `session_refresh_required`: The identity requested to change something that needs a privileged session. Redirect the identity to the login init endpoint with query parameters `?refresh=true&return_to=<the-current-browser-url>`, or initiate a refresh login flow otherwise. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows. More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings). + * @param flow The Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`). + * @param updateSettingsFlowBody + * @param xSessionToken The Session Token of the Identity performing the settings flow. (optional) + * @param cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. (optional) + * @return SettingsFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun updateSettingsFlow(flow: kotlin.String, updateSettingsFlowBody: UpdateSettingsFlowBody, xSessionToken: kotlin.String? = null, cookie: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = updateSettingsFlowBody + + val localVariableQuery = mutableMapOf>() + flow?.apply { localVariableQuery["flow"] = listOf("$flow") } + val localVariableHeaders = mutableMapOf() + xSessionToken?.apply { localVariableHeaders["X-Session-Token"] = this.toString() } + cookie?.apply { localVariableHeaders["Cookie"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/self-service/settings", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Complete Verification Flow + * Use this endpoint to complete a verification flow. This endpoint behaves differently for API and browser flows and has several states: `choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid and a HTTP 303 See Other redirect with a fresh verification flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/_*` it returns a HTTP 303 See Other redirect to the Verification UI URL with the Verification Flow ID appended. `sent_email` is the success state after `choose_method` when using the `link` method and allows the user to request another verification email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a verification link\") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Verification UI URL with a new Verification Flow ID which contains an error message that the verification link was invalid. More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation). + * @param flow The Verification Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`). + * @param updateVerificationFlowBody + * @param token Verification Token The verification token which completes the verification request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call. (optional) + * @param cookie HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. (optional) + * @return VerificationFlow + */ + @Suppress("UNCHECKED_CAST") + open suspend fun updateVerificationFlow(flow: kotlin.String, updateVerificationFlowBody: UpdateVerificationFlowBody, token: kotlin.String? = null, cookie: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = updateVerificationFlowBody + + val localVariableQuery = mutableMapOf>() + flow?.apply { localVariableQuery["flow"] = listOf("$flow") } + token?.apply { localVariableQuery["token"] = listOf("$token") } + val localVariableHeaders = mutableMapOf() + cookie?.apply { localVariableHeaders["Cookie"] = this.toString() } + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/self-service/verification", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/IdentityApi.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/IdentityApi.kt new file mode 100644 index 00000000000..af0ffa5b946 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/IdentityApi.kt @@ -0,0 +1,871 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import sh.ory.client-kotlin-multiplatform.models.BatchPatchIdentitiesResponse +import sh.ory.client-kotlin-multiplatform.models.CreateIdentityBody +import sh.ory.client-kotlin-multiplatform.models.CreateRecoveryCodeForIdentityBody +import sh.ory.client-kotlin-multiplatform.models.CreateRecoveryLinkForIdentityBody +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric +import sh.ory.client-kotlin-multiplatform.models.Identity +import sh.ory.client-kotlin-multiplatform.models.IdentitySchemaContainer +import sh.ory.client-kotlin-multiplatform.models.JsonPatch +import sh.ory.client-kotlin-multiplatform.models.PatchIdentitiesBody +import sh.ory.client-kotlin-multiplatform.models.RecoveryCodeForIdentity +import sh.ory.client-kotlin-multiplatform.models.RecoveryLinkForIdentity +import sh.ory.client-kotlin-multiplatform.models.Session +import sh.ory.client-kotlin-multiplatform.models.UpdateIdentityBody + +import sh.ory.client-kotlin-multiplatform.infrastructure.* +import io.ktor.client.HttpClient +import io.ktor.client.HttpClientConfig +import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json +import io.ktor.http.ParametersBuilder +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +open class IdentityApi : ApiClient { + + constructor( + baseUrl: String = ApiClient.BASE_URL, + httpClientEngine: HttpClientEngine? = null, + httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, + jsonSerializer: Json = ApiClient.JSON_DEFAULT + ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) + + constructor( + baseUrl: String, + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) + + /** + * Create multiple identities + * Creates multiple [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model). This endpoint can also be used to [import credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities) for instance passwords, social sign in configurations or multifactor methods. + * @param patchIdentitiesBody (optional) + * @return BatchPatchIdentitiesResponse + */ + @Suppress("UNCHECKED_CAST") + open suspend fun batchPatchIdentities(patchIdentitiesBody: PatchIdentitiesBody? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = patchIdentitiesBody + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PATCH, + "/admin/identities", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Create an Identity + * Create an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model). This endpoint can also be used to [import credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities) for instance passwords, social sign in configurations or multifactor methods. + * @param createIdentityBody (optional) + * @return Identity + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createIdentity(createIdentityBody: CreateIdentityBody? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = createIdentityBody + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/admin/identities", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Create a Recovery Code + * This endpoint creates a recovery code which should be given to the user in order for them to recover (or activate) their account. + * @param createRecoveryCodeForIdentityBody (optional) + * @return RecoveryCodeForIdentity + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createRecoveryCodeForIdentity(createRecoveryCodeForIdentityBody: CreateRecoveryCodeForIdentityBody? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = createRecoveryCodeForIdentityBody + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/admin/recovery/code", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Create a Recovery Link + * This endpoint creates a recovery link which should be given to the user in order for them to recover (or activate) their account. + * @param returnTo (optional) + * @param createRecoveryLinkForIdentityBody (optional) + * @return RecoveryLinkForIdentity + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createRecoveryLinkForIdentity(returnTo: kotlin.String? = null, createRecoveryLinkForIdentityBody: CreateRecoveryLinkForIdentityBody? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = createRecoveryLinkForIdentityBody + + val localVariableQuery = mutableMapOf>() + returnTo?.apply { localVariableQuery["return_to"] = listOf("$returnTo") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/admin/recovery/link", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Delete an Identity + * Calling this endpoint irrecoverably and permanently deletes the [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) given its ID. This action can not be undone. This endpoint returns 204 when the identity was deleted or when the identity was not found, in which case it is assumed that is has been deleted already. + * @param id ID is the identity's ID. + * @return void + */ + open suspend fun deleteIdentity(id: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/admin/identities/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * enum for parameter type + */ + @Serializable + enum class TypeDeleteIdentityCredentials(val value: kotlin.String) { + + @SerialName(value = "password") + password("password"), + + @SerialName(value = "oidc") + oidc("oidc"), + + @SerialName(value = "totp") + totp("totp"), + + @SerialName(value = "lookup_secret") + lookup_secret("lookup_secret"), + + @SerialName(value = "webauthn") + webauthn("webauthn"), + + @SerialName(value = "code") + code("code"), + + @SerialName(value = "passkey") + passkey("passkey"), + + @SerialName(value = "profile") + profile("profile"), + + @SerialName(value = "link_recovery") + link_recovery("link_recovery"), + + @SerialName(value = "code_recovery") + code_recovery("code_recovery") + + } + + /** + * Delete a credential for a specific identity + * Delete an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) credential by its type. You cannot delete password or code auth credentials through this API. + * @param id ID is the identity's ID. + * @param type Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + * @param identifier Identifier is the identifier of the OIDC credential to delete. Find the identifier by calling the `GET /admin/identities/{id}?include_credential=oidc` endpoint. (optional) + * @return void + */ + open suspend fun deleteIdentityCredentials(id: kotlin.String, type: TypeDeleteIdentityCredentials, identifier: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + identifier?.apply { localVariableQuery["identifier"] = listOf("$identifier") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/admin/identities/{id}/credentials/{type}".replace("{" + "id" + "}", "$id").replace("{" + "type" + "}", "${ type.value }"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Delete & Invalidate an Identity's Sessions + * Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity. + * @param id ID is the identity's ID. + * @return void + */ + open suspend fun deleteIdentitySessions(id: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/admin/identities/{id}/sessions".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Deactivate a Session + * Calling this endpoint deactivates the specified session. Session data is not deleted. + * @param id ID is the session's ID. + * @return void + */ + open suspend fun disableSession(id: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/admin/sessions/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Extend a Session + * Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed. This endpoint returns per default a 204 No Content response on success. Older Ory Network projects may return a 200 OK response with the session in the body. Returning the session as part of the response will be deprecated in the future and should not be relied upon. This endpoint ignores consecutive requests to extend the same session and returns a 404 error in those scenarios. This endpoint also returns 404 errors if the session does not exist. Retrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method. + * @param id ID is the session's ID. + * @return Session + */ + @Suppress("UNCHECKED_CAST") + open suspend fun extendSession(id: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PATCH, + "/admin/sessions/{id}/extend".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * enum for parameter includeCredential + */ + @Serializable + enum class IncludeCredentialGetIdentity(val value: kotlin.String) { + + @SerialName(value = "password") + password("password"), + + @SerialName(value = "oidc") + oidc("oidc"), + + @SerialName(value = "totp") + totp("totp"), + + @SerialName(value = "lookup_secret") + lookup_secret("lookup_secret"), + + @SerialName(value = "webauthn") + webauthn("webauthn"), + + @SerialName(value = "code") + code("code"), + + @SerialName(value = "passkey") + passkey("passkey"), + + @SerialName(value = "profile") + profile("profile"), + + @SerialName(value = "link_recovery") + link_recovery("link_recovery"), + + @SerialName(value = "code_recovery") + code_recovery("code_recovery") + + } + + /** + * Get an Identity + * Return an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) by its ID. You can optionally include credentials (e.g. social sign in connections) in the response by using the `include_credential` query parameter. + * @param id ID must be set to the ID of identity you want to get + * @param includeCredential Include Credentials in Response Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available. (optional) + * @return Identity + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getIdentity(id: kotlin.String, includeCredential: kotlin.collections.List? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + includeCredential?.apply { localVariableQuery["include_credential"] = toMultiValue(this, "multi") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/admin/identities/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get Identity JSON Schema + * Return a specific identity schema. + * @param id ID must be set to the ID of schema you want to get + * @return kotlin.String + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getIdentitySchema(id: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/schemas/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * enum for parameter expand + */ + @Serializable + enum class ExpandGetSession(val value: kotlin.String) { + + @SerialName(value = "identity") + identity("identity"), + + @SerialName(value = "devices") + devices("devices") + + } + + /** + * Get Session + * This endpoint is useful for: Getting a session object with all specified expandables that exist in an administrative context. + * @param id ID is the session's ID. + * @param expand ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. Example - ?expand=Identity&expand=Devices If no value is provided, the expandable properties are skipped. (optional) + * @return Session + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getSession(id: kotlin.String, expand: kotlin.collections.List? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + expand?.apply { localVariableQuery["expand"] = toMultiValue(this, "multi") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/admin/sessions/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * enum for parameter consistency + */ + @Serializable + enum class ConsistencyListIdentities(val value: kotlin.String) { + + @SerialName(value = "") + (""), + + @SerialName(value = "strong") + strong("strong"), + + @SerialName(value = "eventual") + eventual("eventual") + + } + + /** + * List Identities + * Lists all [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model) in the system. + * @param perPage Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page. (optional, default to 250L) + * @param page Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. (optional) + * @param 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). (optional, default to 250L) + * @param 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). (optional, default to "1") + * @param 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. (optional) + * @param ids List of ids used to filter identities. If this list is empty, then no filter will be applied. (optional) + * @param 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. (optional) + * @param 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. (optional) + * @param includeCredential Include Credentials in Response Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available. (optional) + * @param organizationId OrganizationID is the organization id to filter identities by. If `ids` is set, this parameter is ignored. (optional) + * @return kotlin.collections.List + */ + @Suppress("UNCHECKED_CAST") + open suspend fun listIdentities(perPage: kotlin.Long? = 250L, page: kotlin.Long? = null, pageSize: kotlin.Long? = 250L, pageToken: kotlin.String? = "1", consistency: ConsistencyListIdentities? = null, ids: kotlin.collections.List? = null, credentialsIdentifier: kotlin.String? = null, previewCredentialsIdentifierSimilar: kotlin.String? = null, includeCredential: kotlin.collections.List? = null, organizationId: kotlin.String? = null): HttpResponse> { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + perPage?.apply { localVariableQuery["per_page"] = listOf("$perPage") } + page?.apply { localVariableQuery["page"] = listOf("$page") } + pageSize?.apply { localVariableQuery["page_size"] = listOf("$pageSize") } + pageToken?.apply { localVariableQuery["page_token"] = listOf("$pageToken") } + consistency?.apply { localVariableQuery["consistency"] = listOf("${ consistency.value }") } + ids?.apply { localVariableQuery["ids"] = toMultiValue(this, "multi") } + credentialsIdentifier?.apply { localVariableQuery["credentials_identifier"] = listOf("$credentialsIdentifier") } + previewCredentialsIdentifierSimilar?.apply { localVariableQuery["preview_credentials_identifier_similar"] = listOf("$previewCredentialsIdentifierSimilar") } + includeCredential?.apply { localVariableQuery["include_credential"] = toMultiValue(this, "multi") } + organizationId?.apply { localVariableQuery["organization_id"] = listOf("$organizationId") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/admin/identities", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap().map { value } + } + + @Serializable(ListIdentitiesResponse.Companion::class) + private class ListIdentitiesResponse(val value: List) { + companion object : KSerializer { + private val serializer: KSerializer> = serializer>() + override val descriptor = serializer.descriptor + override fun serialize(encoder: Encoder, value: ListIdentitiesResponse) = serializer.serialize(encoder, value.value) + override fun deserialize(decoder: Decoder) = ListIdentitiesResponse(serializer.deserialize(decoder)) + } + } + + /** + * Get all Identity Schemas + * Returns a list of all identity schemas currently in use. + * @param perPage Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page. (optional, default to 250L) + * @param page Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. (optional) + * @param 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). (optional, default to 250L) + * @param 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). (optional, default to "1") + * @return kotlin.collections.List + */ + @Suppress("UNCHECKED_CAST") + open suspend fun listIdentitySchemas(perPage: kotlin.Long? = 250L, page: kotlin.Long? = null, pageSize: kotlin.Long? = 250L, pageToken: kotlin.String? = "1"): HttpResponse> { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + perPage?.apply { localVariableQuery["per_page"] = listOf("$perPage") } + page?.apply { localVariableQuery["page"] = listOf("$page") } + pageSize?.apply { localVariableQuery["page_size"] = listOf("$pageSize") } + pageToken?.apply { localVariableQuery["page_token"] = listOf("$pageToken") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/schemas", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap().map { value } + } + + @Serializable(ListIdentitySchemasResponse.Companion::class) + private class ListIdentitySchemasResponse(val value: List) { + companion object : KSerializer { + private val serializer: KSerializer> = serializer>() + override val descriptor = serializer.descriptor + override fun serialize(encoder: Encoder, value: ListIdentitySchemasResponse) = serializer.serialize(encoder, value.value) + override fun deserialize(decoder: Decoder) = ListIdentitySchemasResponse(serializer.deserialize(decoder)) + } + } + + /** + * List an Identity's Sessions + * This endpoint returns all sessions that belong to the given Identity. + * @param id ID is the identity's ID. + * @param perPage Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page. (optional, default to 250L) + * @param page Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. (optional) + * @param 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). (optional, default to 250L) + * @param 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). (optional, default to "1") + * @param active Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned. (optional) + * @return kotlin.collections.List + */ + @Suppress("UNCHECKED_CAST") + open suspend fun listIdentitySessions(id: kotlin.String, perPage: kotlin.Long? = 250L, page: kotlin.Long? = null, pageSize: kotlin.Long? = 250L, pageToken: kotlin.String? = "1", active: kotlin.Boolean? = null): HttpResponse> { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + perPage?.apply { localVariableQuery["per_page"] = listOf("$perPage") } + page?.apply { localVariableQuery["page"] = listOf("$page") } + pageSize?.apply { localVariableQuery["page_size"] = listOf("$pageSize") } + pageToken?.apply { localVariableQuery["page_token"] = listOf("$pageToken") } + active?.apply { localVariableQuery["active"] = listOf("$active") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/admin/identities/{id}/sessions".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap().map { value } + } + + @Serializable(ListIdentitySessionsResponse.Companion::class) + private class ListIdentitySessionsResponse(val value: List) { + companion object : KSerializer { + private val serializer: KSerializer> = serializer>() + override val descriptor = serializer.descriptor + override fun serialize(encoder: Encoder, value: ListIdentitySessionsResponse) = serializer.serialize(encoder, value.value) + override fun deserialize(decoder: Decoder) = ListIdentitySessionsResponse(serializer.deserialize(decoder)) + } + } + + + /** + * enum for parameter expand + */ + @Serializable + enum class ExpandListSessions(val value: kotlin.String) { + + @SerialName(value = "identity") + identity("identity"), + + @SerialName(value = "devices") + devices("devices") + + } + + /** + * List All Sessions + * Listing all sessions that exist. + * @param pageSize Items per Page 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 250L) + * @param 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). (optional) + * @param active Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned. (optional) + * @param expand ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. If no value is provided, the expandable properties are skipped. (optional) + * @return kotlin.collections.List + */ + @Suppress("UNCHECKED_CAST") + open suspend fun listSessions(pageSize: kotlin.Long? = 250L, pageToken: kotlin.String? = null, active: kotlin.Boolean? = null, expand: kotlin.collections.List? = null): HttpResponse> { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + pageSize?.apply { localVariableQuery["page_size"] = listOf("$pageSize") } + pageToken?.apply { localVariableQuery["page_token"] = listOf("$pageToken") } + active?.apply { localVariableQuery["active"] = listOf("$active") } + expand?.apply { localVariableQuery["expand"] = toMultiValue(this, "multi") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/admin/sessions", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap().map { value } + } + + @Serializable(ListSessionsResponse.Companion::class) + private class ListSessionsResponse(val value: List) { + companion object : KSerializer { + private val serializer: KSerializer> = serializer>() + override val descriptor = serializer.descriptor + override fun serialize(encoder: Encoder, value: ListSessionsResponse) = serializer.serialize(encoder, value.value) + override fun deserialize(decoder: Decoder) = ListSessionsResponse(serializer.deserialize(decoder)) + } + } + + /** + * Patch an Identity + * Partially updates an [identity's](https://www.ory.sh/docs/kratos/concepts/identity-user-model) field using [JSON Patch](https://jsonpatch.com/). The fields `id`, `stateChangedAt` and `credentials` can not be updated using this method. + * @param id ID must be set to the ID of identity you want to update + * @param jsonPatch (optional) + * @return Identity + */ + @Suppress("UNCHECKED_CAST") + open suspend fun patchIdentity(id: kotlin.String, jsonPatch: kotlin.collections.List? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = PatchIdentityRequest(jsonPatch) + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PATCH, + "/admin/identities/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + @Serializable(PatchIdentityRequest.Companion::class) + private class PatchIdentityRequest(val value: List) { + companion object : KSerializer { + private val serializer: KSerializer> = serializer>() + override val descriptor = serializer.descriptor + override fun serialize(encoder: Encoder, value: PatchIdentityRequest) = serializer.serialize(encoder, value.value) + override fun deserialize(decoder: Decoder) = PatchIdentityRequest(serializer.deserialize(decoder)) + } + } + + /** + * Update an Identity + * This endpoint updates an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model). The full identity payload (except credentials) is expected. It is possible to update the identity's credentials as well. + * @param id ID must be set to the ID of identity you want to update + * @param updateIdentityBody (optional) + * @return Identity + */ + @Suppress("UNCHECKED_CAST") + open suspend fun updateIdentity(id: kotlin.String, updateIdentityBody: UpdateIdentityBody? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = updateIdentityBody + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/admin/identities/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/JwkApi.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/JwkApi.kt new file mode 100644 index 00000000000..e91237447da --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/JwkApi.kt @@ -0,0 +1,283 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import sh.ory.client-kotlin-multiplatform.models.CreateJsonWebKeySet +import sh.ory.client-kotlin-multiplatform.models.ErrorOAuth2 +import sh.ory.client-kotlin-multiplatform.models.JsonWebKey +import sh.ory.client-kotlin-multiplatform.models.JsonWebKeySet + +import sh.ory.client-kotlin-multiplatform.infrastructure.* +import io.ktor.client.HttpClient +import io.ktor.client.HttpClientConfig +import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json +import io.ktor.http.ParametersBuilder +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +open class JwkApi : ApiClient { + + constructor( + baseUrl: String = ApiClient.BASE_URL, + httpClientEngine: HttpClientEngine? = null, + httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, + jsonSerializer: Json = ApiClient.JSON_DEFAULT + ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) + + constructor( + baseUrl: String, + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) + + /** + * Create JSON Web Key + * This endpoint is capable of generating JSON Web Key Sets for you. There a different strategies available, such as symmetric cryptographic keys (HS256, HS512) and asymetric cryptographic keys (RS256, ECDSA). If the specified JSON Web Key Set does not exist, it will be created. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well. + * @param set The JSON Web Key Set ID + * @param createJsonWebKeySet + * @return JsonWebKeySet + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createJsonWebKeySet(set: kotlin.String, createJsonWebKeySet: CreateJsonWebKeySet): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = createJsonWebKeySet + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/admin/keys/{set}".replace("{" + "set" + "}", "$set"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Delete JSON Web Key + * Use this endpoint to delete a single JSON Web Key. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well. + * @param set The JSON Web Key Set + * @param kid The JSON Web Key ID (kid) + * @return void + */ + open suspend fun deleteJsonWebKey(set: kotlin.String, kid: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/admin/keys/{set}/{kid}".replace("{" + "set" + "}", "$set").replace("{" + "kid" + "}", "$kid"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Delete JSON Web Key Set + * Use this endpoint to delete a complete JSON Web Key Set and all the keys in that set. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well. + * @param set The JSON Web Key Set + * @return void + */ + open suspend fun deleteJsonWebKeySet(set: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/admin/keys/{set}".replace("{" + "set" + "}", "$set"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get JSON Web Key + * This endpoint returns a singular JSON Web Key contained in a set. It is identified by the set and the specific key ID (kid). + * @param set JSON Web Key Set ID + * @param kid JSON Web Key ID + * @return JsonWebKeySet + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getJsonWebKey(set: kotlin.String, kid: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/admin/keys/{set}/{kid}".replace("{" + "set" + "}", "$set").replace("{" + "kid" + "}", "$kid"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Retrieve a JSON Web Key Set + * This endpoint can be used to retrieve JWK Sets stored in ORY Hydra. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well. + * @param set JSON Web Key Set ID + * @return JsonWebKeySet + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getJsonWebKeySet(set: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/admin/keys/{set}".replace("{" + "set" + "}", "$set"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Set JSON Web Key + * Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well. + * @param set The JSON Web Key Set ID + * @param kid JSON Web Key ID + * @param jsonWebKey (optional) + * @return JsonWebKey + */ + @Suppress("UNCHECKED_CAST") + open suspend fun setJsonWebKey(set: kotlin.String, kid: kotlin.String, jsonWebKey: JsonWebKey? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = jsonWebKey + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/admin/keys/{set}/{kid}".replace("{" + "set" + "}", "$set").replace("{" + "kid" + "}", "$kid"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Update a JSON Web Key Set + * Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own. A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well. + * @param set The JSON Web Key Set ID + * @param jsonWebKeySet (optional) + * @return JsonWebKeySet + */ + @Suppress("UNCHECKED_CAST") + open suspend fun setJsonWebKeySet(set: kotlin.String, jsonWebKeySet: JsonWebKeySet? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = jsonWebKeySet + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/admin/keys/{set}".replace("{" + "set" + "}", "$set"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/MetadataApi.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/MetadataApi.kt new file mode 100644 index 00000000000..55e7e00ee23 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/MetadataApi.kt @@ -0,0 +1,77 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import sh.ory.client-kotlin-multiplatform.models.GetVersion200Response + +import sh.ory.client-kotlin-multiplatform.infrastructure.* +import io.ktor.client.HttpClient +import io.ktor.client.HttpClientConfig +import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json +import io.ktor.http.ParametersBuilder +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +open class MetadataApi : ApiClient { + + constructor( + baseUrl: String = ApiClient.BASE_URL, + httpClientEngine: HttpClientEngine? = null, + httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, + jsonSerializer: Json = ApiClient.JSON_DEFAULT + ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) + + constructor( + baseUrl: String, + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) + + /** + * Return Running Software Version. + * This endpoint returns the version of Ory Kratos. If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set. Be aware that if you are running multiple nodes of this service, the version will never refer to the cluster state, only to a single instance. + * @return GetVersion200Response + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getVersion(): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/version", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/OAuth2Api.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/OAuth2Api.kt new file mode 100644 index 00000000000..d167f8f6bfd --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/OAuth2Api.kt @@ -0,0 +1,1076 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import sh.ory.client-kotlin-multiplatform.models.AcceptOAuth2ConsentRequest +import sh.ory.client-kotlin-multiplatform.models.AcceptOAuth2LoginRequest +import sh.ory.client-kotlin-multiplatform.models.ErrorOAuth2 +import sh.ory.client-kotlin-multiplatform.models.GenericError +import sh.ory.client-kotlin-multiplatform.models.IntrospectedOAuth2Token +import sh.ory.client-kotlin-multiplatform.models.JsonPatch +import sh.ory.client-kotlin-multiplatform.models.OAuth2Client +import sh.ory.client-kotlin-multiplatform.models.OAuth2ClientTokenLifespans +import sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentRequest +import sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentSession +import sh.ory.client-kotlin-multiplatform.models.OAuth2LoginRequest +import sh.ory.client-kotlin-multiplatform.models.OAuth2LogoutRequest +import sh.ory.client-kotlin-multiplatform.models.OAuth2RedirectTo +import sh.ory.client-kotlin-multiplatform.models.OAuth2TokenExchange +import sh.ory.client-kotlin-multiplatform.models.RejectOAuth2Request +import sh.ory.client-kotlin-multiplatform.models.TrustOAuth2JwtGrantIssuer +import sh.ory.client-kotlin-multiplatform.models.TrustedOAuth2JwtGrantIssuer + +import sh.ory.client-kotlin-multiplatform.infrastructure.* +import io.ktor.client.HttpClient +import io.ktor.client.HttpClientConfig +import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json +import io.ktor.http.ParametersBuilder +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +open class OAuth2Api : ApiClient { + + constructor( + baseUrl: String = ApiClient.BASE_URL, + httpClientEngine: HttpClientEngine? = null, + httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, + jsonSerializer: Json = ApiClient.JSON_DEFAULT + ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) + + constructor( + baseUrl: String, + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) + + /** + * Accept OAuth 2.0 Consent Request + * When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell Ory now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf. The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells Ory if the subject accepted or rejected the request. This endpoint tells Ory that the subject has authorized the OAuth 2.0 client to access resources on his/her behalf. The consent provider includes additional information, such as session data for access and ID tokens, and if the consent request should be used as basis for future requests. The response contains a redirect URL which the consent provider should redirect the user-agent to. The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please head over to the OAuth 2.0 documentation. + * @param consentChallenge OAuth 2.0 Consent Request Challenge + * @param acceptOAuth2ConsentRequest (optional) + * @return OAuth2RedirectTo + */ + @Suppress("UNCHECKED_CAST") + open suspend fun acceptOAuth2ConsentRequest(consentChallenge: kotlin.String, acceptOAuth2ConsentRequest: AcceptOAuth2ConsentRequest? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = acceptOAuth2ConsentRequest + + val localVariableQuery = mutableMapOf>() + consentChallenge?.apply { localVariableQuery["consent_challenge"] = listOf("$consentChallenge") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/admin/oauth2/auth/requests/consent/accept", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Accept OAuth 2.0 Login Request + * When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell the Ory OAuth2 Service about it. The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process. This endpoint tells Ory that the subject has successfully authenticated and includes additional information such as the subject's ID and if Ory should remember the subject's subject agent for future authentication attempts by setting a cookie. The response contains a redirect URL which the login provider should redirect the user-agent to. + * @param loginChallenge OAuth 2.0 Login Request Challenge + * @param acceptOAuth2LoginRequest (optional) + * @return OAuth2RedirectTo + */ + @Suppress("UNCHECKED_CAST") + open suspend fun acceptOAuth2LoginRequest(loginChallenge: kotlin.String, acceptOAuth2LoginRequest: AcceptOAuth2LoginRequest? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = acceptOAuth2LoginRequest + + val localVariableQuery = mutableMapOf>() + loginChallenge?.apply { localVariableQuery["login_challenge"] = listOf("$loginChallenge") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/admin/oauth2/auth/requests/login/accept", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Accept OAuth 2.0 Session Logout Request + * When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, this endpoint is used to confirm that logout request. The response contains a redirect URL which the consent provider should redirect the user-agent to. + * @param logoutChallenge OAuth 2.0 Logout Request Challenge + * @return OAuth2RedirectTo + */ + @Suppress("UNCHECKED_CAST") + open suspend fun acceptOAuth2LogoutRequest(logoutChallenge: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + logoutChallenge?.apply { localVariableQuery["logout_challenge"] = listOf("$logoutChallenge") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/admin/oauth2/auth/requests/logout/accept", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Create OAuth 2.0 Client + * Create a new OAuth 2.0 client. If you pass `client_secret` the secret is used, otherwise a random secret is generated. The secret is echoed in the response. It is not possible to retrieve it later on. + * @param oauth2Client OAuth 2.0 Client Request Body + * @return OAuth2Client + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createOAuth2Client(oauth2Client: OAuth2Client): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = oauth2Client + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/admin/clients", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Delete OAuth 2.0 Client + * Delete an existing OAuth 2.0 Client by its ID. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. Make sure that this endpoint is well protected and only callable by first-party components. + * @param id The id of the OAuth 2.0 Client. + * @return void + */ + open suspend fun deleteOAuth2Client(id: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/admin/clients/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client + * This endpoint deletes OAuth2 access tokens issued to an OAuth 2.0 Client from the database. + * @param clientId OAuth 2.0 Client ID + * @return void + */ + open suspend fun deleteOAuth2Token(clientId: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + clientId?.apply { localVariableQuery["client_id"] = listOf("$clientId") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/admin/oauth2/tokens", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Delete Trusted OAuth2 JWT Bearer Grant Type Issuer + * Use this endpoint to delete trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you created the trust relationship. Once deleted, the associated issuer will no longer be able to perform the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grant. + * @param id The id of the desired grant + * @return void + */ + open suspend fun deleteTrustedOAuth2JwtGrantIssuer(id: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/admin/trust/grants/jwt-bearer/issuers/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get an OAuth 2.0 Client + * Get an OAuth 2.0 client by its ID. This endpoint never returns the client secret. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. + * @param id The id of the OAuth 2.0 Client. + * @return OAuth2Client + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getOAuth2Client(id: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/admin/clients/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get OAuth 2.0 Consent Request + * When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell Ory now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf. The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells Ory if the subject accepted or rejected the request. The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please head over to the OAuth 2.0 documentation. + * @param consentChallenge OAuth 2.0 Consent Request Challenge + * @return OAuth2ConsentRequest + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getOAuth2ConsentRequest(consentChallenge: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + consentChallenge?.apply { localVariableQuery["consent_challenge"] = listOf("$consentChallenge") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/admin/oauth2/auth/requests/consent", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get OAuth 2.0 Login Request + * When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell the Ory OAuth2 Service about it. Per default, the login provider is Ory itself. You may use a different login provider which needs to be a web-app you write and host, and it must be able to authenticate (\"show the subject a login screen\") a subject (in OAuth2 the proper name for subject is \"resource owner\"). The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process. + * @param loginChallenge OAuth 2.0 Login Request Challenge + * @return OAuth2LoginRequest + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getOAuth2LoginRequest(loginChallenge: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + loginChallenge?.apply { localVariableQuery["login_challenge"] = listOf("$loginChallenge") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/admin/oauth2/auth/requests/login", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get OAuth 2.0 Session Logout Request + * Use this endpoint to fetch an Ory OAuth 2.0 logout request. + * @param logoutChallenge + * @return OAuth2LogoutRequest + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getOAuth2LogoutRequest(logoutChallenge: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + logoutChallenge?.apply { localVariableQuery["logout_challenge"] = listOf("$logoutChallenge") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/admin/oauth2/auth/requests/logout", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get Trusted OAuth2 JWT Bearer Grant Type Issuer + * Use this endpoint to get a trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you created the trust relationship. + * @param id The id of the desired grant + * @return TrustedOAuth2JwtGrantIssuer + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getTrustedOAuth2JwtGrantIssuer(id: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/admin/trust/grants/jwt-bearer/issuers/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Introspect OAuth2 Access and Refresh Tokens + * The introspection endpoint allows to check if a token (both refresh and access) is active or not. An active token is neither expired nor revoked. If a token is active, additional information on the token will be included. You can set additional data for a token by setting `session.access_token` during the consent flow. + * @param token The string value of the token. For access tokens, this is the \\\"access_token\\\" value returned from the token endpoint defined in OAuth 2.0. For refresh tokens, this is the \\\"refresh_token\\\" value returned. + * @param scope An optional, space separated list of required scopes. If the access token was not granted one of the scopes, the result of active will be false. (optional) + * @return IntrospectedOAuth2Token + */ + @Suppress("UNCHECKED_CAST") + open suspend fun introspectOAuth2Token(token: kotlin.String, scope: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + ParametersBuilder().also { + scope?.apply { it.append("scope", scope.toString()) } + token?.apply { it.append("token", token.toString()) } + }.build() + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/admin/oauth2/introspect", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return urlEncodedFormRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * List OAuth 2.0 Clients + * This endpoint lists all clients in the database, and never returns client secrets. As a default it lists the first 100 clients. + * @param pageSize Items per Page 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 250L) + * @param 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). (optional, default to "1") + * @param clientName The name of the clients to filter by. (optional) + * @param owner The owner of the clients to filter by. (optional) + * @return kotlin.collections.List + */ + @Suppress("UNCHECKED_CAST") + open suspend fun listOAuth2Clients(pageSize: kotlin.Long? = 250L, pageToken: kotlin.String? = "1", clientName: kotlin.String? = null, owner: kotlin.String? = null): HttpResponse> { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + pageSize?.apply { localVariableQuery["page_size"] = listOf("$pageSize") } + pageToken?.apply { localVariableQuery["page_token"] = listOf("$pageToken") } + clientName?.apply { localVariableQuery["client_name"] = listOf("$clientName") } + owner?.apply { localVariableQuery["owner"] = listOf("$owner") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/admin/clients", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap().map { value } + } + + @Serializable(ListOAuth2ClientsResponse.Companion::class) + private class ListOAuth2ClientsResponse(val value: List) { + companion object : KSerializer { + private val serializer: KSerializer> = serializer>() + override val descriptor = serializer.descriptor + override fun serialize(encoder: Encoder, value: ListOAuth2ClientsResponse) = serializer.serialize(encoder, value.value) + override fun deserialize(decoder: Decoder) = ListOAuth2ClientsResponse(serializer.deserialize(decoder)) + } + } + + /** + * List OAuth 2.0 Consent Sessions of a Subject + * This endpoint lists all subject's granted consent sessions, including client and granted scope. If the subject is unknown or has not granted any consent sessions yet, the endpoint returns an empty JSON array with status code 200 OK. + * @param subject The subject to list the consent sessions for. + * @param pageSize Items per Page 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 250L) + * @param 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). (optional, default to "1") + * @param loginSessionId The login session id to list the consent sessions for. (optional) + * @return kotlin.collections.List + */ + @Suppress("UNCHECKED_CAST") + open suspend fun listOAuth2ConsentSessions(subject: kotlin.String, pageSize: kotlin.Long? = 250L, pageToken: kotlin.String? = "1", loginSessionId: kotlin.String? = null): HttpResponse> { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + pageSize?.apply { localVariableQuery["page_size"] = listOf("$pageSize") } + pageToken?.apply { localVariableQuery["page_token"] = listOf("$pageToken") } + subject?.apply { localVariableQuery["subject"] = listOf("$subject") } + loginSessionId?.apply { localVariableQuery["login_session_id"] = listOf("$loginSessionId") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/admin/oauth2/auth/sessions/consent", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap().map { value } + } + + @Serializable(ListOAuth2ConsentSessionsResponse.Companion::class) + private class ListOAuth2ConsentSessionsResponse(val value: List) { + companion object : KSerializer { + private val serializer: KSerializer> = serializer>() + override val descriptor = serializer.descriptor + override fun serialize(encoder: Encoder, value: ListOAuth2ConsentSessionsResponse) = serializer.serialize(encoder, value.value) + override fun deserialize(decoder: Decoder) = ListOAuth2ConsentSessionsResponse(serializer.deserialize(decoder)) + } + } + + /** + * List Trusted OAuth2 JWT Bearer Grant Type Issuers + * Use this endpoint to list all trusted JWT Bearer Grant Type Issuers. + * @param maxItems (optional) + * @param defaultItems (optional) + * @param issuer If optional \"issuer\" is supplied, only jwt-bearer grants with this issuer will be returned. (optional) + * @return kotlin.collections.List + */ + @Suppress("UNCHECKED_CAST") + open suspend fun listTrustedOAuth2JwtGrantIssuers(maxItems: kotlin.Long? = null, defaultItems: kotlin.Long? = null, issuer: kotlin.String? = null): HttpResponse> { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + maxItems?.apply { localVariableQuery["MaxItems"] = listOf("$maxItems") } + defaultItems?.apply { localVariableQuery["DefaultItems"] = listOf("$defaultItems") } + issuer?.apply { localVariableQuery["issuer"] = listOf("$issuer") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/admin/trust/grants/jwt-bearer/issuers", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap().map { value } + } + + @Serializable(ListTrustedOAuth2JwtGrantIssuersResponse.Companion::class) + private class ListTrustedOAuth2JwtGrantIssuersResponse(val value: List) { + companion object : KSerializer { + private val serializer: KSerializer> = serializer>() + override val descriptor = serializer.descriptor + override fun serialize(encoder: Encoder, value: ListTrustedOAuth2JwtGrantIssuersResponse) = serializer.serialize(encoder, value.value) + override fun deserialize(decoder: Decoder) = ListTrustedOAuth2JwtGrantIssuersResponse(serializer.deserialize(decoder)) + } + } + + /** + * OAuth 2.0 Authorize Endpoint + * Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries at https://oauth.net/code/ This endpoint should not be used via the Ory SDK and is only included for technical reasons. Instead, use one of the libraries linked above. + * @return ErrorOAuth2 + */ + @Suppress("UNCHECKED_CAST") + open suspend fun oAuth2Authorize(): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/oauth2/auth", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * The OAuth 2.0 Token Endpoint + * Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries here https://oauth.net/code/ This endpoint should not be used via the Ory SDK and is only included for technical reasons. Instead, use one of the libraries linked above. + * @param grantType + * @param clientId (optional) + * @param code (optional) + * @param redirectUri (optional) + * @param refreshToken (optional) + * @return OAuth2TokenExchange + */ + @Suppress("UNCHECKED_CAST") + open suspend fun oauth2TokenExchange(grantType: kotlin.String, clientId: kotlin.String? = null, code: kotlin.String? = null, redirectUri: kotlin.String? = null, refreshToken: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf("basic", "oauth2") + + val localVariableBody = + ParametersBuilder().also { + clientId?.apply { it.append("client_id", clientId.toString()) } + code?.apply { it.append("code", code.toString()) } + grantType?.apply { it.append("grant_type", grantType.toString()) } + redirectUri?.apply { it.append("redirect_uri", redirectUri.toString()) } + refreshToken?.apply { it.append("refresh_token", refreshToken.toString()) } + }.build() + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/oauth2/token", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return urlEncodedFormRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Patch OAuth 2.0 Client + * Patch an existing OAuth 2.0 Client using JSON Patch. If you pass `client_secret` the secret will be updated and returned via the API. This is the only time you will be able to retrieve the client secret, so write it down and keep it safe. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. + * @param id The id of the OAuth 2.0 Client. + * @param jsonPatch OAuth 2.0 Client JSON Patch Body + * @return OAuth2Client + */ + @Suppress("UNCHECKED_CAST") + open suspend fun patchOAuth2Client(id: kotlin.String, jsonPatch: kotlin.collections.List): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = PatchOAuth2ClientRequest(jsonPatch) + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PATCH, + "/admin/clients/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + @Serializable(PatchOAuth2ClientRequest.Companion::class) + private class PatchOAuth2ClientRequest(val value: List) { + companion object : KSerializer { + private val serializer: KSerializer> = serializer>() + override val descriptor = serializer.descriptor + override fun serialize(encoder: Encoder, value: PatchOAuth2ClientRequest) = serializer.serialize(encoder, value.value) + override fun deserialize(decoder: Decoder) = PatchOAuth2ClientRequest(serializer.deserialize(decoder)) + } + } + + /** + * Reject OAuth 2.0 Consent Request + * When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell Ory now about it. If the subject authenticated, he/she must now be asked if the OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf. The consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent provider uses that challenge to fetch information on the OAuth2 request and then tells Ory if the subject accepted or rejected the request. This endpoint tells Ory that the subject has not authorized the OAuth 2.0 client to access resources on his/her behalf. The consent provider must include a reason why the consent was not granted. The response contains a redirect URL which the consent provider should redirect the user-agent to. The default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please head over to the OAuth 2.0 documentation. + * @param consentChallenge OAuth 2.0 Consent Request Challenge + * @param rejectOAuth2Request (optional) + * @return OAuth2RedirectTo + */ + @Suppress("UNCHECKED_CAST") + open suspend fun rejectOAuth2ConsentRequest(consentChallenge: kotlin.String, rejectOAuth2Request: RejectOAuth2Request? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = rejectOAuth2Request + + val localVariableQuery = mutableMapOf>() + consentChallenge?.apply { localVariableQuery["consent_challenge"] = listOf("$consentChallenge") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/admin/oauth2/auth/requests/consent/reject", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Reject OAuth 2.0 Login Request + * When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider to authenticate the subject and then tell the Ory OAuth2 Service about it. The authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login provider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process. This endpoint tells Ory that the subject has not authenticated and includes a reason why the authentication was denied. The response contains a redirect URL which the login provider should redirect the user-agent to. + * @param loginChallenge OAuth 2.0 Login Request Challenge + * @param rejectOAuth2Request (optional) + * @return OAuth2RedirectTo + */ + @Suppress("UNCHECKED_CAST") + open suspend fun rejectOAuth2LoginRequest(loginChallenge: kotlin.String, rejectOAuth2Request: RejectOAuth2Request? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = rejectOAuth2Request + + val localVariableQuery = mutableMapOf>() + loginChallenge?.apply { localVariableQuery["login_challenge"] = listOf("$loginChallenge") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/admin/oauth2/auth/requests/login/reject", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Reject OAuth 2.0 Session Logout Request + * When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, this endpoint is used to deny that logout request. No HTTP request body is required. The response is empty as the logout provider has to chose what action to perform next. + * @param logoutChallenge + * @return void + */ + open suspend fun rejectOAuth2LogoutRequest(logoutChallenge: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + logoutChallenge?.apply { localVariableQuery["logout_challenge"] = listOf("$logoutChallenge") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/admin/oauth2/auth/requests/logout/reject", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Revoke OAuth 2.0 Consent Sessions of a Subject + * This endpoint revokes a subject's granted consent sessions and invalidates all associated OAuth 2.0 Access Tokens. You may also only revoke sessions for a specific OAuth 2.0 Client ID. + * @param subject OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted. + * @param client OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID. (optional) + * @param all Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted. (optional) + * @return void + */ + open suspend fun revokeOAuth2ConsentSessions(subject: kotlin.String, client: kotlin.String? = null, all: kotlin.Boolean? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + subject?.apply { localVariableQuery["subject"] = listOf("$subject") } + client?.apply { localVariableQuery["client"] = listOf("$client") } + all?.apply { localVariableQuery["all"] = listOf("$all") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/admin/oauth2/auth/sessions/consent", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Revokes OAuth 2.0 Login Sessions by either a Subject or a SessionID + * This endpoint invalidates authentication sessions. After revoking the authentication session(s), the subject has to re-authenticate at the Ory OAuth2 Provider. This endpoint does not invalidate any tokens. If you send the subject in a query param, all authentication sessions that belong to that subject are revoked. No OpenID Connect Front- or Back-channel logout is performed in this case. Alternatively, you can send a SessionID via `sid` query param, in which case, only the session that is connected to that SessionID is revoked. OpenID Connect Back-channel logout is performed in this case. + * @param subject OAuth 2.0 Subject The subject to revoke authentication sessions for. (optional) + * @param sid Login Session ID The login session to revoke. (optional) + * @return void + */ + open suspend fun revokeOAuth2LoginSessions(subject: kotlin.String? = null, sid: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + subject?.apply { localVariableQuery["subject"] = listOf("$subject") } + sid?.apply { localVariableQuery["sid"] = listOf("$sid") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/admin/oauth2/auth/sessions/login", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Revoke OAuth 2.0 Access or Refresh Token + * Revoking a token (both access and refresh) means that the tokens will be invalid. A revoked access token can no longer be used to make access requests, and a revoked refresh token can no longer be used to refresh an access token. Revoking a refresh token also invalidates the access token that was created with it. A token may only be revoked by the client the token was generated for. + * @param token + * @param clientId (optional) + * @param clientSecret (optional) + * @return void + */ + open suspend fun revokeOAuth2Token(token: kotlin.String, clientId: kotlin.String? = null, clientSecret: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf("basic", "oauth2") + + val localVariableBody = + ParametersBuilder().also { + clientId?.apply { it.append("client_id", clientId.toString()) } + clientSecret?.apply { it.append("client_secret", clientSecret.toString()) } + token?.apply { it.append("token", token.toString()) } + }.build() + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/oauth2/revoke", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return urlEncodedFormRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Set OAuth 2.0 Client + * Replaces an existing OAuth 2.0 Client with the payload you send. If you pass `client_secret` the secret is used, otherwise the existing secret is used. If set, the secret is echoed in the response. It is not possible to retrieve it later on. OAuth 2.0 Clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. + * @param id OAuth 2.0 Client ID + * @param oauth2Client OAuth 2.0 Client Request Body + * @return OAuth2Client + */ + @Suppress("UNCHECKED_CAST") + open suspend fun setOAuth2Client(id: kotlin.String, oauth2Client: OAuth2Client): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = oauth2Client + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/admin/clients/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Set OAuth2 Client Token Lifespans + * Set lifespans of different token types issued for this OAuth 2.0 client. Does not modify other fields. + * @param id OAuth 2.0 Client ID + * @param oauth2ClientTokenLifespans (optional) + * @return OAuth2Client + */ + @Suppress("UNCHECKED_CAST") + open suspend fun setOAuth2ClientLifespans(id: kotlin.String, oauth2ClientTokenLifespans: OAuth2ClientTokenLifespans? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = oauth2ClientTokenLifespans + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/admin/clients/{id}/lifespans".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Trust OAuth2 JWT Bearer Grant Type Issuer + * Use this endpoint to establish a trust relationship for a JWT issuer to perform JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants [RFC7523](https://datatracker.ietf.org/doc/html/rfc7523). + * @param trustOAuth2JwtGrantIssuer (optional) + * @return TrustedOAuth2JwtGrantIssuer + */ + @Suppress("UNCHECKED_CAST") + open suspend fun trustOAuth2JwtGrantIssuer(trustOAuth2JwtGrantIssuer: TrustOAuth2JwtGrantIssuer? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = trustOAuth2JwtGrantIssuer + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/admin/trust/grants/jwt-bearer/issuers", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/OidcApi.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/OidcApi.kt new file mode 100644 index 00000000000..1c3debf1569 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/OidcApi.kt @@ -0,0 +1,312 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import sh.ory.client-kotlin-multiplatform.models.CreateVerifiableCredentialRequestBody +import sh.ory.client-kotlin-multiplatform.models.ErrorOAuth2 +import sh.ory.client-kotlin-multiplatform.models.GenericError +import sh.ory.client-kotlin-multiplatform.models.OAuth2Client +import sh.ory.client-kotlin-multiplatform.models.OidcConfiguration +import sh.ory.client-kotlin-multiplatform.models.OidcUserInfo +import sh.ory.client-kotlin-multiplatform.models.VerifiableCredentialPrimingResponse +import sh.ory.client-kotlin-multiplatform.models.VerifiableCredentialResponse + +import sh.ory.client-kotlin-multiplatform.infrastructure.* +import io.ktor.client.HttpClient +import io.ktor.client.HttpClientConfig +import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json +import io.ktor.http.ParametersBuilder +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +open class OidcApi : ApiClient { + + constructor( + baseUrl: String = ApiClient.BASE_URL, + httpClientEngine: HttpClientEngine? = null, + httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, + jsonSerializer: Json = ApiClient.JSON_DEFAULT + ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) + + constructor( + baseUrl: String, + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) + + /** + * Register OAuth2 Client using OpenID Dynamic Client Registration + * This endpoint behaves like the administrative counterpart (`createOAuth2Client`) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator. Please note that using this endpoint you are not able to choose the `client_secret` nor the `client_id` as those values will be server generated when specifying `token_endpoint_auth_method` as `client_secret_basic` or `client_secret_post`. The `client_secret` will be returned in the response and you will not be able to retrieve it later on. Write the secret down and keep it somewhere safe. + * @param oauth2Client Dynamic Client Registration Request Body + * @return OAuth2Client + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createOidcDynamicClient(oauth2Client: OAuth2Client): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = oauth2Client + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/oauth2/register", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Issues a Verifiable Credential + * This endpoint creates a verifiable credential that attests that the user authenticated with the provided access token owns a certain public/private key pair. More information can be found at https://openid.net/specs/openid-connect-userinfo-vc-1_0.html. + * @param createVerifiableCredentialRequestBody (optional) + * @return VerifiableCredentialResponse + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createVerifiableCredential(createVerifiableCredentialRequestBody: CreateVerifiableCredentialRequestBody? = null): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = createVerifiableCredentialRequestBody + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/credentials", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Delete OAuth 2.0 Client using the OpenID Dynamic Client Registration Management Protocol + * This endpoint behaves like the administrative counterpart (`deleteOAuth2Client`) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint is disabled by default. It can be enabled by an administrator. To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. + * @param id The id of the OAuth 2.0 Client. + * @return void + */ + open suspend fun deleteOidcDynamicClient(id: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("bearer") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/oauth2/register/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * OpenID Connect Discovery + * A mechanism for an OpenID Connect Relying Party to discover the End-User's OpenID Provider and obtain information needed to interact with it, including its OAuth 2.0 endpoint locations. Popular libraries for OpenID Connect clients include oidc-client-js (JavaScript), go-oidc (Golang), and others. For a full list of clients go here: https://openid.net/developers/certified/ + * @return OidcConfiguration + */ + @Suppress("UNCHECKED_CAST") + open suspend fun discoverOidcConfiguration(): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/.well-known/openid-configuration", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get OAuth2 Client using OpenID Dynamic Client Registration + * This endpoint behaves like the administrative counterpart (`getOAuth2Client`) but is capable of facing the public internet directly and can be used in self-service. It implements the OpenID Connect Dynamic Client Registration Protocol. To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header. + * @param id The id of the OAuth 2.0 Client. + * @return OAuth2Client + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getOidcDynamicClient(id: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("bearer") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/oauth2/register/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * OpenID Connect Userinfo + * This endpoint returns the payload of the ID Token, including `session.id_token` values, of the provided OAuth 2.0 Access Token's consent request. In the case of authentication error, a WWW-Authenticate header might be set in the response with more information about the error. See [the spec](https://datatracker.ietf.org/doc/html/rfc6750#section-3) for more details about header format. + * @return OidcUserInfo + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getOidcUserInfo(): HttpResponse { + + val localVariableAuthNames = listOf("oauth2") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/userinfo", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * OpenID Connect Front- and Back-channel Enabled Logout + * This endpoint initiates and completes user logout at the Ory OAuth2 & OpenID provider and initiates OpenID Connect Front- / Back-channel logout: https://openid.net/specs/openid-connect-frontchannel-1_0.html https://openid.net/specs/openid-connect-backchannel-1_0.html Back-channel logout is performed asynchronously and does not affect logout flow. + * @return void + */ + open suspend fun revokeOidcSession(): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/oauth2/sessions/logout", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Set OAuth2 Client using OpenID Dynamic Client Registration + * This endpoint behaves like the administrative counterpart (`setOAuth2Client`) but is capable of facing the public internet directly to be used by third parties. It implements the OpenID Connect Dynamic Client Registration Protocol. This feature is disabled per default. It can be enabled by a system administrator. If you pass `client_secret` the secret is used, otherwise the existing secret is used. If set, the secret is echoed in the response. It is not possible to retrieve it later on. To use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client uses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query. If it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header. OAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. + * @param id OAuth 2.0 Client ID + * @param oauth2Client OAuth 2.0 Client Request Body + * @return OAuth2Client + */ + @Suppress("UNCHECKED_CAST") + open suspend fun setOidcDynamicClient(id: kotlin.String, oauth2Client: OAuth2Client): HttpResponse { + + val localVariableAuthNames = listOf("bearer") + + val localVariableBody = oauth2Client + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/oauth2/register/{id}".replace("{" + "id" + "}", "$id"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/PermissionApi.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/PermissionApi.kt new file mode 100644 index 00000000000..1a44449fe03 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/PermissionApi.kt @@ -0,0 +1,292 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import sh.ory.client-kotlin-multiplatform.models.BatchCheckPermissionBody +import sh.ory.client-kotlin-multiplatform.models.BatchCheckPermissionResult +import sh.ory.client-kotlin-multiplatform.models.CheckPermissionResult +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric +import sh.ory.client-kotlin-multiplatform.models.ExpandedPermissionTree +import sh.ory.client-kotlin-multiplatform.models.PostCheckPermissionBody +import sh.ory.client-kotlin-multiplatform.models.PostCheckPermissionOrErrorBody + +import sh.ory.client-kotlin-multiplatform.infrastructure.* +import io.ktor.client.HttpClient +import io.ktor.client.HttpClientConfig +import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json +import io.ktor.http.ParametersBuilder +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +open class PermissionApi : ApiClient { + + constructor( + baseUrl: String = ApiClient.BASE_URL, + httpClientEngine: HttpClientEngine? = null, + httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, + jsonSerializer: Json = ApiClient.JSON_DEFAULT + ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) + + constructor( + baseUrl: String, + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) + + /** + * Batch check permissions + * To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). + * @param maxDepth (optional) + * @param batchCheckPermissionBody (optional) + * @return BatchCheckPermissionResult + */ + @Suppress("UNCHECKED_CAST") + open suspend fun batchCheckPermission(maxDepth: kotlin.Long? = null, batchCheckPermissionBody: BatchCheckPermissionBody? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = batchCheckPermissionBody + + val localVariableQuery = mutableMapOf>() + maxDepth?.apply { localVariableQuery["max-depth"] = listOf("$maxDepth") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/relation-tuples/batch/check", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Check a permission + * To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). + * @param namespace Namespace of the Relationship (optional) + * @param `object` Object of the Relationship (optional) + * @param relation Relation of the Relationship (optional) + * @param subjectId SubjectID of the Relationship (optional) + * @param subjectSetNamespace Namespace of the Subject Set (optional) + * @param subjectSetObject Object of the Subject Set (optional) + * @param subjectSetRelation Relation of the Subject Set (optional) + * @param maxDepth (optional) + * @return CheckPermissionResult + */ + @Suppress("UNCHECKED_CAST") + open suspend fun checkPermission(namespace: kotlin.String? = null, `object`: kotlin.String? = null, relation: kotlin.String? = null, subjectId: kotlin.String? = null, subjectSetNamespace: kotlin.String? = null, subjectSetObject: kotlin.String? = null, subjectSetRelation: kotlin.String? = null, maxDepth: kotlin.Long? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + namespace?.apply { localVariableQuery["namespace"] = listOf("$namespace") } + `object`?.apply { localVariableQuery["object"] = listOf("$`object`") } + relation?.apply { localVariableQuery["relation"] = listOf("$relation") } + subjectId?.apply { localVariableQuery["subject_id"] = listOf("$subjectId") } + subjectSetNamespace?.apply { localVariableQuery["subject_set.namespace"] = listOf("$subjectSetNamespace") } + subjectSetObject?.apply { localVariableQuery["subject_set.object"] = listOf("$subjectSetObject") } + subjectSetRelation?.apply { localVariableQuery["subject_set.relation"] = listOf("$subjectSetRelation") } + maxDepth?.apply { localVariableQuery["max-depth"] = listOf("$maxDepth") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/relation-tuples/check/openapi", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Check a permission + * To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). + * @param namespace Namespace of the Relationship (optional) + * @param `object` Object of the Relationship (optional) + * @param relation Relation of the Relationship (optional) + * @param subjectId SubjectID of the Relationship (optional) + * @param subjectSetNamespace Namespace of the Subject Set (optional) + * @param subjectSetObject Object of the Subject Set (optional) + * @param subjectSetRelation Relation of the Subject Set (optional) + * @param maxDepth (optional) + * @return CheckPermissionResult + */ + @Suppress("UNCHECKED_CAST") + open suspend fun checkPermissionOrError(namespace: kotlin.String? = null, `object`: kotlin.String? = null, relation: kotlin.String? = null, subjectId: kotlin.String? = null, subjectSetNamespace: kotlin.String? = null, subjectSetObject: kotlin.String? = null, subjectSetRelation: kotlin.String? = null, maxDepth: kotlin.Long? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + namespace?.apply { localVariableQuery["namespace"] = listOf("$namespace") } + `object`?.apply { localVariableQuery["object"] = listOf("$`object`") } + relation?.apply { localVariableQuery["relation"] = listOf("$relation") } + subjectId?.apply { localVariableQuery["subject_id"] = listOf("$subjectId") } + subjectSetNamespace?.apply { localVariableQuery["subject_set.namespace"] = listOf("$subjectSetNamespace") } + subjectSetObject?.apply { localVariableQuery["subject_set.object"] = listOf("$subjectSetObject") } + subjectSetRelation?.apply { localVariableQuery["subject_set.relation"] = listOf("$subjectSetRelation") } + maxDepth?.apply { localVariableQuery["max-depth"] = listOf("$maxDepth") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/relation-tuples/check", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Expand a Relationship into permissions. + * Use this endpoint to expand a relationship tuple into permissions. + * @param namespace Namespace of the Subject Set + * @param `object` Object of the Subject Set + * @param relation Relation of the Subject Set + * @param maxDepth (optional) + * @return ExpandedPermissionTree + */ + @Suppress("UNCHECKED_CAST") + open suspend fun expandPermissions(namespace: kotlin.String, `object`: kotlin.String, relation: kotlin.String, maxDepth: kotlin.Long? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + namespace?.apply { localVariableQuery["namespace"] = listOf("$namespace") } + `object`?.apply { localVariableQuery["object"] = listOf("$`object`") } + relation?.apply { localVariableQuery["relation"] = listOf("$relation") } + maxDepth?.apply { localVariableQuery["max-depth"] = listOf("$maxDepth") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/relation-tuples/expand", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Check a permission + * To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). + * @param maxDepth (optional) + * @param postCheckPermissionBody (optional) + * @return CheckPermissionResult + */ + @Suppress("UNCHECKED_CAST") + open suspend fun postCheckPermission(maxDepth: kotlin.Long? = null, postCheckPermissionBody: PostCheckPermissionBody? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = postCheckPermissionBody + + val localVariableQuery = mutableMapOf>() + maxDepth?.apply { localVariableQuery["max-depth"] = listOf("$maxDepth") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/relation-tuples/check/openapi", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Check a permission + * To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview). + * @param maxDepth (optional) + * @param postCheckPermissionOrErrorBody (optional) + * @return CheckPermissionResult + */ + @Suppress("UNCHECKED_CAST") + open suspend fun postCheckPermissionOrError(maxDepth: kotlin.Long? = null, postCheckPermissionOrErrorBody: PostCheckPermissionOrErrorBody? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = postCheckPermissionOrErrorBody + + val localVariableQuery = mutableMapOf>() + maxDepth?.apply { localVariableQuery["max-depth"] = listOf("$maxDepth") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/relation-tuples/check", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/ProjectApi.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/ProjectApi.kt new file mode 100644 index 00000000000..5816e396b08 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/ProjectApi.kt @@ -0,0 +1,676 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import sh.ory.client-kotlin-multiplatform.models.CreateProjectApiKeyRequest +import sh.ory.client-kotlin-multiplatform.models.CreateProjectBody +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric +import sh.ory.client-kotlin-multiplatform.models.GenericError +import sh.ory.client-kotlin-multiplatform.models.GetOrganizationResponse +import sh.ory.client-kotlin-multiplatform.models.JsonPatch +import sh.ory.client-kotlin-multiplatform.models.ListOrganizationsResponse +import sh.ory.client-kotlin-multiplatform.models.Organization +import sh.ory.client-kotlin-multiplatform.models.OrganizationBody +import sh.ory.client-kotlin-multiplatform.models.Project +import sh.ory.client-kotlin-multiplatform.models.ProjectApiKey +import sh.ory.client-kotlin-multiplatform.models.ProjectMember +import sh.ory.client-kotlin-multiplatform.models.ProjectMetadata +import sh.ory.client-kotlin-multiplatform.models.SetProject +import sh.ory.client-kotlin-multiplatform.models.SuccessfulProjectUpdate + +import sh.ory.client-kotlin-multiplatform.infrastructure.* +import io.ktor.client.HttpClient +import io.ktor.client.HttpClientConfig +import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json +import io.ktor.http.ParametersBuilder +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +open class ProjectApi : ApiClient { + + constructor( + baseUrl: String = ApiClient.BASE_URL, + httpClientEngine: HttpClientEngine? = null, + httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, + jsonSerializer: Json = ApiClient.JSON_DEFAULT + ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) + + constructor( + baseUrl: String, + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) + + /** + * Create an Enterprise SSO Organization + * Creates an Enterprise SSO Organization in a project. + * @param projectId Project ID The project's ID. + * @param organizationBody (optional) + * @return Organization + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createOrganization(projectId: kotlin.String, organizationBody: OrganizationBody? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = organizationBody + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/projects/{project_id}/organizations".replace("{" + "project_id" + "}", "$projectId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Create a Project + * Creates a new project. + * @param createProjectBody (optional) + * @return Project + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createProject(createProjectBody: CreateProjectBody? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = createProjectBody + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/projects", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Create project API key + * Create an API key for a project. + * @param project The Project ID or Project slug + * @param createProjectApiKeyRequest (optional) + * @return ProjectApiKey + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createProjectApiKey(project: kotlin.String, createProjectApiKeyRequest: CreateProjectApiKeyRequest? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = createProjectApiKeyRequest + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/projects/{project}/tokens".replace("{" + "project" + "}", "$project"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Delete Enterprise SSO Organization + * Irrecoverably deletes an Enterprise SSO Organization in a project by its ID. + * @param projectId Project ID The project's ID. + * @param organizationId Organization ID The Organization's ID. + * @return void + */ + open suspend fun deleteOrganization(projectId: kotlin.String, organizationId: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/projects/{project_id}/organizations/{organization_id}".replace("{" + "project_id" + "}", "$projectId").replace("{" + "organization_id" + "}", "$organizationId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Delete project API key + * Deletes an API key and immediately removes it. + * @param project The Project ID or Project slug + * @param tokenId The Token ID + * @return void + */ + open suspend fun deleteProjectApiKey(project: kotlin.String, tokenId: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/projects/{project}/tokens/{token_id}".replace("{" + "project" + "}", "$project").replace("{" + "token_id" + "}", "$tokenId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get Enterprise SSO Organization by ID + * Retrieves an Enterprise SSO Organization for a project by its ID + * @param projectId Project ID The project's ID. + * @param organizationId Organization ID The Organization's ID. + * @return GetOrganizationResponse + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getOrganization(projectId: kotlin.String, organizationId: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/projects/{project_id}/organizations/{organization_id}".replace("{" + "project_id" + "}", "$projectId").replace("{" + "organization_id" + "}", "$organizationId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get a Project + * Get a projects you have access to by its ID. + * @param projectId Project ID The project's ID. + * @return Project + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getProject(projectId: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/projects/{project_id}".replace("{" + "project_id" + "}", "$projectId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get all members associated with this project + * This endpoint requires the user to be a member of the project with the role `OWNER` or `DEVELOPER`. + * @param project + * @return kotlin.collections.List + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getProjectMembers(project: kotlin.String): HttpResponse> { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/projects/{project}/members".replace("{" + "project" + "}", "$project"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap().map { value } + } + + @Serializable(GetProjectMembersResponse.Companion::class) + private class GetProjectMembersResponse(val value: List) { + companion object : KSerializer { + private val serializer: KSerializer> = serializer>() + override val descriptor = serializer.descriptor + override fun serialize(encoder: Encoder, value: GetProjectMembersResponse) = serializer.serialize(encoder, value.value) + override fun deserialize(decoder: Decoder) = GetProjectMembersResponse(serializer.deserialize(decoder)) + } + } + + /** + * List all Enterprise SSO organizations + * Lists all Enterprise SSO organizations in a project. + * @param projectId Project ID The project's ID. + * @param pageSize Items per Page 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 250L) + * @param 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). (optional) + * @param domain Domain If set, only organizations with that domain will be returned. (optional) + * @return ListOrganizationsResponse + */ + @Suppress("UNCHECKED_CAST") + open suspend fun listOrganizations(projectId: kotlin.String, pageSize: kotlin.Long? = 250L, pageToken: kotlin.String? = null, domain: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + pageSize?.apply { localVariableQuery["page_size"] = listOf("$pageSize") } + pageToken?.apply { localVariableQuery["page_token"] = listOf("$pageToken") } + domain?.apply { localVariableQuery["domain"] = listOf("$domain") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/projects/{project_id}/organizations".replace("{" + "project_id" + "}", "$projectId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * List a project's API keys + * A list of all the project's API keys. + * @param project The Project ID or Project slug + * @return kotlin.collections.List + */ + @Suppress("UNCHECKED_CAST") + open suspend fun listProjectApiKeys(project: kotlin.String): HttpResponse> { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/projects/{project}/tokens".replace("{" + "project" + "}", "$project"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap().map { value } + } + + @Serializable(ListProjectApiKeysResponse.Companion::class) + private class ListProjectApiKeysResponse(val value: List) { + companion object : KSerializer { + private val serializer: KSerializer> = serializer>() + override val descriptor = serializer.descriptor + override fun serialize(encoder: Encoder, value: ListProjectApiKeysResponse) = serializer.serialize(encoder, value.value) + override fun deserialize(decoder: Decoder) = ListProjectApiKeysResponse(serializer.deserialize(decoder)) + } + } + + /** + * List All Projects + * Lists all projects you have access to. + * @return kotlin.collections.List + */ + @Suppress("UNCHECKED_CAST") + open suspend fun listProjects(): HttpResponse> { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/projects", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap().map { value } + } + + @Serializable(ListProjectsResponse.Companion::class) + private class ListProjectsResponse(val value: List) { + companion object : KSerializer { + private val serializer: KSerializer> = serializer>() + override val descriptor = serializer.descriptor + override fun serialize(encoder: Encoder, value: ListProjectsResponse) = serializer.serialize(encoder, value.value) + override fun deserialize(decoder: Decoder) = ListProjectsResponse(serializer.deserialize(decoder)) + } + } + + /** + * Patch an Ory Network Project Configuration + * Deprecated: Use the `patchProjectWithRevision` endpoint instead to specify the exact revision the patch was generated for. This endpoints allows you to patch individual Ory Network project configuration keys for Ory's services (identity, permission, ...). The configuration format is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to the Ory Network, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed. + * @param projectId Project ID The project's ID. + * @param jsonPatch (optional) + * @return SuccessfulProjectUpdate + */ + @Suppress("UNCHECKED_CAST") + open suspend fun patchProject(projectId: kotlin.String, jsonPatch: kotlin.collections.List? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = PatchProjectRequest(jsonPatch) + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PATCH, + "/projects/{project_id}".replace("{" + "project_id" + "}", "$projectId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + @Serializable(PatchProjectRequest.Companion::class) + private class PatchProjectRequest(val value: List) { + companion object : KSerializer { + private val serializer: KSerializer> = serializer>() + override val descriptor = serializer.descriptor + override fun serialize(encoder: Encoder, value: PatchProjectRequest) = serializer.serialize(encoder, value.value) + override fun deserialize(decoder: Decoder) = PatchProjectRequest(serializer.deserialize(decoder)) + } + } + + /** + * Patch an Ory Network Project Configuration based on a revision ID + * This endpoints allows you to patch individual Ory Network Project configuration keys for Ory's services (identity, permission, ...). The configuration format is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to the Ory Network, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed. + * @param projectId Project ID The project's ID. + * @param revisionId Revision ID The revision ID that this patch was generated for. + * @param jsonPatch (optional) + * @return SuccessfulProjectUpdate + */ + @Suppress("UNCHECKED_CAST") + open suspend fun patchProjectWithRevision(projectId: kotlin.String, revisionId: kotlin.String, jsonPatch: kotlin.collections.List? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = PatchProjectWithRevisionRequest(jsonPatch) + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PATCH, + "/projects/{project_id}/revision/{revision_id}".replace("{" + "project_id" + "}", "$projectId").replace("{" + "revision_id" + "}", "$revisionId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + @Serializable(PatchProjectWithRevisionRequest.Companion::class) + private class PatchProjectWithRevisionRequest(val value: List) { + companion object : KSerializer { + private val serializer: KSerializer> = serializer>() + override val descriptor = serializer.descriptor + override fun serialize(encoder: Encoder, value: PatchProjectWithRevisionRequest) = serializer.serialize(encoder, value.value) + override fun deserialize(decoder: Decoder) = PatchProjectWithRevisionRequest(serializer.deserialize(decoder)) + } + } + + /** + * Irrecoverably purge a project + * !! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data. This action can not be undone and will delete ALL your data. Calling this endpoint will additionally delete custom domains and other related data. If the project is linked to a subscription, the subscription needs to be unlinked first. + * @param projectId Project ID The project's ID. + * @return void + */ + open suspend fun purgeProject(projectId: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/projects/{project_id}".replace("{" + "project_id" + "}", "$projectId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Remove a member associated with this project + * This also sets their invite status to `REMOVED`. This endpoint requires the user to be a member of the project with the role `OWNER`. + * @param project + * @param member + * @return void + */ + open suspend fun removeProjectMember(project: kotlin.String, member: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/projects/{project}/members/{member}".replace("{" + "project" + "}", "$project").replace("{" + "member" + "}", "$member"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Update an Ory Network Project Configuration + * This endpoints allows you to update the Ory Network project configuration for individual services (identity, permission, ...). The configuration is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to the Ory Network, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed. Be aware that updating any service's configuration will completely override your current configuration for that service! + * @param projectId Project ID The project's ID. + * @param setProject (optional) + * @return SuccessfulProjectUpdate + */ + @Suppress("UNCHECKED_CAST") + open suspend fun setProject(projectId: kotlin.String, setProject: SetProject? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = setProject + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/projects/{project_id}".replace("{" + "project_id" + "}", "$projectId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Update an Enterprise SSO Organization + * Updates an Enterprise SSO Organization in a project by its ID. + * @param projectId Project ID The project's ID. + * @param organizationId Organization ID The Organization's ID. + * @param organizationBody (optional) + * @return Organization + */ + @Suppress("UNCHECKED_CAST") + open suspend fun updateOrganization(projectId: kotlin.String, organizationId: kotlin.String, organizationBody: OrganizationBody? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = organizationBody + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/projects/{project_id}/organizations/{organization_id}".replace("{" + "project_id" + "}", "$projectId").replace("{" + "organization_id" + "}", "$organizationId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/RelationshipApi.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/RelationshipApi.kt new file mode 100644 index 00000000000..ed9081ec151 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/RelationshipApi.kt @@ -0,0 +1,284 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import sh.ory.client-kotlin-multiplatform.models.CheckOplSyntaxResult +import sh.ory.client-kotlin-multiplatform.models.CreateRelationshipBody +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric +import sh.ory.client-kotlin-multiplatform.models.Relationship +import sh.ory.client-kotlin-multiplatform.models.RelationshipNamespaces +import sh.ory.client-kotlin-multiplatform.models.RelationshipPatch +import sh.ory.client-kotlin-multiplatform.models.Relationships + +import sh.ory.client-kotlin-multiplatform.infrastructure.* +import io.ktor.client.HttpClient +import io.ktor.client.HttpClientConfig +import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json +import io.ktor.http.ParametersBuilder +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +open class RelationshipApi : ApiClient { + + constructor( + baseUrl: String = ApiClient.BASE_URL, + httpClientEngine: HttpClientEngine? = null, + httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, + jsonSerializer: Json = ApiClient.JSON_DEFAULT + ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) + + constructor( + baseUrl: String, + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) + + /** + * Check the syntax of an OPL file + * The OPL file is expected in the body of the request. + * @param body (optional) + * @return CheckOplSyntaxResult + */ + @Suppress("UNCHECKED_CAST") + open suspend fun checkOplSyntax(body: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = body + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/opl/syntax/check", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Create a Relationship + * Use this endpoint to create a relationship. + * @param createRelationshipBody (optional) + * @return Relationship + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createRelationship(createRelationshipBody: CreateRelationshipBody? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = createRelationshipBody + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/admin/relation-tuples", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Delete Relationships + * Use this endpoint to delete relationships + * @param namespace Namespace of the Relationship (optional) + * @param `object` Object of the Relationship (optional) + * @param relation Relation of the Relationship (optional) + * @param subjectId SubjectID of the Relationship (optional) + * @param subjectSetNamespace Namespace of the Subject Set (optional) + * @param subjectSetObject Object of the Subject Set (optional) + * @param subjectSetRelation Relation of the Subject Set (optional) + * @return void + */ + open suspend fun deleteRelationships(namespace: kotlin.String? = null, `object`: kotlin.String? = null, relation: kotlin.String? = null, subjectId: kotlin.String? = null, subjectSetNamespace: kotlin.String? = null, subjectSetObject: kotlin.String? = null, subjectSetRelation: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + namespace?.apply { localVariableQuery["namespace"] = listOf("$namespace") } + `object`?.apply { localVariableQuery["object"] = listOf("$`object`") } + relation?.apply { localVariableQuery["relation"] = listOf("$relation") } + subjectId?.apply { localVariableQuery["subject_id"] = listOf("$subjectId") } + subjectSetNamespace?.apply { localVariableQuery["subject_set.namespace"] = listOf("$subjectSetNamespace") } + subjectSetObject?.apply { localVariableQuery["subject_set.object"] = listOf("$subjectSetObject") } + subjectSetRelation?.apply { localVariableQuery["subject_set.relation"] = listOf("$subjectSetRelation") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/admin/relation-tuples", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Query relationships + * Get all relationships that match the query. Only the namespace field is required. + * @param pageToken (optional) + * @param pageSize (optional) + * @param namespace Namespace of the Relationship (optional) + * @param `object` Object of the Relationship (optional) + * @param relation Relation of the Relationship (optional) + * @param subjectId SubjectID of the Relationship (optional) + * @param subjectSetNamespace Namespace of the Subject Set (optional) + * @param subjectSetObject Object of the Subject Set (optional) + * @param subjectSetRelation Relation of the Subject Set (optional) + * @return Relationships + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getRelationships(pageToken: kotlin.String? = null, pageSize: kotlin.Long? = null, namespace: kotlin.String? = null, `object`: kotlin.String? = null, relation: kotlin.String? = null, subjectId: kotlin.String? = null, subjectSetNamespace: kotlin.String? = null, subjectSetObject: kotlin.String? = null, subjectSetRelation: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + pageToken?.apply { localVariableQuery["page_token"] = listOf("$pageToken") } + pageSize?.apply { localVariableQuery["page_size"] = listOf("$pageSize") } + namespace?.apply { localVariableQuery["namespace"] = listOf("$namespace") } + `object`?.apply { localVariableQuery["object"] = listOf("$`object`") } + relation?.apply { localVariableQuery["relation"] = listOf("$relation") } + subjectId?.apply { localVariableQuery["subject_id"] = listOf("$subjectId") } + subjectSetNamespace?.apply { localVariableQuery["subject_set.namespace"] = listOf("$subjectSetNamespace") } + subjectSetObject?.apply { localVariableQuery["subject_set.object"] = listOf("$subjectSetObject") } + subjectSetRelation?.apply { localVariableQuery["subject_set.relation"] = listOf("$subjectSetRelation") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/relation-tuples", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Query namespaces + * Get all namespaces + * @return RelationshipNamespaces + */ + @Suppress("UNCHECKED_CAST") + open suspend fun listRelationshipNamespaces(): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/namespaces", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Patch Multiple Relationships + * Use this endpoint to patch one or more relationships. + * @param relationshipPatch (optional) + * @return void + */ + open suspend fun patchRelationships(relationshipPatch: kotlin.collections.List? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryAccessToken") + + val localVariableBody = PatchRelationshipsRequest(relationshipPatch) + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PATCH, + "/admin/relation-tuples", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + @Serializable(PatchRelationshipsRequest.Companion::class) + private class PatchRelationshipsRequest(val value: List) { + companion object : KSerializer { + private val serializer: KSerializer> = serializer>() + override val descriptor = serializer.descriptor + override fun serialize(encoder: Encoder, value: PatchRelationshipsRequest) = serializer.serialize(encoder, value.value) + override fun deserialize(decoder: Decoder) = PatchRelationshipsRequest(serializer.deserialize(decoder)) + } + } + +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/WellknownApi.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/WellknownApi.kt new file mode 100644 index 00000000000..4d6eaa454dd --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/WellknownApi.kt @@ -0,0 +1,78 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import sh.ory.client-kotlin-multiplatform.models.ErrorOAuth2 +import sh.ory.client-kotlin-multiplatform.models.JsonWebKeySet + +import sh.ory.client-kotlin-multiplatform.infrastructure.* +import io.ktor.client.HttpClient +import io.ktor.client.HttpClientConfig +import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json +import io.ktor.http.ParametersBuilder +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +open class WellknownApi : ApiClient { + + constructor( + baseUrl: String = ApiClient.BASE_URL, + httpClientEngine: HttpClientEngine? = null, + httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, + jsonSerializer: Json = ApiClient.JSON_DEFAULT + ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) + + constructor( + baseUrl: String, + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) + + /** + * Discover Well-Known JSON Web Keys + * This endpoint returns JSON Web Keys required to verifying OpenID Connect ID Tokens and, if enabled, OAuth 2.0 JWT Access Tokens. This endpoint can be used with client libraries like [node-jwks-rsa](https://github.com/auth0/node-jwks-rsa) among others. Adding custom keys requires first creating a keyset via the createJsonWebKeySet operation, and then configuring the webfinger.jwks.broadcast_keys configuration value to include the keyset name. + * @return JsonWebKeySet + */ + @Suppress("UNCHECKED_CAST") + open suspend fun discoverJsonWebKeys(): HttpResponse { + + val localVariableAuthNames = listOf() + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/.well-known/jwks.json", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = false, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/WorkspaceApi.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/WorkspaceApi.kt new file mode 100644 index 00000000000..e2f78ada8e8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/apis/WorkspaceApi.kt @@ -0,0 +1,330 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import sh.ory.client-kotlin-multiplatform.models.CreateWorkspaceApiKeyBody +import sh.ory.client-kotlin-multiplatform.models.CreateWorkspaceBody +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric +import sh.ory.client-kotlin-multiplatform.models.ListWorkspaceProjects +import sh.ory.client-kotlin-multiplatform.models.ListWorkspaces +import sh.ory.client-kotlin-multiplatform.models.UpdateWorkspaceBody +import sh.ory.client-kotlin-multiplatform.models.Workspace +import sh.ory.client-kotlin-multiplatform.models.WorkspaceApiKey + +import sh.ory.client-kotlin-multiplatform.infrastructure.* +import io.ktor.client.HttpClient +import io.ktor.client.HttpClientConfig +import io.ktor.client.request.forms.formData +import io.ktor.client.engine.HttpClientEngine +import kotlinx.serialization.json.Json +import io.ktor.http.ParametersBuilder +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +open class WorkspaceApi : ApiClient { + + constructor( + baseUrl: String = ApiClient.BASE_URL, + httpClientEngine: HttpClientEngine? = null, + httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, + jsonSerializer: Json = ApiClient.JSON_DEFAULT + ) : super(baseUrl = baseUrl, httpClientEngine = httpClientEngine, httpClientConfig = httpClientConfig, jsonBlock = jsonSerializer) + + constructor( + baseUrl: String, + httpClient: HttpClient + ): super(baseUrl = baseUrl, httpClient = httpClient) + + /** + * Create a new workspace + * + * @param createWorkspaceBody (optional) + * @return Workspace + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createWorkspace(createWorkspaceBody: CreateWorkspaceBody? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = createWorkspaceBody + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/workspaces", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Create workspace API key + * Create an API key for a workspace. + * @param workspace The Workspace ID + * @param createWorkspaceApiKeyBody (optional) + * @return WorkspaceApiKey + */ + @Suppress("UNCHECKED_CAST") + open suspend fun createWorkspaceApiKey(workspace: kotlin.String, createWorkspaceApiKeyBody: CreateWorkspaceApiKeyBody? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = createWorkspaceApiKeyBody + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.POST, + "/workspaces/{workspace}/tokens".replace("{" + "workspace" + "}", "$workspace"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + + /** + * Delete workspace API key + * Deletes an API key and immediately removes it. + * @param workspace The Workspace ID or Workspace slug + * @param tokenId The Token ID + * @return void + */ + open suspend fun deleteWorkspaceApiKey(workspace: kotlin.String, tokenId: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.DELETE, + "/workspaces/{workspace}/tokens/{token_id}".replace("{" + "workspace" + "}", "$workspace").replace("{" + "token_id" + "}", "$tokenId"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Get a workspace + * Any workspace member can access this endpoint. + * @param workspace + * @return Workspace + */ + @Suppress("UNCHECKED_CAST") + open suspend fun getWorkspace(workspace: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/workspaces/{workspace}".replace("{" + "workspace" + "}", "$workspace"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * List a workspace's API keys + * A list of all the workspace's API keys. + * @param workspace The Workspace ID or Workspace slug + * @return kotlin.collections.List + */ + @Suppress("UNCHECKED_CAST") + open suspend fun listWorkspaceApiKeys(workspace: kotlin.String): HttpResponse> { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/workspaces/{workspace}/tokens".replace("{" + "workspace" + "}", "$workspace"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap().map { value } + } + + @Serializable(ListWorkspaceApiKeysResponse.Companion::class) + private class ListWorkspaceApiKeysResponse(val value: List) { + companion object : KSerializer { + private val serializer: KSerializer> = serializer>() + override val descriptor = serializer.descriptor + override fun serialize(encoder: Encoder, value: ListWorkspaceApiKeysResponse) = serializer.serialize(encoder, value.value) + override fun deserialize(decoder: Decoder) = ListWorkspaceApiKeysResponse(serializer.deserialize(decoder)) + } + } + + /** + * List all projects of a workspace + * Any workspace member can access this endpoint. + * @param workspace + * @return ListWorkspaceProjects + */ + @Suppress("UNCHECKED_CAST") + open suspend fun listWorkspaceProjects(workspace: kotlin.String): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/workspaces/{workspace}/projects".replace("{" + "workspace" + "}", "$workspace"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * List workspaces the user is a member of + * + * @param pageSize Items per Page 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 250L) + * @param 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). (optional) + * @return ListWorkspaces + */ + @Suppress("UNCHECKED_CAST") + open suspend fun listWorkspaces(pageSize: kotlin.Long? = 250L, pageToken: kotlin.String? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = + io.ktor.client.utils.EmptyContent + + val localVariableQuery = mutableMapOf>() + pageSize?.apply { localVariableQuery["page_size"] = listOf("$pageSize") } + pageToken?.apply { localVariableQuery["page_token"] = listOf("$pageToken") } + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.GET, + "/workspaces", + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return request( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + /** + * Update an workspace + * Workspace members with the role `OWNER` can access this endpoint. + * @param workspace + * @param updateWorkspaceBody (optional) + * @return Workspace + */ + @Suppress("UNCHECKED_CAST") + open suspend fun updateWorkspace(workspace: kotlin.String, updateWorkspaceBody: UpdateWorkspaceBody? = null): HttpResponse { + + val localVariableAuthNames = listOf("oryWorkspaceApiKey") + + val localVariableBody = updateWorkspaceBody + + val localVariableQuery = mutableMapOf>() + val localVariableHeaders = mutableMapOf() + + val localVariableConfig = RequestConfig( + RequestMethod.PUT, + "/workspaces/{workspace}".replace("{" + "workspace" + "}", "$workspace"), + query = localVariableQuery, + headers = localVariableHeaders, + requiresAuthentication = true, + ) + + return jsonRequest( + localVariableConfig, + localVariableBody, + localVariableAuthNames + ).wrap() + } + + + +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/ApiKeyAuth.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/ApiKeyAuth.kt new file mode 100644 index 00000000000..3e395a28010 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/ApiKeyAuth.kt @@ -0,0 +1,16 @@ +package sh.ory.client-kotlin-multiplatform.auth + +class ApiKeyAuth(private val location: String, val paramName: String) : Authentication { + var apiKey: String? = null + var apiKeyPrefix: String? = null + + override fun apply(query: MutableMap>, headers: MutableMap) { + val key: String = apiKey ?: return + val prefix: String? = apiKeyPrefix + val value: String = if (prefix != null) "$prefix $key" else key + when (location) { + "query" -> query[paramName] = listOf(value) + "header" -> headers[paramName] = value + } + } +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/Authentication.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/Authentication.kt new file mode 100644 index 00000000000..27f5b30fc33 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/Authentication.kt @@ -0,0 +1,13 @@ +package sh.ory.client-kotlin-multiplatform.auth + +interface Authentication { + + /** + * Apply authentication settings to header and query params. + * + * @param query Query parameters. + * @param headers Header parameters. + */ + fun apply(query: MutableMap>, headers: MutableMap) + +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/HttpBasicAuth.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/HttpBasicAuth.kt new file mode 100644 index 00000000000..176361bac28 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/HttpBasicAuth.kt @@ -0,0 +1,15 @@ +package sh.ory.client-kotlin-multiplatform.auth + +import io.ktor.util.encodeBase64 + +class HttpBasicAuth : Authentication { + var username: String? = null + var password: String? = null + + override fun apply(query: MutableMap>, headers: MutableMap) { + if (username == null && password == null) return + val str = (username ?: "") + ":" + (password ?: "") + val auth = str.encodeBase64() + headers["Authorization"] = "Basic $auth" + } +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/HttpBearerAuth.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/HttpBearerAuth.kt new file mode 100644 index 00000000000..842d2d5dbaf --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/HttpBearerAuth.kt @@ -0,0 +1,14 @@ +package sh.ory.client-kotlin-multiplatform.auth + +class HttpBearerAuth(private val scheme: String?) : Authentication { + var bearerToken: String? = null + + override fun apply(query: MutableMap>, headers: MutableMap) { + val token: String = bearerToken ?: return + headers["Authorization"] = (if (scheme != null) upperCaseBearer(scheme)!! + " " else "") + token + } + + private fun upperCaseBearer(scheme: String): String? { + return if ("bearer".equals(scheme, ignoreCase = true)) "Bearer" else scheme + } +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/OAuth.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/OAuth.kt new file mode 100644 index 00000000000..1c61f7fdab6 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/auth/OAuth.kt @@ -0,0 +1,10 @@ +package sh.ory.client-kotlin-multiplatform.auth + +class OAuth : Authentication { + var accessToken: String? = null + + override fun apply(query: MutableMap>, headers: MutableMap) { + val token: String = accessToken ?: return + headers["Authorization"] = "Bearer $token" + } +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/ApiAbstractions.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/ApiAbstractions.kt new file mode 100644 index 00000000000..d5eed3f881c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/ApiAbstractions.kt @@ -0,0 +1,23 @@ +package sh.ory.client-kotlin-multiplatform.infrastructure + +typealias MultiValueMap = MutableMap> + +fun collectionDelimiter(collectionFormat: String): String = when(collectionFormat) { + "csv" -> "," + "tsv" -> "\t" + "pipe" -> "|" + "space" -> " " + else -> "" +} + +val defaultMultiValueConverter: (item: Any?) -> String = { item -> "$item" } + +fun toMultiValue(items: Array, collectionFormat: String, map: (item: T) -> String = defaultMultiValueConverter): List + = toMultiValue(items.asIterable(), collectionFormat, map) + +fun toMultiValue(items: Iterable, collectionFormat: String, map: (item: T) -> String = defaultMultiValueConverter): List { + return when(collectionFormat) { + "multi" -> items.map(map) + else -> listOf(items.joinToString(separator = collectionDelimiter(collectionFormat), transform = map)) + } +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/ApiClient.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/ApiClient.kt new file mode 100644 index 00000000000..aa62ec9d477 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/ApiClient.kt @@ -0,0 +1,195 @@ +package sh.ory.client-kotlin-multiplatform.infrastructure + +import io.ktor.client.HttpClient +import io.ktor.client.HttpClientConfig +import io.ktor.client.engine.HttpClientEngine +import io.ktor.client.plugins.contentnegotiation.ContentNegotiation +import io.ktor.client.request.* +import io.ktor.client.request.forms.FormDataContent +import io.ktor.client.request.forms.MultiPartFormDataContent +import io.ktor.client.request.header +import io.ktor.client.request.parameter +import io.ktor.client.statement.HttpResponse +import io.ktor.http.ContentType +import io.ktor.serialization.kotlinx.json.json +import io.ktor.http.* +import io.ktor.http.content.PartData +import io.ktor.http.contentType +import kotlin.Unit +import kotlinx.serialization.json.Json + +import sh.ory.client-kotlin-multiplatform.auth.* + +open class ApiClient( + private val baseUrl: String +) { + + private lateinit var client: HttpClient + + constructor( + baseUrl: String, + httpClientEngine: HttpClientEngine?, + httpClientConfig: ((HttpClientConfig<*>) -> Unit)? = null, + jsonBlock: Json, + ) : this(baseUrl = baseUrl) { + val clientConfig: (HttpClientConfig<*>) -> Unit by lazy { + { + it.install(ContentNegotiation) { json(jsonBlock) } + httpClientConfig?.invoke(it) + } + } + + client = httpClientEngine?.let { HttpClient(it, clientConfig) } ?: HttpClient(clientConfig) + } + + constructor( + baseUrl: String, + httpClient: HttpClient + ): this(baseUrl = baseUrl) { + this.client = httpClient + } + + private val authentications: kotlin.collections.Map by lazy { + mapOf( + "basic" to HttpBasicAuth(), + "bearer" to HttpBearerAuth("bearer"), + "oauth2" to OAuth(), + "oryAccessToken" to HttpBearerAuth("bearer"), + "oryWorkspaceApiKey" to HttpBearerAuth("bearer")) + } + + companion object { + const val BASE_URL: String = "https://playground.projects.oryapis.com" + val JSON_DEFAULT: Json = Json { + ignoreUnknownKeys = true + prettyPrint = true + isLenient = true + } + protected val UNSAFE_HEADERS: List = listOf(HttpHeaders.ContentType) + } + + /** + * Set the username for the first HTTP basic authentication. + * + * @param username Username + */ + fun setUsername(username: String) { + val auth = authentications?.values?.firstOrNull { it is HttpBasicAuth } as HttpBasicAuth? + ?: throw Exception("No HTTP basic authentication configured") + auth.username = username + } + + /** + * Set the password for the first HTTP basic authentication. + * + * @param password Password + */ + fun setPassword(password: String) { + val auth = authentications?.values?.firstOrNull { it is HttpBasicAuth } as HttpBasicAuth? + ?: throw Exception("No HTTP basic authentication configured") + auth.password = password + } + + /** + * Set the API key value for the first API key authentication. + * + * @param apiKey API key + * @param paramName The name of the API key parameter, or null or set the first key. + */ + fun setApiKey(apiKey: String, paramName: String? = null) { + val auth = authentications?.values?.firstOrNull { it is ApiKeyAuth && (paramName == null || paramName == it.paramName)} as ApiKeyAuth? + ?: throw Exception("No API key authentication configured") + auth.apiKey = apiKey + } + + /** + * Set the API key prefix for the first API key authentication. + * + * @param apiKeyPrefix API key prefix + * @param paramName The name of the API key parameter, or null or set the first key. + */ + fun setApiKeyPrefix(apiKeyPrefix: String, paramName: String? = null) { + val auth = authentications?.values?.firstOrNull { it is ApiKeyAuth && (paramName == null || paramName == it.paramName) } as ApiKeyAuth? + ?: throw Exception("No API key authentication configured") + auth.apiKeyPrefix = apiKeyPrefix + } + + /** + * Set the access token for the first OAuth2 authentication. + * + * @param accessToken Access token + */ + fun setAccessToken(accessToken: String) { + val auth = authentications?.values?.firstOrNull { it is OAuth } as OAuth? + ?: throw Exception("No OAuth2 authentication configured") + auth.accessToken = accessToken + } + + /** + * Set the access token for the first Bearer authentication. + * + * @param bearerToken The bearer token. + */ + fun setBearerToken(bearerToken: String) { + val auth = authentications?.values?.firstOrNull { it is HttpBearerAuth } as HttpBearerAuth? + ?: throw Exception("No Bearer authentication configured") + auth.bearerToken = bearerToken + } + + protected suspend fun multipartFormRequest(requestConfig: RequestConfig, body: kotlin.collections.List?, authNames: kotlin.collections.List): HttpResponse { + return request(requestConfig, MultiPartFormDataContent(body ?: listOf()), authNames) + } + + protected suspend fun urlEncodedFormRequest(requestConfig: RequestConfig, body: Parameters?, authNames: kotlin.collections.List): HttpResponse { + return request(requestConfig, FormDataContent(body ?: Parameters.Empty), authNames) + } + + protected suspend fun jsonRequest(requestConfig: RequestConfig, body: Any? = null, authNames: kotlin.collections.List): HttpResponse = request(requestConfig, body, authNames) + + protected suspend fun request(requestConfig: RequestConfig, body: Any? = null, authNames: kotlin.collections.List): HttpResponse { + requestConfig.updateForAuth(authNames) + val headers = requestConfig.headers + + return client.request { + this.url { + this.takeFrom(URLBuilder(baseUrl)) + appendPath(requestConfig.path.trimStart('/').split('/')) + requestConfig.query.forEach { query -> + query.value.forEach { value -> + parameter(query.key, value) + } + } + } + this.method = requestConfig.method.httpMethod + headers.filter { header -> !UNSAFE_HEADERS.contains(header.key) }.forEach { header -> this.header(header.key, header.value) } + if (requestConfig.method in listOf(RequestMethod.PUT, RequestMethod.POST, RequestMethod.PATCH)) { + val contentType = (requestConfig.headers[HttpHeaders.ContentType]?.let { ContentType.parse(it) } + ?: ContentType.Application.Json) + this.contentType(contentType) + this.setBody(body) + } + } + } + + private fun RequestConfig.updateForAuth(authNames: kotlin.collections.List) { + for (authName in authNames) { + val auth = authentications?.get(authName) ?: throw Exception("Authentication undefined: $authName") + auth.apply(query, headers) + } + } + + private fun URLBuilder.appendPath(components: kotlin.collections.List): URLBuilder = apply { + encodedPath = encodedPath.trimEnd('/') + components.joinToString("/", prefix = "/") { it.encodeURLQueryComponent() } + } + + private val RequestMethod.httpMethod: HttpMethod + get() = when (this) { + RequestMethod.DELETE -> HttpMethod.Delete + RequestMethod.GET -> HttpMethod.Get + RequestMethod.HEAD -> HttpMethod.Head + RequestMethod.PATCH -> HttpMethod.Patch + RequestMethod.PUT -> HttpMethod.Put + RequestMethod.POST -> HttpMethod.Post + RequestMethod.OPTIONS -> HttpMethod.Options + } +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/Base64ByteArray.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/Base64ByteArray.kt new file mode 100644 index 00000000000..265a2a4d97d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/Base64ByteArray.kt @@ -0,0 +1,29 @@ +package sh.ory.client-kotlin-multiplatform.infrastructure + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +@Serializable(Base64ByteArray.Companion::class) +class Base64ByteArray(val value: ByteArray) { + companion object : KSerializer { + override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("Base64ByteArray", PrimitiveKind.STRING) + override fun serialize(encoder: Encoder, value: Base64ByteArray): Unit = encoder.encodeString(value.value.encodeBase64()) + override fun deserialize(decoder: Decoder): Base64ByteArray = Base64ByteArray(decoder.decodeString().decodeBase64Bytes()) + } + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + other as Base64ByteArray + return value.contentEquals(other.value) + } + + override fun hashCode(): Int { + return value.contentHashCode() + } + + override fun toString(): String { + return "Base64ByteArray(${hex(value)})" + } +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/Bytes.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/Bytes.kt new file mode 100644 index 00000000000..ff75142a0f0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/Bytes.kt @@ -0,0 +1,101 @@ +package sh.ory.client-kotlin-multiplatform.infrastructure + +import io.ktor.utils.io.core.* +import kotlin.experimental.and + +private val digits = "0123456789abcdef".toCharArray() +private const val BASE64_ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" +private const val BASE64_MASK: Byte = 0x3f +private const val BASE64_PAD = '=' +private val BASE64_INVERSE_ALPHABET = IntArray(256) { BASE64_ALPHABET.indexOf(it.toChar()) } + +private fun String.toCharArray(): CharArray = CharArray(length) { get(it) } +private fun ByteArray.clearFrom(from: Int) = (from until size).forEach { this[it] = 0 } +private fun Int.toBase64(): Char = BASE64_ALPHABET[this] +private fun Byte.fromBase64(): Byte = BASE64_INVERSE_ALPHABET[toInt() and 0xff].toByte() and BASE64_MASK +internal fun ByteArray.encodeBase64(): String = buildPacket { writeFully(this@encodeBase64) }.encodeBase64() +internal fun String.decodeBase64Bytes(): ByteArray = buildPacket { writeText(dropLastWhile { it == BASE64_PAD }) }.decodeBase64Bytes().readBytes() + +/** + * Encode [bytes] as a HEX string with no spaces, newlines and `0x` prefixes. + * + * Taken from https://github.com/ktorio/ktor/blob/master/ktor-utils/common/src/io/ktor/util/Crypto.kt + */ +internal fun hex(bytes: ByteArray): String { + val result = CharArray(bytes.size * 2) + var resultIndex = 0 + val digits = digits + + for (element in bytes) { + val b = element.toInt() and 0xff + result[resultIndex++] = digits[b shr 4] + result[resultIndex++] = digits[b and 0x0f] + } + + return result.concatToString() +} + +/** + * Decode bytes from HEX string. It should be no spaces and `0x` prefixes. + * + * Taken from https://github.com/ktorio/ktor/blob/master/ktor-utils/common/src/io/ktor/util/Crypto.kt + */ +internal fun hex(s: String): ByteArray { + val result = ByteArray(s.length / 2) + for (idx in result.indices) { + val srcIdx = idx * 2 + val high = s[srcIdx].toString().toInt(16) shl 4 + val low = s[srcIdx + 1].toString().toInt(16) + result[idx] = (high or low).toByte() + } + + return result +} + +/** + * Encode [ByteReadPacket] in base64 format. + * + * Taken from https://github.com/ktorio/ktor/blob/424d1d2cfaa3281302c60af9500f738c8c2fc846/ktor-utils/common/src/io/ktor/util/Base64.kt + */ +private fun ByteReadPacket.encodeBase64(): String = buildString { + val data = ByteArray(3) + while (remaining > 0) { + val read = readAvailable(data) + data.clearFrom(read) + + val padSize = (data.size - read) * 8 / 6 + val chunk = ((data[0].toInt() and 0xFF) shl 16) or + ((data[1].toInt() and 0xFF) shl 8) or + (data[2].toInt() and 0xFF) + + for (index in data.size downTo padSize) { + val char = (chunk shr (6 * index)) and BASE64_MASK.toInt() + append(char.toBase64()) + } + + repeat(padSize) { append(BASE64_PAD) } + } +} + +/** + * Decode [ByteReadPacket] from base64 format + * + * Taken from https://github.com/ktorio/ktor/blob/424d1d2cfaa3281302c60af9500f738c8c2fc846/ktor-utils/common/src/io/ktor/util/Base64.kt + */ +@Suppress("DEPRECATION") +private fun ByteReadPacket.decodeBase64Bytes(): Input = buildPacket { + val data = ByteArray(4) + + while (remaining > 0) { + val read = readAvailable(data) + + val chunk = data.foldIndexed(0) { index, result, current -> + result or (current.fromBase64().toInt() shl ((3 - index) * 6)) + } + + for (index in data.size - 2 downTo (data.size - read)) { + val origin = (chunk shr (8 * index)) and 0xff + writeByte(origin.toByte()) + } + } +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/HttpResponse.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/HttpResponse.kt new file mode 100644 index 00000000000..c655d6f57de --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/HttpResponse.kt @@ -0,0 +1,51 @@ +package sh.ory.client-kotlin-multiplatform.infrastructure + +import io.ktor.http.Headers +import io.ktor.http.isSuccess +import io.ktor.util.reflect.TypeInfo +import io.ktor.util.reflect.typeInfo + +open class HttpResponse(val response: io.ktor.client.statement.HttpResponse, val provider: BodyProvider) { + val status: Int = response.status.value + val success: Boolean = response.status.isSuccess() + val headers: Map> = response.headers.mapEntries() + suspend fun body(): T = provider.body(response) + suspend fun typedBody(type: TypeInfo): V = provider.typedBody(response, type) + + companion object { + private fun Headers.mapEntries(): Map> { + val result = mutableMapOf>() + entries().forEach { result[it.key] = it.value } + return result + } + } +} + +interface BodyProvider { + suspend fun body(response: io.ktor.client.statement.HttpResponse): T + suspend fun typedBody(response: io.ktor.client.statement.HttpResponse, type: TypeInfo): V +} + +class TypedBodyProvider(private val type: TypeInfo) : BodyProvider { + @Suppress("UNCHECKED_CAST") + override suspend fun body(response: io.ktor.client.statement.HttpResponse): T = + response.call.body(type) as T + + @Suppress("UNCHECKED_CAST") + override suspend fun typedBody(response: io.ktor.client.statement.HttpResponse, type: TypeInfo): V = + response.call.body(type) as V +} + +class MappedBodyProvider(private val provider: BodyProvider, private val block: S.() -> T) : BodyProvider { + override suspend fun body(response: io.ktor.client.statement.HttpResponse): T = + block(provider.body(response)) + + override suspend fun typedBody(response: io.ktor.client.statement.HttpResponse, type: TypeInfo): V = + provider.typedBody(response, type) +} + +inline fun io.ktor.client.statement.HttpResponse.wrap(): HttpResponse = + HttpResponse(this, TypedBodyProvider(typeInfo())) + +fun HttpResponse.map(block: T.() -> V): HttpResponse = + HttpResponse(response, MappedBodyProvider(provider, block)) diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/OctetByteArray.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/OctetByteArray.kt new file mode 100644 index 00000000000..e0155e5ce8d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/OctetByteArray.kt @@ -0,0 +1,29 @@ +package sh.ory.client-kotlin-multiplatform.infrastructure + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +@Serializable(OctetByteArray.Companion::class) +class OctetByteArray(val value: ByteArray) { + companion object : KSerializer { + override val descriptor: SerialDescriptor = PrimitiveSerialDescriptor("OctetByteArray", PrimitiveKind.STRING) + override fun serialize(encoder: Encoder, value: OctetByteArray): Unit = encoder.encodeString(hex(value.value)) + override fun deserialize(decoder: Decoder): OctetByteArray = OctetByteArray(hex(decoder.decodeString())) + } + + override fun equals(other: Any?): Boolean { + if (this === other) return true + if (other == null || this::class != other::class) return false + other as OctetByteArray + return value.contentEquals(other.value) + } + + override fun hashCode(): Int { + return value.contentHashCode() + } + + override fun toString(): String { + return "OctetByteArray(${hex(value)})" + } +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/PartConfig.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/PartConfig.kt new file mode 100644 index 00000000000..37eee7f97af --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/PartConfig.kt @@ -0,0 +1,11 @@ +package sh.ory.client-kotlin-multiplatform.infrastructure + +/** + * Defines a config object for a given part of a multi-part request. + * NOTE: Headers is a Map because rfc2616 defines + * multi-valued headers as csv-only. + */ +data class PartConfig( + val headers: MutableMap = mutableMapOf(), + val body: T? = null +) diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/RequestConfig.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/RequestConfig.kt new file mode 100644 index 00000000000..34504d50419 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/RequestConfig.kt @@ -0,0 +1,19 @@ +package sh.ory.client-kotlin-multiplatform.infrastructure + +/** + * Defines a config object for a given request. + * NOTE: This object doesn't include 'body' because it + * allows for caching of the constructed object + * for many request definitions. + * NOTE: Headers is a Map because rfc2616 defines + * multi-valued headers as csv-only. + */ +data class RequestConfig( + val method: RequestMethod, + val path: String, + val headers: MutableMap = mutableMapOf(), + val params: MutableMap = mutableMapOf(), + val query: MutableMap> = mutableMapOf(), + val requiresAuthentication: Boolean, + val body: T? = null +) diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/RequestMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/RequestMethod.kt new file mode 100644 index 00000000000..430437e2a67 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/infrastructure/RequestMethod.kt @@ -0,0 +1,8 @@ +package sh.ory.client-kotlin-multiplatform.infrastructure + +/** + * Provides enumerated HTTP verbs + */ +enum class RequestMethod { + GET, DELETE, HEAD, OPTIONS, PATCH, POST, PUT +} diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2ConsentRequest.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2ConsentRequest.kt new file mode 100644 index 00000000000..c810531d7f8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2ConsentRequest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.AcceptOAuth2ConsentRequestSession + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param context + * @param grantAccessTokenAudience + * @param grantScope + * @param handledAt + * @param remember Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same client asks the same user for the same, or a subset of, scope. + * @param rememberFor RememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the authorization will be remembered indefinitely. + * @param session + */ +@Serializable + +data class AcceptOAuth2ConsentRequest ( + + @SerialName(value = "context") val context: kotlin.String? = null, + + @SerialName(value = "grant_access_token_audience") val grantAccessTokenAudience: kotlin.collections.List? = null, + + @SerialName(value = "grant_scope") val grantScope: kotlin.collections.List? = null, + + @SerialName(value = "handled_at") val handledAt: kotlinx.datetime.Instant? = null, + + /* Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same client asks the same user for the same, or a subset of, scope. */ + @SerialName(value = "remember") val remember: kotlin.Boolean? = null, + + /* RememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the authorization will be remembered indefinitely. */ + @SerialName(value = "remember_for") val rememberFor: kotlin.Long? = null, + + @SerialName(value = "session") val session: AcceptOAuth2ConsentRequestSession? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2ConsentRequestSession.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2ConsentRequestSession.kt new file mode 100644 index 00000000000..f37dc25bd59 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2ConsentRequestSession.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param accessToken AccessToken sets session data for the access and refresh token, as well as any future tokens issued by the refresh grant. Keep in mind that this data will be available to anyone performing OAuth 2.0 Challenge Introspection. If only your services can perform OAuth 2.0 Challenge Introspection, this is usually fine. But if third parties can access that endpoint as well, sensitive data from the session might be exposed to them. Use with care! + * @param idToken IDToken sets session data for the OpenID Connect ID token. Keep in mind that the session'id payloads are readable by anyone that has access to the ID Challenge. Use with care! + */ +@Serializable + +data class AcceptOAuth2ConsentRequestSession ( + + /* AccessToken sets session data for the access and refresh token, as well as any future tokens issued by the refresh grant. Keep in mind that this data will be available to anyone performing OAuth 2.0 Challenge Introspection. If only your services can perform OAuth 2.0 Challenge Introspection, this is usually fine. But if third parties can access that endpoint as well, sensitive data from the session might be exposed to them. Use with care! */ + @SerialName(value = "access_token") val accessToken: kotlin.Any? = null, + + /* IDToken sets session data for the OpenID Connect ID token. Keep in mind that the session'id payloads are readable by anyone that has access to the ID Challenge. Use with care! */ + @SerialName(value = "id_token") val idToken: kotlin.Any? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2LoginRequest.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2LoginRequest.kt new file mode 100644 index 00000000000..14cdffa2442 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2LoginRequest.kt @@ -0,0 +1,69 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param subject Subject is the user ID of the end-user that authenticated. + * @param acr ACR sets the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication. + * @param amr + * @param context + * @param extendSessionLifespan Extend OAuth2 authentication session lifespan If set to `true`, the OAuth2 authentication cookie lifespan is extended. This is for example useful if you want the user to be able to use `prompt=none` continuously. This value can only be set to `true` if the user has an authentication, which is the case if the `skip` value is `true`. + * @param forceSubjectIdentifier ForceSubjectIdentifier forces the \"pairwise\" user ID of the end-user that authenticated. The \"pairwise\" user ID refers to the (Pairwise Identifier Algorithm)[http://openid.net/specs/openid-connect-core-1_0.html#PairwiseAlg] of the OpenID Connect specification. It allows you to set an obfuscated subject (\"user\") identifier that is unique to the client. Please note that this changes the user ID on endpoint /userinfo and sub claim of the ID Token. It does not change the sub claim in the OAuth 2.0 Introspection. Per default, ORY Hydra handles this value with its own algorithm. In case you want to set this yourself you can use this field. Please note that setting this field has no effect if `pairwise` is not configured in ORY Hydra or the OAuth 2.0 Client does not expect a pairwise identifier (set via `subject_type` key in the client's configuration). Please also be aware that ORY Hydra is unable to properly compute this value during authentication. This implies that you have to compute this value on every authentication process (probably depending on the client ID or some other unique value). If you fail to compute the proper value, then authentication processes which have id_token_hint set might fail. + * @param identityProviderSessionId IdentityProviderSessionID is the session ID of the end-user that authenticated. If specified, we will use this value to propagate the logout. + * @param remember Remember, if set to true, tells ORY Hydra to remember this user by telling the user agent (browser) to store a cookie with authentication data. If the same user performs another OAuth 2.0 Authorization Request, he/she will not be asked to log in again. + * @param rememberFor RememberFor sets how long the authentication should be remembered for in seconds. If set to `0`, the authorization will be remembered for the duration of the browser session (using a session cookie). + */ +@Serializable + +data class AcceptOAuth2LoginRequest ( + + /* Subject is the user ID of the end-user that authenticated. */ + @SerialName(value = "subject") @Required val subject: kotlin.String, + + /* ACR sets the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication. */ + @SerialName(value = "acr") val acr: kotlin.String? = null, + + @SerialName(value = "amr") val amr: kotlin.collections.List? = null, + + @SerialName(value = "context") val context: kotlin.String? = null, + + /* Extend OAuth2 authentication session lifespan If set to `true`, the OAuth2 authentication cookie lifespan is extended. This is for example useful if you want the user to be able to use `prompt=none` continuously. This value can only be set to `true` if the user has an authentication, which is the case if the `skip` value is `true`. */ + @SerialName(value = "extend_session_lifespan") val extendSessionLifespan: kotlin.Boolean? = null, + + /* ForceSubjectIdentifier forces the \"pairwise\" user ID of the end-user that authenticated. The \"pairwise\" user ID refers to the (Pairwise Identifier Algorithm)[http://openid.net/specs/openid-connect-core-1_0.html#PairwiseAlg] of the OpenID Connect specification. It allows you to set an obfuscated subject (\"user\") identifier that is unique to the client. Please note that this changes the user ID on endpoint /userinfo and sub claim of the ID Token. It does not change the sub claim in the OAuth 2.0 Introspection. Per default, ORY Hydra handles this value with its own algorithm. In case you want to set this yourself you can use this field. Please note that setting this field has no effect if `pairwise` is not configured in ORY Hydra or the OAuth 2.0 Client does not expect a pairwise identifier (set via `subject_type` key in the client's configuration). Please also be aware that ORY Hydra is unable to properly compute this value during authentication. This implies that you have to compute this value on every authentication process (probably depending on the client ID or some other unique value). If you fail to compute the proper value, then authentication processes which have id_token_hint set might fail. */ + @SerialName(value = "force_subject_identifier") val forceSubjectIdentifier: kotlin.String? = null, + + /* IdentityProviderSessionID is the session ID of the end-user that authenticated. If specified, we will use this value to propagate the logout. */ + @SerialName(value = "identity_provider_session_id") val identityProviderSessionId: kotlin.String? = null, + + /* Remember, if set to true, tells ORY Hydra to remember this user by telling the user agent (browser) to store a cookie with authentication data. If the same user performs another OAuth 2.0 Authorization Request, he/she will not be asked to log in again. */ + @SerialName(value = "remember") val remember: kotlin.Boolean? = null, + + /* RememberFor sets how long the authentication should be remembered for in seconds. If set to `0`, the authorization will be remembered for the duration of the browser session (using a session cookie). */ + @SerialName(value = "remember_for") val rememberFor: kotlin.Long? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AccountExperienceConfiguration.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AccountExperienceConfiguration.kt new file mode 100644 index 00000000000..e5afed0ee55 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AccountExperienceConfiguration.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param accountExperienceThemeStylesheet + * @param faviconType + * @param faviconUrl + * @param kratosSelfserviceDefaultBrowserReturnUrl + * @param kratosSelfserviceFlowsRecoveryEnabled + * @param kratosSelfserviceFlowsRegistrationEnabled + * @param kratosSelfserviceFlowsVerificationEnabled + * @param logoUrl + * @param name + * @param organizationMap + */ +@Serializable + +data class AccountExperienceConfiguration ( + + @SerialName(value = "account_experience_theme_stylesheet") val accountExperienceThemeStylesheet: kotlin.String? = null, + + @SerialName(value = "favicon_type") val faviconType: kotlin.String? = null, + + @SerialName(value = "favicon_url") val faviconUrl: kotlin.String? = null, + + @SerialName(value = "kratos_selfservice_default_browser_return_url") val kratosSelfserviceDefaultBrowserReturnUrl: kotlin.String? = null, + + @SerialName(value = "kratos_selfservice_flows_recovery_enabled") val kratosSelfserviceFlowsRecoveryEnabled: kotlin.Boolean? = null, + + @SerialName(value = "kratos_selfservice_flows_registration_enabled") val kratosSelfserviceFlowsRegistrationEnabled: kotlin.Boolean? = null, + + @SerialName(value = "kratos_selfservice_flows_verification_enabled") val kratosSelfserviceFlowsVerificationEnabled: kotlin.Boolean? = null, + + @SerialName(value = "logo_url") val logoUrl: kotlin.String? = null, + + @SerialName(value = "name") val name: kotlin.String? = null, + + @SerialName(value = "organization_map") val organizationMap: kotlin.collections.Map? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AccountExperienceThemeVariables.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AccountExperienceThemeVariables.kt new file mode 100644 index 00000000000..8eeb393e8ba --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AccountExperienceThemeVariables.kt @@ -0,0 +1,308 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param accent + * @param bgDefault + * @param borderRadiusBranding + * @param borderRadiusButtons + * @param borderRadiusCards + * @param borderRadiusForms + * @param borderRadiusGeneral + * @param buttonPrimaryBgDefault + * @param buttonPrimaryBgDisabled + * @param buttonPrimaryBgHover + * @param buttonPrimaryBorderDefault + * @param buttonPrimaryBorderDisabled + * @param buttonPrimaryBorderHover + * @param buttonPrimaryFgDefault + * @param buttonPrimaryFgDisabled + * @param buttonPrimaryFgHover + * @param buttonSecondaryBgDefault + * @param buttonSecondaryBgDisabled + * @param buttonSecondaryBgHover + * @param buttonSecondaryBorderDefault + * @param buttonSecondaryBorderDisabled + * @param buttonSecondaryBorderHover + * @param buttonSecondaryFgDefault + * @param buttonSecondaryFgDisabled + * @param buttonSecondaryFgHover + * @param buttonSocialBgDefault + * @param buttonSocialBgDisabled + * @param buttonSocialBgHover + * @param buttonSocialBgProvider + * @param buttonSocialBorderDefault + * @param buttonSocialBorderDisabled + * @param buttonSocialBorderHover + * @param buttonSocialBorderProvider + * @param buttonSocialFgDefault + * @param buttonSocialFgDisabled + * @param buttonSocialFgHover + * @param buttonSocialFgProvider + * @param createdAt + * @param dialogBgDefault + * @param dialogBgSubtle + * @param dialogBorderDefault + * @param dialogFgDefault + * @param dialogFgMute + * @param dialogFgSubtle + * @param formsBgDefault + * @param formsBgDisabled + * @param formsBgHover + * @param formsBorderDefault + * @param formsBorderDisabled + * @param formsBorderError + * @param formsBorderFocus + * @param formsBorderHover + * @param formsBorderSuccess + * @param formsBorderWarn + * @param formsCheckboxBgChecked + * @param formsCheckboxBgDefault + * @param formsCheckboxBorderChecked + * @param formsCheckboxBorderDefault + * @param formsCheckboxFgChecked + * @param formsCheckboxFgDefault + * @param formsFgDefault + * @param formsFgError + * @param formsFgMute + * @param formsFgSubtle + * @param formsFgSuccess + * @param formsFgWarn + * @param formsRadioBgChecked + * @param formsRadioBgDefault + * @param formsRadioBorderChecked + * @param formsRadioBorderDefault + * @param formsRadioFgChecked + * @param formsRadioFgDefault + * @param formsToggleBgChecked + * @param formsToggleBgDefault + * @param formsToggleBorderChecked + * @param formsToggleBorderDefault + * @param formsToggleFgChecked + * @param formsToggleFgDefault + * @param id + * @param linksLinkDefault + * @param linksLinkDisabled + * @param linksLinkHover + * @param linksLinkInvertedDefault + * @param linksLinkInvertedHover + * @param linksLinkMuteDefault + * @param linksLinkMuteHover + * @param syntaxSyntax + * @param syntaxSyntaxKey + * @param syntaxSyntaxNum + * @param syntaxSyntaxValue + * @param updatedAt + */ +@Serializable + +data class AccountExperienceThemeVariables ( + + @SerialName(value = "accent") val accent: kotlin.String? = null, + + @SerialName(value = "bg-default") val bgDefault: kotlin.String? = null, + + @SerialName(value = "border-radius-branding") val borderRadiusBranding: kotlin.String? = null, + + @SerialName(value = "border-radius-buttons") val borderRadiusButtons: kotlin.String? = null, + + @SerialName(value = "border-radius-cards") val borderRadiusCards: kotlin.String? = null, + + @SerialName(value = "border-radius-forms") val borderRadiusForms: kotlin.String? = null, + + @SerialName(value = "border-radius-general") val borderRadiusGeneral: kotlin.String? = null, + + @SerialName(value = "button-primary-bg-default") val buttonPrimaryBgDefault: kotlin.String? = null, + + @SerialName(value = "button-primary-bg-disabled") val buttonPrimaryBgDisabled: kotlin.String? = null, + + @SerialName(value = "button-primary-bg-hover") val buttonPrimaryBgHover: kotlin.String? = null, + + @SerialName(value = "button-primary-border-default") val buttonPrimaryBorderDefault: kotlin.String? = null, + + @SerialName(value = "button-primary-border-disabled") val buttonPrimaryBorderDisabled: kotlin.String? = null, + + @SerialName(value = "button-primary-border-hover") val buttonPrimaryBorderHover: kotlin.String? = null, + + @SerialName(value = "button-primary-fg-default") val buttonPrimaryFgDefault: kotlin.String? = null, + + @SerialName(value = "button-primary-fg-disabled") val buttonPrimaryFgDisabled: kotlin.String? = null, + + @SerialName(value = "button-primary-fg-hover") val buttonPrimaryFgHover: kotlin.String? = null, + + @SerialName(value = "button-secondary-bg-default") val buttonSecondaryBgDefault: kotlin.String? = null, + + @SerialName(value = "button-secondary-bg-disabled") val buttonSecondaryBgDisabled: kotlin.String? = null, + + @SerialName(value = "button-secondary-bg-hover") val buttonSecondaryBgHover: kotlin.String? = null, + + @SerialName(value = "button-secondary-border-default") val buttonSecondaryBorderDefault: kotlin.String? = null, + + @SerialName(value = "button-secondary-border-disabled") val buttonSecondaryBorderDisabled: kotlin.String? = null, + + @SerialName(value = "button-secondary-border-hover") val buttonSecondaryBorderHover: kotlin.String? = null, + + @SerialName(value = "button-secondary-fg-default") val buttonSecondaryFgDefault: kotlin.String? = null, + + @SerialName(value = "button-secondary-fg-disabled") val buttonSecondaryFgDisabled: kotlin.String? = null, + + @SerialName(value = "button-secondary-fg-hover") val buttonSecondaryFgHover: kotlin.String? = null, + + @SerialName(value = "button-social-bg-default") val buttonSocialBgDefault: kotlin.String? = null, + + @SerialName(value = "button-social-bg-disabled") val buttonSocialBgDisabled: kotlin.String? = null, + + @SerialName(value = "button-social-bg-hover") val buttonSocialBgHover: kotlin.String? = null, + + @SerialName(value = "button-social-bg-provider") val buttonSocialBgProvider: kotlin.String? = null, + + @SerialName(value = "button-social-border-default") val buttonSocialBorderDefault: kotlin.String? = null, + + @SerialName(value = "button-social-border-disabled") val buttonSocialBorderDisabled: kotlin.String? = null, + + @SerialName(value = "button-social-border-hover") val buttonSocialBorderHover: kotlin.String? = null, + + @SerialName(value = "button-social-border-provider") val buttonSocialBorderProvider: kotlin.String? = null, + + @SerialName(value = "button-social-fg-default") val buttonSocialFgDefault: kotlin.String? = null, + + @SerialName(value = "button-social-fg-disabled") val buttonSocialFgDisabled: kotlin.String? = null, + + @SerialName(value = "button-social-fg-hover") val buttonSocialFgHover: kotlin.String? = null, + + @SerialName(value = "button-social-fg-provider") val buttonSocialFgProvider: kotlin.String? = null, + + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + @SerialName(value = "dialog-bg-default") val dialogBgDefault: kotlin.String? = null, + + @SerialName(value = "dialog-bg-subtle") val dialogBgSubtle: kotlin.String? = null, + + @SerialName(value = "dialog-border-default") val dialogBorderDefault: kotlin.String? = null, + + @SerialName(value = "dialog-fg-default") val dialogFgDefault: kotlin.String? = null, + + @SerialName(value = "dialog-fg-mute") val dialogFgMute: kotlin.String? = null, + + @SerialName(value = "dialog-fg-subtle") val dialogFgSubtle: kotlin.String? = null, + + @SerialName(value = "forms-bg-default") val formsBgDefault: kotlin.String? = null, + + @SerialName(value = "forms-bg-disabled") val formsBgDisabled: kotlin.String? = null, + + @SerialName(value = "forms-bg-hover") val formsBgHover: kotlin.String? = null, + + @SerialName(value = "forms-border-default") val formsBorderDefault: kotlin.String? = null, + + @SerialName(value = "forms-border-disabled") val formsBorderDisabled: kotlin.String? = null, + + @SerialName(value = "forms-border-error") val formsBorderError: kotlin.String? = null, + + @SerialName(value = "forms-border-focus") val formsBorderFocus: kotlin.String? = null, + + @SerialName(value = "forms-border-hover") val formsBorderHover: kotlin.String? = null, + + @SerialName(value = "forms-border-success") val formsBorderSuccess: kotlin.String? = null, + + @SerialName(value = "forms-border-warn") val formsBorderWarn: kotlin.String? = null, + + @SerialName(value = "forms-checkbox-bg-checked") val formsCheckboxBgChecked: kotlin.String? = null, + + @SerialName(value = "forms-checkbox-bg-default") val formsCheckboxBgDefault: kotlin.String? = null, + + @SerialName(value = "forms-checkbox-border-checked") val formsCheckboxBorderChecked: kotlin.String? = null, + + @SerialName(value = "forms-checkbox-border-default") val formsCheckboxBorderDefault: kotlin.String? = null, + + @SerialName(value = "forms-checkbox-fg-checked") val formsCheckboxFgChecked: kotlin.String? = null, + + @SerialName(value = "forms-checkbox-fg-default") val formsCheckboxFgDefault: kotlin.String? = null, + + @SerialName(value = "forms-fg-default") val formsFgDefault: kotlin.String? = null, + + @SerialName(value = "forms-fg-error") val formsFgError: kotlin.String? = null, + + @SerialName(value = "forms-fg-mute") val formsFgMute: kotlin.String? = null, + + @SerialName(value = "forms-fg-subtle") val formsFgSubtle: kotlin.String? = null, + + @SerialName(value = "forms-fg-success") val formsFgSuccess: kotlin.String? = null, + + @SerialName(value = "forms-fg-warn") val formsFgWarn: kotlin.String? = null, + + @SerialName(value = "forms-radio-bg-checked") val formsRadioBgChecked: kotlin.String? = null, + + @SerialName(value = "forms-radio-bg-default") val formsRadioBgDefault: kotlin.String? = null, + + @SerialName(value = "forms-radio-border-checked") val formsRadioBorderChecked: kotlin.String? = null, + + @SerialName(value = "forms-radio-border-default") val formsRadioBorderDefault: kotlin.String? = null, + + @SerialName(value = "forms-radio-fg-checked") val formsRadioFgChecked: kotlin.String? = null, + + @SerialName(value = "forms-radio-fg-default") val formsRadioFgDefault: kotlin.String? = null, + + @SerialName(value = "forms-toggle-bg-checked") val formsToggleBgChecked: kotlin.String? = null, + + @SerialName(value = "forms-toggle-bg-default") val formsToggleBgDefault: kotlin.String? = null, + + @SerialName(value = "forms-toggle-border-checked") val formsToggleBorderChecked: kotlin.String? = null, + + @SerialName(value = "forms-toggle-border-default") val formsToggleBorderDefault: kotlin.String? = null, + + @SerialName(value = "forms-toggle-fg-checked") val formsToggleFgChecked: kotlin.String? = null, + + @SerialName(value = "forms-toggle-fg-default") val formsToggleFgDefault: kotlin.String? = null, + + @SerialName(value = "id") val id: kotlin.String? = null, + + @SerialName(value = "links-link-default") val linksLinkDefault: kotlin.String? = null, + + @SerialName(value = "links-link-disabled") val linksLinkDisabled: kotlin.String? = null, + + @SerialName(value = "links-link-hover") val linksLinkHover: kotlin.String? = null, + + @SerialName(value = "links-link-inverted-default") val linksLinkInvertedDefault: kotlin.String? = null, + + @SerialName(value = "links-link-inverted-hover") val linksLinkInvertedHover: kotlin.String? = null, + + @SerialName(value = "links-link-mute-default") val linksLinkMuteDefault: kotlin.String? = null, + + @SerialName(value = "links-link-mute-hover") val linksLinkMuteHover: kotlin.String? = null, + + @SerialName(value = "syntax-syntax") val syntaxSyntax: kotlin.String? = null, + + @SerialName(value = "syntax-syntax-key") val syntaxSyntaxKey: kotlin.String? = null, + + @SerialName(value = "syntax-syntax-num") val syntaxSyntaxNum: kotlin.String? = null, + + @SerialName(value = "syntax-syntax-value") val syntaxSyntaxValue: kotlin.String? = null, + + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ActiveProjectInConsole.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ActiveProjectInConsole.kt new file mode 100644 index 00000000000..d9eb2f301ab --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ActiveProjectInConsole.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * The Active Project ID + * + * @param projectId The Active Project ID format: uuid + */ +@Serializable + +data class ActiveProjectInConsole ( + + /* The Active Project ID format: uuid */ + @SerialName(value = "project_id") val projectId: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AddProjectToWorkspaceBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AddProjectToWorkspaceBody.kt new file mode 100644 index 00000000000..026255113ee --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AddProjectToWorkspaceBody.kt @@ -0,0 +1,64 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param environment The environment of the project in the workspace. Can be one of \"prod\" or \"dev\". Note that the number of projects in the \"prod\" environment is limited depending on the subscription. prod Production stage Staging dev Development + * @param projectSubscription The action to take with the project subscription. Can be one of \"migrate\", and \"ignore\". \"migrate\" will migrate the project subscription to the workspace. \"ignore\" will ignore the project subscription. migrate ProjectSubscriptionActionMigrate ProjectSubscriptionActionMigrate will migrate the project subscription to the workspace. ignore ProjectSubscriptionActionIgnore ProjectSubscriptionActionIgnore will ignore the project subscription. + */ +@Serializable + +data class AddProjectToWorkspaceBody ( + + /* The environment of the project in the workspace. Can be one of \"prod\" or \"dev\". Note that the number of projects in the \"prod\" environment is limited depending on the subscription. prod Production stage Staging dev Development */ + @SerialName(value = "environment") @Required val environment: AddProjectToWorkspaceBody.Environment, + + /* The action to take with the project subscription. Can be one of \"migrate\", and \"ignore\". \"migrate\" will migrate the project subscription to the workspace. \"ignore\" will ignore the project subscription. migrate ProjectSubscriptionActionMigrate ProjectSubscriptionActionMigrate will migrate the project subscription to the workspace. ignore ProjectSubscriptionActionIgnore ProjectSubscriptionActionIgnore will ignore the project subscription. */ + @SerialName(value = "project_subscription") @Required val projectSubscription: AddProjectToWorkspaceBody.ProjectSubscription + +) { + + /** + * The environment of the project in the workspace. Can be one of \"prod\" or \"dev\". Note that the number of projects in the \"prod\" environment is limited depending on the subscription. prod Production stage Staging dev Development + * + * Values: prod,stage,dev + */ + @Serializable + enum class Environment(val value: kotlin.String) { + @SerialName(value = "prod") prod("prod"), + @SerialName(value = "stage") stage("stage"), + @SerialName(value = "dev") dev("dev"); + } + /** + * The action to take with the project subscription. Can be one of \"migrate\", and \"ignore\". \"migrate\" will migrate the project subscription to the workspace. \"ignore\" will ignore the project subscription. migrate ProjectSubscriptionActionMigrate ProjectSubscriptionActionMigrate will migrate the project subscription to the workspace. ignore ProjectSubscriptionActionIgnore ProjectSubscriptionActionIgnore will ignore the project subscription. + * + * Values: migrate,ignore + */ + @Serializable + enum class ProjectSubscription(val value: kotlin.String) { + @SerialName(value = "migrate") migrate("migrate"), + @SerialName(value = "ignore") ignore("ignore"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Attribute.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Attribute.kt new file mode 100644 index 00000000000..2fd75c8d726 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Attribute.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param key + * @param `value` + */ +@Serializable + +data class Attribute ( + + @SerialName(value = "key") val key: kotlin.String? = null, + + @SerialName(value = "value") val `value`: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributeFilter.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributeFilter.kt new file mode 100644 index 00000000000..b39db064ad4 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributeFilter.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param attribute + * @param condition + * @param `value` + */ +@Serializable + +data class AttributeFilter ( + + @SerialName(value = "attribute") val attribute: kotlin.String? = null, + + @SerialName(value = "condition") val condition: AttributeFilter.Condition? = null, + + @SerialName(value = "value") val `value`: kotlin.String? = null + +) { + + /** + * + * + * Values: equals,not_equals,contains,not_contains,regex,not_regex,set,not_set + */ + @Serializable + enum class Condition(val value: kotlin.String) { + @SerialName(value = "equals") equals("equals"), + @SerialName(value = "not_equals") not_equals("not_equals"), + @SerialName(value = "contains") contains("contains"), + @SerialName(value = "not_contains") not_contains("not_contains"), + @SerialName(value = "regex") regex("regex"), + @SerialName(value = "not_regex") not_regex("not_regex"), + @SerialName(value = "set") set("set"), + @SerialName(value = "not_set") not_set("not_set"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributesCountDatapoint.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributesCountDatapoint.kt new file mode 100644 index 00000000000..a1d84bf0be0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributesCountDatapoint.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param count Count of the attribute value for given key + * @param name Name of the attribute value for given key + */ +@Serializable + +data class AttributesCountDatapoint ( + + /* Count of the attribute value for given key */ + @SerialName(value = "count") @Required val count: kotlin.Long, + + /* Name of the attribute value for given key */ + @SerialName(value = "name") @Required val name: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AuthenticatorAssuranceLevel.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AuthenticatorAssuranceLevel.kt new file mode 100644 index 00000000000..e043f02c147 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/AuthenticatorAssuranceLevel.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* + +/** + * The authenticator assurance level can be one of \"aal1\", \"aal2\", or \"aal3\". A higher number means that it is harder for an attacker to compromise the account. Generally, \"aal1\" implies that one authentication factor was used while AAL2 implies that two factors (e.g. password + TOTP) have been used. To learn more about these levels please head over to: https://www.ory.sh/kratos/docs/concepts/credentials + * + * Values: aal0,aal1,aal2,aal3 + */ +@Serializable +enum class AuthenticatorAssuranceLevel(val value: kotlin.String) { + + @SerialName(value = "aal0") + aal0("aal0"), + + @SerialName(value = "aal1") + aal1("aal1"), + + @SerialName(value = "aal2") + aal2("aal2"), + + @SerialName(value = "aal3") + aal3("aal3"); + + /** + * Override [toString()] to avoid using the enum variable name as the value, and instead use + * the actual value defined in the API spec file. + * + * This solves a problem when the variable name and its value are different, and ensures that + * the client sends the correct enum values to the server always. + */ + override fun toString(): kotlin.String = value + + companion object { + /** + * Converts the provided [data] to a [String] on success, null otherwise. + */ + fun encode(data: kotlin.Any?): kotlin.String? = if (data is AuthenticatorAssuranceLevel) "$data" else null + + /** + * Returns a valid [AuthenticatorAssuranceLevel] for [data], null otherwise. + */ + fun decode(data: kotlin.Any?): AuthenticatorAssuranceLevel? = data?.let { + val normalizedData = "$it".lowercase() + values().firstOrNull { value -> + it == value || normalizedData == "$value".lowercase() + } + } + } +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchCheckPermissionBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchCheckPermissionBody.kt new file mode 100644 index 00000000000..4308447dd9c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchCheckPermissionBody.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.Relationship + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Batch Check Permission Body + * + * @param tuples + */ +@Serializable + +data class BatchCheckPermissionBody ( + + @SerialName(value = "tuples") val tuples: kotlin.collections.List? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchCheckPermissionResult.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchCheckPermissionResult.kt new file mode 100644 index 00000000000..d1f4411a352 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchCheckPermissionResult.kt @@ -0,0 +1,40 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.CheckPermissionResultWithError + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Batch Check Permission Result + * + * @param results An array of check results. The order aligns with the input order. + */ +@Serializable + +data class BatchCheckPermissionResult ( + + /* An array of check results. The order aligns with the input order. */ + @SerialName(value = "results") @Required val results: kotlin.collections.List + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchPatchIdentitiesResponse.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchPatchIdentitiesResponse.kt new file mode 100644 index 00000000000..9f5e9d0f543 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchPatchIdentitiesResponse.kt @@ -0,0 +1,40 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.IdentityPatchResponse + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Patch identities response + * + * @param identities The patch responses for the individual identities. + */ +@Serializable + +data class BatchPatchIdentitiesResponse ( + + /* The patch responses for the individual identities. */ + @SerialName(value = "identities") val identities: kotlin.collections.List? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BillingPeriodBucket.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BillingPeriodBucket.kt new file mode 100644 index 00000000000..353dc851c3a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/BillingPeriodBucket.kt @@ -0,0 +1,46 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.Invoice +import sh.ory.client-kotlin-multiplatform.models.TimeInterval + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param baseInvoices + * @param billingPeriod + * @param usageInvoice + */ +@Serializable + +data class BillingPeriodBucket ( + + @SerialName(value = "base_invoices") val baseInvoices: kotlin.collections.List? = null, + + @SerialName(value = "billing_period") val billingPeriod: TimeInterval? = null, + + @SerialName(value = "usage_invoice") val usageInvoice: Invoice? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckOplSyntaxResult.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckOplSyntaxResult.kt new file mode 100644 index 00000000000..95d1f1bf861 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckOplSyntaxResult.kt @@ -0,0 +1,40 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ParseError + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param errors The list of syntax errors + */ +@Serializable + +data class CheckOplSyntaxResult ( + + /* The list of syntax errors */ + @SerialName(value = "errors") val errors: kotlin.collections.List? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckPermissionResult.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckPermissionResult.kt new file mode 100644 index 00000000000..fa75be7a80e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckPermissionResult.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * The content of the allowed field is mirrored in the HTTP status code. + * + * @param allowed whether the relation tuple is allowed + */ +@Serializable + +data class CheckPermissionResult ( + + /* whether the relation tuple is allowed */ + @SerialName(value = "allowed") @Required val allowed: kotlin.Boolean + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckPermissionResultWithError.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckPermissionResultWithError.kt new file mode 100644 index 00000000000..2c07a364bce --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckPermissionResultWithError.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Check Permission Result With Error + * + * @param allowed whether the relation tuple is allowed + * @param error any error generated while checking the relation tuple + */ +@Serializable + +data class CheckPermissionResultWithError ( + + /* whether the relation tuple is allowed */ + @SerialName(value = "allowed") @Required val allowed: kotlin.Boolean, + + /* any error generated while checking the relation tuple */ + @SerialName(value = "error") val error: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CloudAccount.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CloudAccount.kt new file mode 100644 index 00000000000..d3420f0c2b1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CloudAccount.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param email + * @param emailVerified + * @param id + * @param name + */ +@Serializable + +data class CloudAccount ( + + @SerialName(value = "email") @Required val email: kotlin.String, + + @SerialName(value = "email_verified") @Required val emailVerified: kotlin.Boolean, + + @SerialName(value = "id") @Required val id: kotlin.String, + + @SerialName(value = "name") @Required val name: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ConsistencyRequestParameters.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ConsistencyRequestParameters.kt new file mode 100644 index 00000000000..a084f55a019 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ConsistencyRequestParameters.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Control API consistency guarantees + * + * @param 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. + */ +@Serializable + +data class ConsistencyRequestParameters ( + + /* 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. */ + @SerialName(value = "consistency") val consistency: ConsistencyRequestParameters.Consistency? = null + +) { + + /** + * 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. + * + * Values: ,strong,eventual + */ + @Serializable + enum class Consistency(val value: kotlin.String) { + @SerialName(value = "") (""), + @SerialName(value = "strong") strong("strong"), + @SerialName(value = "eventual") eventual("eventual"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWith.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWith.kt new file mode 100644 index 00000000000..6a564bb5027 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWith.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ContinueWithRecoveryUi +import sh.ory.client-kotlin-multiplatform.models.ContinueWithRecoveryUiFlow +import sh.ory.client-kotlin-multiplatform.models.ContinueWithRedirectBrowserTo +import sh.ory.client-kotlin-multiplatform.models.ContinueWithSetOrySessionToken +import sh.ory.client-kotlin-multiplatform.models.ContinueWithSettingsUi +import sh.ory.client-kotlin-multiplatform.models.ContinueWithVerificationUi + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param action Action will always be `redirect_browser_to` redirect_browser_to ContinueWithActionRedirectBrowserToString + * @param flow + * @param orySessionToken Token is the token of the session + * @param redirectBrowserTo The URL to redirect the browser to + */ + + +interface ContinueWith { + + /* Action will always be `redirect_browser_to` redirect_browser_to ContinueWithActionRedirectBrowserToString */ + @SerialName(value = "action") @Required val action: ContinueWith.Action + @SerialName(value = "flow") @Required val flow: ContinueWithRecoveryUiFlow + /* Token is the token of the session */ + @SerialName(value = "ory_session_token") @Required val orySessionToken: kotlin.String + /* The URL to redirect the browser to */ + @SerialName(value = "redirect_browser_to") @Required val redirectBrowserTo: kotlin.String + /** + * Action will always be `redirect_browser_to` redirect_browser_to ContinueWithActionRedirectBrowserToString + * + * Values: redirect_browser_to + */ + @Serializable + enum class Action(val value: kotlin.String) { + @SerialName(value = "redirect_browser_to") redirect_browser_to("redirect_browser_to"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRecoveryUi.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRecoveryUi.kt new file mode 100644 index 00000000000..8fcc54eb3d4 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRecoveryUi.kt @@ -0,0 +1,52 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ContinueWithRecoveryUiFlow + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Indicates, that the UI flow could be continued by showing a recovery ui + * + * @param action Action will always be `show_recovery_ui` show_recovery_ui ContinueWithActionShowRecoveryUIString + * @param flow + */ +@Serializable + +data class ContinueWithRecoveryUi ( + + /* Action will always be `show_recovery_ui` show_recovery_ui ContinueWithActionShowRecoveryUIString */ + @SerialName(value = "action") @Required val action: ContinueWithRecoveryUi.Action, + + @SerialName(value = "flow") @Required val flow: ContinueWithRecoveryUiFlow + +) { + + /** + * Action will always be `show_recovery_ui` show_recovery_ui ContinueWithActionShowRecoveryUIString + * + * Values: show_recovery_ui + */ + @Serializable + enum class Action(val value: kotlin.String) { + @SerialName(value = "show_recovery_ui") show_recovery_ui("show_recovery_ui"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRecoveryUiFlow.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRecoveryUiFlow.kt new file mode 100644 index 00000000000..c57583bdd25 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRecoveryUiFlow.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param id The ID of the recovery flow + * @param url The URL of the recovery flow If this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows. + */ +@Serializable + +data class ContinueWithRecoveryUiFlow ( + + /* The ID of the recovery flow */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* The URL of the recovery flow If this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows. */ + @SerialName(value = "url") val url: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRedirectBrowserTo.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRedirectBrowserTo.kt new file mode 100644 index 00000000000..b879691acf4 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRedirectBrowserTo.kt @@ -0,0 +1,52 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Indicates, that the UI flow could be continued by showing a recovery ui + * + * @param action Action will always be `redirect_browser_to` redirect_browser_to ContinueWithActionRedirectBrowserToString + * @param redirectBrowserTo The URL to redirect the browser to + */ +@Serializable + +data class ContinueWithRedirectBrowserTo ( + + /* Action will always be `redirect_browser_to` redirect_browser_to ContinueWithActionRedirectBrowserToString */ + @SerialName(value = "action") @Required val action: ContinueWithRedirectBrowserTo.Action, + + /* The URL to redirect the browser to */ + @SerialName(value = "redirect_browser_to") @Required val redirectBrowserTo: kotlin.String + +) { + + /** + * Action will always be `redirect_browser_to` redirect_browser_to ContinueWithActionRedirectBrowserToString + * + * Values: redirect_browser_to + */ + @Serializable + enum class Action(val value: kotlin.String) { + @SerialName(value = "redirect_browser_to") redirect_browser_to("redirect_browser_to"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSetOrySessionToken.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSetOrySessionToken.kt new file mode 100644 index 00000000000..66ab81506db --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSetOrySessionToken.kt @@ -0,0 +1,52 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Indicates that a session was issued, and the application should use this token for authenticated requests + * + * @param action Action will always be `set_ory_session_token` set_ory_session_token ContinueWithActionSetOrySessionTokenString + * @param orySessionToken Token is the token of the session + */ +@Serializable + +data class ContinueWithSetOrySessionToken ( + + /* Action will always be `set_ory_session_token` set_ory_session_token ContinueWithActionSetOrySessionTokenString */ + @SerialName(value = "action") @Required val action: ContinueWithSetOrySessionToken.Action, + + /* Token is the token of the session */ + @SerialName(value = "ory_session_token") @Required val orySessionToken: kotlin.String + +) { + + /** + * Action will always be `set_ory_session_token` set_ory_session_token ContinueWithActionSetOrySessionTokenString + * + * Values: set_ory_session_token + */ + @Serializable + enum class Action(val value: kotlin.String) { + @SerialName(value = "set_ory_session_token") set_ory_session_token("set_ory_session_token"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSettingsUi.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSettingsUi.kt new file mode 100644 index 00000000000..20c34a96b89 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSettingsUi.kt @@ -0,0 +1,52 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ContinueWithSettingsUiFlow + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Indicates, that the UI flow could be continued by showing a settings ui + * + * @param action Action will always be `show_settings_ui` show_settings_ui ContinueWithActionShowSettingsUIString + * @param flow + */ +@Serializable + +data class ContinueWithSettingsUi ( + + /* Action will always be `show_settings_ui` show_settings_ui ContinueWithActionShowSettingsUIString */ + @SerialName(value = "action") @Required val action: ContinueWithSettingsUi.Action, + + @SerialName(value = "flow") @Required val flow: ContinueWithSettingsUiFlow + +) { + + /** + * Action will always be `show_settings_ui` show_settings_ui ContinueWithActionShowSettingsUIString + * + * Values: show_settings_ui + */ + @Serializable + enum class Action(val value: kotlin.String) { + @SerialName(value = "show_settings_ui") show_settings_ui("show_settings_ui"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSettingsUiFlow.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSettingsUiFlow.kt new file mode 100644 index 00000000000..910136d331c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSettingsUiFlow.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param id The ID of the settings flow + * @param url The URL of the settings flow If this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows. + */ +@Serializable + +data class ContinueWithSettingsUiFlow ( + + /* The ID of the settings flow */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* The URL of the settings flow If this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows. */ + @SerialName(value = "url") val url: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithVerificationUi.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithVerificationUi.kt new file mode 100644 index 00000000000..7815617978c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithVerificationUi.kt @@ -0,0 +1,52 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ContinueWithVerificationUiFlow + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Indicates, that the UI flow could be continued by showing a verification ui + * + * @param action Action will always be `show_verification_ui` show_verification_ui ContinueWithActionShowVerificationUIString + * @param flow + */ +@Serializable + +data class ContinueWithVerificationUi ( + + /* Action will always be `show_verification_ui` show_verification_ui ContinueWithActionShowVerificationUIString */ + @SerialName(value = "action") @Required val action: ContinueWithVerificationUi.Action, + + @SerialName(value = "flow") @Required val flow: ContinueWithVerificationUiFlow + +) { + + /** + * Action will always be `show_verification_ui` show_verification_ui ContinueWithActionShowVerificationUIString + * + * Values: show_verification_ui + */ + @Serializable + enum class Action(val value: kotlin.String) { + @SerialName(value = "show_verification_ui") show_verification_ui("show_verification_ui"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithVerificationUiFlow.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithVerificationUiFlow.kt new file mode 100644 index 00000000000..cec39288c7f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithVerificationUiFlow.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param id The ID of the verification flow + * @param verifiableAddress The address that should be verified in this flow + * @param url The URL of the verification flow If this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows. + */ +@Serializable + +data class ContinueWithVerificationUiFlow ( + + /* The ID of the verification flow */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* The address that should be verified in this flow */ + @SerialName(value = "verifiable_address") @Required val verifiableAddress: kotlin.String, + + /* The URL of the verification flow If this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows. */ + @SerialName(value = "url") val url: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CourierMessageStatus.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CourierMessageStatus.kt new file mode 100644 index 00000000000..5c0193e7018 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CourierMessageStatus.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* + +/** + * A Message's Status + * + * Values: queued,sent,processing,abandoned + */ +@Serializable +enum class CourierMessageStatus(val value: kotlin.String) { + + @SerialName(value = "queued") + queued("queued"), + + @SerialName(value = "sent") + sent("sent"), + + @SerialName(value = "processing") + processing("processing"), + + @SerialName(value = "abandoned") + abandoned("abandoned"); + + /** + * Override [toString()] to avoid using the enum variable name as the value, and instead use + * the actual value defined in the API spec file. + * + * This solves a problem when the variable name and its value are different, and ensures that + * the client sends the correct enum values to the server always. + */ + override fun toString(): kotlin.String = value + + companion object { + /** + * Converts the provided [data] to a [String] on success, null otherwise. + */ + fun encode(data: kotlin.Any?): kotlin.String? = if (data is CourierMessageStatus) "$data" else null + + /** + * Returns a valid [CourierMessageStatus] for [data], null otherwise. + */ + fun decode(data: kotlin.Any?): CourierMessageStatus? = data?.let { + val normalizedData = "$it".lowercase() + values().firstOrNull { value -> + it == value || normalizedData == "$value".lowercase() + } + } + } +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CourierMessageType.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CourierMessageType.kt new file mode 100644 index 00000000000..bb681dbce40 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CourierMessageType.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* + +/** + * It can either be `email` or `phone` + * + * Values: email,phone + */ +@Serializable +enum class CourierMessageType(val value: kotlin.String) { + + @SerialName(value = "email") + email("email"), + + @SerialName(value = "phone") + phone("phone"); + + /** + * Override [toString()] to avoid using the enum variable name as the value, and instead use + * the actual value defined in the API spec file. + * + * This solves a problem when the variable name and its value are different, and ensures that + * the client sends the correct enum values to the server always. + */ + override fun toString(): kotlin.String = value + + companion object { + /** + * Converts the provided [data] to a [String] on success, null otherwise. + */ + fun encode(data: kotlin.Any?): kotlin.String? = if (data is CourierMessageType) "$data" else null + + /** + * Returns a valid [CourierMessageType] for [data], null otherwise. + */ + fun decode(data: kotlin.Any?): CourierMessageType? = data?.let { + val normalizedData = "$it".lowercase() + values().firstOrNull { value -> + it == value || normalizedData == "$value".lowercase() + } + } + } +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateCustomDomainBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateCustomDomainBody.kt new file mode 100644 index 00000000000..4cbb4f9abf5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateCustomDomainBody.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Create Custom Hostname Request Body + * + * @param cookieDomain The domain where cookies will be set. Has to be a parent domain of the custom hostname to work. + * @param corsAllowedOrigins CORS Allowed origins for the custom hostname. + * @param corsEnabled CORS Enabled for the custom hostname. + * @param customUiBaseUrl The base URL where the custom user interface will be exposed. + * @param hostname The custom hostname where the API will be exposed. + */ +@Serializable + +data class CreateCustomDomainBody ( + + /* The domain where cookies will be set. Has to be a parent domain of the custom hostname to work. */ + @SerialName(value = "cookie_domain") val cookieDomain: kotlin.String? = null, + + /* CORS Allowed origins for the custom hostname. */ + @SerialName(value = "cors_allowed_origins") val corsAllowedOrigins: kotlin.collections.List? = null, + + /* CORS Enabled for the custom hostname. */ + @SerialName(value = "cors_enabled") val corsEnabled: kotlin.Boolean? = null, + + /* The base URL where the custom user interface will be exposed. */ + @SerialName(value = "custom_ui_base_url") val customUiBaseUrl: kotlin.String? = null, + + /* The custom hostname where the API will be exposed. */ + @SerialName(value = "hostname") val hostname: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateEventStreamBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateEventStreamBody.kt new file mode 100644 index 00000000000..c4cd3ac50bd --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateEventStreamBody.kt @@ -0,0 +1,56 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Create Event Stream Request Body + * + * @param roleArn The AWS IAM role ARN to assume when publishing to the SNS topic. + * @param topicArn The AWS SNS topic ARN. + * @param type The type of the event stream (AWS SNS, GCP Pub/Sub, etc). + */ +@Serializable + +data class CreateEventStreamBody ( + + /* The AWS IAM role ARN to assume when publishing to the SNS topic. */ + @SerialName(value = "role_arn") @Required val roleArn: kotlin.String, + + /* The AWS SNS topic ARN. */ + @SerialName(value = "topic_arn") @Required val topicArn: kotlin.String, + + /* The type of the event stream (AWS SNS, GCP Pub/Sub, etc). */ + @SerialName(value = "type") @Required val type: CreateEventStreamBody.Type + +) { + + /** + * The type of the event stream (AWS SNS, GCP Pub/Sub, etc). + * + * Values: sns + */ + @Serializable + enum class Type(val value: kotlin.String) { + @SerialName(value = "sns") sns("sns"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateIdentityBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateIdentityBody.kt new file mode 100644 index 00000000000..6f08c1adb7b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateIdentityBody.kt @@ -0,0 +1,79 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentials +import sh.ory.client-kotlin-multiplatform.models.RecoveryIdentityAddress +import sh.ory.client-kotlin-multiplatform.models.VerifiableIdentityAddress + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Create Identity Body + * + * @param schemaId SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. + * @param traits Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_url`. + * @param credentials + * @param metadataAdmin Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/`. + * @param metadataPublic Store metadata about the identity which the identity itself can see when calling for example the session endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field. + * @param recoveryAddresses RecoveryAddresses contains all the addresses that can be used to recover an identity. Use this structure to import recovery addresses for an identity. Please keep in mind that the address needs to be represented in the Identity Schema or this field will be overwritten on the next identity update. + * @param state State is the identity's state. active StateActive inactive StateInactive + * @param verifiableAddresses VerifiableAddresses contains all the addresses that can be verified by the user. Use this structure to import verified addresses for an identity. Please keep in mind that the address needs to be represented in the Identity Schema or this field will be overwritten on the next identity update. + */ +@Serializable + +data class CreateIdentityBody ( + + /* SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. */ + @SerialName(value = "schema_id") @Required val schemaId: kotlin.String, + + /* Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_url`. */ + @SerialName(value = "traits") @Required val traits: kotlin.String, + + @SerialName(value = "credentials") val credentials: IdentityWithCredentials? = null, + + /* Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/`. */ + @SerialName(value = "metadata_admin") val metadataAdmin: kotlin.Any? = null, + + /* Store metadata about the identity which the identity itself can see when calling for example the session endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field. */ + @SerialName(value = "metadata_public") val metadataPublic: kotlin.Any? = null, + + /* RecoveryAddresses contains all the addresses that can be used to recover an identity. Use this structure to import recovery addresses for an identity. Please keep in mind that the address needs to be represented in the Identity Schema or this field will be overwritten on the next identity update. */ + @SerialName(value = "recovery_addresses") val recoveryAddresses: kotlin.collections.List? = null, + + /* State is the identity's state. active StateActive inactive StateInactive */ + @SerialName(value = "state") val state: CreateIdentityBody.State? = null, + + /* VerifiableAddresses contains all the addresses that can be verified by the user. Use this structure to import verified addresses for an identity. Please keep in mind that the address needs to be represented in the Identity Schema or this field will be overwritten on the next identity update. */ + @SerialName(value = "verifiable_addresses") val verifiableAddresses: kotlin.collections.List? = null + +) { + + /** + * State is the identity's state. active StateActive inactive StateInactive + * + * Values: active,inactive + */ + @Serializable + enum class State(val value: kotlin.String) { + @SerialName(value = "active") active("active"), + @SerialName(value = "inactive") inactive("inactive"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateInviteResponse.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateInviteResponse.kt new file mode 100644 index 00000000000..e66eeff0d25 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateInviteResponse.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.MemberInvite + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param allInvites A list of all invites for this resource + * @param createdInvite + */ +@Serializable + +data class CreateInviteResponse ( + + /* A list of all invites for this resource */ + @SerialName(value = "all_invites") @Required val allInvites: kotlin.collections.List, + + @SerialName(value = "created_invite") @Required val createdInvite: MemberInvite + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateJsonWebKeySet.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateJsonWebKeySet.kt new file mode 100644 index 00000000000..24b8d5a219e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateJsonWebKeySet.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Create JSON Web Key Set Request Body + * + * @param alg JSON Web Key Algorithm The algorithm to be used for creating the key. Supports `RS256`, `ES256`, `ES512`, `HS512`, and `HS256`. + * @param kid JSON Web Key ID The Key ID of the key to be created. + * @param use JSON Web Key Use The \"use\" (public key use) parameter identifies the intended use of the public key. The \"use\" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Valid values are \"enc\" and \"sig\". + */ +@Serializable + +data class CreateJsonWebKeySet ( + + /* JSON Web Key Algorithm The algorithm to be used for creating the key. Supports `RS256`, `ES256`, `ES512`, `HS512`, and `HS256`. */ + @SerialName(value = "alg") @Required val alg: kotlin.String, + + /* JSON Web Key ID The Key ID of the key to be created. */ + @SerialName(value = "kid") @Required val kid: kotlin.String, + + /* JSON Web Key Use The \"use\" (public key use) parameter identifies the intended use of the public key. The \"use\" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Valid values are \"enc\" and \"sig\". */ + @SerialName(value = "use") @Required val use: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectApiKeyRequest.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectApiKeyRequest.kt new file mode 100644 index 00000000000..7c60da3effe --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectApiKeyRequest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param name The Token Name A descriptive name for the token. in: body + * @param expiresAt + */ +@Serializable + +data class CreateProjectApiKeyRequest ( + + /* The Token Name A descriptive name for the token. in: body */ + @SerialName(value = "name") @Required val name: kotlin.String, + + @SerialName(value = "expires_at") val expiresAt: kotlinx.datetime.Instant? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectBody.kt new file mode 100644 index 00000000000..cefa2c73880 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectBody.kt @@ -0,0 +1,76 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Create Project Request Body + * + * @param environment The environment of the project. prod Production stage Staging dev Development + * @param name The name of the project to be created + * @param homeRegion Home Region The home region of the project. This is the region where the project will be created. eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global + * @param workspaceId The workspace to create the project in. + */ +@Serializable + +data class CreateProjectBody ( + + /* The environment of the project. prod Production stage Staging dev Development */ + @SerialName(value = "environment") @Required val environment: CreateProjectBody.Environment, + + /* The name of the project to be created */ + @SerialName(value = "name") @Required val name: kotlin.String, + + /* Home Region The home region of the project. This is the region where the project will be created. eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global */ + @SerialName(value = "home_region") val homeRegion: CreateProjectBody.HomeRegion? = null, + + /* The workspace to create the project in. */ + @SerialName(value = "workspace_id") val workspaceId: kotlin.String? = null + +) { + + /** + * The environment of the project. prod Production stage Staging dev Development + * + * Values: prod,stage,dev + */ + @Serializable + enum class Environment(val value: kotlin.String) { + @SerialName(value = "prod") prod("prod"), + @SerialName(value = "stage") stage("stage"), + @SerialName(value = "dev") dev("dev"); + } + /** + * Home Region The home region of the project. This is the region where the project will be created. eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global + * + * Values: euMinusCentral,asiaMinusNortheast,usMinusEast,usMinusWest,us,global + */ + @Serializable + enum class HomeRegion(val value: kotlin.String) { + @SerialName(value = "eu-central") euMinusCentral("eu-central"), + @SerialName(value = "asia-northeast") asiaMinusNortheast("asia-northeast"), + @SerialName(value = "us-east") usMinusEast("us-east"), + @SerialName(value = "us-west") usMinusWest("us-west"), + @SerialName(value = "us") us("us"), + @SerialName(value = "global") global("global"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectBranding.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectBranding.kt new file mode 100644 index 00000000000..747fcc4f109 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectBranding.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ProjectBrandingColors + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Create a Project Branding + * + * @param faviconType + * @param faviconUrl + * @param logoType + * @param logoUrl + * @param name + * @param theme + */ +@Serializable + +data class CreateProjectBranding ( + + @SerialName(value = "favicon_type") val faviconType: kotlin.String? = null, + + @SerialName(value = "favicon_url") val faviconUrl: kotlin.String? = null, + + @SerialName(value = "logo_type") val logoType: kotlin.String? = null, + + @SerialName(value = "logo_url") val logoUrl: kotlin.String? = null, + + @SerialName(value = "name") val name: kotlin.String? = null, + + @SerialName(value = "theme") val theme: ProjectBrandingColors? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectMemberInviteBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectMemberInviteBody.kt new file mode 100644 index 00000000000..43ffae82042 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectMemberInviteBody.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Create Project MemberInvite Request Body + * + * @param inviteeEmail A email to invite + */ +@Serializable + +data class CreateProjectMemberInviteBody ( + + /* A email to invite */ + @SerialName(value = "invitee_email") val inviteeEmail: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectNormalizedPayload.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectNormalizedPayload.kt new file mode 100644 index 00000000000..a7a28497ed1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectNormalizedPayload.kt @@ -0,0 +1,930 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.KetoNamespace +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionCourierChannel +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionHook +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionIdentitySchema +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionThirdPartyProvider +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionTokenizerTemplate + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Create project (normalized) request payload + * + * @param environment prod Production stage Staging dev Development + * @param name The project's name. + * @param createdAt The Project's Revision Creation Date + * @param disableAccountExperienceWelcomeScreen Whether to disable the account experience welcome screen, which is hosted under `/ui/welcome`. + * @param enableAxV2 Whether the new account experience is enabled and reachable. + * @param homeRegion eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global + * @param hydraOauth2AllowedTopLevelClaims + * @param hydraOauth2ClientCredentialsDefaultGrantAllowedScope Automatically grant authorized OAuth2 Scope in OAuth2 Client Credentials Flow. Each OAuth2 Client is allowed to request a predefined OAuth2 Scope (for example `read write`). If this option is enabled, the full scope is automatically granted when performing the OAuth2 Client Credentials flow. If disabled, the OAuth2 Client has to request the scope in the OAuth2 request by providing the `scope` query parameter. Setting this option to true is common if you need compatibility with MITREid. This governs the \"oauth2.client_credentials.default_grant_allowed_scope\" setting. + * @param hydraOauth2ExcludeNotBeforeClaim Set to true if you want to exclude claim `nbf (not before)` part of access token. This governs the \"oauth2.exclude_not_before_claim\" setting. + * @param hydraOauth2GrantJwtIatOptional Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.iat_optional\" setting. + * @param hydraOauth2GrantJwtJtiOptional Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.jti_optional\" setting. + * @param hydraOauth2GrantJwtMaxTtl Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be. This feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied. Useful as a safety measure and recommended to keep below 720h. This governs the \"oauth2.grant.jwt.max_ttl\" setting. + * @param hydraOauth2MirrorTopLevelClaims Set to false if you don't want to mirror custom claims under 'ext'. This governs the \"oauth2.mirror_top_level_claims\" setting. + * @param hydraOauth2PkceEnforced Configures whether PKCE should be enforced for all OAuth2 Clients. This governs the \"oauth2.pkce.enforced\" setting. + * @param hydraOauth2PkceEnforcedForPublicClients Configures whether PKCE should be enforced for OAuth2 Clients without a client secret (public clients). This governs the \"oauth2.pkce.enforced_for_public_clients\" setting. + * @param hydraOauth2RefreshTokenHook Sets the Refresh Token Hook Endpoint. If set this endpoint will be called during the OAuth2 Token Refresh grant update the OAuth2 Access Token claims. This governs the \"oauth2.refresh_token_hook\" setting. + * @param hydraOauth2TokenHook Sets the token hook endpoint for all grant types. If set it will be called while providing token to customize claims. This governs the \"oauth2.token_hook.url\" setting. + * @param hydraOidcDynamicClientRegistrationDefaultScope + * @param hydraOidcDynamicClientRegistrationEnabled Configures OpenID Connect Dynamic Client Registration. This governs the \"oidc.dynamic_client_registration.enabled\" setting. + * @param hydraOidcSubjectIdentifiersPairwiseSalt Configures OpenID Connect Discovery and overwrites the pairwise algorithm This governs the \"oidc.subject_identifiers.pairwise_salt\" setting. + * @param hydraOidcSubjectIdentifiersSupportedTypes + * @param hydraSecretsCookie + * @param hydraSecretsSystem + * @param hydraServeCookiesSameSiteLegacyWorkaround Configures the Ory Hydra Cookie Same Site Legacy Workaround This governs the \"serve.cookies.same_site_legacy_workaround\" setting. + * @param hydraServeCookiesSameSiteMode Configures the Ory Hydra Cookie Same Site Mode This governs the \"serve.cookies.same_site_mode\" setting. + * @param hydraStrategiesAccessToken Defines access token type This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt + * @param hydraStrategiesJwtScopeClaim Define the claim to use as the scope in the access token. This governs the \"strategies.jwt.scope_claim\" setting: list: The scope claim is an array of strings named `scope`: `{ \"scope\": [\"read\", \"write\"] }` string: The scope claim is a space delimited list of strings named `scp`: `{ \"scp\": \"read write\" }` both: The scope claim is both a space delimited list and an array of strings named `scope` and `scp`: `{ \"scope\": [\"read\", \"write\"], \"scp\": \"read write\" }` list OAuth2JWTScopeClaimList string OAuth2JWTScopeClaimString both OAuth2JWTScopeClaimBoth + * @param hydraStrategiesScope Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes This governs the \"strategies.scope\" setting. exact Oauth2ScopeStrategyExact wildcard Oauth2ScopeStrategyWildcard + * @param hydraTtlAccessToken This governs the \"ttl.access_token\" setting. + * @param hydraTtlAuthCode Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.auth_code\" setting. + * @param hydraTtlIdToken This governs the \"ttl.id_token\" setting. + * @param hydraTtlLoginConsentRequest Configures how long a user login and consent flow may take. This governs the \"ttl.login_consent_request\" setting. + * @param hydraTtlRefreshToken Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.refresh_token\" setting. + * @param hydraUrlsConsent Sets the OAuth2 Consent Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.consent\" setting. + * @param hydraUrlsError Sets the OAuth2 Error URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.error\" setting. + * @param hydraUrlsLogin Sets the OAuth2 Login Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.login\" setting. + * @param hydraUrlsLogout Sets the logout endpoint. Defaults to the Ory Account Experience if left empty. This governs the \"urls.logout\" setting. + * @param hydraUrlsPostLogoutRedirect When an OAuth2-related user agent requests to log out, they will be redirected to this url afterwards per default. Defaults to the Ory Account Experience in development and your application in production mode when a custom domain is connected. This governs the \"urls.post_logout_redirect\" setting. + * @param hydraUrlsRegistration Sets the OAuth2 Registration Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.registration\" setting. + * @param hydraUrlsSelfIssuer This value will be used as the issuer in access and ID tokens. It must be specified and using HTTPS protocol, unless the development mode is enabled. On the Ory Network it will be very rare that you want to modify this value. If left empty, it will default to the correct value for the Ory Network. This governs the \"urls.self.issuer\" setting. + * @param hydraWebfingerJwksBroadcastKeys + * @param hydraWebfingerOidcDiscoveryAuthUrl Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL. This governs the \"webfinger.oidc.discovery.auth_url\" setting. + * @param hydraWebfingerOidcDiscoveryClientRegistrationUrl Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint. This governs the \"webfinger.oidc.discovery.client_registration_url\" setting. + * @param hydraWebfingerOidcDiscoveryJwksUrl Configures OpenID Connect Discovery and overwrites the JWKS URL. This governs the \"webfinger.oidc.discovery.jwks_url\" setting. + * @param hydraWebfingerOidcDiscoverySupportedClaims + * @param hydraWebfingerOidcDiscoverySupportedScope + * @param hydraWebfingerOidcDiscoveryTokenUrl Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL. This governs the \"webfinger.oidc.discovery.token_url\" setting. + * @param hydraWebfingerOidcDiscoveryUserinfoUrl Configures OpenID Connect Discovery and overwrites userinfo endpoint to be advertised at the OpenID Connect Discovery endpoint /.well-known/openid-configuration. Defaults to Ory Hydra's userinfo endpoint at /userinfo. Set this value if you want to handle this endpoint yourself. This governs the \"webfinger.oidc.discovery.userinfo_url\" setting. + * @param id The revision ID. + * @param ketoNamespaceConfiguration The Revisions' Keto Namespace Configuration The string is a URL pointing to an OPL file with the configuration. + * @param ketoNamespaces + * @param kratosCookiesSameSite Configures the Ory Kratos Cookie SameSite Attribute This governs the \"cookies.same_site\" setting. + * @param kratosCourierChannels + * @param kratosCourierDeliveryStrategy The delivery strategy to use when sending emails `smtp`: Use SMTP server `http`: Use the built in HTTP client to send the email to some remote service + * @param kratosCourierHttpRequestConfigAuthApiKeyIn The location of the API key to use in the HTTP email sending service's authentication `header`: Send the key value pair as a header `cookie`: Send the key value pair as a cookie This governs the \"courier.http.auth.config.in\" setting + * @param kratosCourierHttpRequestConfigAuthApiKeyName The name of the API key to use in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.name\" setting + * @param kratosCourierHttpRequestConfigAuthApiKeyValue The value of the API key to use in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.value\" setting + * @param kratosCourierHttpRequestConfigAuthBasicAuthPassword The password to use for basic auth in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.password\" setting + * @param kratosCourierHttpRequestConfigAuthBasicAuthUser The user to use for basic auth in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.user\" setting + * @param kratosCourierHttpRequestConfigAuthType The authentication type to use while contacting the remote HTTP email sending service `basic_auth`: Use Basic Authentication `api_key`: Use API Key Authentication in a header or cookie + * @param kratosCourierHttpRequestConfigBody The Jsonnet template to generate the body to send to the remote HTTP email sending service Should be valid Jsonnet and base64 encoded This governs the \"courier.http.body\" setting + * @param kratosCourierHttpRequestConfigHeaders NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- + * @param kratosCourierHttpRequestConfigMethod The http METHOD to use when calling the remote HTTP email sending service + * @param kratosCourierHttpRequestConfigUrl The URL of the remote HTTP email sending service This governs the \"courier.http.url\" setting + * @param kratosCourierSmtpConnectionUri Configures the Ory Kratos SMTP Connection URI This governs the \"courier.smtp.connection_uri\" setting. + * @param kratosCourierSmtpFromAddress Configures the Ory Kratos SMTP From Address This governs the \"courier.smtp.from_address\" setting. + * @param kratosCourierSmtpFromName Configures the Ory Kratos SMTP From Name This governs the \"courier.smtp.from_name\" setting. + * @param kratosCourierSmtpHeaders NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- + * @param kratosCourierSmtpLocalName Configures the local_name to use in SMTP connections This governs the \"courier.smtp.local_name\" setting. + * @param kratosCourierTemplatesLoginCodeValidEmailBodyHtml Configures the Ory Kratos Valid Login via Code Email Body HTML Template This governs the \"courier.smtp.templates.login_code.valid.email.body.html\" setting. + * @param kratosCourierTemplatesLoginCodeValidEmailBodyPlaintext Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.login_code.valid.email.body.plaintext\" setting. + * @param kratosCourierTemplatesLoginCodeValidEmailSubject Configures the Ory Kratos Valid Login via Code Email Subject Template This governs the \"courier.smtp.templates.login_code.valid.email.subject\" setting. + * @param kratosCourierTemplatesLoginCodeValidSmsBodyPlaintext Configures the Ory Kratos Valid Login via Code SMS plain text body This governs the \"courier.smtp.templates.login_code.valid.sms.plaintext\" setting. + * @param kratosCourierTemplatesRecoveryCodeInvalidEmailBodyHtml Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting. + * @param kratosCourierTemplatesRecoveryCodeInvalidEmailBodyPlaintext Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.plaintext\" setting. + * @param kratosCourierTemplatesRecoveryCodeInvalidEmailSubject Configures the Ory Kratos Invalid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting. + * @param kratosCourierTemplatesRecoveryCodeValidEmailBodyHtml Configures the Ory Kratos Valid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.valid.email.body.html\" setting. + * @param kratosCourierTemplatesRecoveryCodeValidEmailBodyPlaintext Configures the Ory Kratos Valid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.valid.email.body.plaintext\" setting. + * @param kratosCourierTemplatesRecoveryCodeValidEmailSubject Configures the Ory Kratos Valid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.valid.email.subject\" setting. + * @param kratosCourierTemplatesRecoveryInvalidEmailBodyHtml Configures the Ory Kratos Invalid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting. + * @param kratosCourierTemplatesRecoveryInvalidEmailBodyPlaintext Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.plaintext\" setting. + * @param kratosCourierTemplatesRecoveryInvalidEmailSubject Configures the Ory Kratos Invalid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting. + * @param kratosCourierTemplatesRecoveryValidEmailBodyHtml Configures the Ory Kratos Valid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.valid.email.body.html\" setting. + * @param kratosCourierTemplatesRecoveryValidEmailBodyPlaintext Configures the Ory Kratos Valid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting. + * @param kratosCourierTemplatesRecoveryValidEmailSubject Configures the Ory Kratos Valid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.valid.email.subject\" setting. + * @param 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. + * @param 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. + * @param kratosCourierTemplatesRegistrationCodeValidEmailSubject Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.smtp.templates.registration_code.valid.email.subject\" setting. + * @param 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. + * @param 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. + * @param 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. + * @param kratosCourierTemplatesVerificationCodeInvalidEmailSubject Configures the Ory Kratos Invalid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.invalid.email.subject\" setting. + * @param kratosCourierTemplatesVerificationCodeValidEmailBodyHtml Configures the Ory Kratos Valid Verification via Code Email Body HTML Template This governs the \"courier.smtp.templates.verification_code.valid.email.body.html\" setting. + * @param kratosCourierTemplatesVerificationCodeValidEmailBodyPlaintext Configures the Ory Kratos Valid Verification via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.verification_code.valid.email.body.plaintext\" setting. + * @param kratosCourierTemplatesVerificationCodeValidEmailSubject Configures the Ory Kratos Valid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.valid.email.subject\" setting. + * @param kratosCourierTemplatesVerificationCodeValidSmsBodyPlaintext Configures the Ory Kratos Valid Verification via Code SMS Body Plaintext This governs the \"courier.smtp.templates.verification_code.valid.sms.body.plaintext\" setting. + * @param kratosCourierTemplatesVerificationInvalidEmailBodyHtml Configures the Ory Kratos Invalid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.invalid.email.body.html\" setting. + * @param kratosCourierTemplatesVerificationInvalidEmailBodyPlaintext Configures the Ory Kratos Invalid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.verification.invalid.email.body.plaintext\" setting. + * @param kratosCourierTemplatesVerificationInvalidEmailSubject Configures the Ory Kratos Invalid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.invalid.email.subject\" setting. + * @param kratosCourierTemplatesVerificationValidEmailBodyHtml Configures the Ory Kratos Valid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.valid.email.body.html\" setting. + * @param kratosCourierTemplatesVerificationValidEmailBodyPlaintext Configures the Ory Kratos Valid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.verification.valid.email.body.plaintext\" setting. + * @param kratosCourierTemplatesVerificationValidEmailSubject Configures the Ory Kratos Valid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.valid.email.subject\" setting. + * @param kratosFeatureFlagsCacheableSessions Configures the Ory Kratos Session caching feature flag This governs the \"feature_flags.cacheable_sessions\" setting. + * @param kratosFeatureFlagsCacheableSessionsMaxAge Configures the Ory Kratos Session caching max-age feature flag This governs the \"feature_flags.cacheable_sessions_max_age\" setting. + * @param kratosFeatureFlagsFasterSessionExtend Configures the Ory Kratos Faster Session Extend setting If enabled allows faster session extension by skipping the session lookup and returning 201 instead of 200. Disabling this feature will be deprecated in the future. This governs the \"feature_flags.faster_session_extend\" setting. + * @param kratosFeatureFlagsUseContinueWithTransitions Configures the Ory Kratos Session use_continue_with_transitions flag This governs the \"feature_flags.use_continue_with_transitions\" setting. + * @param kratosIdentitySchemas + * @param kratosOauth2ProviderHeaders NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- + * @param kratosOauth2ProviderOverrideReturnTo Kratos OAuth2 Provider Override Return To Enabling this allows Kratos to set the return_to parameter automatically to the OAuth2 request URL on the login flow, allowing complex flows such as recovery to continue to the initial OAuth2 flow. + * @param kratosOauth2ProviderUrl The Revisions' OAuth2 Provider Integration URL This governs the \"oauth2_provider.url\" setting. + * @param kratosPreviewDefaultReadConsistencyLevel Configures the default read consistency level for identity APIs This governs the `preview.default_read_consistency_level` setting. 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. 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` Defaults to \"strong\" for new and existing projects. This feature is in preview. Use with caution. + * @param kratosSecretsCipher + * @param kratosSecretsCookie + * @param kratosSecretsDefault + * @param kratosSelfserviceAllowedReturnUrls + * @param kratosSelfserviceDefaultBrowserReturnUrl Configures the Ory Kratos Default Return URL This governs the \"selfservice.allowed_return_urls\" setting. + * @param kratosSelfserviceFlowsErrorUiUrl Configures the Ory Kratos Error UI URL This governs the \"selfservice.flows.error.ui_url\" setting. + * @param kratosSelfserviceFlowsLoginAfterCodeDefaultBrowserReturnUrl Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.code.after.password.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsLoginAfterDefaultBrowserReturnUrl Configures the Ory Kratos Login Default Return URL This governs the \"selfservice.flows.login.after.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsLoginAfterLookupSecretDefaultBrowserReturnUrl Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.lookup_secret.after.password.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsLoginAfterOidcDefaultBrowserReturnUrl Configures the Ory Kratos Login After OIDC Default Return URL This governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsLoginAfterPasskeyDefaultBrowserReturnUrl Configures the Ory Kratos Login After Passkey Default Return URL This governs the \"selfservice.flows.login.after.passkey.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsLoginAfterPasswordDefaultBrowserReturnUrl Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsLoginAfterTotpDefaultBrowserReturnUrl Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.totp.after.password.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsLoginAfterWebauthnDefaultBrowserReturnUrl Configures the Ory Kratos Login After WebAuthn Default Return URL This governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsLoginLifespan Configures the Ory Kratos Login Lifespan This governs the \"selfservice.flows.login.lifespan\" setting. + * @param kratosSelfserviceFlowsLoginUiUrl Configures the Ory Kratos Login UI URL This governs the \"selfservice.flows.login.ui_url\" setting. + * @param kratosSelfserviceFlowsLogoutAfterDefaultBrowserReturnUrl Configures the Ory Kratos Logout Default Return URL This governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsRecoveryAfterDefaultBrowserReturnUrl Configures the Ory Kratos Recovery Default Return URL This governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsRecoveryEnabled Configures the Ory Kratos Recovery Enabled Setting This governs the \"selfservice.flows.recovery.enabled\" setting. + * @param kratosSelfserviceFlowsRecoveryLifespan Configures the Ory Kratos Recovery Lifespan This governs the \"selfservice.flows.recovery.lifespan\" setting. + * @param kratosSelfserviceFlowsRecoveryNotifyUnknownRecipients Configures whether to notify unknown recipients of a Ory Kratos recovery flow This governs the \"selfservice.flows.recovery.notify_unknown_recipients\" setting. + * @param kratosSelfserviceFlowsRecoveryUiUrl Configures the Ory Kratos Recovery UI URL This governs the \"selfservice.flows.recovery.ui_url\" setting. + * @param kratosSelfserviceFlowsRecoveryUse Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\") This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode + * @param kratosSelfserviceFlowsRegistrationAfterCodeDefaultBrowserReturnUrl Configures the Ory Kratos Registration After Code Default Return URL This governs the \"selfservice.flows.registration.after.code.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsRegistrationAfterDefaultBrowserReturnUrl Configures the Ory Kratos Registration Default Return URL This governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsRegistrationAfterOidcDefaultBrowserReturnUrl Configures the Ory Kratos Registration After OIDC Default Return URL This governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsRegistrationAfterPasskeyDefaultBrowserReturnUrl Configures the Ory Kratos Registration After Passkey Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsRegistrationAfterPasswordDefaultBrowserReturnUrl Configures the Ory Kratos Registration After Password Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsRegistrationAfterWebauthnDefaultBrowserReturnUrl Configures the Ory Kratos Registration After Webauthn Default Return URL This governs the \"selfservice.flows.registration.after.webauthn.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsRegistrationEnableLegacyOneStep Disable two-step registration Two-step registration is a significantly improved sign up flow and recommended when using more than one sign up methods. To revert to one-step registration, set this to `true`. This governs the \"selfservice.flows.registration.enable_legacy_one_step\" setting. + * @param kratosSelfserviceFlowsRegistrationEnabled Configures the Whether Ory Kratos Registration is Enabled This governs the \"selfservice.flows.registration.enabled\" setting.0 + * @param kratosSelfserviceFlowsRegistrationLifespan Configures the Ory Kratos Registration Lifespan This governs the \"selfservice.flows.registration.lifespan\" setting. + * @param kratosSelfserviceFlowsRegistrationLoginHints Configures the Ory Kratos Registration Login Hints Shows helpful information when a user tries to sign up with a duplicate account. This governs the \"selfservice.flows.registration.login_hints\" setting. + * @param kratosSelfserviceFlowsRegistrationUiUrl Configures the Ory Kratos Registration UI URL This governs the \"selfservice.flows.registration.ui_url\" setting. + * @param kratosSelfserviceFlowsSettingsAfterDefaultBrowserReturnUrl Configures the Ory Kratos Settings Default Return URL This governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsSettingsAfterLookupSecretDefaultBrowserReturnUrl Configures the Ory Kratos Settings Default Return URL After Updating Lookup Secrets This governs the \"selfservice.flows.settings.after.lookup_secret.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsSettingsAfterOidcDefaultBrowserReturnUrl Configures the Ory Kratos Settings Default Return URL After Updating Social Sign In This governs the \"selfservice.flows.settings.after.oidc.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsSettingsAfterPasskeyDefaultBrowserReturnUrl Configures the Ory Kratos Settings Default Return URL After Updating Passkey This governs the \"selfservice.flows.settings.after.passkey.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsSettingsAfterPasswordDefaultBrowserReturnUrl Configures the Ory Kratos Settings Default Return URL After Updating Passwords This governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsSettingsAfterProfileDefaultBrowserReturnUrl Configures the Ory Kratos Settings Default Return URL After Updating Profiles This governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsSettingsAfterTotpDefaultBrowserReturnUrl Configures the Ory Kratos Settings Default Return URL After Updating TOTP This governs the \"selfservice.flows.settings.after.totp.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsSettingsAfterWebauthnDefaultBrowserReturnUrl Configures the Ory Kratos Settings Default Return URL After Updating WebAuthn This governs the \"selfservice.flows.settings.after.webauthn.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsSettingsLifespan Configures the Ory Kratos Settings Lifespan This governs the \"selfservice.flows.settings.lifespan\" setting. + * @param kratosSelfserviceFlowsSettingsPrivilegedSessionMaxAge Configures the Ory Kratos Settings Privileged Session Max Age This governs the \"selfservice.flows.settings.privileged_session_max_age\" setting. + * @param kratosSelfserviceFlowsSettingsRequiredAal Configures the Ory Kratos Settings Required AAL This governs the \"selfservice.flows.settings.required_aal\" setting. + * @param kratosSelfserviceFlowsSettingsUiUrl Configures the Ory Kratos Settings UI URL This governs the \"selfservice.flows.settings.ui_url\" setting. + * @param kratosSelfserviceFlowsVerificationAfterDefaultBrowserReturnUrl Configures the Ory Kratos Verification Default Return URL This governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsVerificationEnabled Configures the Ory Kratos Verification Enabled Setting This governs the \"selfservice.flows.verification.enabled\" setting. + * @param kratosSelfserviceFlowsVerificationLifespan Configures the Ory Kratos Verification Lifespan This governs the \"selfservice.flows.verification.lifespan\" setting. + * @param kratosSelfserviceFlowsVerificationNotifyUnknownRecipients Configures whether to notify unknown recipients of a Ory Kratos verification flow This governs the \"selfservice.flows.verification.notify_unknown_recipients\" setting. + * @param kratosSelfserviceFlowsVerificationUiUrl Configures the Ory Kratos Verification UI URL This governs the \"selfservice.flows.verification.ui_url\" setting. + * @param kratosSelfserviceFlowsVerificationUse Configures the Ory Kratos Strategy to use for Verification This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode + * @param kratosSelfserviceMethodsCodeConfigLifespan Configures the Ory Kratos Code Method's lifespan This governs the \"selfservice.methods.code.config.lifespan\" setting. + * @param kratosSelfserviceMethodsCodeConfigMissingCredentialFallbackEnabled Enables a fallback method required in certain legacy use cases. This governs the \"selfservice.methods.code.config.missing_credential_fallback_enabled\" setting. + * @param kratosSelfserviceMethodsCodeEnabled Configures whether Ory Kratos Code Method is enabled This governs the \"selfservice.methods.code.enabled\" setting. + * @param kratosSelfserviceMethodsCodeMfaEnabled Configures whether the code method can be used to fulfil MFA flows This governs the \"selfservice.methods.code.mfa_enabled\" setting. + * @param kratosSelfserviceMethodsCodePasswordlessEnabled Configures whether Ory Kratos Passwordless should use the Code Method This governs the \"selfservice.methods.code.passwordless_enabled\" setting. + * @param kratosSelfserviceMethodsCodePasswordlessLoginFallbackEnabled This setting allows the code method to always login a user with code if they have registered with another authentication method such as password or social sign in. This governs the \"selfservice.methods.code.passwordless_login_fallback_enabled\" setting. + * @param kratosSelfserviceMethodsLinkConfigBaseUrl Configures the Base URL which Recovery, Verification, and Login Links Point to It is recommended to leave this value empty. It will be appropriately configured to the best matching domain (e.g. when using custom domains) automatically. This governs the \"selfservice.methods.link.config.base_url\" setting. + * @param kratosSelfserviceMethodsLinkConfigLifespan Configures the Ory Kratos Link Method's lifespan This governs the \"selfservice.methods.link.config.lifespan\" setting. + * @param kratosSelfserviceMethodsLinkEnabled Configures whether Ory Kratos Link Method is enabled This governs the \"selfservice.methods.link.enabled\" setting. + * @param kratosSelfserviceMethodsLookupSecretEnabled Configures whether Ory Kratos TOTP Lookup Secret is enabled This governs the \"selfservice.methods.lookup_secret.enabled\" setting. + * @param kratosSelfserviceMethodsOidcConfigBaseRedirectUri Configures the Ory Kratos Third Party / OpenID Connect base redirect URI This governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting. + * @param kratosSelfserviceMethodsOidcConfigProviders + * @param kratosSelfserviceMethodsOidcEnabled Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled This governs the \"selfservice.methods.oidc.enabled\" setting. + * @param kratosSelfserviceMethodsPasskeyConfigRpDisplayName Configures the Ory Kratos Passkey RP Display Name This governs the \"selfservice.methods.passkey.config.rp.display_name\" setting. + * @param kratosSelfserviceMethodsPasskeyConfigRpId Configures the Ory Kratos Passkey RP ID This governs the \"selfservice.methods.passkey.config.rp.id\" setting. + * @param kratosSelfserviceMethodsPasskeyConfigRpOrigins + * @param kratosSelfserviceMethodsPasskeyEnabled Configures whether Ory Kratos Passkey authentication is enabled This governs the \"selfservice.methods.passkey.enabled\" setting. + * @param kratosSelfserviceMethodsPasswordConfigHaveibeenpwnedEnabled Configures whether Ory Kratos Password HIBP Checks is enabled This governs the \"selfservice.methods.password.config.haveibeenpwned_enabled\" setting. + * @param kratosSelfserviceMethodsPasswordConfigIdentifierSimilarityCheckEnabled Configures whether Ory Kratos Password should disable the similarity policy. This governs the \"selfservice.methods.password.config.identifier_similarity_check_enabled\" setting. + * @param kratosSelfserviceMethodsPasswordConfigIgnoreNetworkErrors Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors This governs the \"selfservice.methods.password.config.ignore_network_errors\" setting. + * @param kratosSelfserviceMethodsPasswordConfigMaxBreaches Configures Ory Kratos Password Max Breaches Detection This governs the \"selfservice.methods.password.config.max_breaches\" setting. + * @param kratosSelfserviceMethodsPasswordConfigMinPasswordLength Configures the minimum length of passwords. This governs the \"selfservice.methods.password.config.min_password_length\" setting. + * @param kratosSelfserviceMethodsPasswordEnabled Configures whether Ory Kratos Password Method is enabled This governs the \"selfservice.methods.password.enabled\" setting. + * @param kratosSelfserviceMethodsProfileEnabled Configures whether Ory Kratos Profile Method is enabled This governs the \"selfservice.methods.profile.enabled\" setting. + * @param kratosSelfserviceMethodsTotpConfigIssuer Configures Ory Kratos TOTP Issuer This governs the \"selfservice.methods.totp.config.issuer\" setting. + * @param kratosSelfserviceMethodsTotpEnabled Configures whether Ory Kratos TOTP Method is enabled This governs the \"selfservice.methods.totp.enabled\" setting. + * @param kratosSelfserviceMethodsWebauthnConfigPasswordless Configures whether Ory Kratos Webauthn is used for passwordless flows This governs the \"selfservice.methods.webauthn.config.passwordless\" setting. + * @param kratosSelfserviceMethodsWebauthnConfigRpDisplayName Configures the Ory Kratos Webauthn RP Display Name This governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting. + * @param kratosSelfserviceMethodsWebauthnConfigRpIcon Configures the Ory Kratos Webauthn RP Icon This governs the \"selfservice.methods.webauthn.config.rp.icon\" setting. Deprecated: This value will be ignored due to security considerations. + * @param kratosSelfserviceMethodsWebauthnConfigRpId Configures the Ory Kratos Webauthn RP ID This governs the \"selfservice.methods.webauthn.config.rp.id\" setting. + * @param kratosSelfserviceMethodsWebauthnConfigRpOrigins + * @param kratosSelfserviceMethodsWebauthnEnabled Configures whether Ory Kratos Webauthn is enabled This governs the \"selfservice.methods.webauthn.enabled\" setting. + * @param kratosSessionCookiePersistent Configures the Ory Kratos Session Cookie Persistent Attribute This governs the \"session.cookie.persistent\" setting. + * @param kratosSessionCookieSameSite Configures the Ory Kratos Session Cookie SameSite Attribute This governs the \"session.cookie.same_site\" setting. + * @param kratosSessionLifespan Configures the Ory Kratos Session Lifespan This governs the \"session.lifespan\" setting. + * @param kratosSessionWhoamiRequiredAal Configures the Ory Kratos Session Whoami AAL requirement This governs the \"session.whoami.required_aal\" setting. + * @param kratosSessionWhoamiTokenizerTemplates + * @param projectId The Revision's Project ID + * @param projectRevisionHooks + * @param serveAdminCorsAllowedOrigins + * @param serveAdminCorsEnabled Enable CORS headers on all admin APIs This governs the \"serve.admin.cors.enabled\" setting. + * @param servePublicCorsAllowedOrigins + * @param servePublicCorsEnabled Enable CORS headers on all public APIs This governs the \"serve.public.cors.enabled\" setting. + * @param strictSecurity Whether the project should employ strict security measures. Setting this to true is recommended for going into production. + * @param updatedAt Last Time Project's Revision was Updated + * @param workspaceId + */ +@Serializable + +data class CreateProjectNormalizedPayload ( + + /* prod Production stage Staging dev Development */ + @SerialName(value = "environment") @Required val environment: CreateProjectNormalizedPayload.Environment, + + /* The project's name. */ + @SerialName(value = "name") @Required val name: kotlin.String, + + /* The Project's Revision Creation Date */ + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + /* Whether to disable the account experience welcome screen, which is hosted under `/ui/welcome`. */ + @SerialName(value = "disable_account_experience_welcome_screen") val disableAccountExperienceWelcomeScreen: kotlin.Boolean? = null, + + /* Whether the new account experience is enabled and reachable. */ + @SerialName(value = "enable_ax_v2") val enableAxV2: kotlin.Boolean? = null, + + /* eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global */ + @SerialName(value = "home_region") val homeRegion: CreateProjectNormalizedPayload.HomeRegion? = null, + + @SerialName(value = "hydra_oauth2_allowed_top_level_claims") val hydraOauth2AllowedTopLevelClaims: kotlin.collections.List? = null, + + /* Automatically grant authorized OAuth2 Scope in OAuth2 Client Credentials Flow. Each OAuth2 Client is allowed to request a predefined OAuth2 Scope (for example `read write`). If this option is enabled, the full scope is automatically granted when performing the OAuth2 Client Credentials flow. If disabled, the OAuth2 Client has to request the scope in the OAuth2 request by providing the `scope` query parameter. Setting this option to true is common if you need compatibility with MITREid. This governs the \"oauth2.client_credentials.default_grant_allowed_scope\" setting. */ + @SerialName(value = "hydra_oauth2_client_credentials_default_grant_allowed_scope") val hydraOauth2ClientCredentialsDefaultGrantAllowedScope: kotlin.Boolean? = null, + + /* Set to true if you want to exclude claim `nbf (not before)` part of access token. This governs the \"oauth2.exclude_not_before_claim\" setting. */ + @SerialName(value = "hydra_oauth2_exclude_not_before_claim") val hydraOauth2ExcludeNotBeforeClaim: kotlin.Boolean? = null, + + /* Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.iat_optional\" setting. */ + @SerialName(value = "hydra_oauth2_grant_jwt_iat_optional") val hydraOauth2GrantJwtIatOptional: kotlin.Boolean? = null, + + /* Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.jti_optional\" setting. */ + @SerialName(value = "hydra_oauth2_grant_jwt_jti_optional") val hydraOauth2GrantJwtJtiOptional: kotlin.Boolean? = null, + + /* Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be. This feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied. Useful as a safety measure and recommended to keep below 720h. This governs the \"oauth2.grant.jwt.max_ttl\" setting. */ + @SerialName(value = "hydra_oauth2_grant_jwt_max_ttl") val hydraOauth2GrantJwtMaxTtl: kotlin.String? = "720h", + + /* Set to false if you don't want to mirror custom claims under 'ext'. This governs the \"oauth2.mirror_top_level_claims\" setting. */ + @SerialName(value = "hydra_oauth2_mirror_top_level_claims") val hydraOauth2MirrorTopLevelClaims: kotlin.Boolean? = null, + + /* Configures whether PKCE should be enforced for all OAuth2 Clients. This governs the \"oauth2.pkce.enforced\" setting. */ + @SerialName(value = "hydra_oauth2_pkce_enforced") val hydraOauth2PkceEnforced: kotlin.Boolean? = null, + + /* Configures whether PKCE should be enforced for OAuth2 Clients without a client secret (public clients). This governs the \"oauth2.pkce.enforced_for_public_clients\" setting. */ + @SerialName(value = "hydra_oauth2_pkce_enforced_for_public_clients") val hydraOauth2PkceEnforcedForPublicClients: kotlin.Boolean? = null, + + /* Sets the Refresh Token Hook Endpoint. If set this endpoint will be called during the OAuth2 Token Refresh grant update the OAuth2 Access Token claims. This governs the \"oauth2.refresh_token_hook\" setting. */ + @SerialName(value = "hydra_oauth2_refresh_token_hook") val hydraOauth2RefreshTokenHook: kotlin.String? = null, + + /* Sets the token hook endpoint for all grant types. If set it will be called while providing token to customize claims. This governs the \"oauth2.token_hook.url\" setting. */ + @SerialName(value = "hydra_oauth2_token_hook") val hydraOauth2TokenHook: kotlin.String? = null, + + @SerialName(value = "hydra_oidc_dynamic_client_registration_default_scope") val hydraOidcDynamicClientRegistrationDefaultScope: kotlin.collections.List? = null, + + /* Configures OpenID Connect Dynamic Client Registration. This governs the \"oidc.dynamic_client_registration.enabled\" setting. */ + @SerialName(value = "hydra_oidc_dynamic_client_registration_enabled") val hydraOidcDynamicClientRegistrationEnabled: kotlin.Boolean? = null, + + /* Configures OpenID Connect Discovery and overwrites the pairwise algorithm This governs the \"oidc.subject_identifiers.pairwise_salt\" setting. */ + @SerialName(value = "hydra_oidc_subject_identifiers_pairwise_salt") val hydraOidcSubjectIdentifiersPairwiseSalt: kotlin.String? = null, + + @SerialName(value = "hydra_oidc_subject_identifiers_supported_types") val hydraOidcSubjectIdentifiersSupportedTypes: kotlin.collections.List? = null, + + @SerialName(value = "hydra_secrets_cookie") val hydraSecretsCookie: kotlin.collections.List? = null, + + @SerialName(value = "hydra_secrets_system") val hydraSecretsSystem: kotlin.collections.List? = null, + + /* Configures the Ory Hydra Cookie Same Site Legacy Workaround This governs the \"serve.cookies.same_site_legacy_workaround\" setting. */ + @SerialName(value = "hydra_serve_cookies_same_site_legacy_workaround") val hydraServeCookiesSameSiteLegacyWorkaround: kotlin.Boolean? = null, + + /* Configures the Ory Hydra Cookie Same Site Mode This governs the \"serve.cookies.same_site_mode\" setting. */ + @SerialName(value = "hydra_serve_cookies_same_site_mode") val hydraServeCookiesSameSiteMode: kotlin.String? = null, + + /* Defines access token type This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt */ + @SerialName(value = "hydra_strategies_access_token") val hydraStrategiesAccessToken: CreateProjectNormalizedPayload.HydraStrategiesAccessToken? = HydraStrategiesAccessToken.opaque, + + /* Define the claim to use as the scope in the access token. This governs the \"strategies.jwt.scope_claim\" setting: list: The scope claim is an array of strings named `scope`: `{ \"scope\": [\"read\", \"write\"] }` string: The scope claim is a space delimited list of strings named `scp`: `{ \"scp\": \"read write\" }` both: The scope claim is both a space delimited list and an array of strings named `scope` and `scp`: `{ \"scope\": [\"read\", \"write\"], \"scp\": \"read write\" }` list OAuth2JWTScopeClaimList string OAuth2JWTScopeClaimString both OAuth2JWTScopeClaimBoth */ + @SerialName(value = "hydra_strategies_jwt_scope_claim") val hydraStrategiesJwtScopeClaim: CreateProjectNormalizedPayload.HydraStrategiesJwtScopeClaim? = HydraStrategiesJwtScopeClaim.list, + + /* Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes This governs the \"strategies.scope\" setting. exact Oauth2ScopeStrategyExact wildcard Oauth2ScopeStrategyWildcard */ + @SerialName(value = "hydra_strategies_scope") val hydraStrategiesScope: CreateProjectNormalizedPayload.HydraStrategiesScope? = HydraStrategiesScope.wildcard, + + /* This governs the \"ttl.access_token\" setting. */ + @SerialName(value = "hydra_ttl_access_token") val hydraTtlAccessToken: kotlin.String? = "30m", + + /* Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.auth_code\" setting. */ + @SerialName(value = "hydra_ttl_auth_code") val hydraTtlAuthCode: kotlin.String? = "720h", + + /* This governs the \"ttl.id_token\" setting. */ + @SerialName(value = "hydra_ttl_id_token") val hydraTtlIdToken: kotlin.String? = "30m", + + /* Configures how long a user login and consent flow may take. This governs the \"ttl.login_consent_request\" setting. */ + @SerialName(value = "hydra_ttl_login_consent_request") val hydraTtlLoginConsentRequest: kotlin.String? = "30m", + + /* Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.refresh_token\" setting. */ + @SerialName(value = "hydra_ttl_refresh_token") val hydraTtlRefreshToken: kotlin.String? = "720h", + + /* Sets the OAuth2 Consent Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.consent\" setting. */ + @SerialName(value = "hydra_urls_consent") val hydraUrlsConsent: kotlin.String? = null, + + /* Sets the OAuth2 Error URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.error\" setting. */ + @SerialName(value = "hydra_urls_error") val hydraUrlsError: kotlin.String? = null, + + /* Sets the OAuth2 Login Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.login\" setting. */ + @SerialName(value = "hydra_urls_login") val hydraUrlsLogin: kotlin.String? = null, + + /* Sets the logout endpoint. Defaults to the Ory Account Experience if left empty. This governs the \"urls.logout\" setting. */ + @SerialName(value = "hydra_urls_logout") val hydraUrlsLogout: kotlin.String? = null, + + /* When an OAuth2-related user agent requests to log out, they will be redirected to this url afterwards per default. Defaults to the Ory Account Experience in development and your application in production mode when a custom domain is connected. This governs the \"urls.post_logout_redirect\" setting. */ + @SerialName(value = "hydra_urls_post_logout_redirect") val hydraUrlsPostLogoutRedirect: kotlin.String? = null, + + /* Sets the OAuth2 Registration Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.registration\" setting. */ + @SerialName(value = "hydra_urls_registration") val hydraUrlsRegistration: kotlin.String? = null, + + /* This value will be used as the issuer in access and ID tokens. It must be specified and using HTTPS protocol, unless the development mode is enabled. On the Ory Network it will be very rare that you want to modify this value. If left empty, it will default to the correct value for the Ory Network. This governs the \"urls.self.issuer\" setting. */ + @SerialName(value = "hydra_urls_self_issuer") val hydraUrlsSelfIssuer: kotlin.String? = null, + + @SerialName(value = "hydra_webfinger_jwks_broadcast_keys") val hydraWebfingerJwksBroadcastKeys: kotlin.collections.List? = null, + + /* Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL. This governs the \"webfinger.oidc.discovery.auth_url\" setting. */ + @SerialName(value = "hydra_webfinger_oidc_discovery_auth_url") val hydraWebfingerOidcDiscoveryAuthUrl: kotlin.String? = null, + + /* Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint. This governs the \"webfinger.oidc.discovery.client_registration_url\" setting. */ + @SerialName(value = "hydra_webfinger_oidc_discovery_client_registration_url") val hydraWebfingerOidcDiscoveryClientRegistrationUrl: kotlin.String? = null, + + /* Configures OpenID Connect Discovery and overwrites the JWKS URL. This governs the \"webfinger.oidc.discovery.jwks_url\" setting. */ + @SerialName(value = "hydra_webfinger_oidc_discovery_jwks_url") val hydraWebfingerOidcDiscoveryJwksUrl: kotlin.String? = null, + + @SerialName(value = "hydra_webfinger_oidc_discovery_supported_claims") val hydraWebfingerOidcDiscoverySupportedClaims: kotlin.collections.List? = null, + + @SerialName(value = "hydra_webfinger_oidc_discovery_supported_scope") val hydraWebfingerOidcDiscoverySupportedScope: kotlin.collections.List? = null, + + /* Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL. This governs the \"webfinger.oidc.discovery.token_url\" setting. */ + @SerialName(value = "hydra_webfinger_oidc_discovery_token_url") val hydraWebfingerOidcDiscoveryTokenUrl: kotlin.String? = null, + + /* Configures OpenID Connect Discovery and overwrites userinfo endpoint to be advertised at the OpenID Connect Discovery endpoint /.well-known/openid-configuration. Defaults to Ory Hydra's userinfo endpoint at /userinfo. Set this value if you want to handle this endpoint yourself. This governs the \"webfinger.oidc.discovery.userinfo_url\" setting. */ + @SerialName(value = "hydra_webfinger_oidc_discovery_userinfo_url") val hydraWebfingerOidcDiscoveryUserinfoUrl: kotlin.String? = null, + + /* The revision ID. */ + @SerialName(value = "id") val id: kotlin.String? = null, + + /* The Revisions' Keto Namespace Configuration The string is a URL pointing to an OPL file with the configuration. */ + @SerialName(value = "keto_namespace_configuration") val ketoNamespaceConfiguration: kotlin.String? = null, + + @SerialName(value = "keto_namespaces") val ketoNamespaces: kotlin.collections.List? = null, + + /* Configures the Ory Kratos Cookie SameSite Attribute This governs the \"cookies.same_site\" setting. */ + @SerialName(value = "kratos_cookies_same_site") val kratosCookiesSameSite: kotlin.String? = null, + + @SerialName(value = "kratos_courier_channels") val kratosCourierChannels: kotlin.collections.List? = null, + + /* The delivery strategy to use when sending emails `smtp`: Use SMTP server `http`: Use the built in HTTP client to send the email to some remote service */ + @SerialName(value = "kratos_courier_delivery_strategy") val kratosCourierDeliveryStrategy: kotlin.String? = "smtp", + + /* The location of the API key to use in the HTTP email sending service's authentication `header`: Send the key value pair as a header `cookie`: Send the key value pair as a cookie This governs the \"courier.http.auth.config.in\" setting */ + @SerialName(value = "kratos_courier_http_request_config_auth_api_key_in") val kratosCourierHttpRequestConfigAuthApiKeyIn: kotlin.String? = null, + + /* The name of the API key to use in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.name\" setting */ + @SerialName(value = "kratos_courier_http_request_config_auth_api_key_name") val kratosCourierHttpRequestConfigAuthApiKeyName: kotlin.String? = null, + + /* The value of the API key to use in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.value\" setting */ + @SerialName(value = "kratos_courier_http_request_config_auth_api_key_value") val kratosCourierHttpRequestConfigAuthApiKeyValue: kotlin.String? = null, + + /* The password to use for basic auth in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.password\" setting */ + @SerialName(value = "kratos_courier_http_request_config_auth_basic_auth_password") val kratosCourierHttpRequestConfigAuthBasicAuthPassword: kotlin.String? = null, + + /* The user to use for basic auth in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.user\" setting */ + @SerialName(value = "kratos_courier_http_request_config_auth_basic_auth_user") val kratosCourierHttpRequestConfigAuthBasicAuthUser: kotlin.String? = null, + + /* The authentication type to use while contacting the remote HTTP email sending service `basic_auth`: Use Basic Authentication `api_key`: Use API Key Authentication in a header or cookie */ + @SerialName(value = "kratos_courier_http_request_config_auth_type") val kratosCourierHttpRequestConfigAuthType: kotlin.String? = "empty (no authentication)", + + /* The Jsonnet template to generate the body to send to the remote HTTP email sending service Should be valid Jsonnet and base64 encoded This governs the \"courier.http.body\" setting */ + @SerialName(value = "kratos_courier_http_request_config_body") val kratosCourierHttpRequestConfigBody: kotlin.String? = null, + + /* NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- */ + @SerialName(value = "kratos_courier_http_request_config_headers") val kratosCourierHttpRequestConfigHeaders: kotlin.String? = null, + + /* The http METHOD to use when calling the remote HTTP email sending service */ + @SerialName(value = "kratos_courier_http_request_config_method") val kratosCourierHttpRequestConfigMethod: kotlin.String? = "POST", + + /* The URL of the remote HTTP email sending service This governs the \"courier.http.url\" setting */ + @SerialName(value = "kratos_courier_http_request_config_url") val kratosCourierHttpRequestConfigUrl: kotlin.String? = null, + + /* Configures the Ory Kratos SMTP Connection URI This governs the \"courier.smtp.connection_uri\" setting. */ + @SerialName(value = "kratos_courier_smtp_connection_uri") val kratosCourierSmtpConnectionUri: kotlin.String? = null, + + /* Configures the Ory Kratos SMTP From Address This governs the \"courier.smtp.from_address\" setting. */ + @SerialName(value = "kratos_courier_smtp_from_address") val kratosCourierSmtpFromAddress: kotlin.String? = null, + + /* Configures the Ory Kratos SMTP From Name This governs the \"courier.smtp.from_name\" setting. */ + @SerialName(value = "kratos_courier_smtp_from_name") val kratosCourierSmtpFromName: kotlin.String? = null, + + /* NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- */ + @SerialName(value = "kratos_courier_smtp_headers") val kratosCourierSmtpHeaders: kotlin.String? = null, + + /* Configures the local_name to use in SMTP connections This governs the \"courier.smtp.local_name\" setting. */ + @SerialName(value = "kratos_courier_smtp_local_name") val kratosCourierSmtpLocalName: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Login via Code Email Body HTML Template This governs the \"courier.smtp.templates.login_code.valid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_login_code_valid_email_body_html") val kratosCourierTemplatesLoginCodeValidEmailBodyHtml: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.login_code.valid.email.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_login_code_valid_email_body_plaintext") val kratosCourierTemplatesLoginCodeValidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Login via Code Email Subject Template This governs the \"courier.smtp.templates.login_code.valid.email.subject\" setting. */ + @SerialName(value = "kratos_courier_templates_login_code_valid_email_subject") val kratosCourierTemplatesLoginCodeValidEmailSubject: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Login via Code SMS plain text body This governs the \"courier.smtp.templates.login_code.valid.sms.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_login_code_valid_sms_body_plaintext") val kratosCourierTemplatesLoginCodeValidSmsBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_code_invalid_email_body_html") val kratosCourierTemplatesRecoveryCodeInvalidEmailBodyHtml: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_code_invalid_email_body_plaintext") val kratosCourierTemplatesRecoveryCodeInvalidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_code_invalid_email_subject") val kratosCourierTemplatesRecoveryCodeInvalidEmailSubject: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.valid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_code_valid_email_body_html") val kratosCourierTemplatesRecoveryCodeValidEmailBodyHtml: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.valid.email.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_code_valid_email_body_plaintext") val kratosCourierTemplatesRecoveryCodeValidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.valid.email.subject\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_code_valid_email_subject") val kratosCourierTemplatesRecoveryCodeValidEmailSubject: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_invalid_email_body_html") val kratosCourierTemplatesRecoveryInvalidEmailBodyHtml: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_invalid_email_body_plaintext") val kratosCourierTemplatesRecoveryInvalidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_invalid_email_subject") val kratosCourierTemplatesRecoveryInvalidEmailSubject: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.valid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_valid_email_body_html") val kratosCourierTemplatesRecoveryValidEmailBodyHtml: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_valid_email_body_plaintext") val kratosCourierTemplatesRecoveryValidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.valid.email.subject\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_valid_email_subject") val kratosCourierTemplatesRecoveryValidEmailSubject: kotlin.String? = null, + + /* 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. */ + @SerialName(value = "kratos_courier_templates_registration_code_valid_email_body_html") val kratosCourierTemplatesRegistrationCodeValidEmailBodyHtml: kotlin.String? = null, + + /* 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. */ + @SerialName(value = "kratos_courier_templates_registration_code_valid_email_body_plaintext") val kratosCourierTemplatesRegistrationCodeValidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.smtp.templates.registration_code.valid.email.subject\" setting. */ + @SerialName(value = "kratos_courier_templates_registration_code_valid_email_subject") val kratosCourierTemplatesRegistrationCodeValidEmailSubject: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.smtp.templates.registration_code.valid.sms.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_registration_code_valid_sms_body_plaintext") val kratosCourierTemplatesRegistrationCodeValidSmsBodyPlaintext: kotlin.String? = null, + + /* 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. */ + @SerialName(value = "kratos_courier_templates_verification_code_invalid_email_body_html") val kratosCourierTemplatesVerificationCodeInvalidEmailBodyHtml: kotlin.String? = null, + + /* 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. */ + @SerialName(value = "kratos_courier_templates_verification_code_invalid_email_body_plaintext") val kratosCourierTemplatesVerificationCodeInvalidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.invalid.email.subject\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_code_invalid_email_subject") val kratosCourierTemplatesVerificationCodeInvalidEmailSubject: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Verification via Code Email Body HTML Template This governs the \"courier.smtp.templates.verification_code.valid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_code_valid_email_body_html") val kratosCourierTemplatesVerificationCodeValidEmailBodyHtml: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Verification via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.verification_code.valid.email.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_code_valid_email_body_plaintext") val kratosCourierTemplatesVerificationCodeValidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.valid.email.subject\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_code_valid_email_subject") val kratosCourierTemplatesVerificationCodeValidEmailSubject: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Verification via Code SMS Body Plaintext This governs the \"courier.smtp.templates.verification_code.valid.sms.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_code_valid_sms_body_plaintext") val kratosCourierTemplatesVerificationCodeValidSmsBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.invalid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_invalid_email_body_html") val kratosCourierTemplatesVerificationInvalidEmailBodyHtml: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.verification.invalid.email.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_invalid_email_body_plaintext") val kratosCourierTemplatesVerificationInvalidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.invalid.email.subject\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_invalid_email_subject") val kratosCourierTemplatesVerificationInvalidEmailSubject: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.valid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_valid_email_body_html") val kratosCourierTemplatesVerificationValidEmailBodyHtml: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.verification.valid.email.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_valid_email_body_plaintext") val kratosCourierTemplatesVerificationValidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.valid.email.subject\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_valid_email_subject") val kratosCourierTemplatesVerificationValidEmailSubject: kotlin.String? = null, + + /* Configures the Ory Kratos Session caching feature flag This governs the \"feature_flags.cacheable_sessions\" setting. */ + @SerialName(value = "kratos_feature_flags_cacheable_sessions") val kratosFeatureFlagsCacheableSessions: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Session caching max-age feature flag This governs the \"feature_flags.cacheable_sessions_max_age\" setting. */ + @SerialName(value = "kratos_feature_flags_cacheable_sessions_max_age") val kratosFeatureFlagsCacheableSessionsMaxAge: kotlin.String? = null, + + /* Configures the Ory Kratos Faster Session Extend setting If enabled allows faster session extension by skipping the session lookup and returning 201 instead of 200. Disabling this feature will be deprecated in the future. This governs the \"feature_flags.faster_session_extend\" setting. */ + @SerialName(value = "kratos_feature_flags_faster_session_extend") val kratosFeatureFlagsFasterSessionExtend: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Session use_continue_with_transitions flag This governs the \"feature_flags.use_continue_with_transitions\" setting. */ + @SerialName(value = "kratos_feature_flags_use_continue_with_transitions") val kratosFeatureFlagsUseContinueWithTransitions: kotlin.Boolean? = null, + + @SerialName(value = "kratos_identity_schemas") val kratosIdentitySchemas: kotlin.collections.List? = null, + + /* NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- */ + @SerialName(value = "kratos_oauth2_provider_headers") val kratosOauth2ProviderHeaders: kotlin.String? = null, + + /* Kratos OAuth2 Provider Override Return To Enabling this allows Kratos to set the return_to parameter automatically to the OAuth2 request URL on the login flow, allowing complex flows such as recovery to continue to the initial OAuth2 flow. */ + @SerialName(value = "kratos_oauth2_provider_override_return_to") val kratosOauth2ProviderOverrideReturnTo: kotlin.Boolean? = null, + + /* The Revisions' OAuth2 Provider Integration URL This governs the \"oauth2_provider.url\" setting. */ + @SerialName(value = "kratos_oauth2_provider_url") val kratosOauth2ProviderUrl: kotlin.String? = null, + + /* Configures the default read consistency level for identity APIs This governs the `preview.default_read_consistency_level` setting. 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. 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` Defaults to \"strong\" for new and existing projects. This feature is in preview. Use with caution. */ + @SerialName(value = "kratos_preview_default_read_consistency_level") val kratosPreviewDefaultReadConsistencyLevel: kotlin.String? = null, + + @SerialName(value = "kratos_secrets_cipher") val kratosSecretsCipher: kotlin.collections.List? = null, + + @SerialName(value = "kratos_secrets_cookie") val kratosSecretsCookie: kotlin.collections.List? = null, + + @SerialName(value = "kratos_secrets_default") val kratosSecretsDefault: kotlin.collections.List? = null, + + @SerialName(value = "kratos_selfservice_allowed_return_urls") val kratosSelfserviceAllowedReturnUrls: kotlin.collections.List? = null, + + /* Configures the Ory Kratos Default Return URL This governs the \"selfservice.allowed_return_urls\" setting. */ + @SerialName(value = "kratos_selfservice_default_browser_return_url") val kratosSelfserviceDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Error UI URL This governs the \"selfservice.flows.error.ui_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_error_ui_url") val kratosSelfserviceFlowsErrorUiUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.code.after.password.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_after_code_default_browser_return_url") val kratosSelfserviceFlowsLoginAfterCodeDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Login Default Return URL This governs the \"selfservice.flows.login.after.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_after_default_browser_return_url") val kratosSelfserviceFlowsLoginAfterDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.lookup_secret.after.password.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url") val kratosSelfserviceFlowsLoginAfterLookupSecretDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Login After OIDC Default Return URL This governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_after_oidc_default_browser_return_url") val kratosSelfserviceFlowsLoginAfterOidcDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Login After Passkey Default Return URL This governs the \"selfservice.flows.login.after.passkey.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_after_passkey_default_browser_return_url") val kratosSelfserviceFlowsLoginAfterPasskeyDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_after_password_default_browser_return_url") val kratosSelfserviceFlowsLoginAfterPasswordDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.totp.after.password.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_after_totp_default_browser_return_url") val kratosSelfserviceFlowsLoginAfterTotpDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Login After WebAuthn Default Return URL This governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_after_webauthn_default_browser_return_url") val kratosSelfserviceFlowsLoginAfterWebauthnDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Login Lifespan This governs the \"selfservice.flows.login.lifespan\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_lifespan") val kratosSelfserviceFlowsLoginLifespan: kotlin.String? = null, + + /* Configures the Ory Kratos Login UI URL This governs the \"selfservice.flows.login.ui_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_ui_url") val kratosSelfserviceFlowsLoginUiUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Logout Default Return URL This governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_logout_after_default_browser_return_url") val kratosSelfserviceFlowsLogoutAfterDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Recovery Default Return URL This governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_recovery_after_default_browser_return_url") val kratosSelfserviceFlowsRecoveryAfterDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Recovery Enabled Setting This governs the \"selfservice.flows.recovery.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_flows_recovery_enabled") val kratosSelfserviceFlowsRecoveryEnabled: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Recovery Lifespan This governs the \"selfservice.flows.recovery.lifespan\" setting. */ + @SerialName(value = "kratos_selfservice_flows_recovery_lifespan") val kratosSelfserviceFlowsRecoveryLifespan: kotlin.String? = null, + + /* Configures whether to notify unknown recipients of a Ory Kratos recovery flow This governs the \"selfservice.flows.recovery.notify_unknown_recipients\" setting. */ + @SerialName(value = "kratos_selfservice_flows_recovery_notify_unknown_recipients") val kratosSelfserviceFlowsRecoveryNotifyUnknownRecipients: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Recovery UI URL This governs the \"selfservice.flows.recovery.ui_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_recovery_ui_url") val kratosSelfserviceFlowsRecoveryUiUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\") This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode */ + @SerialName(value = "kratos_selfservice_flows_recovery_use") val kratosSelfserviceFlowsRecoveryUse: CreateProjectNormalizedPayload.KratosSelfserviceFlowsRecoveryUse? = null, + + /* Configures the Ory Kratos Registration After Code Default Return URL This governs the \"selfservice.flows.registration.after.code.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_after_code_default_browser_return_url") val kratosSelfserviceFlowsRegistrationAfterCodeDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Registration Default Return URL This governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_after_default_browser_return_url") val kratosSelfserviceFlowsRegistrationAfterDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Registration After OIDC Default Return URL This governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_after_oidc_default_browser_return_url") val kratosSelfserviceFlowsRegistrationAfterOidcDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Registration After Passkey Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_after_passkey_default_browser_return_url") val kratosSelfserviceFlowsRegistrationAfterPasskeyDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Registration After Password Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_after_password_default_browser_return_url") val kratosSelfserviceFlowsRegistrationAfterPasswordDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Registration After Webauthn Default Return URL This governs the \"selfservice.flows.registration.after.webauthn.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url") val kratosSelfserviceFlowsRegistrationAfterWebauthnDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Disable two-step registration Two-step registration is a significantly improved sign up flow and recommended when using more than one sign up methods. To revert to one-step registration, set this to `true`. This governs the \"selfservice.flows.registration.enable_legacy_one_step\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_enable_legacy_one_step") val kratosSelfserviceFlowsRegistrationEnableLegacyOneStep: kotlin.Boolean? = null, + + /* Configures the Whether Ory Kratos Registration is Enabled This governs the \"selfservice.flows.registration.enabled\" setting.0 */ + @SerialName(value = "kratos_selfservice_flows_registration_enabled") val kratosSelfserviceFlowsRegistrationEnabled: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Registration Lifespan This governs the \"selfservice.flows.registration.lifespan\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_lifespan") val kratosSelfserviceFlowsRegistrationLifespan: kotlin.String? = null, + + /* Configures the Ory Kratos Registration Login Hints Shows helpful information when a user tries to sign up with a duplicate account. This governs the \"selfservice.flows.registration.login_hints\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_login_hints") val kratosSelfserviceFlowsRegistrationLoginHints: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Registration UI URL This governs the \"selfservice.flows.registration.ui_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_ui_url") val kratosSelfserviceFlowsRegistrationUiUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Default Return URL This governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_after_default_browser_return_url") val kratosSelfserviceFlowsSettingsAfterDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Default Return URL After Updating Lookup Secrets This governs the \"selfservice.flows.settings.after.lookup_secret.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url") val kratosSelfserviceFlowsSettingsAfterLookupSecretDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Default Return URL After Updating Social Sign In This governs the \"selfservice.flows.settings.after.oidc.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_after_oidc_default_browser_return_url") val kratosSelfserviceFlowsSettingsAfterOidcDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Default Return URL After Updating Passkey This governs the \"selfservice.flows.settings.after.passkey.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_after_passkey_default_browser_return_url") val kratosSelfserviceFlowsSettingsAfterPasskeyDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Default Return URL After Updating Passwords This governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_after_password_default_browser_return_url") val kratosSelfserviceFlowsSettingsAfterPasswordDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Default Return URL After Updating Profiles This governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_after_profile_default_browser_return_url") val kratosSelfserviceFlowsSettingsAfterProfileDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Default Return URL After Updating TOTP This governs the \"selfservice.flows.settings.after.totp.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_after_totp_default_browser_return_url") val kratosSelfserviceFlowsSettingsAfterTotpDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Default Return URL After Updating WebAuthn This governs the \"selfservice.flows.settings.after.webauthn.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url") val kratosSelfserviceFlowsSettingsAfterWebauthnDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Lifespan This governs the \"selfservice.flows.settings.lifespan\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_lifespan") val kratosSelfserviceFlowsSettingsLifespan: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Privileged Session Max Age This governs the \"selfservice.flows.settings.privileged_session_max_age\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_privileged_session_max_age") val kratosSelfserviceFlowsSettingsPrivilegedSessionMaxAge: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Required AAL This governs the \"selfservice.flows.settings.required_aal\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_required_aal") val kratosSelfserviceFlowsSettingsRequiredAal: kotlin.String? = null, + + /* Configures the Ory Kratos Settings UI URL This governs the \"selfservice.flows.settings.ui_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_ui_url") val kratosSelfserviceFlowsSettingsUiUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Verification Default Return URL This governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_verification_after_default_browser_return_url") val kratosSelfserviceFlowsVerificationAfterDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Verification Enabled Setting This governs the \"selfservice.flows.verification.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_flows_verification_enabled") val kratosSelfserviceFlowsVerificationEnabled: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Verification Lifespan This governs the \"selfservice.flows.verification.lifespan\" setting. */ + @SerialName(value = "kratos_selfservice_flows_verification_lifespan") val kratosSelfserviceFlowsVerificationLifespan: kotlin.String? = null, + + /* Configures whether to notify unknown recipients of a Ory Kratos verification flow This governs the \"selfservice.flows.verification.notify_unknown_recipients\" setting. */ + @SerialName(value = "kratos_selfservice_flows_verification_notify_unknown_recipients") val kratosSelfserviceFlowsVerificationNotifyUnknownRecipients: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Verification UI URL This governs the \"selfservice.flows.verification.ui_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_verification_ui_url") val kratosSelfserviceFlowsVerificationUiUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Strategy to use for Verification This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode */ + @SerialName(value = "kratos_selfservice_flows_verification_use") val kratosSelfserviceFlowsVerificationUse: CreateProjectNormalizedPayload.KratosSelfserviceFlowsVerificationUse? = null, + + /* Configures the Ory Kratos Code Method's lifespan This governs the \"selfservice.methods.code.config.lifespan\" setting. */ + @SerialName(value = "kratos_selfservice_methods_code_config_lifespan") val kratosSelfserviceMethodsCodeConfigLifespan: kotlin.String? = null, + + /* Enables a fallback method required in certain legacy use cases. This governs the \"selfservice.methods.code.config.missing_credential_fallback_enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_code_config_missing_credential_fallback_enabled") val kratosSelfserviceMethodsCodeConfigMissingCredentialFallbackEnabled: kotlin.Boolean? = null, + + /* Configures whether Ory Kratos Code Method is enabled This governs the \"selfservice.methods.code.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_code_enabled") val kratosSelfserviceMethodsCodeEnabled: kotlin.Boolean? = null, + + /* Configures whether the code method can be used to fulfil MFA flows This governs the \"selfservice.methods.code.mfa_enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_code_mfa_enabled") val kratosSelfserviceMethodsCodeMfaEnabled: kotlin.Boolean? = null, + + /* Configures whether Ory Kratos Passwordless should use the Code Method This governs the \"selfservice.methods.code.passwordless_enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_code_passwordless_enabled") val kratosSelfserviceMethodsCodePasswordlessEnabled: kotlin.Boolean? = null, + + /* This setting allows the code method to always login a user with code if they have registered with another authentication method such as password or social sign in. This governs the \"selfservice.methods.code.passwordless_login_fallback_enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_code_passwordless_login_fallback_enabled") val kratosSelfserviceMethodsCodePasswordlessLoginFallbackEnabled: kotlin.Boolean? = null, + + /* Configures the Base URL which Recovery, Verification, and Login Links Point to It is recommended to leave this value empty. It will be appropriately configured to the best matching domain (e.g. when using custom domains) automatically. This governs the \"selfservice.methods.link.config.base_url\" setting. */ + @SerialName(value = "kratos_selfservice_methods_link_config_base_url") val kratosSelfserviceMethodsLinkConfigBaseUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Link Method's lifespan This governs the \"selfservice.methods.link.config.lifespan\" setting. */ + @SerialName(value = "kratos_selfservice_methods_link_config_lifespan") val kratosSelfserviceMethodsLinkConfigLifespan: kotlin.String? = null, + + /* Configures whether Ory Kratos Link Method is enabled This governs the \"selfservice.methods.link.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_link_enabled") val kratosSelfserviceMethodsLinkEnabled: kotlin.Boolean? = null, + + /* Configures whether Ory Kratos TOTP Lookup Secret is enabled This governs the \"selfservice.methods.lookup_secret.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_lookup_secret_enabled") val kratosSelfserviceMethodsLookupSecretEnabled: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Third Party / OpenID Connect base redirect URI This governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting. */ + @SerialName(value = "kratos_selfservice_methods_oidc_config_base_redirect_uri") val kratosSelfserviceMethodsOidcConfigBaseRedirectUri: kotlin.String? = null, + + @SerialName(value = "kratos_selfservice_methods_oidc_config_providers") val kratosSelfserviceMethodsOidcConfigProviders: kotlin.collections.List? = null, + + /* Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled This governs the \"selfservice.methods.oidc.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_oidc_enabled") val kratosSelfserviceMethodsOidcEnabled: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Passkey RP Display Name This governs the \"selfservice.methods.passkey.config.rp.display_name\" setting. */ + @SerialName(value = "kratos_selfservice_methods_passkey_config_rp_display_name") val kratosSelfserviceMethodsPasskeyConfigRpDisplayName: kotlin.String? = null, + + /* Configures the Ory Kratos Passkey RP ID This governs the \"selfservice.methods.passkey.config.rp.id\" setting. */ + @SerialName(value = "kratos_selfservice_methods_passkey_config_rp_id") val kratosSelfserviceMethodsPasskeyConfigRpId: kotlin.String? = null, + + @SerialName(value = "kratos_selfservice_methods_passkey_config_rp_origins") val kratosSelfserviceMethodsPasskeyConfigRpOrigins: kotlin.collections.List? = null, + + /* Configures whether Ory Kratos Passkey authentication is enabled This governs the \"selfservice.methods.passkey.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_passkey_enabled") val kratosSelfserviceMethodsPasskeyEnabled: kotlin.Boolean? = null, + + /* Configures whether Ory Kratos Password HIBP Checks is enabled This governs the \"selfservice.methods.password.config.haveibeenpwned_enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_password_config_haveibeenpwned_enabled") val kratosSelfserviceMethodsPasswordConfigHaveibeenpwnedEnabled: kotlin.Boolean? = null, + + /* Configures whether Ory Kratos Password should disable the similarity policy. This governs the \"selfservice.methods.password.config.identifier_similarity_check_enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_password_config_identifier_similarity_check_enabled") val kratosSelfserviceMethodsPasswordConfigIdentifierSimilarityCheckEnabled: kotlin.Boolean? = null, + + /* Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors This governs the \"selfservice.methods.password.config.ignore_network_errors\" setting. */ + @SerialName(value = "kratos_selfservice_methods_password_config_ignore_network_errors") val kratosSelfserviceMethodsPasswordConfigIgnoreNetworkErrors: kotlin.Boolean? = null, + + /* Configures Ory Kratos Password Max Breaches Detection This governs the \"selfservice.methods.password.config.max_breaches\" setting. */ + @SerialName(value = "kratos_selfservice_methods_password_config_max_breaches") val kratosSelfserviceMethodsPasswordConfigMaxBreaches: kotlin.Long? = null, + + /* Configures the minimum length of passwords. This governs the \"selfservice.methods.password.config.min_password_length\" setting. */ + @SerialName(value = "kratos_selfservice_methods_password_config_min_password_length") val kratosSelfserviceMethodsPasswordConfigMinPasswordLength: kotlin.Long? = null, + + /* Configures whether Ory Kratos Password Method is enabled This governs the \"selfservice.methods.password.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_password_enabled") val kratosSelfserviceMethodsPasswordEnabled: kotlin.Boolean? = null, + + /* Configures whether Ory Kratos Profile Method is enabled This governs the \"selfservice.methods.profile.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_profile_enabled") val kratosSelfserviceMethodsProfileEnabled: kotlin.Boolean? = null, + + /* Configures Ory Kratos TOTP Issuer This governs the \"selfservice.methods.totp.config.issuer\" setting. */ + @SerialName(value = "kratos_selfservice_methods_totp_config_issuer") val kratosSelfserviceMethodsTotpConfigIssuer: kotlin.String? = null, + + /* Configures whether Ory Kratos TOTP Method is enabled This governs the \"selfservice.methods.totp.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_totp_enabled") val kratosSelfserviceMethodsTotpEnabled: kotlin.Boolean? = null, + + /* Configures whether Ory Kratos Webauthn is used for passwordless flows This governs the \"selfservice.methods.webauthn.config.passwordless\" setting. */ + @SerialName(value = "kratos_selfservice_methods_webauthn_config_passwordless") val kratosSelfserviceMethodsWebauthnConfigPasswordless: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Webauthn RP Display Name This governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting. */ + @SerialName(value = "kratos_selfservice_methods_webauthn_config_rp_display_name") val kratosSelfserviceMethodsWebauthnConfigRpDisplayName: kotlin.String? = null, + + /* Configures the Ory Kratos Webauthn RP Icon This governs the \"selfservice.methods.webauthn.config.rp.icon\" setting. Deprecated: This value will be ignored due to security considerations. */ + @SerialName(value = "kratos_selfservice_methods_webauthn_config_rp_icon") val kratosSelfserviceMethodsWebauthnConfigRpIcon: kotlin.String? = null, + + /* Configures the Ory Kratos Webauthn RP ID This governs the \"selfservice.methods.webauthn.config.rp.id\" setting. */ + @SerialName(value = "kratos_selfservice_methods_webauthn_config_rp_id") val kratosSelfserviceMethodsWebauthnConfigRpId: kotlin.String? = null, + + @SerialName(value = "kratos_selfservice_methods_webauthn_config_rp_origins") val kratosSelfserviceMethodsWebauthnConfigRpOrigins: kotlin.collections.List? = null, + + /* Configures whether Ory Kratos Webauthn is enabled This governs the \"selfservice.methods.webauthn.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_webauthn_enabled") val kratosSelfserviceMethodsWebauthnEnabled: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Session Cookie Persistent Attribute This governs the \"session.cookie.persistent\" setting. */ + @SerialName(value = "kratos_session_cookie_persistent") val kratosSessionCookiePersistent: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Session Cookie SameSite Attribute This governs the \"session.cookie.same_site\" setting. */ + @SerialName(value = "kratos_session_cookie_same_site") val kratosSessionCookieSameSite: kotlin.String? = null, + + /* Configures the Ory Kratos Session Lifespan This governs the \"session.lifespan\" setting. */ + @SerialName(value = "kratos_session_lifespan") val kratosSessionLifespan: kotlin.String? = null, + + /* Configures the Ory Kratos Session Whoami AAL requirement This governs the \"session.whoami.required_aal\" setting. */ + @SerialName(value = "kratos_session_whoami_required_aal") val kratosSessionWhoamiRequiredAal: kotlin.String? = null, + + @SerialName(value = "kratos_session_whoami_tokenizer_templates") val kratosSessionWhoamiTokenizerTemplates: kotlin.collections.List? = null, + + /* The Revision's Project ID */ + @SerialName(value = "project_id") val projectId: kotlin.String? = null, + + @SerialName(value = "project_revision_hooks") val projectRevisionHooks: kotlin.collections.List? = null, + + @SerialName(value = "serve_admin_cors_allowed_origins") val serveAdminCorsAllowedOrigins: kotlin.collections.List? = null, + + /* Enable CORS headers on all admin APIs This governs the \"serve.admin.cors.enabled\" setting. */ + @SerialName(value = "serve_admin_cors_enabled") val serveAdminCorsEnabled: kotlin.Boolean? = null, + + @SerialName(value = "serve_public_cors_allowed_origins") val servePublicCorsAllowedOrigins: kotlin.collections.List? = null, + + /* Enable CORS headers on all public APIs This governs the \"serve.public.cors.enabled\" setting. */ + @SerialName(value = "serve_public_cors_enabled") val servePublicCorsEnabled: kotlin.Boolean? = null, + + /* Whether the project should employ strict security measures. Setting this to true is recommended for going into production. */ + @SerialName(value = "strict_security") val strictSecurity: kotlin.Boolean? = null, + + /* Last Time Project's Revision was Updated */ + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null, + + @SerialName(value = "workspace_id") val workspaceId: kotlin.String? = null + +) { + + /** + * prod Production stage Staging dev Development + * + * Values: prod,stage,dev + */ + @Serializable + enum class Environment(val value: kotlin.String) { + @SerialName(value = "prod") prod("prod"), + @SerialName(value = "stage") stage("stage"), + @SerialName(value = "dev") dev("dev"); + } + /** + * eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global + * + * Values: euMinusCentral,asiaMinusNortheast,usMinusEast,usMinusWest,us,global + */ + @Serializable + enum class HomeRegion(val value: kotlin.String) { + @SerialName(value = "eu-central") euMinusCentral("eu-central"), + @SerialName(value = "asia-northeast") asiaMinusNortheast("asia-northeast"), + @SerialName(value = "us-east") usMinusEast("us-east"), + @SerialName(value = "us-west") usMinusWest("us-west"), + @SerialName(value = "us") us("us"), + @SerialName(value = "global") global("global"); + } + /** + * Defines access token type This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt + * + * Values: opaque,jwt + */ + @Serializable + enum class HydraStrategiesAccessToken(val value: kotlin.String) { + @SerialName(value = "opaque") opaque("opaque"), + @SerialName(value = "jwt") jwt("jwt"); + } + /** + * Define the claim to use as the scope in the access token. This governs the \"strategies.jwt.scope_claim\" setting: list: The scope claim is an array of strings named `scope`: `{ \"scope\": [\"read\", \"write\"] }` string: The scope claim is a space delimited list of strings named `scp`: `{ \"scp\": \"read write\" }` both: The scope claim is both a space delimited list and an array of strings named `scope` and `scp`: `{ \"scope\": [\"read\", \"write\"], \"scp\": \"read write\" }` list OAuth2JWTScopeClaimList string OAuth2JWTScopeClaimString both OAuth2JWTScopeClaimBoth + * + * Values: list,string,both + */ + @Serializable + enum class HydraStrategiesJwtScopeClaim(val value: kotlin.String) { + @SerialName(value = "list") list("list"), + @SerialName(value = "string") string("string"), + @SerialName(value = "both") both("both"); + } + /** + * Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes This governs the \"strategies.scope\" setting. exact Oauth2ScopeStrategyExact wildcard Oauth2ScopeStrategyWildcard + * + * Values: exact,wildcard + */ + @Serializable + enum class HydraStrategiesScope(val value: kotlin.String) { + @SerialName(value = "exact") exact("exact"), + @SerialName(value = "wildcard") wildcard("wildcard"); + } + /** + * Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\") This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode + * + * Values: link,code + */ + @Serializable + enum class KratosSelfserviceFlowsRecoveryUse(val value: kotlin.String) { + @SerialName(value = "link") link("link"), + @SerialName(value = "code") code("code"); + } + /** + * Configures the Ory Kratos Strategy to use for Verification This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode + * + * Values: link,code + */ + @Serializable + enum class KratosSelfserviceFlowsVerificationUse(val value: kotlin.String) { + @SerialName(value = "link") link("link"), + @SerialName(value = "code") code("code"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRecoveryCodeForIdentityBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRecoveryCodeForIdentityBody.kt new file mode 100644 index 00000000000..50240d49096 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRecoveryCodeForIdentityBody.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Create Recovery Code for Identity Request Body + * + * @param identityId Identity to Recover The identity's ID you wish to recover. + * @param expiresIn Code Expires In The recovery code will expire after that amount of time has passed. Defaults to the configuration value of `selfservice.methods.code.config.lifespan`. + * @param flowType The flow type can either be `api` or `browser`. + */ +@Serializable + +data class CreateRecoveryCodeForIdentityBody ( + + /* Identity to Recover The identity's ID you wish to recover. */ + @SerialName(value = "identity_id") @Required val identityId: kotlin.String, + + /* Code Expires In The recovery code will expire after that amount of time has passed. Defaults to the configuration value of `selfservice.methods.code.config.lifespan`. */ + @SerialName(value = "expires_in") val expiresIn: kotlin.String? = null, + + /* The flow type can either be `api` or `browser`. */ + @SerialName(value = "flow_type") val flowType: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRecoveryLinkForIdentityBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRecoveryLinkForIdentityBody.kt new file mode 100644 index 00000000000..7698c86a3c5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRecoveryLinkForIdentityBody.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Create Recovery Link for Identity Request Body + * + * @param identityId Identity to Recover The identity's ID you wish to recover. + * @param expiresIn Link Expires In The recovery link will expire after that amount of time has passed. Defaults to the configuration value of `selfservice.methods.code.config.lifespan`. + */ +@Serializable + +data class CreateRecoveryLinkForIdentityBody ( + + /* Identity to Recover The identity's ID you wish to recover. */ + @SerialName(value = "identity_id") @Required val identityId: kotlin.String, + + /* Link Expires In The recovery link will expire after that amount of time has passed. Defaults to the configuration value of `selfservice.methods.code.config.lifespan`. */ + @SerialName(value = "expires_in") val expiresIn: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRelationshipBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRelationshipBody.kt new file mode 100644 index 00000000000..30039f1c656 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRelationshipBody.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.SubjectSet + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Create Relationship Request Body + * + * @param namespace Namespace to query + * @param `object` Object to query + * @param relation Relation to query + * @param subjectId SubjectID to query Either SubjectSet or SubjectID can be provided. + * @param subjectSet + */ +@Serializable + +data class CreateRelationshipBody ( + + /* Namespace to query */ + @SerialName(value = "namespace") val namespace: kotlin.String? = null, + + /* Object to query */ + @SerialName(value = "object") val `object`: kotlin.String? = null, + + /* Relation to query */ + @SerialName(value = "relation") val relation: kotlin.String? = null, + + /* SubjectID to query Either SubjectSet or SubjectID can be provided. */ + @SerialName(value = "subject_id") val subjectId: kotlin.String? = null, + + @SerialName(value = "subject_set") val subjectSet: SubjectSet? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateSubscriptionBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateSubscriptionBody.kt new file mode 100644 index 00000000000..4bf8a7fb8d1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateSubscriptionBody.kt @@ -0,0 +1,72 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param interval monthly Monthly yearly Yearly + * @param plan + * @param provisionFirstProject + * @param currency usd USD eur Euro + * @param returnTo + */ +@Serializable + +data class CreateSubscriptionBody ( + + /* monthly Monthly yearly Yearly */ + @SerialName(value = "interval") @Required val interval: CreateSubscriptionBody.Interval, + + @SerialName(value = "plan") @Required val plan: kotlin.String, + + @SerialName(value = "provision_first_project") @Required val provisionFirstProject: kotlin.String, + + /* usd USD eur Euro */ + @SerialName(value = "currency") val currency: CreateSubscriptionBody.Currency? = null, + + @SerialName(value = "return_to") val returnTo: kotlin.String? = null + +) { + + /** + * monthly Monthly yearly Yearly + * + * Values: monthly,yearly + */ + @Serializable + enum class Interval(val value: kotlin.String) { + @SerialName(value = "monthly") monthly("monthly"), + @SerialName(value = "yearly") yearly("yearly"); + } + /** + * usd USD eur Euro + * + * Values: usd,eur + */ + @Serializable + enum class Currency(val value: kotlin.String) { + @SerialName(value = "usd") usd("usd"), + @SerialName(value = "eur") eur("eur"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateSubscriptionCommon.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateSubscriptionCommon.kt new file mode 100644 index 00000000000..f338d562546 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateSubscriptionCommon.kt @@ -0,0 +1,69 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param interval monthly Monthly yearly Yearly + * @param plan + * @param currency usd USD eur Euro + * @param returnTo + */ +@Serializable + +data class CreateSubscriptionCommon ( + + /* monthly Monthly yearly Yearly */ + @SerialName(value = "interval") @Required val interval: CreateSubscriptionCommon.Interval, + + @SerialName(value = "plan") @Required val plan: kotlin.String, + + /* usd USD eur Euro */ + @SerialName(value = "currency") val currency: CreateSubscriptionCommon.Currency? = null, + + @SerialName(value = "return_to") val returnTo: kotlin.String? = null + +) { + + /** + * monthly Monthly yearly Yearly + * + * Values: monthly,yearly + */ + @Serializable + enum class Interval(val value: kotlin.String) { + @SerialName(value = "monthly") monthly("monthly"), + @SerialName(value = "yearly") yearly("yearly"); + } + /** + * usd USD eur Euro + * + * Values: usd,eur + */ + @Serializable + enum class Currency(val value: kotlin.String) { + @SerialName(value = "usd") usd("usd"), + @SerialName(value = "eur") eur("eur"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateVerifiableCredentialRequestBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateVerifiableCredentialRequestBody.kt new file mode 100644 index 00000000000..e3eff7770db --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateVerifiableCredentialRequestBody.kt @@ -0,0 +1,45 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.VerifiableCredentialProof + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param format + * @param proof + * @param types + */ +@Serializable + +data class CreateVerifiableCredentialRequestBody ( + + @SerialName(value = "format") val format: kotlin.String? = null, + + @SerialName(value = "proof") val proof: VerifiableCredentialProof? = null, + + @SerialName(value = "types") val types: kotlin.collections.List? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceApiKeyBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceApiKeyBody.kt new file mode 100644 index 00000000000..c609bc248ac --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceApiKeyBody.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param name The API Key Name A descriptive name for the API key. + * @param expiresAt + */ +@Serializable + +data class CreateWorkspaceApiKeyBody ( + + /* The API Key Name A descriptive name for the API key. */ + @SerialName(value = "name") @Required val name: kotlin.String, + + @SerialName(value = "expires_at") val expiresAt: kotlinx.datetime.Instant? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceBody.kt new file mode 100644 index 00000000000..6585cd274db --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceBody.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param name The name of the workspace + */ +@Serializable + +data class CreateWorkspaceBody ( + + /* The name of the workspace */ + @SerialName(value = "name") @Required val name: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceMemberInviteBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceMemberInviteBody.kt new file mode 100644 index 00000000000..2d901a71a12 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceMemberInviteBody.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Create Workspace Invite Request Body + * + * @param inviteeEmail A email to invite + * @param role The role the user will have in the workspace owner WorkspaceMemberRoleOwner developer WorkspaceMemberRoleDeveloper + */ +@Serializable + +data class CreateWorkspaceMemberInviteBody ( + + /* A email to invite */ + @SerialName(value = "invitee_email") @Required val inviteeEmail: kotlin.String, + + /* The role the user will have in the workspace owner WorkspaceMemberRoleOwner developer WorkspaceMemberRoleDeveloper */ + @SerialName(value = "role") @Required val role: CreateWorkspaceMemberInviteBody.Role + +) { + + /** + * The role the user will have in the workspace owner WorkspaceMemberRoleOwner developer WorkspaceMemberRoleDeveloper + * + * Values: owner,developer + */ + @Serializable + enum class Role(val value: kotlin.String) { + @SerialName(value = "owner") owner("owner"), + @SerialName(value = "developer") developer("developer"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceSubscriptionBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceSubscriptionBody.kt new file mode 100644 index 00000000000..53ccc97ea58 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceSubscriptionBody.kt @@ -0,0 +1,69 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param interval monthly Monthly yearly Yearly + * @param plan + * @param currency usd USD eur Euro + * @param returnTo + */ +@Serializable + +data class CreateWorkspaceSubscriptionBody ( + + /* monthly Monthly yearly Yearly */ + @SerialName(value = "interval") @Required val interval: CreateWorkspaceSubscriptionBody.Interval, + + @SerialName(value = "plan") @Required val plan: kotlin.String, + + /* usd USD eur Euro */ + @SerialName(value = "currency") val currency: CreateWorkspaceSubscriptionBody.Currency? = null, + + @SerialName(value = "return_to") val returnTo: kotlin.String? = null + +) { + + /** + * monthly Monthly yearly Yearly + * + * Values: monthly,yearly + */ + @Serializable + enum class Interval(val value: kotlin.String) { + @SerialName(value = "monthly") monthly("monthly"), + @SerialName(value = "yearly") yearly("yearly"); + } + /** + * usd USD eur Euro + * + * Values: usd,eur + */ + @Serializable + enum class Currency(val value: kotlin.String) { + @SerialName(value = "usd") usd("usd"), + @SerialName(value = "eur") eur("eur"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CredentialSupportedDraft00.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CredentialSupportedDraft00.kt new file mode 100644 index 00000000000..8d10c2df78e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CredentialSupportedDraft00.kt @@ -0,0 +1,51 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Includes information about the supported verifiable credentials. + * + * @param cryptographicBindingMethodsSupported OpenID Connect Verifiable Credentials Cryptographic Binding Methods Supported Contains a list of cryptographic binding methods supported for signing the proof. + * @param cryptographicSuitesSupported OpenID Connect Verifiable Credentials Cryptographic Suites Supported Contains a list of cryptographic suites methods supported for signing the proof. + * @param format OpenID Connect Verifiable Credentials Format Contains the format that is supported by this authorization server. + * @param types OpenID Connect Verifiable Credentials Types Contains the types of verifiable credentials supported. + */ +@Serializable + +data class CredentialSupportedDraft00 ( + + /* OpenID Connect Verifiable Credentials Cryptographic Binding Methods Supported Contains a list of cryptographic binding methods supported for signing the proof. */ + @SerialName(value = "cryptographic_binding_methods_supported") val cryptographicBindingMethodsSupported: kotlin.collections.List? = null, + + /* OpenID Connect Verifiable Credentials Cryptographic Suites Supported Contains a list of cryptographic suites methods supported for signing the proof. */ + @SerialName(value = "cryptographic_suites_supported") val cryptographicSuitesSupported: kotlin.collections.List? = null, + + /* OpenID Connect Verifiable Credentials Format Contains the format that is supported by this authorization server. */ + @SerialName(value = "format") val format: kotlin.String? = null, + + /* OpenID Connect Verifiable Credentials Types Contains the types of verifiable credentials supported. */ + @SerialName(value = "types") val types: kotlin.collections.List? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CustomDomain.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CustomDomain.kt new file mode 100644 index 00000000000..9b67785586d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/CustomDomain.kt @@ -0,0 +1,98 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Custom Hostname + * + * @param cookieDomain + * @param corsAllowedOrigins + * @param corsEnabled + * @param createdAt + * @param customUiBaseUrl + * @param hostname + * @param id + * @param sslStatus + * @param updatedAt + * @param verificationErrors + * @param verificationStatus + */ +@Serializable + +data class CustomDomain ( + + @SerialName(value = "cookie_domain") val cookieDomain: kotlin.String? = null, + + @SerialName(value = "cors_allowed_origins") val corsAllowedOrigins: kotlin.collections.List? = null, + + @SerialName(value = "cors_enabled") val corsEnabled: kotlin.Boolean? = null, + + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + @SerialName(value = "custom_ui_base_url") val customUiBaseUrl: kotlin.String? = null, + + @SerialName(value = "hostname") val hostname: kotlin.String? = null, + + @SerialName(value = "id") val id: kotlin.String? = null, + + @SerialName(value = "ssl_status") val sslStatus: CustomDomain.SslStatus? = null, + + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null, + + @SerialName(value = "verification_errors") val verificationErrors: kotlin.collections.List? = null, + + @SerialName(value = "verification_status") val verificationStatus: kotlin.String? = null + +) { + + /** + * + * + * Values: initializing,pending_validation,deleted,pending_issuance,pending_deployment,pending_deletion,pending_expiration,expired,active,initializing_timed_out,validation_timed_out,issuance_timed_out,deployment_timed_out,deletion_timed_out,pending_cleanup,staging_deployment,staging_active,deactivating,inactive,backup_issued,holding_deployment, + */ + @Serializable + enum class SslStatus(val value: kotlin.String) { + @SerialName(value = "initializing") initializing("initializing"), + @SerialName(value = "pending_validation") pending_validation("pending_validation"), + @SerialName(value = "deleted") deleted("deleted"), + @SerialName(value = "pending_issuance") pending_issuance("pending_issuance"), + @SerialName(value = "pending_deployment") pending_deployment("pending_deployment"), + @SerialName(value = "pending_deletion") pending_deletion("pending_deletion"), + @SerialName(value = "pending_expiration") pending_expiration("pending_expiration"), + @SerialName(value = "expired") expired("expired"), + @SerialName(value = "active") active("active"), + @SerialName(value = "initializing_timed_out") initializing_timed_out("initializing_timed_out"), + @SerialName(value = "validation_timed_out") validation_timed_out("validation_timed_out"), + @SerialName(value = "issuance_timed_out") issuance_timed_out("issuance_timed_out"), + @SerialName(value = "deployment_timed_out") deployment_timed_out("deployment_timed_out"), + @SerialName(value = "deletion_timed_out") deletion_timed_out("deletion_timed_out"), + @SerialName(value = "pending_cleanup") pending_cleanup("pending_cleanup"), + @SerialName(value = "staging_deployment") staging_deployment("staging_deployment"), + @SerialName(value = "staging_active") staging_active("staging_active"), + @SerialName(value = "deactivating") deactivating("deactivating"), + @SerialName(value = "inactive") inactive("inactive"), + @SerialName(value = "backup_issued") backup_issued("backup_issued"), + @SerialName(value = "holding_deployment") holding_deployment("holding_deployment"), + @SerialName(value = "") (""); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/DeleteMySessionsCount.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/DeleteMySessionsCount.kt new file mode 100644 index 00000000000..331b2295628 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/DeleteMySessionsCount.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Deleted Session Count + * + * @param count The number of sessions that were revoked. + */ +@Serializable + +data class DeleteMySessionsCount ( + + /* The number of sessions that were revoked. */ + @SerialName(value = "count") val count: kotlin.Long? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/EmailTemplateData.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/EmailTemplateData.kt new file mode 100644 index 00000000000..92f62b74e79 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/EmailTemplateData.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.EmailTemplateDataBody + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Contains the data of the email template, including the subject and body in HTML and plaintext variants + * + * @param body + * @param subject + */ +@Serializable + +data class EmailTemplateData ( + + @SerialName(value = "body") @Required val body: EmailTemplateDataBody, + + @SerialName(value = "subject") @Required val subject: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/EmailTemplateDataBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/EmailTemplateDataBody.kt new file mode 100644 index 00000000000..a37b17c3cc3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/EmailTemplateDataBody.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param html + * @param plaintext + */ +@Serializable + +data class EmailTemplateDataBody ( + + @SerialName(value = "html") @Required val html: kotlin.String, + + @SerialName(value = "plaintext") @Required val plaintext: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorAuthenticatorAssuranceLevelNotSatisfied.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorAuthenticatorAssuranceLevelNotSatisfied.kt new file mode 100644 index 00000000000..def9653ecc7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorAuthenticatorAssuranceLevelNotSatisfied.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.GenericError + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param error + * @param redirectBrowserTo Points to where to redirect the user to next. + */ +@Serializable + +data class ErrorAuthenticatorAssuranceLevelNotSatisfied ( + + @SerialName(value = "error") val error: GenericError? = null, + + /* Points to where to redirect the user to next. */ + @SerialName(value = "redirect_browser_to") val redirectBrowserTo: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorBrowserLocationChangeRequired.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorBrowserLocationChangeRequired.kt new file mode 100644 index 00000000000..e542f389cce --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorBrowserLocationChangeRequired.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param error + * @param redirectBrowserTo Points to where to redirect the user to next. + */ +@Serializable + +data class ErrorBrowserLocationChangeRequired ( + + @SerialName(value = "error") val error: ErrorGeneric? = null, + + /* Points to where to redirect the user to next. */ + @SerialName(value = "redirect_browser_to") val redirectBrowserTo: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorFlowReplaced.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorFlowReplaced.kt new file mode 100644 index 00000000000..e656625c558 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorFlowReplaced.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.GenericError + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Is sent when a flow is replaced by a different flow of the same class + * + * @param error + * @param useFlowId The flow ID that should be used for the new flow as it contains the correct messages. + */ +@Serializable + +data class ErrorFlowReplaced ( + + @SerialName(value = "error") val error: GenericError? = null, + + /* The flow ID that should be used for the new flow as it contains the correct messages. */ + @SerialName(value = "use_flow_id") val useFlowId: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorGeneric.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorGeneric.kt new file mode 100644 index 00000000000..822219bebe8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorGeneric.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.GenericErrorContent + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * The standard Ory JSON API error format. + * + * @param error + */ +@Serializable + +data class ErrorGeneric ( + + @SerialName(value = "error") @Required val error: GenericErrorContent + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorOAuth2.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorOAuth2.kt new file mode 100644 index 00000000000..9124e44262f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorOAuth2.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Error + * + * @param error Error + * @param errorDebug Error Debug Information Only available in dev mode. + * @param errorDescription Error Description + * @param errorHint Error Hint Helps the user identify the error cause. + * @param statusCode HTTP Status Code + */ +@Serializable + +data class ErrorOAuth2 ( + + /* Error */ + @SerialName(value = "error") val error: kotlin.String? = null, + + /* Error Debug Information Only available in dev mode. */ + @SerialName(value = "error_debug") val errorDebug: kotlin.String? = null, + + /* Error Description */ + @SerialName(value = "error_description") val errorDescription: kotlin.String? = null, + + /* Error Hint Helps the user identify the error cause. */ + @SerialName(value = "error_hint") val errorHint: kotlin.String? = null, + + /* HTTP Status Code */ + @SerialName(value = "status_code") val statusCode: kotlin.Long? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/EventStream.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/EventStream.kt new file mode 100644 index 00000000000..15d5de4c59c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/EventStream.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Event Stream + * + * @param createdAt + * @param id + * @param roleArn + * @param topicArn + * @param type + * @param updatedAt + */ +@Serializable + +data class EventStream ( + + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + @SerialName(value = "id") val id: kotlin.String? = null, + + @SerialName(value = "role_arn") val roleArn: kotlin.String? = null, + + @SerialName(value = "topic_arn") val topicArn: kotlin.String? = null, + + @SerialName(value = "type") val type: kotlin.String? = null, + + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ExpandedPermissionTree.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ExpandedPermissionTree.kt new file mode 100644 index 00000000000..07bf0b6f790 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ExpandedPermissionTree.kt @@ -0,0 +1,63 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.Relationship + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param type The type of the node. union TreeNodeUnion exclusion TreeNodeExclusion intersection TreeNodeIntersection leaf TreeNodeLeaf tuple_to_subject_set TreeNodeTupleToSubjectSet computed_subject_set TreeNodeComputedSubjectSet not TreeNodeNot unspecified TreeNodeUnspecified + * @param children The children of the node, possibly none. + * @param tuple + */ +@Serializable + +data class ExpandedPermissionTree ( + + /* The type of the node. union TreeNodeUnion exclusion TreeNodeExclusion intersection TreeNodeIntersection leaf TreeNodeLeaf tuple_to_subject_set TreeNodeTupleToSubjectSet computed_subject_set TreeNodeComputedSubjectSet not TreeNodeNot unspecified TreeNodeUnspecified */ + @SerialName(value = "type") @Required val type: ExpandedPermissionTree.Type, + + /* The children of the node, possibly none. */ + @SerialName(value = "children") val children: kotlin.collections.List? = null, + + @SerialName(value = "tuple") val tuple: Relationship? = null + +) { + + /** + * The type of the node. union TreeNodeUnion exclusion TreeNodeExclusion intersection TreeNodeIntersection leaf TreeNodeLeaf tuple_to_subject_set TreeNodeTupleToSubjectSet computed_subject_set TreeNodeComputedSubjectSet not TreeNodeNot unspecified TreeNodeUnspecified + * + * Values: union,exclusion,intersection,leaf,tuple_to_subject_set,computed_subject_set,not,unspecified + */ + @Serializable + enum class Type(val value: kotlin.String) { + @SerialName(value = "union") union("union"), + @SerialName(value = "exclusion") exclusion("exclusion"), + @SerialName(value = "intersection") intersection("intersection"), + @SerialName(value = "leaf") leaf("leaf"), + @SerialName(value = "tuple_to_subject_set") tuple_to_subject_set("tuple_to_subject_set"), + @SerialName(value = "computed_subject_set") computed_subject_set("computed_subject_set"), + @SerialName(value = "not") not("not"), + @SerialName(value = "unspecified") unspecified("unspecified"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/FlowError.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/FlowError.kt new file mode 100644 index 00000000000..de27ffcc7e9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/FlowError.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param id ID of the error container. + * @param createdAt CreatedAt is a helper struct field for gobuffalo.pop. + * @param error + * @param updatedAt UpdatedAt is a helper struct field for gobuffalo.pop. + */ +@Serializable + +data class FlowError ( + + /* ID of the error container. */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* CreatedAt is a helper struct field for gobuffalo.pop. */ + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + @SerialName(value = "error") val error: kotlin.String? = null, + + /* UpdatedAt is a helper struct field for gobuffalo.pop. */ + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericError.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericError.kt new file mode 100644 index 00000000000..466013ded4b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericError.kt @@ -0,0 +1,71 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.GenericErrorContent + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Error responses are sent when an error (e.g. unauthorized, bad request, ...) occurred. + * + * @param message Error message The error's message. + * @param code The status code + * @param debug Debug information This field is often not exposed to protect against leaking sensitive information. + * @param details Further error details + * @param error + * @param id The error ID Useful when trying to identify various errors in application logic. + * @param reason A human-readable reason for the error + * @param request The request ID The request ID is often exposed internally in order to trace errors across service architectures. This is often a UUID. + * @param status The status description + */ +@Serializable + +data class GenericError ( + + /* Error message The error's message. */ + @SerialName(value = "message") @Required val message: kotlin.String, + + /* The status code */ + @SerialName(value = "code") val code: kotlin.Long? = null, + + /* Debug information This field is often not exposed to protect against leaking sensitive information. */ + @SerialName(value = "debug") val debug: kotlin.String? = null, + + /* Further error details */ + @SerialName(value = "details") val details: kotlin.Any? = null, + + @SerialName(value = "error") val error: GenericErrorContent? = null, + + /* The error ID Useful when trying to identify various errors in application logic. */ + @SerialName(value = "id") val id: kotlin.String? = null, + + /* A human-readable reason for the error */ + @SerialName(value = "reason") val reason: kotlin.String? = null, + + /* The request ID The request ID is often exposed internally in order to trace errors across service architectures. This is often a UUID. */ + @SerialName(value = "request") val request: kotlin.String? = null, + + /* The status description */ + @SerialName(value = "status") val status: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericErrorContent.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericErrorContent.kt new file mode 100644 index 00000000000..a682225c359 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericErrorContent.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Error response + * + * @param debug Debug contains debug information. This is usually not available and has to be enabled. + * @param error Name is the error name. + * @param errorDescription Description contains further information on the nature of the error. + * @param message Message contains the error message. + * @param statusCode Code represents the error status code (404, 403, 401, ...). + */ +@Serializable + +data class GenericErrorContent ( + + /* Debug contains debug information. This is usually not available and has to be enabled. */ + @SerialName(value = "debug") val debug: kotlin.String? = null, + + /* Name is the error name. */ + @SerialName(value = "error") val error: kotlin.String? = null, + + /* Description contains further information on the nature of the error. */ + @SerialName(value = "error_description") val errorDescription: kotlin.String? = null, + + /* Message contains the error message. */ + @SerialName(value = "message") val message: kotlin.String? = null, + + /* Code represents the error status code (404, 403, 401, ...). */ + @SerialName(value = "status_code") val statusCode: kotlin.Long? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericUsage.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericUsage.kt new file mode 100644 index 00000000000..37bc0c9fc33 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericUsage.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.Money + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param additionalPrice + * @param includedUsage IncludedUsage is the number of included items. + */ +@Serializable + +data class GenericUsage ( + + @SerialName(value = "additional_price") @Required val additionalPrice: Money, + + /* IncludedUsage is the number of included items. */ + @SerialName(value = "included_usage") @Required val includedUsage: kotlin.Long + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetAttributesCountResponse.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetAttributesCountResponse.kt new file mode 100644 index 00000000000..a27cd25df62 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetAttributesCountResponse.kt @@ -0,0 +1,40 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.AttributesCountDatapoint + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Response of the getAttributesCount endpoint + * + * @param `data` The list of data points. + */ +@Serializable + +data class GetAttributesCountResponse ( + + /* The list of data points. */ + @SerialName(value = "data") @Required val `data`: kotlin.collections.List + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetManagedIdentitySchemaLocation.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetManagedIdentitySchemaLocation.kt new file mode 100644 index 00000000000..6da8bd35a01 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetManagedIdentitySchemaLocation.kt @@ -0,0 +1,38 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Ory Identity Schema Location + * + * @param location + */ +@Serializable + +data class GetManagedIdentitySchemaLocation ( + + @SerialName(value = "location") val location: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetMetricsEventAttributesResponse.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetMetricsEventAttributesResponse.kt new file mode 100644 index 00000000000..3a9dd25e8d8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetMetricsEventAttributesResponse.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Response of the getMetricsEventAttributes endpoint + * + * @param events The list of data points. + */ +@Serializable + +data class GetMetricsEventAttributesResponse ( + + /* The list of data points. */ + @SerialName(value = "events") @Required val events: kotlin.collections.List + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetMetricsEventTypesResponse.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetMetricsEventTypesResponse.kt new file mode 100644 index 00000000000..8137a689322 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetMetricsEventTypesResponse.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Response of the getMetricsEventTypes endpoint + * + * @param events The list of data points. + */ +@Serializable + +data class GetMetricsEventTypesResponse ( + + /* The list of data points. */ + @SerialName(value = "events") @Required val events: kotlin.collections.List + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetOrganizationResponse.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetOrganizationResponse.kt new file mode 100644 index 00000000000..ad6dec30a82 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetOrganizationResponse.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.Organization + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param organization + */ +@Serializable + +data class GetOrganizationResponse ( + + @SerialName(value = "organization") @Required val organization: Organization + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectEventsBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectEventsBody.kt new file mode 100644 index 00000000000..0024146b846 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectEventsBody.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.AttributeFilter + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Body of the getProjectEvents endpoint + * + * @param from The start RFC3339 date of the time window + * @param to The end RFC3339 date of the time window + * @param eventName The event name to query for + * @param filters Event attribute filters + * @param pageSize Maximum number of events to return + * @param pageToken Pagination token to fetch next page, empty if first page + */ +@Serializable + +data class GetProjectEventsBody ( + + /* The start RFC3339 date of the time window */ + @SerialName(value = "from") @Required val from: kotlinx.datetime.Instant, + + /* The end RFC3339 date of the time window */ + @SerialName(value = "to") @Required val to: kotlinx.datetime.Instant, + + /* The event name to query for */ + @SerialName(value = "event_name") val eventName: kotlin.String? = null, + + /* Event attribute filters */ + @SerialName(value = "filters") val filters: kotlin.collections.List? = arrayListOf(), + + /* Maximum number of events to return */ + @SerialName(value = "page_size") val pageSize: kotlin.Long? = 25L, + + /* Pagination token to fetch next page, empty if first page */ + @SerialName(value = "page_token") val pageToken: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectEventsResponse.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectEventsResponse.kt new file mode 100644 index 00000000000..6f1094c4c89 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectEventsResponse.kt @@ -0,0 +1,44 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ProjectEventsDatapoint + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Response of the getProjectEvents endpoint + * + * @param events The list of data points. + * @param pageToken Pagination token to be included in next page request + */ +@Serializable + +data class GetProjectEventsResponse ( + + /* The list of data points. */ + @SerialName(value = "events") @Required val events: kotlin.collections.List, + + /* Pagination token to be included in next page request */ + @SerialName(value = "page_token") val pageToken: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectMetricsResponse.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectMetricsResponse.kt new file mode 100644 index 00000000000..4dddb0ee295 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectMetricsResponse.kt @@ -0,0 +1,40 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.MetricsDatapoint + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Response of the getMetrics endpoint + * + * @param `data` The list of data points. + */ +@Serializable + +data class GetProjectMetricsResponse ( + + /* The list of data points. */ + @SerialName(value = "data") @Required val `data`: kotlin.collections.List + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetSessionActivityResponse.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetSessionActivityResponse.kt new file mode 100644 index 00000000000..9a42983a889 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetSessionActivityResponse.kt @@ -0,0 +1,40 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.SessionActivityDatapoint + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Response of the getSessionActivity endpoint + * + * @param `data` The list of data points. + */ +@Serializable + +data class GetSessionActivityResponse ( + + /* The list of data points. */ + @SerialName(value = "data") @Required val `data`: kotlin.collections.List + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetVersion200Response.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetVersion200Response.kt new file mode 100644 index 00000000000..818cd22089f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/GetVersion200Response.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param version The version of Ory Kratos. + */ +@Serializable + +data class GetVersion200Response ( + + /* The version of Ory Kratos. */ + @SerialName(value = "version") @Required val version: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/HealthNotReadyStatus.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/HealthNotReadyStatus.kt new file mode 100644 index 00000000000..31c17d1e2be --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/HealthNotReadyStatus.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param errors Errors contains a list of errors that caused the not ready status. + */ +@Serializable + +data class HealthNotReadyStatus ( + + /* Errors contains a list of errors that caused the not ready status. */ + @SerialName(value = "errors") val errors: kotlin.collections.Map? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/HealthStatus.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/HealthStatus.kt new file mode 100644 index 00000000000..8b02f5f0039 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/HealthStatus.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param status Status always contains \"ok\". + */ +@Serializable + +data class HealthStatus ( + + /* Status always contains \"ok\". */ + @SerialName(value = "status") val status: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Identity.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Identity.kt new file mode 100644 index 00000000000..53ebdcdb888 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Identity.kt @@ -0,0 +1,102 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.IdentityCredentials +import sh.ory.client-kotlin-multiplatform.models.RecoveryIdentityAddress +import sh.ory.client-kotlin-multiplatform.models.VerifiableIdentityAddress + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * An [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) represents a (human) user in Ory. + * + * @param id ID is the identity's unique identifier. The Identity ID can not be changed and can not be chosen. This ensures future compatibility and optimization for distributed stores such as CockroachDB. + * @param schemaId SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. + * @param schemaUrl SchemaURL is the URL of the endpoint where the identity's traits schema can be fetched from. format: url + * @param traits Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_url`. + * @param createdAt CreatedAt is a helper struct field for gobuffalo.pop. + * @param credentials Credentials represents all credentials that can be used for authenticating this identity. + * @param metadataAdmin NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- + * @param metadataPublic NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- + * @param organizationId + * @param recoveryAddresses RecoveryAddresses contains all the addresses that can be used to recover an identity. + * @param state State is the identity's state. This value has currently no effect. active StateActive inactive StateInactive + * @param stateChangedAt + * @param updatedAt UpdatedAt is a helper struct field for gobuffalo.pop. + * @param verifiableAddresses VerifiableAddresses contains all the addresses that can be verified by the user. + */ +@Serializable + +data class Identity ( + + /* ID is the identity's unique identifier. The Identity ID can not be changed and can not be chosen. This ensures future compatibility and optimization for distributed stores such as CockroachDB. */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. */ + @SerialName(value = "schema_id") @Required val schemaId: kotlin.String, + + /* SchemaURL is the URL of the endpoint where the identity's traits schema can be fetched from. format: url */ + @SerialName(value = "schema_url") @Required val schemaUrl: kotlin.String, + + /* Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_url`. */ + @SerialName(value = "traits") @Required val traits: kotlin.Any?, + + /* CreatedAt is a helper struct field for gobuffalo.pop. */ + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + /* Credentials represents all credentials that can be used for authenticating this identity. */ + @SerialName(value = "credentials") val credentials: kotlin.collections.Map? = null, + + /* NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- */ + @SerialName(value = "metadata_admin") val metadataAdmin: kotlin.String? = null, + + /* NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- */ + @SerialName(value = "metadata_public") val metadataPublic: kotlin.String? = null, + + @SerialName(value = "organization_id") val organizationId: kotlin.String? = null, + + /* RecoveryAddresses contains all the addresses that can be used to recover an identity. */ + @SerialName(value = "recovery_addresses") val recoveryAddresses: kotlin.collections.List? = null, + + /* State is the identity's state. This value has currently no effect. active StateActive inactive StateInactive */ + @SerialName(value = "state") val state: Identity.State? = null, + + @SerialName(value = "state_changed_at") val stateChangedAt: kotlinx.datetime.Instant? = null, + + /* UpdatedAt is a helper struct field for gobuffalo.pop. */ + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null, + + /* VerifiableAddresses contains all the addresses that can be verified by the user. */ + @SerialName(value = "verifiable_addresses") val verifiableAddresses: kotlin.collections.List? = null + +) { + + /** + * State is the identity's state. This value has currently no effect. active StateActive inactive StateInactive + * + * Values: active,inactive + */ + @Serializable + enum class State(val value: kotlin.String) { + @SerialName(value = "active") active("active"), + @SerialName(value = "inactive") inactive("inactive"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentials.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentials.kt new file mode 100644 index 00000000000..43058955226 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentials.kt @@ -0,0 +1,76 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Credentials represents a specific credential type + * + * @param config + * @param createdAt CreatedAt is a helper struct field for gobuffalo.pop. + * @param identifiers Identifiers represents a list of unique identifiers this credential type matches. + * @param type Type discriminates between different types of credentials. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + * @param updatedAt UpdatedAt is a helper struct field for gobuffalo.pop. + * @param version Version refers to the version of the credential. Useful when changing the config schema. + */ +@Serializable + +data class IdentityCredentials ( + + @SerialName(value = "config") val config: kotlin.String? = null, + + /* CreatedAt is a helper struct field for gobuffalo.pop. */ + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + /* Identifiers represents a list of unique identifiers this credential type matches. */ + @SerialName(value = "identifiers") val identifiers: kotlin.collections.List? = null, + + /* Type discriminates between different types of credentials. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode */ + @SerialName(value = "type") val type: IdentityCredentials.Type? = null, + + /* UpdatedAt is a helper struct field for gobuffalo.pop. */ + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null, + + /* Version refers to the version of the credential. Useful when changing the config schema. */ + @SerialName(value = "version") val version: kotlin.Long? = null + +) { + + /** + * Type discriminates between different types of credentials. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + * + * Values: password,oidc,totp,lookup_secret,webauthn,code,passkey,profile,link_recovery,code_recovery + */ + @Serializable + enum class Type(val value: kotlin.String) { + @SerialName(value = "password") password("password"), + @SerialName(value = "oidc") oidc("oidc"), + @SerialName(value = "totp") totp("totp"), + @SerialName(value = "lookup_secret") lookup_secret("lookup_secret"), + @SerialName(value = "webauthn") webauthn("webauthn"), + @SerialName(value = "code") code("code"), + @SerialName(value = "passkey") passkey("passkey"), + @SerialName(value = "profile") profile("profile"), + @SerialName(value = "link_recovery") link_recovery("link_recovery"), + @SerialName(value = "code_recovery") code_recovery("code_recovery"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsCode.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsCode.kt new file mode 100644 index 00000000000..e66fcc3ea72 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsCode.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.IdentityCredentialsCodeAddress + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * CredentialsCode represents a one time login/registration code + * + * @param addresses + */ +@Serializable + +data class IdentityCredentialsCode ( + + @SerialName(value = "addresses") val addresses: kotlin.collections.List? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsCodeAddress.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsCodeAddress.kt new file mode 100644 index 00000000000..a331c88559b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsCodeAddress.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param address The address for this code + * @param channel + */ +@Serializable + +data class IdentityCredentialsCodeAddress ( + + /* The address for this code */ + @SerialName(value = "address") val address: kotlin.String? = null, + + @SerialName(value = "channel") val channel: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsOidc.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsOidc.kt new file mode 100644 index 00000000000..77b5cd20bcc --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsOidc.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.IdentityCredentialsOidcProvider + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param providers + */ +@Serializable + +data class IdentityCredentialsOidc ( + + @SerialName(value = "providers") val providers: kotlin.collections.List? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsOidcProvider.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsOidcProvider.kt new file mode 100644 index 00000000000..098992ea25e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsOidcProvider.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param initialAccessToken + * @param initialIdToken + * @param initialRefreshToken + * @param organization + * @param provider + * @param subject + */ +@Serializable + +data class IdentityCredentialsOidcProvider ( + + @SerialName(value = "initial_access_token") val initialAccessToken: kotlin.String? = null, + + @SerialName(value = "initial_id_token") val initialIdToken: kotlin.String? = null, + + @SerialName(value = "initial_refresh_token") val initialRefreshToken: kotlin.String? = null, + + @SerialName(value = "organization") val organization: kotlin.String? = null, + + @SerialName(value = "provider") val provider: kotlin.String? = null, + + @SerialName(value = "subject") val subject: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsPassword.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsPassword.kt new file mode 100644 index 00000000000..f8e7829f58c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsPassword.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param hashedPassword HashedPassword is a hash-representation of the password. + * @param usePasswordMigrationHook UsePasswordMigrationHook is set to true if the password should be migrated using the password migration hook. If set, and the HashedPassword is empty, a webhook will be called during login to migrate the password. + */ +@Serializable + +data class IdentityCredentialsPassword ( + + /* HashedPassword is a hash-representation of the password. */ + @SerialName(value = "hashed_password") val hashedPassword: kotlin.String? = null, + + /* UsePasswordMigrationHook is set to true if the password should be migrated using the password migration hook. If set, and the HashedPassword is empty, a webhook will be called during login to migrate the password. */ + @SerialName(value = "use_password_migration_hook") val usePasswordMigrationHook: kotlin.Boolean? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityPatch.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityPatch.kt new file mode 100644 index 00000000000..8a362c7567a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityPatch.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.CreateIdentityBody + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Payload for patching an identity + * + * @param create + * @param patchId The ID of this patch. The patch ID is optional. If specified, the ID will be returned in the response, so consumers of this API can correlate the response with the patch. + */ +@Serializable + +data class IdentityPatch ( + + @SerialName(value = "create") val create: CreateIdentityBody? = null, + + /* The ID of this patch. The patch ID is optional. If specified, the ID will be returned in the response, so consumers of this API can correlate the response with the patch. */ + @SerialName(value = "patch_id") val patchId: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityPatchResponse.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityPatchResponse.kt new file mode 100644 index 00000000000..80931c2c94b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityPatchResponse.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Response for a single identity patch + * + * @param action The action for this specific patch create ActionCreate Create this identity. error ActionError Error indicates that the patch failed. + * @param error + * @param identity The identity ID payload of this patch + * @param patchId The ID of this patch response, if an ID was specified in the patch. + */ +@Serializable + +data class IdentityPatchResponse ( + + /* The action for this specific patch create ActionCreate Create this identity. error ActionError Error indicates that the patch failed. */ + @SerialName(value = "action") val action: IdentityPatchResponse.Action? = null, + + @SerialName(value = "error") val error: kotlin.Any? = null, + + /* The identity ID payload of this patch */ + @SerialName(value = "identity") val identity: kotlin.String? = null, + + /* The ID of this patch response, if an ID was specified in the patch. */ + @SerialName(value = "patch_id") val patchId: kotlin.String? = null + +) { + + /** + * The action for this specific patch create ActionCreate Create this identity. error ActionError Error indicates that the patch failed. + * + * Values: create,error + */ + @Serializable + enum class Action(val value: kotlin.String) { + @SerialName(value = "create") create("create"), + @SerialName(value = "error") error("error"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentitySchemaContainer.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentitySchemaContainer.kt new file mode 100644 index 00000000000..9ca58e5b0fd --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentitySchemaContainer.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * An Identity JSON Schema Container + * + * @param id The ID of the Identity JSON Schema + * @param schema The actual Identity JSON Schema + */ +@Serializable + +data class IdentitySchemaContainer ( + + /* The ID of the Identity JSON Schema */ + @SerialName(value = "id") val id: kotlin.String? = null, + + /* The actual Identity JSON Schema */ + @SerialName(value = "schema") val schema: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentitySchemaPreset.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentitySchemaPreset.kt new file mode 100644 index 00000000000..6ed552c67dd --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentitySchemaPreset.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param schema Schema is the Identity JSON Schema + * @param url URL is the preset identifier + */ +@Serializable + +data class IdentitySchemaPreset ( + + /* Schema is the Identity JSON Schema */ + @SerialName(value = "schema") @Required val schema: kotlin.String, + + /* URL is the preset identifier */ + @SerialName(value = "url") @Required val url: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentials.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentials.kt new file mode 100644 index 00000000000..199aff275e8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentials.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsOidc +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsPassword + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Create Identity and Import Credentials + * + * @param oidc + * @param password + */ +@Serializable + +data class IdentityWithCredentials ( + + @SerialName(value = "oidc") val oidc: IdentityWithCredentialsOidc? = null, + + @SerialName(value = "password") val password: IdentityWithCredentialsPassword? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidc.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidc.kt new file mode 100644 index 00000000000..0ecccd647d3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidc.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsOidcConfig + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Create Identity and Import Social Sign In Credentials + * + * @param config + */ +@Serializable + +data class IdentityWithCredentialsOidc ( + + @SerialName(value = "config") val config: IdentityWithCredentialsOidcConfig? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcConfig.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcConfig.kt new file mode 100644 index 00000000000..9012afc448b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcConfig.kt @@ -0,0 +1,44 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsOidcConfigProvider +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsPasswordConfig + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param config + * @param providers A list of OpenID Connect Providers + */ +@Serializable + +data class IdentityWithCredentialsOidcConfig ( + + @SerialName(value = "config") val config: IdentityWithCredentialsPasswordConfig? = null, + + /* A list of OpenID Connect Providers */ + @SerialName(value = "providers") val providers: kotlin.collections.List? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcConfigProvider.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcConfigProvider.kt new file mode 100644 index 00000000000..432eda737f3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcConfigProvider.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Create Identity and Import Social Sign In Credentials Configuration + * + * @param provider The OpenID Connect provider to link the subject to. Usually something like `google` or `github`. + * @param subject The subject (`sub`) of the OpenID Connect connection. Usually the `sub` field of the ID Token. + */ +@Serializable + +data class IdentityWithCredentialsOidcConfigProvider ( + + /* The OpenID Connect provider to link the subject to. Usually something like `google` or `github`. */ + @SerialName(value = "provider") @Required val provider: kotlin.String, + + /* The subject (`sub`) of the OpenID Connect connection. Usually the `sub` field of the ID Token. */ + @SerialName(value = "subject") @Required val subject: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsPassword.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsPassword.kt new file mode 100644 index 00000000000..9b3f9e13d01 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsPassword.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsPasswordConfig + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Create Identity and Import Password Credentials + * + * @param config + */ +@Serializable + +data class IdentityWithCredentialsPassword ( + + @SerialName(value = "config") val config: IdentityWithCredentialsPasswordConfig? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsPasswordConfig.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsPasswordConfig.kt new file mode 100644 index 00000000000..afd9f6e8621 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsPasswordConfig.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Create Identity and Import Password Credentials Configuration + * + * @param hashedPassword The hashed password in [PHC format](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities#hashed-passwords) + * @param password The password in plain text if no hash is available. + * @param usePasswordMigrationHook If set to true, the password will be migrated using the password migration hook. + */ +@Serializable + +data class IdentityWithCredentialsPasswordConfig ( + + /* The hashed password in [PHC format](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities#hashed-passwords) */ + @SerialName(value = "hashed_password") val hashedPassword: kotlin.String? = null, + + /* The password in plain text if no hash is available. */ + @SerialName(value = "password") val password: kotlin.String? = null, + + /* If set to true, the password will be migrated using the password migration hook. */ + @SerialName(value = "use_password_migration_hook") val usePasswordMigrationHook: kotlin.Boolean? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalGetProjectBrandingBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalGetProjectBrandingBody.kt new file mode 100644 index 00000000000..52165aa3e6b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalGetProjectBrandingBody.kt @@ -0,0 +1,38 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Get Project Branding Request Body + * + * @param hostname + */ +@Serializable + +data class InternalGetProjectBrandingBody ( + + @SerialName(value = "hostname") val hostname: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsAXWelcomeScreenEnabledForProjectBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsAXWelcomeScreenEnabledForProjectBody.kt new file mode 100644 index 00000000000..4ce88f5c132 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsAXWelcomeScreenEnabledForProjectBody.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Is Account Experience Enabled For Project Request Body + * + * @param path Path is the path of the request. + * @param projectSlug ProjectSlug is the project's slug. + */ +@Serializable + +data class InternalIsAXWelcomeScreenEnabledForProjectBody ( + + /* Path is the path of the request. */ + @SerialName(value = "path") @Required val path: kotlin.String, + + /* ProjectSlug is the project's slug. */ + @SerialName(value = "project_slug") @Required val projectSlug: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsOwnerForProjectBySlugBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsOwnerForProjectBySlugBody.kt new file mode 100644 index 00000000000..a7653aef389 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsOwnerForProjectBySlugBody.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Is Owner For Project By Slug Request Body + * + * @param namespace Namespace is the namespace of the subject. + * @param projectSlug ProjectSlug is the project's slug. + * @param subject Subject is the subject acting (user or API key). + * @param projectScope ProjectScope is the project_id resolved from the API key. + */ +@Serializable + +data class InternalIsOwnerForProjectBySlugBody ( + + /* Namespace is the namespace of the subject. */ + @SerialName(value = "namespace") @Required val namespace: InternalIsOwnerForProjectBySlugBody.Namespace, + + /* ProjectSlug is the project's slug. */ + @SerialName(value = "project_slug") @Required val projectSlug: kotlin.String, + + /* Subject is the subject acting (user or API key). */ + @SerialName(value = "subject") @Required val subject: kotlin.String, + + /* ProjectScope is the project_id resolved from the API key. */ + @SerialName(value = "project_scope") val projectScope: kotlin.String? = null + +) { + + /** + * Namespace is the namespace of the subject. + * + * Values: User,_ApiKey + */ + @Serializable + enum class Namespace(val value: kotlin.String) { + @SerialName(value = "User") User("User"), + @SerialName(value = " ApiKey") _ApiKey(" ApiKey"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsOwnerForProjectBySlugResponse.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsOwnerForProjectBySlugResponse.kt new file mode 100644 index 00000000000..fe4bb6bb9f4 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsOwnerForProjectBySlugResponse.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param projectId ProjectID is the project's ID. + */ +@Serializable + +data class InternalIsOwnerForProjectBySlugResponse ( + + /* ProjectID is the project's ID. */ + @SerialName(value = "project_id") @Required val projectId: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IntrospectedOAuth2Token.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IntrospectedOAuth2Token.kt new file mode 100644 index 00000000000..d48c15a9a30 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IntrospectedOAuth2Token.kt @@ -0,0 +1,91 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Introspection contains an access token's session data as specified by [IETF RFC 7662](https://tools.ietf.org/html/rfc7662) + * + * @param active Active is a boolean indicator of whether or not the presented token is currently active. The specifics of a token's \"active\" state will vary depending on the implementation of the authorization server and the information it keeps about its tokens, but a \"true\" value return for the \"active\" property will generally indicate that a given token has been issued by this authorization server, has not been revoked by the resource owner, and is within its given time window of validity (e.g., after its issuance time and before its expiration time). + * @param aud Audience contains a list of the token's intended audiences. + * @param clientId ID is aclient identifier for the OAuth 2.0 client that requested this token. + * @param exp Expires at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token will expire. + * @param ext Extra is arbitrary data set by the session. + * @param iat Issued at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token was originally issued. + * @param iss IssuerURL is a string representing the issuer of this token + * @param nbf NotBefore is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token is not to be used before. + * @param obfuscatedSubject ObfuscatedSubject is set when the subject identifier algorithm was set to \"pairwise\" during authorization. It is the `sub` value of the ID Token that was issued. + * @param scope Scope is a JSON string containing a space-separated list of scopes associated with this token. + * @param sub Subject of the token, as defined in JWT [RFC7519]. Usually a machine-readable identifier of the resource owner who authorized this token. + * @param tokenType TokenType is the introspected token's type, typically `Bearer`. + * @param tokenUse TokenUse is the introspected token's use, for example `access_token` or `refresh_token`. + * @param username Username is a human-readable identifier for the resource owner who authorized this token. + */ +@Serializable + +data class IntrospectedOAuth2Token ( + + /* Active is a boolean indicator of whether or not the presented token is currently active. The specifics of a token's \"active\" state will vary depending on the implementation of the authorization server and the information it keeps about its tokens, but a \"true\" value return for the \"active\" property will generally indicate that a given token has been issued by this authorization server, has not been revoked by the resource owner, and is within its given time window of validity (e.g., after its issuance time and before its expiration time). */ + @SerialName(value = "active") @Required val active: kotlin.Boolean, + + /* Audience contains a list of the token's intended audiences. */ + @SerialName(value = "aud") val aud: kotlin.collections.List? = null, + + /* ID is aclient identifier for the OAuth 2.0 client that requested this token. */ + @SerialName(value = "client_id") val clientId: kotlin.String? = null, + + /* Expires at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token will expire. */ + @SerialName(value = "exp") val exp: kotlin.Long? = null, + + /* Extra is arbitrary data set by the session. */ + @SerialName(value = "ext") val ext: kotlin.collections.Map? = null, + + /* Issued at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token was originally issued. */ + @SerialName(value = "iat") val iat: kotlin.Long? = null, + + /* IssuerURL is a string representing the issuer of this token */ + @SerialName(value = "iss") val iss: kotlin.String? = null, + + /* NotBefore is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token is not to be used before. */ + @SerialName(value = "nbf") val nbf: kotlin.Long? = null, + + /* ObfuscatedSubject is set when the subject identifier algorithm was set to \"pairwise\" during authorization. It is the `sub` value of the ID Token that was issued. */ + @SerialName(value = "obfuscated_subject") val obfuscatedSubject: kotlin.String? = null, + + /* Scope is a JSON string containing a space-separated list of scopes associated with this token. */ + @SerialName(value = "scope") val scope: kotlin.String? = null, + + /* Subject of the token, as defined in JWT [RFC7519]. Usually a machine-readable identifier of the resource owner who authorized this token. */ + @SerialName(value = "sub") val sub: kotlin.String? = null, + + /* TokenType is the introspected token's type, typically `Bearer`. */ + @SerialName(value = "token_type") val tokenType: kotlin.String? = null, + + /* TokenUse is the introspected token's use, for example `access_token` or `refresh_token`. */ + @SerialName(value = "token_use") val tokenUse: kotlin.String? = null, + + /* Username is a human-readable identifier for the resource owner who authorized this token. */ + @SerialName(value = "username") val username: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Invoice.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Invoice.kt new file mode 100644 index 00000000000..7032b465cf0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Invoice.kt @@ -0,0 +1,63 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.InvoiceDataV1 + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param id The ID of the invoice. + * @param invoicedAt + * @param type Type is the type of the invoice. usage InvoiceTypeUsage base InvoiceTypeBase + * @param updatedAt + * @param v1 + */ +@Serializable + +data class Invoice ( + + /* The ID of the invoice. */ + @SerialName(value = "id") @Required val id: kotlin.String, + + @SerialName(value = "invoiced_at") @Required val invoicedAt: kotlinx.datetime.Instant, + + /* Type is the type of the invoice. usage InvoiceTypeUsage base InvoiceTypeBase */ + @SerialName(value = "type") @Required val type: Invoice.Type, + + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null, + + @SerialName(value = "v1") val v1: InvoiceDataV1? = null + +) { + + /** + * Type is the type of the invoice. usage InvoiceTypeUsage base InvoiceTypeBase + * + * Values: usage,base + */ + @Serializable + enum class Type(val value: kotlin.String) { + @SerialName(value = "usage") usage("usage"), + @SerialName(value = "base") base("base"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InvoiceDataV1.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InvoiceDataV1.kt new file mode 100644 index 00000000000..46b225068ed --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/InvoiceDataV1.kt @@ -0,0 +1,82 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.LineItemV1 +import sh.ory.client-kotlin-multiplatform.models.TaxLineItem +import sh.ory.client-kotlin-multiplatform.models.TimeInterval + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param billingPeriod + * @param currency The currency of the invoice. + * @param items The items that are part of this invoice. + * @param title The title of the invoice. + * @param totalInCent + * @param deleted Deleted is true if the invoice has been soft-deleted. + * @param plan The plan that this invoice is based on, in the format \"Name@version\". + * @param stripeInvoiceItem + * @param stripeInvoiceStatus The status of the invoice, one of `draft`, `open`, `paid`, `uncollectible`, or `void`. [Learn more](https://stripe.com/docs/billing/invoices/workflow#workflow-overview) + * @param stripeLink An optional link to the invoice on Stripe. + * @param subtitle The subtitle of the invoice. + * @param tax + */ +@Serializable + +data class InvoiceDataV1 ( + + @SerialName(value = "billing_period") @Required val billingPeriod: TimeInterval, + + /* The currency of the invoice. */ + @SerialName(value = "currency") @Required val currency: kotlin.String, + + /* The items that are part of this invoice. */ + @SerialName(value = "items") @Required val items: kotlin.collections.List, + + /* The title of the invoice. */ + @SerialName(value = "title") @Required val title: kotlin.String, + + @SerialName(value = "total_in_cent") @Required val totalInCent: kotlin.Long, + + /* Deleted is true if the invoice has been soft-deleted. */ + @SerialName(value = "deleted") val deleted: kotlin.Boolean? = null, + + /* The plan that this invoice is based on, in the format \"Name@version\". */ + @SerialName(value = "plan") val plan: kotlin.String? = null, + + @SerialName(value = "stripe_invoice_item") val stripeInvoiceItem: kotlin.String? = null, + + /* The status of the invoice, one of `draft`, `open`, `paid`, `uncollectible`, or `void`. [Learn more](https://stripe.com/docs/billing/invoices/workflow#workflow-overview) */ + @SerialName(value = "stripe_invoice_status") val stripeInvoiceStatus: kotlin.String? = null, + + /* An optional link to the invoice on Stripe. */ + @SerialName(value = "stripe_link") val stripeLink: kotlin.String? = null, + + /* The subtitle of the invoice. */ + @SerialName(value = "subtitle") val subtitle: kotlin.String? = null, + + @SerialName(value = "tax") val tax: TaxLineItem? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IsOwnerForProjectBySlug.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IsOwnerForProjectBySlug.kt new file mode 100644 index 00000000000..9dbeace9c9f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/IsOwnerForProjectBySlug.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param projectSlug ProjectSlug is the project's slug. + * @param subject Subject is the subject from the API key. + */ +@Serializable + +data class IsOwnerForProjectBySlug ( + + /* ProjectSlug is the project's slug. */ + @SerialName(value = "ProjectSlug") @Required val projectSlug: kotlin.String, + + /* Subject is the subject from the API key. */ + @SerialName(value = "Subject") @Required val subject: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonPatch.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonPatch.kt new file mode 100644 index 00000000000..12f01d1e9c0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonPatch.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * A JSONPatch document as defined by RFC 6902 + * + * @param op The operation to be performed. One of \"add\", \"remove\", \"replace\", \"move\", \"copy\", or \"test\". + * @param path The path to the target path. Uses JSON pointer notation. Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5). + * @param from This field is used together with operation \"move\" and uses JSON Pointer notation. Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5). + * @param `value` The value to be used within the operations. Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5). + */ +@Serializable + +data class JsonPatch ( + + /* The operation to be performed. One of \"add\", \"remove\", \"replace\", \"move\", \"copy\", or \"test\". */ + @SerialName(value = "op") @Required val op: JsonPatch.Op, + + /* The path to the target path. Uses JSON pointer notation. Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5). */ + @SerialName(value = "path") @Required val path: kotlin.String, + + /* This field is used together with operation \"move\" and uses JSON Pointer notation. Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5). */ + @SerialName(value = "from") val from: kotlin.String? = null, + + /* The value to be used within the operations. Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5). */ + @SerialName(value = "value") val `value`: kotlin.Any? = null + +) { + + /** + * The operation to be performed. One of \"add\", \"remove\", \"replace\", \"move\", \"copy\", or \"test\". + * + * Values: add,remove,replace,move,copy,test + */ + @Serializable + enum class Op(val value: kotlin.String) { + @SerialName(value = "add") add("add"), + @SerialName(value = "remove") remove("remove"), + @SerialName(value = "replace") replace("replace"), + @SerialName(value = "move") move("move"), + @SerialName(value = "copy") copy("copy"), + @SerialName(value = "test") test("test"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonWebKey.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonWebKey.kt new file mode 100644 index 00000000000..ad0b8cd394b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonWebKey.kt @@ -0,0 +1,91 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param alg The \"alg\" (algorithm) parameter identifies the algorithm intended for use with the key. The values used should either be registered in the IANA \"JSON Web Signature and Encryption Algorithms\" registry established by [JWA] or be a value that contains a Collision- Resistant Name. + * @param kid The \"kid\" (key ID) parameter is used to match a specific key. This is used, for instance, to choose among a set of keys within a JWK Set during key rollover. The structure of the \"kid\" value is unspecified. When \"kid\" values are used within a JWK Set, different keys within the JWK Set SHOULD use distinct \"kid\" values. (One example in which different keys might use the same \"kid\" value is if they have different \"kty\" (key type) values but are considered to be equivalent alternatives by the application using them.) The \"kid\" value is a case-sensitive string. + * @param kty The \"kty\" (key type) parameter identifies the cryptographic algorithm family used with the key, such as \"RSA\" or \"EC\". \"kty\" values should either be registered in the IANA \"JSON Web Key Types\" registry established by [JWA] or be a value that contains a Collision- Resistant Name. The \"kty\" value is a case-sensitive string. + * @param use Use (\"public key use\") identifies the intended use of the public key. The \"use\" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Values are commonly \"sig\" (signature) or \"enc\" (encryption). + * @param crv + * @param d + * @param dp + * @param dq + * @param e + * @param k + * @param n + * @param p + * @param q + * @param qi + * @param x + * @param x5c The \"x5c\" (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates [RFC5280]. The certificate chain is represented as a JSON array of certificate value strings. Each string in the array is a base64-encoded (Section 4 of [RFC4648] -- not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. The PKIX certificate containing the key value MUST be the first certificate. + * @param y + */ +@Serializable + +data class JsonWebKey ( + + /* The \"alg\" (algorithm) parameter identifies the algorithm intended for use with the key. The values used should either be registered in the IANA \"JSON Web Signature and Encryption Algorithms\" registry established by [JWA] or be a value that contains a Collision- Resistant Name. */ + @SerialName(value = "alg") @Required val alg: kotlin.String, + + /* The \"kid\" (key ID) parameter is used to match a specific key. This is used, for instance, to choose among a set of keys within a JWK Set during key rollover. The structure of the \"kid\" value is unspecified. When \"kid\" values are used within a JWK Set, different keys within the JWK Set SHOULD use distinct \"kid\" values. (One example in which different keys might use the same \"kid\" value is if they have different \"kty\" (key type) values but are considered to be equivalent alternatives by the application using them.) The \"kid\" value is a case-sensitive string. */ + @SerialName(value = "kid") @Required val kid: kotlin.String, + + /* The \"kty\" (key type) parameter identifies the cryptographic algorithm family used with the key, such as \"RSA\" or \"EC\". \"kty\" values should either be registered in the IANA \"JSON Web Key Types\" registry established by [JWA] or be a value that contains a Collision- Resistant Name. The \"kty\" value is a case-sensitive string. */ + @SerialName(value = "kty") @Required val kty: kotlin.String, + + /* Use (\"public key use\") identifies the intended use of the public key. The \"use\" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Values are commonly \"sig\" (signature) or \"enc\" (encryption). */ + @SerialName(value = "use") @Required val use: kotlin.String, + + @SerialName(value = "crv") val crv: kotlin.String? = null, + + @SerialName(value = "d") val d: kotlin.String? = null, + + @SerialName(value = "dp") val dp: kotlin.String? = null, + + @SerialName(value = "dq") val dq: kotlin.String? = null, + + @SerialName(value = "e") val e: kotlin.String? = null, + + @SerialName(value = "k") val k: kotlin.String? = null, + + @SerialName(value = "n") val n: kotlin.String? = null, + + @SerialName(value = "p") val p: kotlin.String? = null, + + @SerialName(value = "q") val q: kotlin.String? = null, + + @SerialName(value = "qi") val qi: kotlin.String? = null, + + @SerialName(value = "x") val x: kotlin.String? = null, + + /* The \"x5c\" (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates [RFC5280]. The certificate chain is represented as a JSON array of certificate value strings. Each string in the array is a base64-encoded (Section 4 of [RFC4648] -- not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. The PKIX certificate containing the key value MUST be the first certificate. */ + @SerialName(value = "x5c") val x5c: kotlin.collections.List? = null, + + @SerialName(value = "y") val y: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonWebKeySet.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonWebKeySet.kt new file mode 100644 index 00000000000..9648c7a36d7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonWebKeySet.kt @@ -0,0 +1,40 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.JsonWebKey + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * JSON Web Key Set + * + * @param propertyKeys List of JSON Web Keys The value of the \"keys\" parameter is an array of JSON Web Key (JWK) values. By default, the order of the JWK values within the array does not imply an order of preference among them, although applications of JWK Sets can choose to assign a meaning to the order for their purposes, if desired. + */ +@Serializable + +data class JsonWebKeySet ( + + /* List of JSON Web Keys The value of the \"keys\" parameter is an array of JSON Web Key (JWK) values. By default, the order of the JWK values within the array does not imply an order of preference among them, although applications of JWK Sets can choose to assign a meaning to the order for their purposes, if desired. */ + @SerialName(value = "keys") val propertyKeys: kotlin.collections.List? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/KetoNamespace.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/KetoNamespace.kt new file mode 100644 index 00000000000..eb0725e673c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/KetoNamespace.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param id + * @param name + */ +@Serializable + +data class KetoNamespace ( + + @SerialName(value = "id") val id: kotlin.Long? = null, + + @SerialName(value = "name") val name: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LineItemV1.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LineItemV1.kt new file mode 100644 index 00000000000..b7cd85a87cd --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LineItemV1.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param amountInCent + * @param description + * @param items Each line item can have sub-items to create a hierarchy. + * @param quantity + * @param title + * @param unitPrice + */ +@Serializable + +data class LineItemV1 ( + + @SerialName(value = "amount_in_cent") val amountInCent: kotlin.Long? = null, + + @SerialName(value = "description") val description: kotlin.String? = null, + + /* Each line item can have sub-items to create a hierarchy. */ + @SerialName(value = "items") val items: kotlin.collections.List? = null, + + @SerialName(value = "quantity") val quantity: kotlin.Long? = null, + + @SerialName(value = "title") val title: kotlin.String? = null, + + @SerialName(value = "unit_price") val unitPrice: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListEventStreams.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListEventStreams.kt new file mode 100644 index 00000000000..5cfedcd83fa --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListEventStreams.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.EventStream + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Event Stream List + * + * @param eventStreams + */ +@Serializable + +data class ListEventStreams ( + + @SerialName(value = "event_streams") val eventStreams: kotlin.collections.List? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListInvoicesResponse.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListInvoicesResponse.kt new file mode 100644 index 00000000000..2e07f538b41 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListInvoicesResponse.kt @@ -0,0 +1,45 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.BillingPeriodBucket + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param buckets + * @param hasNextPage + * @param nextPageToken + */ +@Serializable + +data class ListInvoicesResponse ( + + @SerialName(value = "buckets") @Required val buckets: kotlin.collections.List, + + @SerialName(value = "has_next_page") @Required val hasNextPage: kotlin.Boolean, + + @SerialName(value = "next_page_token") @Required val nextPageToken: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListOrganizationsResponse.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListOrganizationsResponse.kt new file mode 100644 index 00000000000..f329d602433 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListOrganizationsResponse.kt @@ -0,0 +1,46 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.Organization + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * B2B SSO Organization List + * + * @param hasNextPage + * @param nextPageToken + * @param organizations The list of organizations + */ +@Serializable + +data class ListOrganizationsResponse ( + + @SerialName(value = "has_next_page") @Required val hasNextPage: kotlin.Boolean, + + @SerialName(value = "next_page_token") @Required val nextPageToken: kotlin.String, + + /* The list of organizations */ + @SerialName(value = "organizations") @Required val organizations: kotlin.collections.List + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListWorkspaceProjects.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListWorkspaceProjects.kt new file mode 100644 index 00000000000..01e74a6ee70 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListWorkspaceProjects.kt @@ -0,0 +1,45 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ProjectMetadata + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param hasNextPage + * @param nextPage + * @param projects + */ +@Serializable + +data class ListWorkspaceProjects ( + + @SerialName(value = "has_next_page") @Required val hasNextPage: kotlin.Boolean, + + @SerialName(value = "next_page") @Required val nextPage: kotlin.String, + + @SerialName(value = "projects") @Required val projects: kotlin.collections.List + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListWorkspaces.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListWorkspaces.kt new file mode 100644 index 00000000000..b98322670e5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ListWorkspaces.kt @@ -0,0 +1,45 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.Workspace + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param hasNextPage + * @param nextPageToken + * @param workspaces + */ +@Serializable + +data class ListWorkspaces ( + + @SerialName(value = "has_next_page") @Required val hasNextPage: kotlin.Boolean, + + @SerialName(value = "next_page_token") @Required val nextPageToken: kotlin.String, + + @SerialName(value = "workspaces") @Required val workspaces: kotlin.collections.List + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LoginFlow.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LoginFlow.kt new file mode 100644 index 00000000000..4fe6c3e9be4 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LoginFlow.kt @@ -0,0 +1,124 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.AuthenticatorAssuranceLevel +import sh.ory.client-kotlin-multiplatform.models.OAuth2LoginRequest +import sh.ory.client-kotlin-multiplatform.models.UiContainer + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * This object represents a login flow. A login flow is initiated at the \"Initiate Login API / Browser Flow\" endpoint by a client. Once a login flow is completed successfully, a session cookie or session token will be issued. + * + * @param expiresAt ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. + * @param id ID represents the flow's unique ID. When performing the login flow, this represents the id in the login UI's query parameter: http:///?flow= + * @param issuedAt IssuedAt is the time (UTC) when the flow started. + * @param requestUrl RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. + * @param state State represents the state of this request: choose_method: ask the user to choose a method to sign in with sent_email: the email has been sent to the user passed_challenge: the request was successful and the login challenge was passed. + * @param type The flow type can either be `api` or `browser`. + * @param ui + * @param active The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + * @param createdAt CreatedAt is a helper struct field for gobuffalo.pop. + * @param oauth2LoginChallenge Ory OAuth 2.0 Login Challenge. This value is set using the `login_challenge` query parameter of the registration and login endpoints. If set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. + * @param oauth2LoginRequest + * @param organizationId + * @param refresh Refresh stores whether this login flow should enforce re-authentication. + * @param requestedAal + * @param returnTo ReturnTo contains the requested return_to URL. + * @param sessionTokenExchangeCode SessionTokenExchangeCode holds the secret code that the client can use to retrieve a session token after the login flow has been completed. This is only set if the client has requested a session token exchange code, and if the flow is of type \"api\", and only on creating the login flow. + * @param transientPayload TransientPayload is used to pass data from the login to hooks and email templates + * @param updatedAt UpdatedAt is a helper struct field for gobuffalo.pop. + */ +@Serializable + +data class LoginFlow ( + + /* ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. */ + @SerialName(value = "expires_at") @Required val expiresAt: kotlinx.datetime.Instant, + + /* ID represents the flow's unique ID. When performing the login flow, this represents the id in the login UI's query parameter: http:///?flow= */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* IssuedAt is the time (UTC) when the flow started. */ + @SerialName(value = "issued_at") @Required val issuedAt: kotlinx.datetime.Instant, + + /* RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. */ + @SerialName(value = "request_url") @Required val requestUrl: kotlin.String, + + /* State represents the state of this request: choose_method: ask the user to choose a method to sign in with sent_email: the email has been sent to the user passed_challenge: the request was successful and the login challenge was passed. */ + @SerialName(value = "state") @Required val state: kotlin.Any?, + + /* The flow type can either be `api` or `browser`. */ + @SerialName(value = "type") @Required val type: kotlin.String, + + @SerialName(value = "ui") @Required val ui: UiContainer, + + /* The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode */ + @SerialName(value = "active") val active: LoginFlow.Active? = null, + + /* CreatedAt is a helper struct field for gobuffalo.pop. */ + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + /* Ory OAuth 2.0 Login Challenge. This value is set using the `login_challenge` query parameter of the registration and login endpoints. If set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. */ + @SerialName(value = "oauth2_login_challenge") val oauth2LoginChallenge: kotlin.String? = null, + + @SerialName(value = "oauth2_login_request") val oauth2LoginRequest: OAuth2LoginRequest? = null, + + @SerialName(value = "organization_id") val organizationId: kotlin.String? = null, + + /* Refresh stores whether this login flow should enforce re-authentication. */ + @SerialName(value = "refresh") val refresh: kotlin.Boolean? = null, + + @SerialName(value = "requested_aal") val requestedAal: AuthenticatorAssuranceLevel? = null, + + /* ReturnTo contains the requested return_to URL. */ + @SerialName(value = "return_to") val returnTo: kotlin.String? = null, + + /* SessionTokenExchangeCode holds the secret code that the client can use to retrieve a session token after the login flow has been completed. This is only set if the client has requested a session token exchange code, and if the flow is of type \"api\", and only on creating the login flow. */ + @SerialName(value = "session_token_exchange_code") val sessionTokenExchangeCode: kotlin.String? = null, + + /* TransientPayload is used to pass data from the login to hooks and email templates */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null, + + /* UpdatedAt is a helper struct field for gobuffalo.pop. */ + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null + +) { + + /** + * The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + * + * Values: password,oidc,totp,lookup_secret,webauthn,code,passkey,profile,link_recovery,code_recovery + */ + @Serializable + enum class Active(val value: kotlin.String) { + @SerialName(value = "password") password("password"), + @SerialName(value = "oidc") oidc("oidc"), + @SerialName(value = "totp") totp("totp"), + @SerialName(value = "lookup_secret") lookup_secret("lookup_secret"), + @SerialName(value = "webauthn") webauthn("webauthn"), + @SerialName(value = "code") code("code"), + @SerialName(value = "passkey") passkey("passkey"), + @SerialName(value = "profile") profile("profile"), + @SerialName(value = "link_recovery") link_recovery("link_recovery"), + @SerialName(value = "code_recovery") code_recovery("code_recovery"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LoginFlowState.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LoginFlowState.kt new file mode 100644 index 00000000000..8d23d10983b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LoginFlowState.kt @@ -0,0 +1,64 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* + +/** + * The state represents the state of the login flow. choose_method: ask the user to choose a method (e.g. login account via email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the login challenge was passed. + * + * Values: choose_method,sent_email,passed_challenge + */ +@Serializable +enum class LoginFlowState(val value: kotlin.String) { + + @SerialName(value = "choose_method") + choose_method("choose_method"), + + @SerialName(value = "sent_email") + sent_email("sent_email"), + + @SerialName(value = "passed_challenge") + passed_challenge("passed_challenge"); + + /** + * Override [toString()] to avoid using the enum variable name as the value, and instead use + * the actual value defined in the API spec file. + * + * This solves a problem when the variable name and its value are different, and ensures that + * the client sends the correct enum values to the server always. + */ + override fun toString(): kotlin.String = value + + companion object { + /** + * Converts the provided [data] to a [String] on success, null otherwise. + */ + fun encode(data: kotlin.Any?): kotlin.String? = if (data is LoginFlowState) "$data" else null + + /** + * Returns a valid [LoginFlowState] for [data], null otherwise. + */ + fun decode(data: kotlin.Any?): LoginFlowState? = data?.let { + val normalizedData = "$it".lowercase() + values().firstOrNull { value -> + it == value || normalizedData == "$value".lowercase() + } + } + } +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LogoutFlow.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LogoutFlow.kt new file mode 100644 index 00000000000..0101c13c002 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/LogoutFlow.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Logout Flow + * + * @param logoutToken LogoutToken can be used to perform logout using AJAX. + * @param logoutUrl LogoutURL can be opened in a browser to sign the user out. format: uri + */ +@Serializable + +data class LogoutFlow ( + + /* LogoutToken can be used to perform logout using AJAX. */ + @SerialName(value = "logout_token") @Required val logoutToken: kotlin.String, + + /* LogoutURL can be opened in a browser to sign the user out. format: uri */ + @SerialName(value = "logout_url") @Required val logoutUrl: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ManagedIdentitySchema.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ManagedIdentitySchema.kt new file mode 100644 index 00000000000..088aa466be7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ManagedIdentitySchema.kt @@ -0,0 +1,63 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Together the name and identity uuid are a unique index constraint. This prevents a user from having schemas with the same name. This also allows schemas to have the same name across the system. + * + * @param blobName The gcs file name This is a randomly generated name which is used to uniquely identify the file on the blob storage + * @param blobUrl The publicly accessible url of the schema + * @param createdAt The Schema's Creation Date + * @param id The schema's ID. + * @param name The schema name This is set by the user and is for them to easily recognise their schema + * @param updatedAt Last Time Schema was Updated + * @param contentHash The Content Hash Contains a hash of the schema's content. + */ +@Serializable + +data class ManagedIdentitySchema ( + + /* The gcs file name This is a randomly generated name which is used to uniquely identify the file on the blob storage */ + @SerialName(value = "blob_name") @Required val blobName: kotlin.String, + + /* The publicly accessible url of the schema */ + @SerialName(value = "blob_url") @Required val blobUrl: kotlin.String, + + /* The Schema's Creation Date */ + @SerialName(value = "created_at") @Required val createdAt: kotlinx.datetime.Instant, + + /* The schema's ID. */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* The schema name This is set by the user and is for them to easily recognise their schema */ + @SerialName(value = "name") @Required val name: kotlin.String, + + /* Last Time Schema was Updated */ + @SerialName(value = "updated_at") @Required val updatedAt: kotlinx.datetime.Instant, + + /* The Content Hash Contains a hash of the schema's content. */ + @SerialName(value = "content_hash") val contentHash: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ManagedIdentitySchemaValidationResult.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ManagedIdentitySchemaValidationResult.kt new file mode 100644 index 00000000000..d9004d57346 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ManagedIdentitySchemaValidationResult.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Ory Identity Schema Validation Result + * + * @param message + * @param valid + */ +@Serializable + +data class ManagedIdentitySchemaValidationResult ( + + @SerialName(value = "message") val message: kotlin.String? = null, + + @SerialName(value = "valid") val valid: kotlin.Boolean? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/MemberInvite.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/MemberInvite.kt new file mode 100644 index 00000000000..95ed8330459 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/MemberInvite.kt @@ -0,0 +1,89 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param createdAt The Project's Revision Creation Date + * @param id The invite's ID. + * @param inviteeEmail The invitee's email + * @param ownerEmail The invite owner's email Usually the project's owner email + * @param ownerId The invite owner's ID Usually the project's owner + * @param status The invite's status Keeps track of the invites status such as pending, accepted, declined, expired pending PENDING accepted ACCEPTED declined DECLINED expired EXPIRED cancelled CANCELLED removed REMOVED + * @param updatedAt Last Time Project's Revision was Updated + * @param inviteeId + * @param projectId + * @param role + * @param workspaceId + */ +@Serializable + +data class MemberInvite ( + + /* The Project's Revision Creation Date */ + @SerialName(value = "created_at") @Required val createdAt: kotlinx.datetime.Instant, + + /* The invite's ID. */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* The invitee's email */ + @SerialName(value = "invitee_email") @Required val inviteeEmail: kotlin.String, + + /* The invite owner's email Usually the project's owner email */ + @SerialName(value = "owner_email") @Required val ownerEmail: kotlin.String, + + /* The invite owner's ID Usually the project's owner */ + @SerialName(value = "owner_id") @Required val ownerId: kotlin.String, + + /* The invite's status Keeps track of the invites status such as pending, accepted, declined, expired pending PENDING accepted ACCEPTED declined DECLINED expired EXPIRED cancelled CANCELLED removed REMOVED */ + @SerialName(value = "status") @Required val status: MemberInvite.Status, + + /* Last Time Project's Revision was Updated */ + @SerialName(value = "updated_at") @Required val updatedAt: kotlinx.datetime.Instant, + + @SerialName(value = "invitee_id") val inviteeId: kotlin.String? = null, + + @SerialName(value = "project_id") val projectId: kotlin.String? = null, + + @SerialName(value = "role") val role: kotlin.String? = null, + + @SerialName(value = "workspace_id") val workspaceId: kotlin.String? = null + +) { + + /** + * The invite's status Keeps track of the invites status such as pending, accepted, declined, expired pending PENDING accepted ACCEPTED declined DECLINED expired EXPIRED cancelled CANCELLED removed REMOVED + * + * Values: pending,accepted,declined,expired,cancelled,removed + */ + @Serializable + enum class Status(val value: kotlin.String) { + @SerialName(value = "pending") pending("pending"), + @SerialName(value = "accepted") accepted("accepted"), + @SerialName(value = "declined") declined("declined"), + @SerialName(value = "expired") expired("expired"), + @SerialName(value = "cancelled") cancelled("cancelled"), + @SerialName(value = "removed") removed("removed"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Message.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Message.kt new file mode 100644 index 00000000000..7619f38b70d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Message.kt @@ -0,0 +1,97 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.CourierMessageStatus +import sh.ory.client-kotlin-multiplatform.models.CourierMessageType +import sh.ory.client-kotlin-multiplatform.models.MessageDispatch + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param body + * @param createdAt CreatedAt is a helper struct field for gobuffalo.pop. + * @param id + * @param recipient + * @param sendCount + * @param status + * @param subject + * @param templateType recovery_invalid TypeRecoveryInvalid recovery_valid TypeRecoveryValid recovery_code_invalid TypeRecoveryCodeInvalid recovery_code_valid TypeRecoveryCodeValid verification_invalid TypeVerificationInvalid verification_valid TypeVerificationValid verification_code_invalid TypeVerificationCodeInvalid verification_code_valid TypeVerificationCodeValid stub TypeTestStub login_code_valid TypeLoginCodeValid registration_code_valid TypeRegistrationCodeValid + * @param type + * @param updatedAt UpdatedAt is a helper struct field for gobuffalo.pop. + * @param channel + * @param dispatches Dispatches store information about the attempts of delivering a message May contain an error if any happened, or just the `success` state. + */ +@Serializable + +data class Message ( + + @SerialName(value = "body") @Required val body: kotlin.String, + + /* CreatedAt is a helper struct field for gobuffalo.pop. */ + @SerialName(value = "created_at") @Required val createdAt: kotlinx.datetime.Instant, + + @SerialName(value = "id") @Required val id: kotlin.String, + + @SerialName(value = "recipient") @Required val recipient: kotlin.String, + + @SerialName(value = "send_count") @Required val sendCount: kotlin.Long, + + @SerialName(value = "status") @Required val status: CourierMessageStatus, + + @SerialName(value = "subject") @Required val subject: kotlin.String, + + /* recovery_invalid TypeRecoveryInvalid recovery_valid TypeRecoveryValid recovery_code_invalid TypeRecoveryCodeInvalid recovery_code_valid TypeRecoveryCodeValid verification_invalid TypeVerificationInvalid verification_valid TypeVerificationValid verification_code_invalid TypeVerificationCodeInvalid verification_code_valid TypeVerificationCodeValid stub TypeTestStub login_code_valid TypeLoginCodeValid registration_code_valid TypeRegistrationCodeValid */ + @SerialName(value = "template_type") @Required val templateType: Message.TemplateType, + + @SerialName(value = "type") @Required val type: CourierMessageType, + + /* UpdatedAt is a helper struct field for gobuffalo.pop. */ + @SerialName(value = "updated_at") @Required val updatedAt: kotlinx.datetime.Instant, + + @SerialName(value = "channel") val channel: kotlin.String? = null, + + /* Dispatches store information about the attempts of delivering a message May contain an error if any happened, or just the `success` state. */ + @SerialName(value = "dispatches") val dispatches: kotlin.collections.List? = null + +) { + + /** + * recovery_invalid TypeRecoveryInvalid recovery_valid TypeRecoveryValid recovery_code_invalid TypeRecoveryCodeInvalid recovery_code_valid TypeRecoveryCodeValid verification_invalid TypeVerificationInvalid verification_valid TypeVerificationValid verification_code_invalid TypeVerificationCodeInvalid verification_code_valid TypeVerificationCodeValid stub TypeTestStub login_code_valid TypeLoginCodeValid registration_code_valid TypeRegistrationCodeValid + * + * Values: recovery_invalid,recovery_valid,recovery_code_invalid,recovery_code_valid,verification_invalid,verification_valid,verification_code_invalid,verification_code_valid,stub,login_code_valid,registration_code_valid + */ + @Serializable + enum class TemplateType(val value: kotlin.String) { + @SerialName(value = "recovery_invalid") recovery_invalid("recovery_invalid"), + @SerialName(value = "recovery_valid") recovery_valid("recovery_valid"), + @SerialName(value = "recovery_code_invalid") recovery_code_invalid("recovery_code_invalid"), + @SerialName(value = "recovery_code_valid") recovery_code_valid("recovery_code_valid"), + @SerialName(value = "verification_invalid") verification_invalid("verification_invalid"), + @SerialName(value = "verification_valid") verification_valid("verification_valid"), + @SerialName(value = "verification_code_invalid") verification_code_invalid("verification_code_invalid"), + @SerialName(value = "verification_code_valid") verification_code_valid("verification_code_valid"), + @SerialName(value = "stub") stub("stub"), + @SerialName(value = "login_code_valid") login_code_valid("login_code_valid"), + @SerialName(value = "registration_code_valid") registration_code_valid("registration_code_valid"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/MessageDispatch.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/MessageDispatch.kt new file mode 100644 index 00000000000..1cdecb04061 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/MessageDispatch.kt @@ -0,0 +1,68 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * MessageDispatch represents an attempt of sending a courier message It contains the status of the attempt (failed or successful) and the error if any occured + * + * @param createdAt CreatedAt is a helper struct field for gobuffalo.pop. + * @param id The ID of this message dispatch + * @param messageId The ID of the message being dispatched + * @param status The status of this dispatch Either \"failed\" or \"success\" failed CourierMessageDispatchStatusFailed success CourierMessageDispatchStatusSuccess + * @param updatedAt UpdatedAt is a helper struct field for gobuffalo.pop. + * @param error + */ +@Serializable + +data class MessageDispatch ( + + /* CreatedAt is a helper struct field for gobuffalo.pop. */ + @SerialName(value = "created_at") @Required val createdAt: kotlinx.datetime.Instant, + + /* The ID of this message dispatch */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* The ID of the message being dispatched */ + @SerialName(value = "message_id") @Required val messageId: kotlin.String, + + /* The status of this dispatch Either \"failed\" or \"success\" failed CourierMessageDispatchStatusFailed success CourierMessageDispatchStatusSuccess */ + @SerialName(value = "status") @Required val status: MessageDispatch.Status, + + /* UpdatedAt is a helper struct field for gobuffalo.pop. */ + @SerialName(value = "updated_at") @Required val updatedAt: kotlinx.datetime.Instant, + + @SerialName(value = "error") val error: kotlin.String? = null + +) { + + /** + * The status of this dispatch Either \"failed\" or \"success\" failed CourierMessageDispatchStatusFailed success CourierMessageDispatchStatusSuccess + * + * Values: failed,success + */ + @Serializable + enum class Status(val value: kotlin.String) { + @SerialName(value = "failed") failed("failed"), + @SerialName(value = "success") success("success"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/MetricsDatapoint.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/MetricsDatapoint.kt new file mode 100644 index 00000000000..5339acccb96 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/MetricsDatapoint.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Represents a single datapoint/bucket of a time series + * + * @param count The count of events that occured in this time + * @param time The time of the bucket + */ +@Serializable + +data class MetricsDatapoint ( + + /* The count of events that occured in this time */ + @SerialName(value = "count") @Required val count: kotlin.Long, + + /* The time of the bucket */ + @SerialName(value = "time") @Required val time: kotlinx.datetime.Instant + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Money.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Money.kt new file mode 100644 index 00000000000..64f02227020 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Money.kt @@ -0,0 +1,44 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param cents + * @param string + * @param unit + */ +@Serializable + +data class Money ( + + @SerialName(value = "Cents") val cents: kotlin.Long? = null, + + @SerialName(value = "String") val string: kotlin.String? = null, + + @SerialName(value = "Unit") val unit: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Namespace.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Namespace.kt new file mode 100644 index 00000000000..d15c83d1fe9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Namespace.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param name Name of the namespace. + */ +@Serializable + +data class Namespace ( + + /* Name of the namespace. */ + @SerialName(value = "name") val name: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NeedsPrivilegedSessionError.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NeedsPrivilegedSessionError.kt new file mode 100644 index 00000000000..d8175cc34e3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NeedsPrivilegedSessionError.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.GenericError + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param redirectBrowserTo Points to where to redirect the user to next. + * @param error + */ +@Serializable + +data class NeedsPrivilegedSessionError ( + + /* Points to where to redirect the user to next. */ + @SerialName(value = "redirect_browser_to") @Required val redirectBrowserTo: kotlin.String, + + @SerialName(value = "error") val error: GenericError? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProject.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProject.kt new file mode 100644 index 00000000000..2200ead72a8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProject.kt @@ -0,0 +1,119 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevision +import sh.ory.client-kotlin-multiplatform.models.Workspace + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param createdAt The Project's Creation Date + * @param currentRevision + * @param environment The environment of the project. prod Production stage Staging dev Development + * @param homeRegion The project's data home region. eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global + * @param hosts + * @param id The project's ID. + * @param slug The project's slug + * @param state The state of the project. running Running halted Halted deleted Deleted + * @param updatedAt Last Time Project was Updated + * @param workspaceId + * @param subscriptionId + * @param subscriptionPlan + * @param workspace + */ +@Serializable + +data class NormalizedProject ( + + /* The Project's Creation Date */ + @SerialName(value = "created_at") @Required val createdAt: kotlinx.datetime.Instant, + + @SerialName(value = "current_revision") @Required val currentRevision: NormalizedProjectRevision, + + /* The environment of the project. prod Production stage Staging dev Development */ + @SerialName(value = "environment") @Required val environment: NormalizedProject.Environment, + + /* The project's data home region. eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global */ + @SerialName(value = "home_region") @Required val homeRegion: NormalizedProject.HomeRegion, + + @SerialName(value = "hosts") @Required val hosts: kotlin.collections.List, + + /* The project's ID. */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* The project's slug */ + @SerialName(value = "slug") @Required val slug: kotlin.String, + + /* The state of the project. running Running halted Halted deleted Deleted */ + @SerialName(value = "state") @Required val state: NormalizedProject.State, + + /* Last Time Project was Updated */ + @SerialName(value = "updated_at") @Required val updatedAt: kotlinx.datetime.Instant, + + @SerialName(value = "workspace_id") @Required val workspaceId: kotlin.String?, + + @SerialName(value = "subscription_id") val subscriptionId: kotlin.String? = null, + + @SerialName(value = "subscription_plan") val subscriptionPlan: kotlin.String? = null, + + @SerialName(value = "workspace") val workspace: Workspace? = null + +) { + + /** + * The environment of the project. prod Production stage Staging dev Development + * + * Values: prod,stage,dev + */ + @Serializable + enum class Environment(val value: kotlin.String) { + @SerialName(value = "prod") prod("prod"), + @SerialName(value = "stage") stage("stage"), + @SerialName(value = "dev") dev("dev"); + } + /** + * The project's data home region. eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global + * + * Values: euMinusCentral,asiaMinusNortheast,usMinusEast,usMinusWest,us,global + */ + @Serializable + enum class HomeRegion(val value: kotlin.String) { + @SerialName(value = "eu-central") euMinusCentral("eu-central"), + @SerialName(value = "asia-northeast") asiaMinusNortheast("asia-northeast"), + @SerialName(value = "us-east") usMinusEast("us-east"), + @SerialName(value = "us-west") usMinusWest("us-west"), + @SerialName(value = "us") us("us"), + @SerialName(value = "global") global("global"); + } + /** + * The state of the project. running Running halted Halted deleted Deleted + * + * Values: running,halted,deleted + */ + @Serializable + enum class State(val value: kotlin.String) { + @SerialName(value = "running") running("running"), + @SerialName(value = "halted") halted("halted"), + @SerialName(value = "deleted") deleted("deleted"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevision.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevision.kt new file mode 100644 index 00000000000..8790ebfa216 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevision.kt @@ -0,0 +1,894 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.KetoNamespace +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionCourierChannel +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionHook +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionIdentitySchema +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionThirdPartyProvider +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionTokenizerTemplate + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param name The project's name. + * @param createdAt The Project's Revision Creation Date + * @param disableAccountExperienceWelcomeScreen Whether to disable the account experience welcome screen, which is hosted under `/ui/welcome`. + * @param enableAxV2 Whether the new account experience is enabled and reachable. + * @param hydraOauth2AllowedTopLevelClaims + * @param hydraOauth2ClientCredentialsDefaultGrantAllowedScope Automatically grant authorized OAuth2 Scope in OAuth2 Client Credentials Flow. Each OAuth2 Client is allowed to request a predefined OAuth2 Scope (for example `read write`). If this option is enabled, the full scope is automatically granted when performing the OAuth2 Client Credentials flow. If disabled, the OAuth2 Client has to request the scope in the OAuth2 request by providing the `scope` query parameter. Setting this option to true is common if you need compatibility with MITREid. This governs the \"oauth2.client_credentials.default_grant_allowed_scope\" setting. + * @param hydraOauth2ExcludeNotBeforeClaim Set to true if you want to exclude claim `nbf (not before)` part of access token. This governs the \"oauth2.exclude_not_before_claim\" setting. + * @param hydraOauth2GrantJwtIatOptional Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.iat_optional\" setting. + * @param hydraOauth2GrantJwtJtiOptional Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.jti_optional\" setting. + * @param hydraOauth2GrantJwtMaxTtl Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be. This feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied. Useful as a safety measure and recommended to keep below 720h. This governs the \"oauth2.grant.jwt.max_ttl\" setting. + * @param hydraOauth2MirrorTopLevelClaims Set to false if you don't want to mirror custom claims under 'ext'. This governs the \"oauth2.mirror_top_level_claims\" setting. + * @param hydraOauth2PkceEnforced Configures whether PKCE should be enforced for all OAuth2 Clients. This governs the \"oauth2.pkce.enforced\" setting. + * @param hydraOauth2PkceEnforcedForPublicClients Configures whether PKCE should be enforced for OAuth2 Clients without a client secret (public clients). This governs the \"oauth2.pkce.enforced_for_public_clients\" setting. + * @param hydraOauth2RefreshTokenHook Sets the Refresh Token Hook Endpoint. If set this endpoint will be called during the OAuth2 Token Refresh grant update the OAuth2 Access Token claims. This governs the \"oauth2.refresh_token_hook\" setting. + * @param hydraOauth2TokenHook Sets the token hook endpoint for all grant types. If set it will be called while providing token to customize claims. This governs the \"oauth2.token_hook.url\" setting. + * @param hydraOidcDynamicClientRegistrationDefaultScope + * @param hydraOidcDynamicClientRegistrationEnabled Configures OpenID Connect Dynamic Client Registration. This governs the \"oidc.dynamic_client_registration.enabled\" setting. + * @param hydraOidcSubjectIdentifiersPairwiseSalt Configures OpenID Connect Discovery and overwrites the pairwise algorithm This governs the \"oidc.subject_identifiers.pairwise_salt\" setting. + * @param hydraOidcSubjectIdentifiersSupportedTypes + * @param hydraSecretsCookie + * @param hydraSecretsSystem + * @param hydraServeCookiesSameSiteLegacyWorkaround Configures the Ory Hydra Cookie Same Site Legacy Workaround This governs the \"serve.cookies.same_site_legacy_workaround\" setting. + * @param hydraServeCookiesSameSiteMode Configures the Ory Hydra Cookie Same Site Mode This governs the \"serve.cookies.same_site_mode\" setting. + * @param hydraStrategiesAccessToken Defines access token type This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt + * @param hydraStrategiesJwtScopeClaim Define the claim to use as the scope in the access token. This governs the \"strategies.jwt.scope_claim\" setting: list: The scope claim is an array of strings named `scope`: `{ \"scope\": [\"read\", \"write\"] }` string: The scope claim is a space delimited list of strings named `scp`: `{ \"scp\": \"read write\" }` both: The scope claim is both a space delimited list and an array of strings named `scope` and `scp`: `{ \"scope\": [\"read\", \"write\"], \"scp\": \"read write\" }` list OAuth2JWTScopeClaimList string OAuth2JWTScopeClaimString both OAuth2JWTScopeClaimBoth + * @param hydraStrategiesScope Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes This governs the \"strategies.scope\" setting. exact Oauth2ScopeStrategyExact wildcard Oauth2ScopeStrategyWildcard + * @param hydraTtlAccessToken This governs the \"ttl.access_token\" setting. + * @param hydraTtlAuthCode Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.auth_code\" setting. + * @param hydraTtlIdToken This governs the \"ttl.id_token\" setting. + * @param hydraTtlLoginConsentRequest Configures how long a user login and consent flow may take. This governs the \"ttl.login_consent_request\" setting. + * @param hydraTtlRefreshToken Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.refresh_token\" setting. + * @param hydraUrlsConsent Sets the OAuth2 Consent Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.consent\" setting. + * @param hydraUrlsError Sets the OAuth2 Error URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.error\" setting. + * @param hydraUrlsLogin Sets the OAuth2 Login Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.login\" setting. + * @param hydraUrlsLogout Sets the logout endpoint. Defaults to the Ory Account Experience if left empty. This governs the \"urls.logout\" setting. + * @param hydraUrlsPostLogoutRedirect When an OAuth2-related user agent requests to log out, they will be redirected to this url afterwards per default. Defaults to the Ory Account Experience in development and your application in production mode when a custom domain is connected. This governs the \"urls.post_logout_redirect\" setting. + * @param hydraUrlsRegistration Sets the OAuth2 Registration Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.registration\" setting. + * @param hydraUrlsSelfIssuer This value will be used as the issuer in access and ID tokens. It must be specified and using HTTPS protocol, unless the development mode is enabled. On the Ory Network it will be very rare that you want to modify this value. If left empty, it will default to the correct value for the Ory Network. This governs the \"urls.self.issuer\" setting. + * @param hydraWebfingerJwksBroadcastKeys + * @param hydraWebfingerOidcDiscoveryAuthUrl Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL. This governs the \"webfinger.oidc.discovery.auth_url\" setting. + * @param hydraWebfingerOidcDiscoveryClientRegistrationUrl Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint. This governs the \"webfinger.oidc.discovery.client_registration_url\" setting. + * @param hydraWebfingerOidcDiscoveryJwksUrl Configures OpenID Connect Discovery and overwrites the JWKS URL. This governs the \"webfinger.oidc.discovery.jwks_url\" setting. + * @param hydraWebfingerOidcDiscoverySupportedClaims + * @param hydraWebfingerOidcDiscoverySupportedScope + * @param hydraWebfingerOidcDiscoveryTokenUrl Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL. This governs the \"webfinger.oidc.discovery.token_url\" setting. + * @param hydraWebfingerOidcDiscoveryUserinfoUrl Configures OpenID Connect Discovery and overwrites userinfo endpoint to be advertised at the OpenID Connect Discovery endpoint /.well-known/openid-configuration. Defaults to Ory Hydra's userinfo endpoint at /userinfo. Set this value if you want to handle this endpoint yourself. This governs the \"webfinger.oidc.discovery.userinfo_url\" setting. + * @param id The revision ID. + * @param ketoNamespaceConfiguration The Revisions' Keto Namespace Configuration The string is a URL pointing to an OPL file with the configuration. + * @param ketoNamespaces + * @param kratosCookiesSameSite Configures the Ory Kratos Cookie SameSite Attribute This governs the \"cookies.same_site\" setting. + * @param kratosCourierChannels + * @param kratosCourierDeliveryStrategy The delivery strategy to use when sending emails `smtp`: Use SMTP server `http`: Use the built in HTTP client to send the email to some remote service + * @param kratosCourierHttpRequestConfigAuthApiKeyIn The location of the API key to use in the HTTP email sending service's authentication `header`: Send the key value pair as a header `cookie`: Send the key value pair as a cookie This governs the \"courier.http.auth.config.in\" setting + * @param kratosCourierHttpRequestConfigAuthApiKeyName The name of the API key to use in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.name\" setting + * @param kratosCourierHttpRequestConfigAuthApiKeyValue The value of the API key to use in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.value\" setting + * @param kratosCourierHttpRequestConfigAuthBasicAuthPassword The password to use for basic auth in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.password\" setting + * @param kratosCourierHttpRequestConfigAuthBasicAuthUser The user to use for basic auth in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.user\" setting + * @param kratosCourierHttpRequestConfigAuthType The authentication type to use while contacting the remote HTTP email sending service `basic_auth`: Use Basic Authentication `api_key`: Use API Key Authentication in a header or cookie + * @param kratosCourierHttpRequestConfigBody The Jsonnet template to generate the body to send to the remote HTTP email sending service Should be valid Jsonnet and base64 encoded This governs the \"courier.http.body\" setting + * @param kratosCourierHttpRequestConfigHeaders NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- + * @param kratosCourierHttpRequestConfigMethod The http METHOD to use when calling the remote HTTP email sending service + * @param kratosCourierHttpRequestConfigUrl The URL of the remote HTTP email sending service This governs the \"courier.http.url\" setting + * @param kratosCourierSmtpConnectionUri Configures the Ory Kratos SMTP Connection URI This governs the \"courier.smtp.connection_uri\" setting. + * @param kratosCourierSmtpFromAddress Configures the Ory Kratos SMTP From Address This governs the \"courier.smtp.from_address\" setting. + * @param kratosCourierSmtpFromName Configures the Ory Kratos SMTP From Name This governs the \"courier.smtp.from_name\" setting. + * @param kratosCourierSmtpHeaders NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- + * @param kratosCourierSmtpLocalName Configures the local_name to use in SMTP connections This governs the \"courier.smtp.local_name\" setting. + * @param kratosCourierTemplatesLoginCodeValidEmailBodyHtml Configures the Ory Kratos Valid Login via Code Email Body HTML Template This governs the \"courier.smtp.templates.login_code.valid.email.body.html\" setting. + * @param kratosCourierTemplatesLoginCodeValidEmailBodyPlaintext Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.login_code.valid.email.body.plaintext\" setting. + * @param kratosCourierTemplatesLoginCodeValidEmailSubject Configures the Ory Kratos Valid Login via Code Email Subject Template This governs the \"courier.smtp.templates.login_code.valid.email.subject\" setting. + * @param kratosCourierTemplatesLoginCodeValidSmsBodyPlaintext Configures the Ory Kratos Valid Login via Code SMS plain text body This governs the \"courier.smtp.templates.login_code.valid.sms.plaintext\" setting. + * @param kratosCourierTemplatesRecoveryCodeInvalidEmailBodyHtml Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting. + * @param kratosCourierTemplatesRecoveryCodeInvalidEmailBodyPlaintext Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.plaintext\" setting. + * @param kratosCourierTemplatesRecoveryCodeInvalidEmailSubject Configures the Ory Kratos Invalid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting. + * @param kratosCourierTemplatesRecoveryCodeValidEmailBodyHtml Configures the Ory Kratos Valid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.valid.email.body.html\" setting. + * @param kratosCourierTemplatesRecoveryCodeValidEmailBodyPlaintext Configures the Ory Kratos Valid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.valid.email.body.plaintext\" setting. + * @param kratosCourierTemplatesRecoveryCodeValidEmailSubject Configures the Ory Kratos Valid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.valid.email.subject\" setting. + * @param kratosCourierTemplatesRecoveryInvalidEmailBodyHtml Configures the Ory Kratos Invalid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting. + * @param kratosCourierTemplatesRecoveryInvalidEmailBodyPlaintext Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.plaintext\" setting. + * @param kratosCourierTemplatesRecoveryInvalidEmailSubject Configures the Ory Kratos Invalid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting. + * @param kratosCourierTemplatesRecoveryValidEmailBodyHtml Configures the Ory Kratos Valid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.valid.email.body.html\" setting. + * @param kratosCourierTemplatesRecoveryValidEmailBodyPlaintext Configures the Ory Kratos Valid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting. + * @param kratosCourierTemplatesRecoveryValidEmailSubject Configures the Ory Kratos Valid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.valid.email.subject\" setting. + * @param 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. + * @param 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. + * @param kratosCourierTemplatesRegistrationCodeValidEmailSubject Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.smtp.templates.registration_code.valid.email.subject\" setting. + * @param 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. + * @param 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. + * @param 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. + * @param kratosCourierTemplatesVerificationCodeInvalidEmailSubject Configures the Ory Kratos Invalid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.invalid.email.subject\" setting. + * @param kratosCourierTemplatesVerificationCodeValidEmailBodyHtml Configures the Ory Kratos Valid Verification via Code Email Body HTML Template This governs the \"courier.smtp.templates.verification_code.valid.email.body.html\" setting. + * @param kratosCourierTemplatesVerificationCodeValidEmailBodyPlaintext Configures the Ory Kratos Valid Verification via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.verification_code.valid.email.body.plaintext\" setting. + * @param kratosCourierTemplatesVerificationCodeValidEmailSubject Configures the Ory Kratos Valid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.valid.email.subject\" setting. + * @param kratosCourierTemplatesVerificationCodeValidSmsBodyPlaintext Configures the Ory Kratos Valid Verification via Code SMS Body Plaintext This governs the \"courier.smtp.templates.verification_code.valid.sms.body.plaintext\" setting. + * @param kratosCourierTemplatesVerificationInvalidEmailBodyHtml Configures the Ory Kratos Invalid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.invalid.email.body.html\" setting. + * @param kratosCourierTemplatesVerificationInvalidEmailBodyPlaintext Configures the Ory Kratos Invalid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.verification.invalid.email.body.plaintext\" setting. + * @param kratosCourierTemplatesVerificationInvalidEmailSubject Configures the Ory Kratos Invalid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.invalid.email.subject\" setting. + * @param kratosCourierTemplatesVerificationValidEmailBodyHtml Configures the Ory Kratos Valid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.valid.email.body.html\" setting. + * @param kratosCourierTemplatesVerificationValidEmailBodyPlaintext Configures the Ory Kratos Valid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.verification.valid.email.body.plaintext\" setting. + * @param kratosCourierTemplatesVerificationValidEmailSubject Configures the Ory Kratos Valid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.valid.email.subject\" setting. + * @param kratosFeatureFlagsCacheableSessions Configures the Ory Kratos Session caching feature flag This governs the \"feature_flags.cacheable_sessions\" setting. + * @param kratosFeatureFlagsCacheableSessionsMaxAge Configures the Ory Kratos Session caching max-age feature flag This governs the \"feature_flags.cacheable_sessions_max_age\" setting. + * @param kratosFeatureFlagsFasterSessionExtend Configures the Ory Kratos Faster Session Extend setting If enabled allows faster session extension by skipping the session lookup and returning 201 instead of 200. Disabling this feature will be deprecated in the future. This governs the \"feature_flags.faster_session_extend\" setting. + * @param kratosFeatureFlagsUseContinueWithTransitions Configures the Ory Kratos Session use_continue_with_transitions flag This governs the \"feature_flags.use_continue_with_transitions\" setting. + * @param kratosIdentitySchemas + * @param kratosOauth2ProviderHeaders NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- + * @param kratosOauth2ProviderOverrideReturnTo Kratos OAuth2 Provider Override Return To Enabling this allows Kratos to set the return_to parameter automatically to the OAuth2 request URL on the login flow, allowing complex flows such as recovery to continue to the initial OAuth2 flow. + * @param kratosOauth2ProviderUrl The Revisions' OAuth2 Provider Integration URL This governs the \"oauth2_provider.url\" setting. + * @param kratosPreviewDefaultReadConsistencyLevel Configures the default read consistency level for identity APIs This governs the `preview.default_read_consistency_level` setting. 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. 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` Defaults to \"strong\" for new and existing projects. This feature is in preview. Use with caution. + * @param kratosSecretsCipher + * @param kratosSecretsCookie + * @param kratosSecretsDefault + * @param kratosSelfserviceAllowedReturnUrls + * @param kratosSelfserviceDefaultBrowserReturnUrl Configures the Ory Kratos Default Return URL This governs the \"selfservice.allowed_return_urls\" setting. + * @param kratosSelfserviceFlowsErrorUiUrl Configures the Ory Kratos Error UI URL This governs the \"selfservice.flows.error.ui_url\" setting. + * @param kratosSelfserviceFlowsLoginAfterCodeDefaultBrowserReturnUrl Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.code.after.password.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsLoginAfterDefaultBrowserReturnUrl Configures the Ory Kratos Login Default Return URL This governs the \"selfservice.flows.login.after.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsLoginAfterLookupSecretDefaultBrowserReturnUrl Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.lookup_secret.after.password.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsLoginAfterOidcDefaultBrowserReturnUrl Configures the Ory Kratos Login After OIDC Default Return URL This governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsLoginAfterPasskeyDefaultBrowserReturnUrl Configures the Ory Kratos Login After Passkey Default Return URL This governs the \"selfservice.flows.login.after.passkey.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsLoginAfterPasswordDefaultBrowserReturnUrl Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsLoginAfterTotpDefaultBrowserReturnUrl Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.totp.after.password.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsLoginAfterWebauthnDefaultBrowserReturnUrl Configures the Ory Kratos Login After WebAuthn Default Return URL This governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsLoginLifespan Configures the Ory Kratos Login Lifespan This governs the \"selfservice.flows.login.lifespan\" setting. + * @param kratosSelfserviceFlowsLoginUiUrl Configures the Ory Kratos Login UI URL This governs the \"selfservice.flows.login.ui_url\" setting. + * @param kratosSelfserviceFlowsLogoutAfterDefaultBrowserReturnUrl Configures the Ory Kratos Logout Default Return URL This governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsRecoveryAfterDefaultBrowserReturnUrl Configures the Ory Kratos Recovery Default Return URL This governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsRecoveryEnabled Configures the Ory Kratos Recovery Enabled Setting This governs the \"selfservice.flows.recovery.enabled\" setting. + * @param kratosSelfserviceFlowsRecoveryLifespan Configures the Ory Kratos Recovery Lifespan This governs the \"selfservice.flows.recovery.lifespan\" setting. + * @param kratosSelfserviceFlowsRecoveryNotifyUnknownRecipients Configures whether to notify unknown recipients of a Ory Kratos recovery flow This governs the \"selfservice.flows.recovery.notify_unknown_recipients\" setting. + * @param kratosSelfserviceFlowsRecoveryUiUrl Configures the Ory Kratos Recovery UI URL This governs the \"selfservice.flows.recovery.ui_url\" setting. + * @param kratosSelfserviceFlowsRecoveryUse Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\") This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode + * @param kratosSelfserviceFlowsRegistrationAfterCodeDefaultBrowserReturnUrl Configures the Ory Kratos Registration After Code Default Return URL This governs the \"selfservice.flows.registration.after.code.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsRegistrationAfterDefaultBrowserReturnUrl Configures the Ory Kratos Registration Default Return URL This governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsRegistrationAfterOidcDefaultBrowserReturnUrl Configures the Ory Kratos Registration After OIDC Default Return URL This governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsRegistrationAfterPasskeyDefaultBrowserReturnUrl Configures the Ory Kratos Registration After Passkey Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsRegistrationAfterPasswordDefaultBrowserReturnUrl Configures the Ory Kratos Registration After Password Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsRegistrationAfterWebauthnDefaultBrowserReturnUrl Configures the Ory Kratos Registration After Webauthn Default Return URL This governs the \"selfservice.flows.registration.after.webauthn.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsRegistrationEnableLegacyOneStep Disable two-step registration Two-step registration is a significantly improved sign up flow and recommended when using more than one sign up methods. To revert to one-step registration, set this to `true`. This governs the \"selfservice.flows.registration.enable_legacy_one_step\" setting. + * @param kratosSelfserviceFlowsRegistrationEnabled Configures the Whether Ory Kratos Registration is Enabled This governs the \"selfservice.flows.registration.enabled\" setting.0 + * @param kratosSelfserviceFlowsRegistrationLifespan Configures the Ory Kratos Registration Lifespan This governs the \"selfservice.flows.registration.lifespan\" setting. + * @param kratosSelfserviceFlowsRegistrationLoginHints Configures the Ory Kratos Registration Login Hints Shows helpful information when a user tries to sign up with a duplicate account. This governs the \"selfservice.flows.registration.login_hints\" setting. + * @param kratosSelfserviceFlowsRegistrationUiUrl Configures the Ory Kratos Registration UI URL This governs the \"selfservice.flows.registration.ui_url\" setting. + * @param kratosSelfserviceFlowsSettingsAfterDefaultBrowserReturnUrl Configures the Ory Kratos Settings Default Return URL This governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsSettingsAfterLookupSecretDefaultBrowserReturnUrl Configures the Ory Kratos Settings Default Return URL After Updating Lookup Secrets This governs the \"selfservice.flows.settings.after.lookup_secret.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsSettingsAfterOidcDefaultBrowserReturnUrl Configures the Ory Kratos Settings Default Return URL After Updating Social Sign In This governs the \"selfservice.flows.settings.after.oidc.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsSettingsAfterPasskeyDefaultBrowserReturnUrl Configures the Ory Kratos Settings Default Return URL After Updating Passkey This governs the \"selfservice.flows.settings.after.passkey.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsSettingsAfterPasswordDefaultBrowserReturnUrl Configures the Ory Kratos Settings Default Return URL After Updating Passwords This governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsSettingsAfterProfileDefaultBrowserReturnUrl Configures the Ory Kratos Settings Default Return URL After Updating Profiles This governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsSettingsAfterTotpDefaultBrowserReturnUrl Configures the Ory Kratos Settings Default Return URL After Updating TOTP This governs the \"selfservice.flows.settings.after.totp.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsSettingsAfterWebauthnDefaultBrowserReturnUrl Configures the Ory Kratos Settings Default Return URL After Updating WebAuthn This governs the \"selfservice.flows.settings.after.webauthn.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsSettingsLifespan Configures the Ory Kratos Settings Lifespan This governs the \"selfservice.flows.settings.lifespan\" setting. + * @param kratosSelfserviceFlowsSettingsPrivilegedSessionMaxAge Configures the Ory Kratos Settings Privileged Session Max Age This governs the \"selfservice.flows.settings.privileged_session_max_age\" setting. + * @param kratosSelfserviceFlowsSettingsRequiredAal Configures the Ory Kratos Settings Required AAL This governs the \"selfservice.flows.settings.required_aal\" setting. + * @param kratosSelfserviceFlowsSettingsUiUrl Configures the Ory Kratos Settings UI URL This governs the \"selfservice.flows.settings.ui_url\" setting. + * @param kratosSelfserviceFlowsVerificationAfterDefaultBrowserReturnUrl Configures the Ory Kratos Verification Default Return URL This governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting. + * @param kratosSelfserviceFlowsVerificationEnabled Configures the Ory Kratos Verification Enabled Setting This governs the \"selfservice.flows.verification.enabled\" setting. + * @param kratosSelfserviceFlowsVerificationLifespan Configures the Ory Kratos Verification Lifespan This governs the \"selfservice.flows.verification.lifespan\" setting. + * @param kratosSelfserviceFlowsVerificationNotifyUnknownRecipients Configures whether to notify unknown recipients of a Ory Kratos verification flow This governs the \"selfservice.flows.verification.notify_unknown_recipients\" setting. + * @param kratosSelfserviceFlowsVerificationUiUrl Configures the Ory Kratos Verification UI URL This governs the \"selfservice.flows.verification.ui_url\" setting. + * @param kratosSelfserviceFlowsVerificationUse Configures the Ory Kratos Strategy to use for Verification This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode + * @param kratosSelfserviceMethodsCodeConfigLifespan Configures the Ory Kratos Code Method's lifespan This governs the \"selfservice.methods.code.config.lifespan\" setting. + * @param kratosSelfserviceMethodsCodeConfigMissingCredentialFallbackEnabled Enables a fallback method required in certain legacy use cases. This governs the \"selfservice.methods.code.config.missing_credential_fallback_enabled\" setting. + * @param kratosSelfserviceMethodsCodeEnabled Configures whether Ory Kratos Code Method is enabled This governs the \"selfservice.methods.code.enabled\" setting. + * @param kratosSelfserviceMethodsCodeMfaEnabled Configures whether the code method can be used to fulfil MFA flows This governs the \"selfservice.methods.code.mfa_enabled\" setting. + * @param kratosSelfserviceMethodsCodePasswordlessEnabled Configures whether Ory Kratos Passwordless should use the Code Method This governs the \"selfservice.methods.code.passwordless_enabled\" setting. + * @param kratosSelfserviceMethodsCodePasswordlessLoginFallbackEnabled This setting allows the code method to always login a user with code if they have registered with another authentication method such as password or social sign in. This governs the \"selfservice.methods.code.passwordless_login_fallback_enabled\" setting. + * @param kratosSelfserviceMethodsLinkConfigBaseUrl Configures the Base URL which Recovery, Verification, and Login Links Point to It is recommended to leave this value empty. It will be appropriately configured to the best matching domain (e.g. when using custom domains) automatically. This governs the \"selfservice.methods.link.config.base_url\" setting. + * @param kratosSelfserviceMethodsLinkConfigLifespan Configures the Ory Kratos Link Method's lifespan This governs the \"selfservice.methods.link.config.lifespan\" setting. + * @param kratosSelfserviceMethodsLinkEnabled Configures whether Ory Kratos Link Method is enabled This governs the \"selfservice.methods.link.enabled\" setting. + * @param kratosSelfserviceMethodsLookupSecretEnabled Configures whether Ory Kratos TOTP Lookup Secret is enabled This governs the \"selfservice.methods.lookup_secret.enabled\" setting. + * @param kratosSelfserviceMethodsOidcConfigBaseRedirectUri Configures the Ory Kratos Third Party / OpenID Connect base redirect URI This governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting. + * @param kratosSelfserviceMethodsOidcConfigProviders + * @param kratosSelfserviceMethodsOidcEnabled Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled This governs the \"selfservice.methods.oidc.enabled\" setting. + * @param kratosSelfserviceMethodsPasskeyConfigRpDisplayName Configures the Ory Kratos Passkey RP Display Name This governs the \"selfservice.methods.passkey.config.rp.display_name\" setting. + * @param kratosSelfserviceMethodsPasskeyConfigRpId Configures the Ory Kratos Passkey RP ID This governs the \"selfservice.methods.passkey.config.rp.id\" setting. + * @param kratosSelfserviceMethodsPasskeyConfigRpOrigins + * @param kratosSelfserviceMethodsPasskeyEnabled Configures whether Ory Kratos Passkey authentication is enabled This governs the \"selfservice.methods.passkey.enabled\" setting. + * @param kratosSelfserviceMethodsPasswordConfigHaveibeenpwnedEnabled Configures whether Ory Kratos Password HIBP Checks is enabled This governs the \"selfservice.methods.password.config.haveibeenpwned_enabled\" setting. + * @param kratosSelfserviceMethodsPasswordConfigIdentifierSimilarityCheckEnabled Configures whether Ory Kratos Password should disable the similarity policy. This governs the \"selfservice.methods.password.config.identifier_similarity_check_enabled\" setting. + * @param kratosSelfserviceMethodsPasswordConfigIgnoreNetworkErrors Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors This governs the \"selfservice.methods.password.config.ignore_network_errors\" setting. + * @param kratosSelfserviceMethodsPasswordConfigMaxBreaches Configures Ory Kratos Password Max Breaches Detection This governs the \"selfservice.methods.password.config.max_breaches\" setting. + * @param kratosSelfserviceMethodsPasswordConfigMinPasswordLength Configures the minimum length of passwords. This governs the \"selfservice.methods.password.config.min_password_length\" setting. + * @param kratosSelfserviceMethodsPasswordEnabled Configures whether Ory Kratos Password Method is enabled This governs the \"selfservice.methods.password.enabled\" setting. + * @param kratosSelfserviceMethodsProfileEnabled Configures whether Ory Kratos Profile Method is enabled This governs the \"selfservice.methods.profile.enabled\" setting. + * @param kratosSelfserviceMethodsTotpConfigIssuer Configures Ory Kratos TOTP Issuer This governs the \"selfservice.methods.totp.config.issuer\" setting. + * @param kratosSelfserviceMethodsTotpEnabled Configures whether Ory Kratos TOTP Method is enabled This governs the \"selfservice.methods.totp.enabled\" setting. + * @param kratosSelfserviceMethodsWebauthnConfigPasswordless Configures whether Ory Kratos Webauthn is used for passwordless flows This governs the \"selfservice.methods.webauthn.config.passwordless\" setting. + * @param kratosSelfserviceMethodsWebauthnConfigRpDisplayName Configures the Ory Kratos Webauthn RP Display Name This governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting. + * @param kratosSelfserviceMethodsWebauthnConfigRpIcon Configures the Ory Kratos Webauthn RP Icon This governs the \"selfservice.methods.webauthn.config.rp.icon\" setting. Deprecated: This value will be ignored due to security considerations. + * @param kratosSelfserviceMethodsWebauthnConfigRpId Configures the Ory Kratos Webauthn RP ID This governs the \"selfservice.methods.webauthn.config.rp.id\" setting. + * @param kratosSelfserviceMethodsWebauthnConfigRpOrigins + * @param kratosSelfserviceMethodsWebauthnEnabled Configures whether Ory Kratos Webauthn is enabled This governs the \"selfservice.methods.webauthn.enabled\" setting. + * @param kratosSessionCookiePersistent Configures the Ory Kratos Session Cookie Persistent Attribute This governs the \"session.cookie.persistent\" setting. + * @param kratosSessionCookieSameSite Configures the Ory Kratos Session Cookie SameSite Attribute This governs the \"session.cookie.same_site\" setting. + * @param kratosSessionLifespan Configures the Ory Kratos Session Lifespan This governs the \"session.lifespan\" setting. + * @param kratosSessionWhoamiRequiredAal Configures the Ory Kratos Session Whoami AAL requirement This governs the \"session.whoami.required_aal\" setting. + * @param kratosSessionWhoamiTokenizerTemplates + * @param projectId The Revision's Project ID + * @param projectRevisionHooks + * @param serveAdminCorsAllowedOrigins + * @param serveAdminCorsEnabled Enable CORS headers on all admin APIs This governs the \"serve.admin.cors.enabled\" setting. + * @param servePublicCorsAllowedOrigins + * @param servePublicCorsEnabled Enable CORS headers on all public APIs This governs the \"serve.public.cors.enabled\" setting. + * @param strictSecurity Whether the project should employ strict security measures. Setting this to true is recommended for going into production. + * @param updatedAt Last Time Project's Revision was Updated + */ +@Serializable + +data class NormalizedProjectRevision ( + + /* The project's name. */ + @SerialName(value = "name") @Required val name: kotlin.String, + + /* The Project's Revision Creation Date */ + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + /* Whether to disable the account experience welcome screen, which is hosted under `/ui/welcome`. */ + @SerialName(value = "disable_account_experience_welcome_screen") val disableAccountExperienceWelcomeScreen: kotlin.Boolean? = null, + + /* Whether the new account experience is enabled and reachable. */ + @SerialName(value = "enable_ax_v2") val enableAxV2: kotlin.Boolean? = null, + + @SerialName(value = "hydra_oauth2_allowed_top_level_claims") val hydraOauth2AllowedTopLevelClaims: kotlin.collections.List? = null, + + /* Automatically grant authorized OAuth2 Scope in OAuth2 Client Credentials Flow. Each OAuth2 Client is allowed to request a predefined OAuth2 Scope (for example `read write`). If this option is enabled, the full scope is automatically granted when performing the OAuth2 Client Credentials flow. If disabled, the OAuth2 Client has to request the scope in the OAuth2 request by providing the `scope` query parameter. Setting this option to true is common if you need compatibility with MITREid. This governs the \"oauth2.client_credentials.default_grant_allowed_scope\" setting. */ + @SerialName(value = "hydra_oauth2_client_credentials_default_grant_allowed_scope") val hydraOauth2ClientCredentialsDefaultGrantAllowedScope: kotlin.Boolean? = null, + + /* Set to true if you want to exclude claim `nbf (not before)` part of access token. This governs the \"oauth2.exclude_not_before_claim\" setting. */ + @SerialName(value = "hydra_oauth2_exclude_not_before_claim") val hydraOauth2ExcludeNotBeforeClaim: kotlin.Boolean? = null, + + /* Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.iat_optional\" setting. */ + @SerialName(value = "hydra_oauth2_grant_jwt_iat_optional") val hydraOauth2GrantJwtIatOptional: kotlin.Boolean? = null, + + /* Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.jti_optional\" setting. */ + @SerialName(value = "hydra_oauth2_grant_jwt_jti_optional") val hydraOauth2GrantJwtJtiOptional: kotlin.Boolean? = null, + + /* Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be. This feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied. Useful as a safety measure and recommended to keep below 720h. This governs the \"oauth2.grant.jwt.max_ttl\" setting. */ + @SerialName(value = "hydra_oauth2_grant_jwt_max_ttl") val hydraOauth2GrantJwtMaxTtl: kotlin.String? = "720h", + + /* Set to false if you don't want to mirror custom claims under 'ext'. This governs the \"oauth2.mirror_top_level_claims\" setting. */ + @SerialName(value = "hydra_oauth2_mirror_top_level_claims") val hydraOauth2MirrorTopLevelClaims: kotlin.Boolean? = null, + + /* Configures whether PKCE should be enforced for all OAuth2 Clients. This governs the \"oauth2.pkce.enforced\" setting. */ + @SerialName(value = "hydra_oauth2_pkce_enforced") val hydraOauth2PkceEnforced: kotlin.Boolean? = null, + + /* Configures whether PKCE should be enforced for OAuth2 Clients without a client secret (public clients). This governs the \"oauth2.pkce.enforced_for_public_clients\" setting. */ + @SerialName(value = "hydra_oauth2_pkce_enforced_for_public_clients") val hydraOauth2PkceEnforcedForPublicClients: kotlin.Boolean? = null, + + /* Sets the Refresh Token Hook Endpoint. If set this endpoint will be called during the OAuth2 Token Refresh grant update the OAuth2 Access Token claims. This governs the \"oauth2.refresh_token_hook\" setting. */ + @SerialName(value = "hydra_oauth2_refresh_token_hook") val hydraOauth2RefreshTokenHook: kotlin.String? = null, + + /* Sets the token hook endpoint for all grant types. If set it will be called while providing token to customize claims. This governs the \"oauth2.token_hook.url\" setting. */ + @SerialName(value = "hydra_oauth2_token_hook") val hydraOauth2TokenHook: kotlin.String? = null, + + @SerialName(value = "hydra_oidc_dynamic_client_registration_default_scope") val hydraOidcDynamicClientRegistrationDefaultScope: kotlin.collections.List? = null, + + /* Configures OpenID Connect Dynamic Client Registration. This governs the \"oidc.dynamic_client_registration.enabled\" setting. */ + @SerialName(value = "hydra_oidc_dynamic_client_registration_enabled") val hydraOidcDynamicClientRegistrationEnabled: kotlin.Boolean? = null, + + /* Configures OpenID Connect Discovery and overwrites the pairwise algorithm This governs the \"oidc.subject_identifiers.pairwise_salt\" setting. */ + @SerialName(value = "hydra_oidc_subject_identifiers_pairwise_salt") val hydraOidcSubjectIdentifiersPairwiseSalt: kotlin.String? = null, + + @SerialName(value = "hydra_oidc_subject_identifiers_supported_types") val hydraOidcSubjectIdentifiersSupportedTypes: kotlin.collections.List? = null, + + @SerialName(value = "hydra_secrets_cookie") val hydraSecretsCookie: kotlin.collections.List? = null, + + @SerialName(value = "hydra_secrets_system") val hydraSecretsSystem: kotlin.collections.List? = null, + + /* Configures the Ory Hydra Cookie Same Site Legacy Workaround This governs the \"serve.cookies.same_site_legacy_workaround\" setting. */ + @SerialName(value = "hydra_serve_cookies_same_site_legacy_workaround") val hydraServeCookiesSameSiteLegacyWorkaround: kotlin.Boolean? = null, + + /* Configures the Ory Hydra Cookie Same Site Mode This governs the \"serve.cookies.same_site_mode\" setting. */ + @SerialName(value = "hydra_serve_cookies_same_site_mode") val hydraServeCookiesSameSiteMode: kotlin.String? = null, + + /* Defines access token type This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt */ + @SerialName(value = "hydra_strategies_access_token") val hydraStrategiesAccessToken: NormalizedProjectRevision.HydraStrategiesAccessToken? = HydraStrategiesAccessToken.opaque, + + /* Define the claim to use as the scope in the access token. This governs the \"strategies.jwt.scope_claim\" setting: list: The scope claim is an array of strings named `scope`: `{ \"scope\": [\"read\", \"write\"] }` string: The scope claim is a space delimited list of strings named `scp`: `{ \"scp\": \"read write\" }` both: The scope claim is both a space delimited list and an array of strings named `scope` and `scp`: `{ \"scope\": [\"read\", \"write\"], \"scp\": \"read write\" }` list OAuth2JWTScopeClaimList string OAuth2JWTScopeClaimString both OAuth2JWTScopeClaimBoth */ + @SerialName(value = "hydra_strategies_jwt_scope_claim") val hydraStrategiesJwtScopeClaim: NormalizedProjectRevision.HydraStrategiesJwtScopeClaim? = HydraStrategiesJwtScopeClaim.list, + + /* Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes This governs the \"strategies.scope\" setting. exact Oauth2ScopeStrategyExact wildcard Oauth2ScopeStrategyWildcard */ + @SerialName(value = "hydra_strategies_scope") val hydraStrategiesScope: NormalizedProjectRevision.HydraStrategiesScope? = HydraStrategiesScope.wildcard, + + /* This governs the \"ttl.access_token\" setting. */ + @SerialName(value = "hydra_ttl_access_token") val hydraTtlAccessToken: kotlin.String? = "30m", + + /* Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.auth_code\" setting. */ + @SerialName(value = "hydra_ttl_auth_code") val hydraTtlAuthCode: kotlin.String? = "720h", + + /* This governs the \"ttl.id_token\" setting. */ + @SerialName(value = "hydra_ttl_id_token") val hydraTtlIdToken: kotlin.String? = "30m", + + /* Configures how long a user login and consent flow may take. This governs the \"ttl.login_consent_request\" setting. */ + @SerialName(value = "hydra_ttl_login_consent_request") val hydraTtlLoginConsentRequest: kotlin.String? = "30m", + + /* Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.refresh_token\" setting. */ + @SerialName(value = "hydra_ttl_refresh_token") val hydraTtlRefreshToken: kotlin.String? = "720h", + + /* Sets the OAuth2 Consent Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.consent\" setting. */ + @SerialName(value = "hydra_urls_consent") val hydraUrlsConsent: kotlin.String? = null, + + /* Sets the OAuth2 Error URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.error\" setting. */ + @SerialName(value = "hydra_urls_error") val hydraUrlsError: kotlin.String? = null, + + /* Sets the OAuth2 Login Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.login\" setting. */ + @SerialName(value = "hydra_urls_login") val hydraUrlsLogin: kotlin.String? = null, + + /* Sets the logout endpoint. Defaults to the Ory Account Experience if left empty. This governs the \"urls.logout\" setting. */ + @SerialName(value = "hydra_urls_logout") val hydraUrlsLogout: kotlin.String? = null, + + /* When an OAuth2-related user agent requests to log out, they will be redirected to this url afterwards per default. Defaults to the Ory Account Experience in development and your application in production mode when a custom domain is connected. This governs the \"urls.post_logout_redirect\" setting. */ + @SerialName(value = "hydra_urls_post_logout_redirect") val hydraUrlsPostLogoutRedirect: kotlin.String? = null, + + /* Sets the OAuth2 Registration Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.registration\" setting. */ + @SerialName(value = "hydra_urls_registration") val hydraUrlsRegistration: kotlin.String? = null, + + /* This value will be used as the issuer in access and ID tokens. It must be specified and using HTTPS protocol, unless the development mode is enabled. On the Ory Network it will be very rare that you want to modify this value. If left empty, it will default to the correct value for the Ory Network. This governs the \"urls.self.issuer\" setting. */ + @SerialName(value = "hydra_urls_self_issuer") val hydraUrlsSelfIssuer: kotlin.String? = null, + + @SerialName(value = "hydra_webfinger_jwks_broadcast_keys") val hydraWebfingerJwksBroadcastKeys: kotlin.collections.List? = null, + + /* Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL. This governs the \"webfinger.oidc.discovery.auth_url\" setting. */ + @SerialName(value = "hydra_webfinger_oidc_discovery_auth_url") val hydraWebfingerOidcDiscoveryAuthUrl: kotlin.String? = null, + + /* Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint. This governs the \"webfinger.oidc.discovery.client_registration_url\" setting. */ + @SerialName(value = "hydra_webfinger_oidc_discovery_client_registration_url") val hydraWebfingerOidcDiscoveryClientRegistrationUrl: kotlin.String? = null, + + /* Configures OpenID Connect Discovery and overwrites the JWKS URL. This governs the \"webfinger.oidc.discovery.jwks_url\" setting. */ + @SerialName(value = "hydra_webfinger_oidc_discovery_jwks_url") val hydraWebfingerOidcDiscoveryJwksUrl: kotlin.String? = null, + + @SerialName(value = "hydra_webfinger_oidc_discovery_supported_claims") val hydraWebfingerOidcDiscoverySupportedClaims: kotlin.collections.List? = null, + + @SerialName(value = "hydra_webfinger_oidc_discovery_supported_scope") val hydraWebfingerOidcDiscoverySupportedScope: kotlin.collections.List? = null, + + /* Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL. This governs the \"webfinger.oidc.discovery.token_url\" setting. */ + @SerialName(value = "hydra_webfinger_oidc_discovery_token_url") val hydraWebfingerOidcDiscoveryTokenUrl: kotlin.String? = null, + + /* Configures OpenID Connect Discovery and overwrites userinfo endpoint to be advertised at the OpenID Connect Discovery endpoint /.well-known/openid-configuration. Defaults to Ory Hydra's userinfo endpoint at /userinfo. Set this value if you want to handle this endpoint yourself. This governs the \"webfinger.oidc.discovery.userinfo_url\" setting. */ + @SerialName(value = "hydra_webfinger_oidc_discovery_userinfo_url") val hydraWebfingerOidcDiscoveryUserinfoUrl: kotlin.String? = null, + + /* The revision ID. */ + @SerialName(value = "id") val id: kotlin.String? = null, + + /* The Revisions' Keto Namespace Configuration The string is a URL pointing to an OPL file with the configuration. */ + @SerialName(value = "keto_namespace_configuration") val ketoNamespaceConfiguration: kotlin.String? = null, + + @SerialName(value = "keto_namespaces") val ketoNamespaces: kotlin.collections.List? = null, + + /* Configures the Ory Kratos Cookie SameSite Attribute This governs the \"cookies.same_site\" setting. */ + @SerialName(value = "kratos_cookies_same_site") val kratosCookiesSameSite: kotlin.String? = null, + + @SerialName(value = "kratos_courier_channels") val kratosCourierChannels: kotlin.collections.List? = null, + + /* The delivery strategy to use when sending emails `smtp`: Use SMTP server `http`: Use the built in HTTP client to send the email to some remote service */ + @SerialName(value = "kratos_courier_delivery_strategy") val kratosCourierDeliveryStrategy: kotlin.String? = "smtp", + + /* The location of the API key to use in the HTTP email sending service's authentication `header`: Send the key value pair as a header `cookie`: Send the key value pair as a cookie This governs the \"courier.http.auth.config.in\" setting */ + @SerialName(value = "kratos_courier_http_request_config_auth_api_key_in") val kratosCourierHttpRequestConfigAuthApiKeyIn: kotlin.String? = null, + + /* The name of the API key to use in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.name\" setting */ + @SerialName(value = "kratos_courier_http_request_config_auth_api_key_name") val kratosCourierHttpRequestConfigAuthApiKeyName: kotlin.String? = null, + + /* The value of the API key to use in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.value\" setting */ + @SerialName(value = "kratos_courier_http_request_config_auth_api_key_value") val kratosCourierHttpRequestConfigAuthApiKeyValue: kotlin.String? = null, + + /* The password to use for basic auth in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.password\" setting */ + @SerialName(value = "kratos_courier_http_request_config_auth_basic_auth_password") val kratosCourierHttpRequestConfigAuthBasicAuthPassword: kotlin.String? = null, + + /* The user to use for basic auth in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.user\" setting */ + @SerialName(value = "kratos_courier_http_request_config_auth_basic_auth_user") val kratosCourierHttpRequestConfigAuthBasicAuthUser: kotlin.String? = null, + + /* The authentication type to use while contacting the remote HTTP email sending service `basic_auth`: Use Basic Authentication `api_key`: Use API Key Authentication in a header or cookie */ + @SerialName(value = "kratos_courier_http_request_config_auth_type") val kratosCourierHttpRequestConfigAuthType: kotlin.String? = "empty (no authentication)", + + /* The Jsonnet template to generate the body to send to the remote HTTP email sending service Should be valid Jsonnet and base64 encoded This governs the \"courier.http.body\" setting */ + @SerialName(value = "kratos_courier_http_request_config_body") val kratosCourierHttpRequestConfigBody: kotlin.String? = null, + + /* NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- */ + @SerialName(value = "kratos_courier_http_request_config_headers") val kratosCourierHttpRequestConfigHeaders: kotlin.String? = null, + + /* The http METHOD to use when calling the remote HTTP email sending service */ + @SerialName(value = "kratos_courier_http_request_config_method") val kratosCourierHttpRequestConfigMethod: kotlin.String? = "POST", + + /* The URL of the remote HTTP email sending service This governs the \"courier.http.url\" setting */ + @SerialName(value = "kratos_courier_http_request_config_url") val kratosCourierHttpRequestConfigUrl: kotlin.String? = null, + + /* Configures the Ory Kratos SMTP Connection URI This governs the \"courier.smtp.connection_uri\" setting. */ + @SerialName(value = "kratos_courier_smtp_connection_uri") val kratosCourierSmtpConnectionUri: kotlin.String? = null, + + /* Configures the Ory Kratos SMTP From Address This governs the \"courier.smtp.from_address\" setting. */ + @SerialName(value = "kratos_courier_smtp_from_address") val kratosCourierSmtpFromAddress: kotlin.String? = null, + + /* Configures the Ory Kratos SMTP From Name This governs the \"courier.smtp.from_name\" setting. */ + @SerialName(value = "kratos_courier_smtp_from_name") val kratosCourierSmtpFromName: kotlin.String? = null, + + /* NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- */ + @SerialName(value = "kratos_courier_smtp_headers") val kratosCourierSmtpHeaders: kotlin.String? = null, + + /* Configures the local_name to use in SMTP connections This governs the \"courier.smtp.local_name\" setting. */ + @SerialName(value = "kratos_courier_smtp_local_name") val kratosCourierSmtpLocalName: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Login via Code Email Body HTML Template This governs the \"courier.smtp.templates.login_code.valid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_login_code_valid_email_body_html") val kratosCourierTemplatesLoginCodeValidEmailBodyHtml: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.login_code.valid.email.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_login_code_valid_email_body_plaintext") val kratosCourierTemplatesLoginCodeValidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Login via Code Email Subject Template This governs the \"courier.smtp.templates.login_code.valid.email.subject\" setting. */ + @SerialName(value = "kratos_courier_templates_login_code_valid_email_subject") val kratosCourierTemplatesLoginCodeValidEmailSubject: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Login via Code SMS plain text body This governs the \"courier.smtp.templates.login_code.valid.sms.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_login_code_valid_sms_body_plaintext") val kratosCourierTemplatesLoginCodeValidSmsBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_code_invalid_email_body_html") val kratosCourierTemplatesRecoveryCodeInvalidEmailBodyHtml: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_code_invalid_email_body_plaintext") val kratosCourierTemplatesRecoveryCodeInvalidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_code_invalid_email_subject") val kratosCourierTemplatesRecoveryCodeInvalidEmailSubject: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.valid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_code_valid_email_body_html") val kratosCourierTemplatesRecoveryCodeValidEmailBodyHtml: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.valid.email.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_code_valid_email_body_plaintext") val kratosCourierTemplatesRecoveryCodeValidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.valid.email.subject\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_code_valid_email_subject") val kratosCourierTemplatesRecoveryCodeValidEmailSubject: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_invalid_email_body_html") val kratosCourierTemplatesRecoveryInvalidEmailBodyHtml: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_invalid_email_body_plaintext") val kratosCourierTemplatesRecoveryInvalidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_invalid_email_subject") val kratosCourierTemplatesRecoveryInvalidEmailSubject: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.valid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_valid_email_body_html") val kratosCourierTemplatesRecoveryValidEmailBodyHtml: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_valid_email_body_plaintext") val kratosCourierTemplatesRecoveryValidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.valid.email.subject\" setting. */ + @SerialName(value = "kratos_courier_templates_recovery_valid_email_subject") val kratosCourierTemplatesRecoveryValidEmailSubject: kotlin.String? = null, + + /* 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. */ + @SerialName(value = "kratos_courier_templates_registration_code_valid_email_body_html") val kratosCourierTemplatesRegistrationCodeValidEmailBodyHtml: kotlin.String? = null, + + /* 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. */ + @SerialName(value = "kratos_courier_templates_registration_code_valid_email_body_plaintext") val kratosCourierTemplatesRegistrationCodeValidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.smtp.templates.registration_code.valid.email.subject\" setting. */ + @SerialName(value = "kratos_courier_templates_registration_code_valid_email_subject") val kratosCourierTemplatesRegistrationCodeValidEmailSubject: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.smtp.templates.registration_code.valid.sms.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_registration_code_valid_sms_body_plaintext") val kratosCourierTemplatesRegistrationCodeValidSmsBodyPlaintext: kotlin.String? = null, + + /* 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. */ + @SerialName(value = "kratos_courier_templates_verification_code_invalid_email_body_html") val kratosCourierTemplatesVerificationCodeInvalidEmailBodyHtml: kotlin.String? = null, + + /* 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. */ + @SerialName(value = "kratos_courier_templates_verification_code_invalid_email_body_plaintext") val kratosCourierTemplatesVerificationCodeInvalidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.invalid.email.subject\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_code_invalid_email_subject") val kratosCourierTemplatesVerificationCodeInvalidEmailSubject: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Verification via Code Email Body HTML Template This governs the \"courier.smtp.templates.verification_code.valid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_code_valid_email_body_html") val kratosCourierTemplatesVerificationCodeValidEmailBodyHtml: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Verification via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.verification_code.valid.email.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_code_valid_email_body_plaintext") val kratosCourierTemplatesVerificationCodeValidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.valid.email.subject\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_code_valid_email_subject") val kratosCourierTemplatesVerificationCodeValidEmailSubject: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Verification via Code SMS Body Plaintext This governs the \"courier.smtp.templates.verification_code.valid.sms.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_code_valid_sms_body_plaintext") val kratosCourierTemplatesVerificationCodeValidSmsBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.invalid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_invalid_email_body_html") val kratosCourierTemplatesVerificationInvalidEmailBodyHtml: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.verification.invalid.email.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_invalid_email_body_plaintext") val kratosCourierTemplatesVerificationInvalidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Invalid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.invalid.email.subject\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_invalid_email_subject") val kratosCourierTemplatesVerificationInvalidEmailSubject: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.valid.email.body.html\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_valid_email_body_html") val kratosCourierTemplatesVerificationValidEmailBodyHtml: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.verification.valid.email.body.plaintext\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_valid_email_body_plaintext") val kratosCourierTemplatesVerificationValidEmailBodyPlaintext: kotlin.String? = null, + + /* Configures the Ory Kratos Valid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.valid.email.subject\" setting. */ + @SerialName(value = "kratos_courier_templates_verification_valid_email_subject") val kratosCourierTemplatesVerificationValidEmailSubject: kotlin.String? = null, + + /* Configures the Ory Kratos Session caching feature flag This governs the \"feature_flags.cacheable_sessions\" setting. */ + @SerialName(value = "kratos_feature_flags_cacheable_sessions") val kratosFeatureFlagsCacheableSessions: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Session caching max-age feature flag This governs the \"feature_flags.cacheable_sessions_max_age\" setting. */ + @SerialName(value = "kratos_feature_flags_cacheable_sessions_max_age") val kratosFeatureFlagsCacheableSessionsMaxAge: kotlin.String? = null, + + /* Configures the Ory Kratos Faster Session Extend setting If enabled allows faster session extension by skipping the session lookup and returning 201 instead of 200. Disabling this feature will be deprecated in the future. This governs the \"feature_flags.faster_session_extend\" setting. */ + @SerialName(value = "kratos_feature_flags_faster_session_extend") val kratosFeatureFlagsFasterSessionExtend: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Session use_continue_with_transitions flag This governs the \"feature_flags.use_continue_with_transitions\" setting. */ + @SerialName(value = "kratos_feature_flags_use_continue_with_transitions") val kratosFeatureFlagsUseContinueWithTransitions: kotlin.Boolean? = null, + + @SerialName(value = "kratos_identity_schemas") val kratosIdentitySchemas: kotlin.collections.List? = null, + + /* NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- */ + @SerialName(value = "kratos_oauth2_provider_headers") val kratosOauth2ProviderHeaders: kotlin.String? = null, + + /* Kratos OAuth2 Provider Override Return To Enabling this allows Kratos to set the return_to parameter automatically to the OAuth2 request URL on the login flow, allowing complex flows such as recovery to continue to the initial OAuth2 flow. */ + @SerialName(value = "kratos_oauth2_provider_override_return_to") val kratosOauth2ProviderOverrideReturnTo: kotlin.Boolean? = null, + + /* The Revisions' OAuth2 Provider Integration URL This governs the \"oauth2_provider.url\" setting. */ + @SerialName(value = "kratos_oauth2_provider_url") val kratosOauth2ProviderUrl: kotlin.String? = null, + + /* Configures the default read consistency level for identity APIs This governs the `preview.default_read_consistency_level` setting. 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. 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` Defaults to \"strong\" for new and existing projects. This feature is in preview. Use with caution. */ + @SerialName(value = "kratos_preview_default_read_consistency_level") val kratosPreviewDefaultReadConsistencyLevel: kotlin.String? = null, + + @SerialName(value = "kratos_secrets_cipher") val kratosSecretsCipher: kotlin.collections.List? = null, + + @SerialName(value = "kratos_secrets_cookie") val kratosSecretsCookie: kotlin.collections.List? = null, + + @SerialName(value = "kratos_secrets_default") val kratosSecretsDefault: kotlin.collections.List? = null, + + @SerialName(value = "kratos_selfservice_allowed_return_urls") val kratosSelfserviceAllowedReturnUrls: kotlin.collections.List? = null, + + /* Configures the Ory Kratos Default Return URL This governs the \"selfservice.allowed_return_urls\" setting. */ + @SerialName(value = "kratos_selfservice_default_browser_return_url") val kratosSelfserviceDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Error UI URL This governs the \"selfservice.flows.error.ui_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_error_ui_url") val kratosSelfserviceFlowsErrorUiUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.code.after.password.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_after_code_default_browser_return_url") val kratosSelfserviceFlowsLoginAfterCodeDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Login Default Return URL This governs the \"selfservice.flows.login.after.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_after_default_browser_return_url") val kratosSelfserviceFlowsLoginAfterDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.lookup_secret.after.password.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url") val kratosSelfserviceFlowsLoginAfterLookupSecretDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Login After OIDC Default Return URL This governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_after_oidc_default_browser_return_url") val kratosSelfserviceFlowsLoginAfterOidcDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Login After Passkey Default Return URL This governs the \"selfservice.flows.login.after.passkey.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_after_passkey_default_browser_return_url") val kratosSelfserviceFlowsLoginAfterPasskeyDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_after_password_default_browser_return_url") val kratosSelfserviceFlowsLoginAfterPasswordDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.totp.after.password.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_after_totp_default_browser_return_url") val kratosSelfserviceFlowsLoginAfterTotpDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Login After WebAuthn Default Return URL This governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_after_webauthn_default_browser_return_url") val kratosSelfserviceFlowsLoginAfterWebauthnDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Login Lifespan This governs the \"selfservice.flows.login.lifespan\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_lifespan") val kratosSelfserviceFlowsLoginLifespan: kotlin.String? = null, + + /* Configures the Ory Kratos Login UI URL This governs the \"selfservice.flows.login.ui_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_login_ui_url") val kratosSelfserviceFlowsLoginUiUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Logout Default Return URL This governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_logout_after_default_browser_return_url") val kratosSelfserviceFlowsLogoutAfterDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Recovery Default Return URL This governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_recovery_after_default_browser_return_url") val kratosSelfserviceFlowsRecoveryAfterDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Recovery Enabled Setting This governs the \"selfservice.flows.recovery.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_flows_recovery_enabled") val kratosSelfserviceFlowsRecoveryEnabled: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Recovery Lifespan This governs the \"selfservice.flows.recovery.lifespan\" setting. */ + @SerialName(value = "kratos_selfservice_flows_recovery_lifespan") val kratosSelfserviceFlowsRecoveryLifespan: kotlin.String? = null, + + /* Configures whether to notify unknown recipients of a Ory Kratos recovery flow This governs the \"selfservice.flows.recovery.notify_unknown_recipients\" setting. */ + @SerialName(value = "kratos_selfservice_flows_recovery_notify_unknown_recipients") val kratosSelfserviceFlowsRecoveryNotifyUnknownRecipients: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Recovery UI URL This governs the \"selfservice.flows.recovery.ui_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_recovery_ui_url") val kratosSelfserviceFlowsRecoveryUiUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\") This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode */ + @SerialName(value = "kratos_selfservice_flows_recovery_use") val kratosSelfserviceFlowsRecoveryUse: NormalizedProjectRevision.KratosSelfserviceFlowsRecoveryUse? = null, + + /* Configures the Ory Kratos Registration After Code Default Return URL This governs the \"selfservice.flows.registration.after.code.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_after_code_default_browser_return_url") val kratosSelfserviceFlowsRegistrationAfterCodeDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Registration Default Return URL This governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_after_default_browser_return_url") val kratosSelfserviceFlowsRegistrationAfterDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Registration After OIDC Default Return URL This governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_after_oidc_default_browser_return_url") val kratosSelfserviceFlowsRegistrationAfterOidcDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Registration After Passkey Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_after_passkey_default_browser_return_url") val kratosSelfserviceFlowsRegistrationAfterPasskeyDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Registration After Password Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_after_password_default_browser_return_url") val kratosSelfserviceFlowsRegistrationAfterPasswordDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Registration After Webauthn Default Return URL This governs the \"selfservice.flows.registration.after.webauthn.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url") val kratosSelfserviceFlowsRegistrationAfterWebauthnDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Disable two-step registration Two-step registration is a significantly improved sign up flow and recommended when using more than one sign up methods. To revert to one-step registration, set this to `true`. This governs the \"selfservice.flows.registration.enable_legacy_one_step\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_enable_legacy_one_step") val kratosSelfserviceFlowsRegistrationEnableLegacyOneStep: kotlin.Boolean? = null, + + /* Configures the Whether Ory Kratos Registration is Enabled This governs the \"selfservice.flows.registration.enabled\" setting.0 */ + @SerialName(value = "kratos_selfservice_flows_registration_enabled") val kratosSelfserviceFlowsRegistrationEnabled: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Registration Lifespan This governs the \"selfservice.flows.registration.lifespan\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_lifespan") val kratosSelfserviceFlowsRegistrationLifespan: kotlin.String? = null, + + /* Configures the Ory Kratos Registration Login Hints Shows helpful information when a user tries to sign up with a duplicate account. This governs the \"selfservice.flows.registration.login_hints\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_login_hints") val kratosSelfserviceFlowsRegistrationLoginHints: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Registration UI URL This governs the \"selfservice.flows.registration.ui_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_registration_ui_url") val kratosSelfserviceFlowsRegistrationUiUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Default Return URL This governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_after_default_browser_return_url") val kratosSelfserviceFlowsSettingsAfterDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Default Return URL After Updating Lookup Secrets This governs the \"selfservice.flows.settings.after.lookup_secret.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url") val kratosSelfserviceFlowsSettingsAfterLookupSecretDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Default Return URL After Updating Social Sign In This governs the \"selfservice.flows.settings.after.oidc.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_after_oidc_default_browser_return_url") val kratosSelfserviceFlowsSettingsAfterOidcDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Default Return URL After Updating Passkey This governs the \"selfservice.flows.settings.after.passkey.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_after_passkey_default_browser_return_url") val kratosSelfserviceFlowsSettingsAfterPasskeyDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Default Return URL After Updating Passwords This governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_after_password_default_browser_return_url") val kratosSelfserviceFlowsSettingsAfterPasswordDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Default Return URL After Updating Profiles This governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_after_profile_default_browser_return_url") val kratosSelfserviceFlowsSettingsAfterProfileDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Default Return URL After Updating TOTP This governs the \"selfservice.flows.settings.after.totp.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_after_totp_default_browser_return_url") val kratosSelfserviceFlowsSettingsAfterTotpDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Default Return URL After Updating WebAuthn This governs the \"selfservice.flows.settings.after.webauthn.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url") val kratosSelfserviceFlowsSettingsAfterWebauthnDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Lifespan This governs the \"selfservice.flows.settings.lifespan\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_lifespan") val kratosSelfserviceFlowsSettingsLifespan: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Privileged Session Max Age This governs the \"selfservice.flows.settings.privileged_session_max_age\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_privileged_session_max_age") val kratosSelfserviceFlowsSettingsPrivilegedSessionMaxAge: kotlin.String? = null, + + /* Configures the Ory Kratos Settings Required AAL This governs the \"selfservice.flows.settings.required_aal\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_required_aal") val kratosSelfserviceFlowsSettingsRequiredAal: kotlin.String? = null, + + /* Configures the Ory Kratos Settings UI URL This governs the \"selfservice.flows.settings.ui_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_settings_ui_url") val kratosSelfserviceFlowsSettingsUiUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Verification Default Return URL This governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_verification_after_default_browser_return_url") val kratosSelfserviceFlowsVerificationAfterDefaultBrowserReturnUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Verification Enabled Setting This governs the \"selfservice.flows.verification.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_flows_verification_enabled") val kratosSelfserviceFlowsVerificationEnabled: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Verification Lifespan This governs the \"selfservice.flows.verification.lifespan\" setting. */ + @SerialName(value = "kratos_selfservice_flows_verification_lifespan") val kratosSelfserviceFlowsVerificationLifespan: kotlin.String? = null, + + /* Configures whether to notify unknown recipients of a Ory Kratos verification flow This governs the \"selfservice.flows.verification.notify_unknown_recipients\" setting. */ + @SerialName(value = "kratos_selfservice_flows_verification_notify_unknown_recipients") val kratosSelfserviceFlowsVerificationNotifyUnknownRecipients: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Verification UI URL This governs the \"selfservice.flows.verification.ui_url\" setting. */ + @SerialName(value = "kratos_selfservice_flows_verification_ui_url") val kratosSelfserviceFlowsVerificationUiUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Strategy to use for Verification This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode */ + @SerialName(value = "kratos_selfservice_flows_verification_use") val kratosSelfserviceFlowsVerificationUse: NormalizedProjectRevision.KratosSelfserviceFlowsVerificationUse? = null, + + /* Configures the Ory Kratos Code Method's lifespan This governs the \"selfservice.methods.code.config.lifespan\" setting. */ + @SerialName(value = "kratos_selfservice_methods_code_config_lifespan") val kratosSelfserviceMethodsCodeConfigLifespan: kotlin.String? = null, + + /* Enables a fallback method required in certain legacy use cases. This governs the \"selfservice.methods.code.config.missing_credential_fallback_enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_code_config_missing_credential_fallback_enabled") val kratosSelfserviceMethodsCodeConfigMissingCredentialFallbackEnabled: kotlin.Boolean? = null, + + /* Configures whether Ory Kratos Code Method is enabled This governs the \"selfservice.methods.code.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_code_enabled") val kratosSelfserviceMethodsCodeEnabled: kotlin.Boolean? = null, + + /* Configures whether the code method can be used to fulfil MFA flows This governs the \"selfservice.methods.code.mfa_enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_code_mfa_enabled") val kratosSelfserviceMethodsCodeMfaEnabled: kotlin.Boolean? = null, + + /* Configures whether Ory Kratos Passwordless should use the Code Method This governs the \"selfservice.methods.code.passwordless_enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_code_passwordless_enabled") val kratosSelfserviceMethodsCodePasswordlessEnabled: kotlin.Boolean? = null, + + /* This setting allows the code method to always login a user with code if they have registered with another authentication method such as password or social sign in. This governs the \"selfservice.methods.code.passwordless_login_fallback_enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_code_passwordless_login_fallback_enabled") val kratosSelfserviceMethodsCodePasswordlessLoginFallbackEnabled: kotlin.Boolean? = null, + + /* Configures the Base URL which Recovery, Verification, and Login Links Point to It is recommended to leave this value empty. It will be appropriately configured to the best matching domain (e.g. when using custom domains) automatically. This governs the \"selfservice.methods.link.config.base_url\" setting. */ + @SerialName(value = "kratos_selfservice_methods_link_config_base_url") val kratosSelfserviceMethodsLinkConfigBaseUrl: kotlin.String? = null, + + /* Configures the Ory Kratos Link Method's lifespan This governs the \"selfservice.methods.link.config.lifespan\" setting. */ + @SerialName(value = "kratos_selfservice_methods_link_config_lifespan") val kratosSelfserviceMethodsLinkConfigLifespan: kotlin.String? = null, + + /* Configures whether Ory Kratos Link Method is enabled This governs the \"selfservice.methods.link.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_link_enabled") val kratosSelfserviceMethodsLinkEnabled: kotlin.Boolean? = null, + + /* Configures whether Ory Kratos TOTP Lookup Secret is enabled This governs the \"selfservice.methods.lookup_secret.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_lookup_secret_enabled") val kratosSelfserviceMethodsLookupSecretEnabled: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Third Party / OpenID Connect base redirect URI This governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting. */ + @SerialName(value = "kratos_selfservice_methods_oidc_config_base_redirect_uri") val kratosSelfserviceMethodsOidcConfigBaseRedirectUri: kotlin.String? = null, + + @SerialName(value = "kratos_selfservice_methods_oidc_config_providers") val kratosSelfserviceMethodsOidcConfigProviders: kotlin.collections.List? = null, + + /* Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled This governs the \"selfservice.methods.oidc.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_oidc_enabled") val kratosSelfserviceMethodsOidcEnabled: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Passkey RP Display Name This governs the \"selfservice.methods.passkey.config.rp.display_name\" setting. */ + @SerialName(value = "kratos_selfservice_methods_passkey_config_rp_display_name") val kratosSelfserviceMethodsPasskeyConfigRpDisplayName: kotlin.String? = null, + + /* Configures the Ory Kratos Passkey RP ID This governs the \"selfservice.methods.passkey.config.rp.id\" setting. */ + @SerialName(value = "kratos_selfservice_methods_passkey_config_rp_id") val kratosSelfserviceMethodsPasskeyConfigRpId: kotlin.String? = null, + + @SerialName(value = "kratos_selfservice_methods_passkey_config_rp_origins") val kratosSelfserviceMethodsPasskeyConfigRpOrigins: kotlin.collections.List? = null, + + /* Configures whether Ory Kratos Passkey authentication is enabled This governs the \"selfservice.methods.passkey.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_passkey_enabled") val kratosSelfserviceMethodsPasskeyEnabled: kotlin.Boolean? = null, + + /* Configures whether Ory Kratos Password HIBP Checks is enabled This governs the \"selfservice.methods.password.config.haveibeenpwned_enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_password_config_haveibeenpwned_enabled") val kratosSelfserviceMethodsPasswordConfigHaveibeenpwnedEnabled: kotlin.Boolean? = null, + + /* Configures whether Ory Kratos Password should disable the similarity policy. This governs the \"selfservice.methods.password.config.identifier_similarity_check_enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_password_config_identifier_similarity_check_enabled") val kratosSelfserviceMethodsPasswordConfigIdentifierSimilarityCheckEnabled: kotlin.Boolean? = null, + + /* Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors This governs the \"selfservice.methods.password.config.ignore_network_errors\" setting. */ + @SerialName(value = "kratos_selfservice_methods_password_config_ignore_network_errors") val kratosSelfserviceMethodsPasswordConfigIgnoreNetworkErrors: kotlin.Boolean? = null, + + /* Configures Ory Kratos Password Max Breaches Detection This governs the \"selfservice.methods.password.config.max_breaches\" setting. */ + @SerialName(value = "kratos_selfservice_methods_password_config_max_breaches") val kratosSelfserviceMethodsPasswordConfigMaxBreaches: kotlin.Long? = null, + + /* Configures the minimum length of passwords. This governs the \"selfservice.methods.password.config.min_password_length\" setting. */ + @SerialName(value = "kratos_selfservice_methods_password_config_min_password_length") val kratosSelfserviceMethodsPasswordConfigMinPasswordLength: kotlin.Long? = null, + + /* Configures whether Ory Kratos Password Method is enabled This governs the \"selfservice.methods.password.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_password_enabled") val kratosSelfserviceMethodsPasswordEnabled: kotlin.Boolean? = null, + + /* Configures whether Ory Kratos Profile Method is enabled This governs the \"selfservice.methods.profile.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_profile_enabled") val kratosSelfserviceMethodsProfileEnabled: kotlin.Boolean? = null, + + /* Configures Ory Kratos TOTP Issuer This governs the \"selfservice.methods.totp.config.issuer\" setting. */ + @SerialName(value = "kratos_selfservice_methods_totp_config_issuer") val kratosSelfserviceMethodsTotpConfigIssuer: kotlin.String? = null, + + /* Configures whether Ory Kratos TOTP Method is enabled This governs the \"selfservice.methods.totp.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_totp_enabled") val kratosSelfserviceMethodsTotpEnabled: kotlin.Boolean? = null, + + /* Configures whether Ory Kratos Webauthn is used for passwordless flows This governs the \"selfservice.methods.webauthn.config.passwordless\" setting. */ + @SerialName(value = "kratos_selfservice_methods_webauthn_config_passwordless") val kratosSelfserviceMethodsWebauthnConfigPasswordless: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Webauthn RP Display Name This governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting. */ + @SerialName(value = "kratos_selfservice_methods_webauthn_config_rp_display_name") val kratosSelfserviceMethodsWebauthnConfigRpDisplayName: kotlin.String? = null, + + /* Configures the Ory Kratos Webauthn RP Icon This governs the \"selfservice.methods.webauthn.config.rp.icon\" setting. Deprecated: This value will be ignored due to security considerations. */ + @SerialName(value = "kratos_selfservice_methods_webauthn_config_rp_icon") val kratosSelfserviceMethodsWebauthnConfigRpIcon: kotlin.String? = null, + + /* Configures the Ory Kratos Webauthn RP ID This governs the \"selfservice.methods.webauthn.config.rp.id\" setting. */ + @SerialName(value = "kratos_selfservice_methods_webauthn_config_rp_id") val kratosSelfserviceMethodsWebauthnConfigRpId: kotlin.String? = null, + + @SerialName(value = "kratos_selfservice_methods_webauthn_config_rp_origins") val kratosSelfserviceMethodsWebauthnConfigRpOrigins: kotlin.collections.List? = null, + + /* Configures whether Ory Kratos Webauthn is enabled This governs the \"selfservice.methods.webauthn.enabled\" setting. */ + @SerialName(value = "kratos_selfservice_methods_webauthn_enabled") val kratosSelfserviceMethodsWebauthnEnabled: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Session Cookie Persistent Attribute This governs the \"session.cookie.persistent\" setting. */ + @SerialName(value = "kratos_session_cookie_persistent") val kratosSessionCookiePersistent: kotlin.Boolean? = null, + + /* Configures the Ory Kratos Session Cookie SameSite Attribute This governs the \"session.cookie.same_site\" setting. */ + @SerialName(value = "kratos_session_cookie_same_site") val kratosSessionCookieSameSite: kotlin.String? = null, + + /* Configures the Ory Kratos Session Lifespan This governs the \"session.lifespan\" setting. */ + @SerialName(value = "kratos_session_lifespan") val kratosSessionLifespan: kotlin.String? = null, + + /* Configures the Ory Kratos Session Whoami AAL requirement This governs the \"session.whoami.required_aal\" setting. */ + @SerialName(value = "kratos_session_whoami_required_aal") val kratosSessionWhoamiRequiredAal: kotlin.String? = null, + + @SerialName(value = "kratos_session_whoami_tokenizer_templates") val kratosSessionWhoamiTokenizerTemplates: kotlin.collections.List? = null, + + /* The Revision's Project ID */ + @SerialName(value = "project_id") val projectId: kotlin.String? = null, + + @SerialName(value = "project_revision_hooks") val projectRevisionHooks: kotlin.collections.List? = null, + + @SerialName(value = "serve_admin_cors_allowed_origins") val serveAdminCorsAllowedOrigins: kotlin.collections.List? = null, + + /* Enable CORS headers on all admin APIs This governs the \"serve.admin.cors.enabled\" setting. */ + @SerialName(value = "serve_admin_cors_enabled") val serveAdminCorsEnabled: kotlin.Boolean? = null, + + @SerialName(value = "serve_public_cors_allowed_origins") val servePublicCorsAllowedOrigins: kotlin.collections.List? = null, + + /* Enable CORS headers on all public APIs This governs the \"serve.public.cors.enabled\" setting. */ + @SerialName(value = "serve_public_cors_enabled") val servePublicCorsEnabled: kotlin.Boolean? = null, + + /* Whether the project should employ strict security measures. Setting this to true is recommended for going into production. */ + @SerialName(value = "strict_security") val strictSecurity: kotlin.Boolean? = null, + + /* Last Time Project's Revision was Updated */ + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null + +) { + + /** + * Defines access token type This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt + * + * Values: opaque,jwt + */ + @Serializable + enum class HydraStrategiesAccessToken(val value: kotlin.String) { + @SerialName(value = "opaque") opaque("opaque"), + @SerialName(value = "jwt") jwt("jwt"); + } + /** + * Define the claim to use as the scope in the access token. This governs the \"strategies.jwt.scope_claim\" setting: list: The scope claim is an array of strings named `scope`: `{ \"scope\": [\"read\", \"write\"] }` string: The scope claim is a space delimited list of strings named `scp`: `{ \"scp\": \"read write\" }` both: The scope claim is both a space delimited list and an array of strings named `scope` and `scp`: `{ \"scope\": [\"read\", \"write\"], \"scp\": \"read write\" }` list OAuth2JWTScopeClaimList string OAuth2JWTScopeClaimString both OAuth2JWTScopeClaimBoth + * + * Values: list,string,both + */ + @Serializable + enum class HydraStrategiesJwtScopeClaim(val value: kotlin.String) { + @SerialName(value = "list") list("list"), + @SerialName(value = "string") string("string"), + @SerialName(value = "both") both("both"); + } + /** + * Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes This governs the \"strategies.scope\" setting. exact Oauth2ScopeStrategyExact wildcard Oauth2ScopeStrategyWildcard + * + * Values: exact,wildcard + */ + @Serializable + enum class HydraStrategiesScope(val value: kotlin.String) { + @SerialName(value = "exact") exact("exact"), + @SerialName(value = "wildcard") wildcard("wildcard"); + } + /** + * Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\") This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode + * + * Values: link,code + */ + @Serializable + enum class KratosSelfserviceFlowsRecoveryUse(val value: kotlin.String) { + @SerialName(value = "link") link("link"), + @SerialName(value = "code") code("code"); + } + /** + * Configures the Ory Kratos Strategy to use for Verification This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode + * + * Values: link,code + */ + @Serializable + enum class KratosSelfserviceFlowsVerificationUse(val value: kotlin.String) { + @SerialName(value = "link") link("link"), + @SerialName(value = "code") code("code"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionCourierChannel.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionCourierChannel.kt new file mode 100644 index 00000000000..a37525bcdbd --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionCourierChannel.kt @@ -0,0 +1,96 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param channelId The Channel's public ID + * @param requestConfigBody URI pointing to the JsonNet template used for HTTP body payload generation. + * @param requestConfigMethod The HTTP method to use (GET, POST, etc) for the HTTP call + * @param createdAt The creation date + * @param requestConfigAuthConfigApiKeyIn API key location Can either be \"header\" or \"query\" + * @param requestConfigAuthConfigApiKeyName API key name Only used if the auth type is api_key + * @param requestConfigAuthConfigApiKeyValue API key value Only used if the auth type is api_key + * @param requestConfigAuthConfigBasicAuthPassword Basic Auth Password Only used if the auth type is basic_auth + * @param requestConfigAuthConfigBasicAuthUser Basic Auth Username Only used if the auth type is basic_auth + * @param requestConfigAuthType HTTP Auth Method to use for the HTTP call Can either be basic_auth or api_key basic_auth CourierChannelAuthTypeBasicAuth api_key CourierChannelAuthTypeApiKey + * @param requestConfigHeaders NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- + * @param requestConfigUrl + * @param updatedAt Last upate time + */ +@Serializable + +data class NormalizedProjectRevisionCourierChannel ( + + /* The Channel's public ID */ + @SerialName(value = "channel_id") @Required val channelId: kotlin.String, + + /* URI pointing to the JsonNet template used for HTTP body payload generation. */ + @SerialName(value = "request_config_body") @Required val requestConfigBody: kotlin.String, + + /* The HTTP method to use (GET, POST, etc) for the HTTP call */ + @SerialName(value = "request_config_method") @Required val requestConfigMethod: kotlin.String, + + /* The creation date */ + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + /* API key location Can either be \"header\" or \"query\" */ + @SerialName(value = "request_config_auth_config_api_key_in") val requestConfigAuthConfigApiKeyIn: kotlin.String? = null, + + /* API key name Only used if the auth type is api_key */ + @SerialName(value = "request_config_auth_config_api_key_name") val requestConfigAuthConfigApiKeyName: kotlin.String? = null, + + /* API key value Only used if the auth type is api_key */ + @SerialName(value = "request_config_auth_config_api_key_value") val requestConfigAuthConfigApiKeyValue: kotlin.String? = null, + + /* Basic Auth Password Only used if the auth type is basic_auth */ + @SerialName(value = "request_config_auth_config_basic_auth_password") val requestConfigAuthConfigBasicAuthPassword: kotlin.String? = null, + + /* Basic Auth Username Only used if the auth type is basic_auth */ + @SerialName(value = "request_config_auth_config_basic_auth_user") val requestConfigAuthConfigBasicAuthUser: kotlin.String? = null, + + /* HTTP Auth Method to use for the HTTP call Can either be basic_auth or api_key basic_auth CourierChannelAuthTypeBasicAuth api_key CourierChannelAuthTypeApiKey */ + @SerialName(value = "request_config_auth_type") val requestConfigAuthType: NormalizedProjectRevisionCourierChannel.RequestConfigAuthType? = null, + + /* NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- */ + @SerialName(value = "request_config_headers") val requestConfigHeaders: kotlin.String? = null, + + @SerialName(value = "request_config_url") val requestConfigUrl: kotlin.String? = null, + + /* Last upate time */ + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null + +) { + + /** + * HTTP Auth Method to use for the HTTP call Can either be basic_auth or api_key basic_auth CourierChannelAuthTypeBasicAuth api_key CourierChannelAuthTypeApiKey + * + * Values: basic_auth,api_key + */ + @Serializable + enum class RequestConfigAuthType(val value: kotlin.String) { + @SerialName(value = "basic_auth") basic_auth("basic_auth"), + @SerialName(value = "api_key") api_key("api_key"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionHook.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionHook.kt new file mode 100644 index 00000000000..b512c9a3fe1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionHook.kt @@ -0,0 +1,107 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param configKey The Hooks Config Key + * @param hook The Hook Type + * @param createdAt The Project's Revision Creation Date + * @param id ID of the entry + * @param projectRevisionId The Revision's ID this schema belongs to + * @param updatedAt Last Time Project's Revision was Updated + * @param webHookConfigAuthApiKeyIn Whether to send the API Key in the HTTP Header or as a HTTP Cookie + * @param webHookConfigAuthApiKeyName The name of the api key + * @param webHookConfigAuthApiKeyValue The value of the api key + * @param webHookConfigAuthBasicAuthPassword The password to be sent in the HTTP Basic Auth Header + * @param webHookConfigAuthBasicAuthUser The username to be sent in the HTTP Basic Auth Header + * @param webHookConfigAuthType HTTP Auth Method to use for the Web-Hook + * @param webHookConfigBody URI pointing to the JsonNet template used for Web-Hook payload generation. Only used for those HTTP methods, which support HTTP body payloads. + * @param webHookConfigCanInterrupt If enabled allows the web hook to interrupt / abort the self-service flow. It only applies to certain flows (registration/verification/login/settings) and requires a valid response format. + * @param webHookConfigMethod The HTTP method to use (GET, POST, etc) for the Web-Hook + * @param webHookConfigResponseIgnore Whether to ignore the Web Hook response + * @param webHookConfigResponseParse Whether to parse the Web Hook response + * @param webHookConfigUrl The URL the Web-Hook should call + */ +@Serializable + +data class NormalizedProjectRevisionHook ( + + /* The Hooks Config Key */ + @SerialName(value = "config_key") @Required val configKey: kotlin.String, + + /* The Hook Type */ + @SerialName(value = "hook") @Required val hook: kotlin.String, + + /* The Project's Revision Creation Date */ + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + /* ID of the entry */ + @SerialName(value = "id") val id: kotlin.String? = null, + + /* The Revision's ID this schema belongs to */ + @SerialName(value = "project_revision_id") val projectRevisionId: kotlin.String? = null, + + /* Last Time Project's Revision was Updated */ + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null, + + /* Whether to send the API Key in the HTTP Header or as a HTTP Cookie */ + @SerialName(value = "web_hook_config_auth_api_key_in") val webHookConfigAuthApiKeyIn: kotlin.String? = null, + + /* The name of the api key */ + @SerialName(value = "web_hook_config_auth_api_key_name") val webHookConfigAuthApiKeyName: kotlin.String? = null, + + /* The value of the api key */ + @SerialName(value = "web_hook_config_auth_api_key_value") val webHookConfigAuthApiKeyValue: kotlin.String? = null, + + /* The password to be sent in the HTTP Basic Auth Header */ + @SerialName(value = "web_hook_config_auth_basic_auth_password") val webHookConfigAuthBasicAuthPassword: kotlin.String? = null, + + /* The username to be sent in the HTTP Basic Auth Header */ + @SerialName(value = "web_hook_config_auth_basic_auth_user") val webHookConfigAuthBasicAuthUser: kotlin.String? = null, + + /* HTTP Auth Method to use for the Web-Hook */ + @SerialName(value = "web_hook_config_auth_type") val webHookConfigAuthType: kotlin.String? = null, + + /* URI pointing to the JsonNet template used for Web-Hook payload generation. Only used for those HTTP methods, which support HTTP body payloads. */ + @SerialName(value = "web_hook_config_body") val webHookConfigBody: kotlin.String? = null, + + /* If enabled allows the web hook to interrupt / abort the self-service flow. It only applies to certain flows (registration/verification/login/settings) and requires a valid response format. */ + @SerialName(value = "web_hook_config_can_interrupt") val webHookConfigCanInterrupt: kotlin.Boolean? = null, + + /* The HTTP method to use (GET, POST, etc) for the Web-Hook */ + @SerialName(value = "web_hook_config_method") val webHookConfigMethod: kotlin.String? = null, + + /* Whether to ignore the Web Hook response */ + @SerialName(value = "web_hook_config_response_ignore") val webHookConfigResponseIgnore: kotlin.Boolean? = null, + + /* Whether to parse the Web Hook response */ + @SerialName(value = "web_hook_config_response_parse") val webHookConfigResponseParse: kotlin.Boolean? = null, + + /* The URL the Web-Hook should call */ + @SerialName(value = "web_hook_config_url") val webHookConfigUrl: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionIdentitySchema.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionIdentitySchema.kt new file mode 100644 index 00000000000..864745ebf8c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionIdentitySchema.kt @@ -0,0 +1,74 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ManagedIdentitySchema + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param createdAt The Project's Revision Creation Date + * @param id The unique ID of this entry. + * @param identitySchema + * @param identitySchemaId + * @param importId The imported (named) ID of the Identity Schema referenced in the Ory Kratos config. + * @param importUrl The ImportURL can be used to import an Identity Schema from a bse64 encoded string. In the future, this key also support HTTPS and other sources! If you import an Ory Kratos configuration, this would be akin to the `identity.schemas.#.url` key. The configuration will always return the import URL when you fetch it from the API. + * @param isDefault 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. + * @param preset Use a preset instead of a custom identity schema. + * @param projectRevisionId The Revision's ID this schema belongs to + * @param updatedAt Last Time Project's Revision was Updated + */ +@Serializable + +data class NormalizedProjectRevisionIdentitySchema ( + + /* The Project's Revision Creation Date */ + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + /* The unique ID of this entry. */ + @SerialName(value = "id") val id: kotlin.String? = null, + + @SerialName(value = "identity_schema") val identitySchema: ManagedIdentitySchema? = null, + + @SerialName(value = "identity_schema_id") val identitySchemaId: kotlin.String? = null, + + /* The imported (named) ID of the Identity Schema referenced in the Ory Kratos config. */ + @SerialName(value = "import_id") val importId: kotlin.String? = null, + + /* The ImportURL can be used to import an Identity Schema from a bse64 encoded string. In the future, this key also support HTTPS and other sources! If you import an Ory Kratos configuration, this would be akin to the `identity.schemas.#.url` key. The configuration will always return the import URL when you fetch it from the API. */ + @SerialName(value = "import_url") val importUrl: kotlin.String? = null, + + /* 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. */ + @SerialName(value = "is_default") val isDefault: kotlin.Boolean? = null, + + /* Use a preset instead of a custom identity schema. */ + @SerialName(value = "preset") val preset: kotlin.String? = null, + + /* The Revision's ID this schema belongs to */ + @SerialName(value = "project_revision_id") val projectRevisionId: kotlin.String? = null, + + /* Last Time Project's Revision was Updated */ + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionThirdPartyProvider.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionThirdPartyProvider.kt new file mode 100644 index 00000000000..49aab53aab0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionThirdPartyProvider.kt @@ -0,0 +1,147 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param additionalIdTokenAudiences + * @param applePrivateKey + * @param applePrivateKeyId Apple Private Key Identifier Sign In with Apple Private Key Identifier needed for generating a JWT token for client secret + * @param appleTeamId Apple Developer Team ID Apple Developer Team ID needed for generating a JWT token for client secret + * @param authUrl AuthURL is the authorize url, typically something like: https://example.org/oauth2/auth Should only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when `provider` is set to `generic`. + * @param azureTenant Tenant is the Azure AD Tenant to use for authentication, and must be set when `provider` is set to `microsoft`. Can be either `common`, `organizations`, `consumers` for a multitenant application or a specific tenant like `8eaef023-2b34-4da1-9baa-8bc8c9d6a490` or `contoso.onmicrosoft.com`. + * @param claimsSource + * @param clientId ClientID is the application's Client ID. + * @param clientSecret + * @param createdAt The Project's Revision Creation Date + * @param id + * @param issuerUrl IssuerURL is the OpenID Connect Server URL. You can leave this empty if `provider` is not set to `generic`. If set, neither `auth_url` nor `token_url` are required. + * @param label Label represents an optional label which can be used in the UI generation. + * @param mapperUrl Mapper specifies the JSONNet code snippet which uses the OpenID Connect Provider's data (e.g. GitHub or Google profile information) to hydrate the identity's data. + * @param organizationId + * @param pkce PKCE controls if the OpenID Connect OAuth2 flow should use PKCE (Proof Key for Code Exchange). Possible values are: `auto` (default), `never`, `force`. `auto`: PKCE is used if the provider supports it. Requires setting `issuer_url`. `never`: Disable PKCE entirely for this provider, even if the provider advertises support for it. `force`: Always use PKCE, even if the provider does not advertise support for it. OAuth2 flows will fail if the provider does not support PKCE. IMPORTANT: If you set this to `force`, you must whitelist a different return URL for your OAuth2 client in the provider's configuration. Instead of /self-service/methods/oidc/callback/, you must use /self-service/methods/oidc/callback (Note the missing path segment and no trailing slash). + * @param projectRevisionId The Revision's ID this schema belongs to + * @param provider Provider is either \"generic\" for a generic OAuth 2.0 / OpenID Connect Provider or one of: generic google github gitlab microsoft discord slack facebook vk yandex apple + * @param providerId ID is the provider's ID + * @param requestedClaims + * @param scope + * @param state State indicates the state of the provider Only providers with state `enabled` will be used for authentication enabled ThirdPartyProviderStateEnabled disabled ThirdPartyProviderStateDisabled + * @param subjectSource + * @param tokenUrl TokenURL is the token url, typically something like: https://example.org/oauth2/token Should only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when `provider` is set to `generic`. + * @param updatedAt Last Time Project's Revision was Updated + */ +@Serializable + +data class NormalizedProjectRevisionThirdPartyProvider ( + + @SerialName(value = "additional_id_token_audiences") val additionalIdTokenAudiences: kotlin.collections.List? = null, + + @SerialName(value = "apple_private_key") val applePrivateKey: kotlin.String? = null, + + /* Apple Private Key Identifier Sign In with Apple Private Key Identifier needed for generating a JWT token for client secret */ + @SerialName(value = "apple_private_key_id") val applePrivateKeyId: kotlin.String? = null, + + /* Apple Developer Team ID Apple Developer Team ID needed for generating a JWT token for client secret */ + @SerialName(value = "apple_team_id") val appleTeamId: kotlin.String? = null, + + /* AuthURL is the authorize url, typically something like: https://example.org/oauth2/auth Should only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when `provider` is set to `generic`. */ + @SerialName(value = "auth_url") val authUrl: kotlin.String? = null, + + /* Tenant is the Azure AD Tenant to use for authentication, and must be set when `provider` is set to `microsoft`. Can be either `common`, `organizations`, `consumers` for a multitenant application or a specific tenant like `8eaef023-2b34-4da1-9baa-8bc8c9d6a490` or `contoso.onmicrosoft.com`. */ + @SerialName(value = "azure_tenant") val azureTenant: kotlin.String? = null, + + @SerialName(value = "claims_source") val claimsSource: kotlin.String? = null, + + /* ClientID is the application's Client ID. */ + @SerialName(value = "client_id") val clientId: kotlin.String? = null, + + @SerialName(value = "client_secret") val clientSecret: kotlin.String? = null, + + /* The Project's Revision Creation Date */ + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + @SerialName(value = "id") val id: kotlin.String? = null, + + /* IssuerURL is the OpenID Connect Server URL. You can leave this empty if `provider` is not set to `generic`. If set, neither `auth_url` nor `token_url` are required. */ + @SerialName(value = "issuer_url") val issuerUrl: kotlin.String? = null, + + /* Label represents an optional label which can be used in the UI generation. */ + @SerialName(value = "label") val label: kotlin.String? = null, + + /* Mapper specifies the JSONNet code snippet which uses the OpenID Connect Provider's data (e.g. GitHub or Google profile information) to hydrate the identity's data. */ + @SerialName(value = "mapper_url") val mapperUrl: kotlin.String? = null, + + @SerialName(value = "organization_id") val organizationId: kotlin.String? = null, + + /* PKCE controls if the OpenID Connect OAuth2 flow should use PKCE (Proof Key for Code Exchange). Possible values are: `auto` (default), `never`, `force`. `auto`: PKCE is used if the provider supports it. Requires setting `issuer_url`. `never`: Disable PKCE entirely for this provider, even if the provider advertises support for it. `force`: Always use PKCE, even if the provider does not advertise support for it. OAuth2 flows will fail if the provider does not support PKCE. IMPORTANT: If you set this to `force`, you must whitelist a different return URL for your OAuth2 client in the provider's configuration. Instead of /self-service/methods/oidc/callback/, you must use /self-service/methods/oidc/callback (Note the missing path segment and no trailing slash). */ + @SerialName(value = "pkce") val pkce: NormalizedProjectRevisionThirdPartyProvider.Pkce? = null, + + /* The Revision's ID this schema belongs to */ + @SerialName(value = "project_revision_id") val projectRevisionId: kotlin.String? = null, + + /* Provider is either \"generic\" for a generic OAuth 2.0 / OpenID Connect Provider or one of: generic google github gitlab microsoft discord slack facebook vk yandex apple */ + @SerialName(value = "provider") val provider: kotlin.String? = null, + + /* ID is the provider's ID */ + @SerialName(value = "provider_id") val providerId: kotlin.String? = null, + + @SerialName(value = "requested_claims") val requestedClaims: kotlin.String? = null, + + @SerialName(value = "scope") val scope: kotlin.collections.List? = null, + + /* State indicates the state of the provider Only providers with state `enabled` will be used for authentication enabled ThirdPartyProviderStateEnabled disabled ThirdPartyProviderStateDisabled */ + @SerialName(value = "state") val state: NormalizedProjectRevisionThirdPartyProvider.State? = null, + + @SerialName(value = "subject_source") val subjectSource: kotlin.String? = null, + + /* TokenURL is the token url, typically something like: https://example.org/oauth2/token Should only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when `provider` is set to `generic`. */ + @SerialName(value = "token_url") val tokenUrl: kotlin.String? = null, + + /* Last Time Project's Revision was Updated */ + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null + +) { + + /** + * PKCE controls if the OpenID Connect OAuth2 flow should use PKCE (Proof Key for Code Exchange). Possible values are: `auto` (default), `never`, `force`. `auto`: PKCE is used if the provider supports it. Requires setting `issuer_url`. `never`: Disable PKCE entirely for this provider, even if the provider advertises support for it. `force`: Always use PKCE, even if the provider does not advertise support for it. OAuth2 flows will fail if the provider does not support PKCE. IMPORTANT: If you set this to `force`, you must whitelist a different return URL for your OAuth2 client in the provider's configuration. Instead of /self-service/methods/oidc/callback/, you must use /self-service/methods/oidc/callback (Note the missing path segment and no trailing slash). + * + * Values: auto,never,force + */ + @Serializable + enum class Pkce(val value: kotlin.String) { + @SerialName(value = "auto") auto("auto"), + @SerialName(value = "never") never("never"), + @SerialName(value = "force") force("force"); + } + /** + * State indicates the state of the provider Only providers with state `enabled` will be used for authentication enabled ThirdPartyProviderStateEnabled disabled ThirdPartyProviderStateDisabled + * + * Values: enabled,disabled + */ + @Serializable + enum class State(val value: kotlin.String) { + @SerialName(value = "enabled") enabled("enabled"), + @SerialName(value = "disabled") disabled("disabled"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionTokenizerTemplate.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionTokenizerTemplate.kt new file mode 100644 index 00000000000..cbfe9548a62 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionTokenizerTemplate.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param claimsMapperUrl Claims mapper URL + * @param createdAt The Project's Revision Creation Date + * @param id The revision ID. + * @param jwksUrl JSON Web Key URL + * @param key The unique key of the template + * @param projectRevisionId The Revision's ID this schema belongs to + * @param ttl Token time to live + * @param updatedAt Last Time Project's Revision was Updated + */ +@Serializable + +data class NormalizedProjectRevisionTokenizerTemplate ( + + /* Claims mapper URL */ + @SerialName(value = "claims_mapper_url") val claimsMapperUrl: kotlin.String? = null, + + /* The Project's Revision Creation Date */ + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + /* The revision ID. */ + @SerialName(value = "id") val id: kotlin.String? = null, + + /* JSON Web Key URL */ + @SerialName(value = "jwks_url") val jwksUrl: kotlin.String? = null, + + /* The unique key of the template */ + @SerialName(value = "key") val key: kotlin.String? = null, + + /* The Revision's ID this schema belongs to */ + @SerialName(value = "project_revision_id") val projectRevisionId: kotlin.String? = null, + + /* Token time to live */ + @SerialName(value = "ttl") val ttl: kotlin.String? = "1m", + + /* Last Time Project's Revision was Updated */ + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2Client.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2Client.kt new file mode 100644 index 00000000000..aeb13a9bb25 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2Client.kt @@ -0,0 +1,208 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * OAuth 2.0 Clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are generated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities. + * + * @param accessTokenStrategy OAuth 2.0 Access Token Strategy AccessTokenStrategy is the strategy used to generate access tokens. Valid options are `jwt` and `opaque`. `jwt` is a bad idea, see https://www.ory.sh/docs/hydra/advanced#json-web-tokens Setting the stragegy here overrides the global setting in `strategies.access_token`. + * @param allowedCorsOrigins + * @param audience + * @param authorizationCodeGrantAccessTokenLifespan + * @param authorizationCodeGrantIdTokenLifespan + * @param authorizationCodeGrantRefreshTokenLifespan + * @param backchannelLogoutSessionRequired OpenID Connect Back-Channel Logout Session Required Boolean value specifying whether the RP requires that a sid (session ID) Claim be included in the Logout Token to identify the RP session with the OP when the backchannel_logout_uri is used. If omitted, the default value is false. + * @param backchannelLogoutUri OpenID Connect Back-Channel Logout URI RP URL that will cause the RP to log itself out when sent a Logout Token by the OP. + * @param clientCredentialsGrantAccessTokenLifespan + * @param clientId OAuth 2.0 Client ID The ID is immutable. If no ID is provided, a UUID4 will be generated. + * @param clientName OAuth 2.0 Client Name The human-readable name of the client to be presented to the end-user during authorization. + * @param clientSecret OAuth 2.0 Client Secret The secret will be included in the create request as cleartext, and then never again. The secret is kept in hashed format and is not recoverable once lost. + * @param clientSecretExpiresAt OAuth 2.0 Client Secret Expires At The field is currently not supported and its value is always 0. + * @param clientUri OAuth 2.0 Client URI ClientURI is a URL string of a web page providing information about the client. If present, the server SHOULD display this URL to the end-user in a clickable fashion. + * @param contacts + * @param createdAt OAuth 2.0 Client Creation Date CreatedAt returns the timestamp of the client's creation. + * @param frontchannelLogoutSessionRequired OpenID Connect Front-Channel Logout Session Required Boolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters be included to identify the RP session with the OP when the frontchannel_logout_uri is used. If omitted, the default value is false. + * @param frontchannelLogoutUri OpenID Connect Front-Channel Logout URI RP URL that will cause the RP to log itself out when rendered in an iframe by the OP. An iss (issuer) query parameter and a sid (session ID) query parameter MAY be included by the OP to enable the RP to validate the request and to determine which of the potentially multiple sessions is to be logged out; if either is included, both MUST be. + * @param grantTypes + * @param implicitGrantAccessTokenLifespan + * @param implicitGrantIdTokenLifespan + * @param jwks OAuth 2.0 Client JSON Web Key Set Client's JSON Web Key Set [JWK] document, passed by value. The semantics of the jwks parameter are the same as the jwks_uri parameter, other than that the JWK Set is passed by value, rather than by reference. This parameter is intended only to be used by Clients that, for some reason, are unable to use the jwks_uri parameter, for instance, by native applications that might not have a location to host the contents of the JWK Set. If a Client can use jwks_uri, it MUST NOT use jwks. One significant downside of jwks is that it does not enable key rotation (which jwks_uri does, as described in Section 10 of OpenID Connect Core 1.0 [OpenID.Core]). The jwks_uri and jwks parameters MUST NOT be used together. + * @param jwksUri OAuth 2.0 Client JSON Web Key Set URL URL for the Client's JSON Web Key Set [JWK] document. If the Client signs requests to the Server, it contains the signing key(s) the Server uses to validate signatures from the Client. The JWK Set MAY also contain the Client's encryption keys(s), which are used by the Server to encrypt responses to the Client. When both signing and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate. + * @param jwtBearerGrantAccessTokenLifespan + * @param logoUri OAuth 2.0 Client Logo URI A URL string referencing the client's logo. + * @param metadata + * @param owner OAuth 2.0 Client Owner Owner is a string identifying the owner of the OAuth 2.0 Client. + * @param policyUri OAuth 2.0 Client Policy URI PolicyURI is a URL string that points to a human-readable privacy policy document that describes how the deployment organization collects, uses, retains, and discloses personal data. + * @param postLogoutRedirectUris + * @param redirectUris + * @param refreshTokenGrantAccessTokenLifespan + * @param refreshTokenGrantIdTokenLifespan + * @param refreshTokenGrantRefreshTokenLifespan + * @param registrationAccessToken OpenID Connect Dynamic Client Registration Access Token RegistrationAccessToken can be used to update, get, or delete the OAuth2 Client. It is sent when creating a client using Dynamic Client Registration. + * @param registrationClientUri OpenID Connect Dynamic Client Registration URL RegistrationClientURI is the URL used to update, get, or delete the OAuth2 Client. + * @param requestObjectSigningAlg OpenID Connect Request Object Signing Algorithm JWS [JWS] alg algorithm [JWA] that MUST be used for signing Request Objects sent to the OP. All Request Objects from this Client MUST be rejected, if not signed with this algorithm. + * @param requestUris + * @param responseTypes + * @param scope OAuth 2.0 Client Scope Scope is a string containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens. + * @param sectorIdentifierUri OpenID Connect Sector Identifier URI URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. The URL references a file with a single JSON array of redirect_uri values. + * @param skipConsent SkipConsent skips the consent screen for this client. This field can only be set from the admin API. + * @param skipLogoutConsent SkipLogoutConsent skips the logout consent screen for this client. This field can only be set from the admin API. + * @param subjectType OpenID Connect Subject Type The `subject_types_supported` Discovery parameter contains a list of the supported subject_type values for this server. Valid types include `pairwise` and `public`. + * @param tokenEndpointAuthMethod OAuth 2.0 Token Endpoint Authentication Method Requested Client Authentication method for the Token Endpoint. The options are: `client_secret_basic`: (default) Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` encoded in the HTTP Authorization header. `client_secret_post`: Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` in the HTTP body. `private_key_jwt`: Use JSON Web Tokens to authenticate the client. `none`: Used for public clients (native apps, mobile apps) which can not have secrets. + * @param tokenEndpointAuthSigningAlg OAuth 2.0 Token Endpoint Signing Algorithm Requested Client Authentication signing algorithm for the Token Endpoint. + * @param tosUri OAuth 2.0 Client Terms of Service URI A URL string pointing to a human-readable terms of service document for the client that describes a contractual relationship between the end-user and the client that the end-user accepts when authorizing the client. + * @param updatedAt OAuth 2.0 Client Last Update Date UpdatedAt returns the timestamp of the last update. + * @param userinfoSignedResponseAlg OpenID Connect Request Userinfo Signed Response Algorithm JWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. If this is specified, the response will be JWT [JWT] serialized, and signed using JWS. The default, if omitted, is for the UserInfo Response to return the Claims as a UTF-8 encoded JSON object using the application/json content-type. + */ +@Serializable + +data class OAuth2Client ( + + /* OAuth 2.0 Access Token Strategy AccessTokenStrategy is the strategy used to generate access tokens. Valid options are `jwt` and `opaque`. `jwt` is a bad idea, see https://www.ory.sh/docs/hydra/advanced#json-web-tokens Setting the stragegy here overrides the global setting in `strategies.access_token`. */ + @SerialName(value = "access_token_strategy") val accessTokenStrategy: kotlin.String? = null, + + @SerialName(value = "allowed_cors_origins") val allowedCorsOrigins: kotlin.collections.List? = null, + + @SerialName(value = "audience") val audience: kotlin.collections.List? = null, + + @SerialName(value = "authorization_code_grant_access_token_lifespan") val authorizationCodeGrantAccessTokenLifespan: kotlin.String? = null, + + @SerialName(value = "authorization_code_grant_id_token_lifespan") val authorizationCodeGrantIdTokenLifespan: kotlin.String? = null, + + @SerialName(value = "authorization_code_grant_refresh_token_lifespan") val authorizationCodeGrantRefreshTokenLifespan: kotlin.String? = null, + + /* OpenID Connect Back-Channel Logout Session Required Boolean value specifying whether the RP requires that a sid (session ID) Claim be included in the Logout Token to identify the RP session with the OP when the backchannel_logout_uri is used. If omitted, the default value is false. */ + @SerialName(value = "backchannel_logout_session_required") val backchannelLogoutSessionRequired: kotlin.Boolean? = null, + + /* OpenID Connect Back-Channel Logout URI RP URL that will cause the RP to log itself out when sent a Logout Token by the OP. */ + @SerialName(value = "backchannel_logout_uri") val backchannelLogoutUri: kotlin.String? = null, + + @SerialName(value = "client_credentials_grant_access_token_lifespan") val clientCredentialsGrantAccessTokenLifespan: kotlin.String? = null, + + /* OAuth 2.0 Client ID The ID is immutable. If no ID is provided, a UUID4 will be generated. */ + @SerialName(value = "client_id") val clientId: kotlin.String? = null, + + /* OAuth 2.0 Client Name The human-readable name of the client to be presented to the end-user during authorization. */ + @SerialName(value = "client_name") val clientName: kotlin.String? = null, + + /* OAuth 2.0 Client Secret The secret will be included in the create request as cleartext, and then never again. The secret is kept in hashed format and is not recoverable once lost. */ + @SerialName(value = "client_secret") val clientSecret: kotlin.String? = null, + + /* OAuth 2.0 Client Secret Expires At The field is currently not supported and its value is always 0. */ + @SerialName(value = "client_secret_expires_at") val clientSecretExpiresAt: kotlin.Long? = null, + + /* OAuth 2.0 Client URI ClientURI is a URL string of a web page providing information about the client. If present, the server SHOULD display this URL to the end-user in a clickable fashion. */ + @SerialName(value = "client_uri") val clientUri: kotlin.String? = null, + + @SerialName(value = "contacts") val contacts: kotlin.collections.List? = null, + + /* OAuth 2.0 Client Creation Date CreatedAt returns the timestamp of the client's creation. */ + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + /* OpenID Connect Front-Channel Logout Session Required Boolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters be included to identify the RP session with the OP when the frontchannel_logout_uri is used. If omitted, the default value is false. */ + @SerialName(value = "frontchannel_logout_session_required") val frontchannelLogoutSessionRequired: kotlin.Boolean? = null, + + /* OpenID Connect Front-Channel Logout URI RP URL that will cause the RP to log itself out when rendered in an iframe by the OP. An iss (issuer) query parameter and a sid (session ID) query parameter MAY be included by the OP to enable the RP to validate the request and to determine which of the potentially multiple sessions is to be logged out; if either is included, both MUST be. */ + @SerialName(value = "frontchannel_logout_uri") val frontchannelLogoutUri: kotlin.String? = null, + + @SerialName(value = "grant_types") val grantTypes: kotlin.collections.List? = null, + + @SerialName(value = "implicit_grant_access_token_lifespan") val implicitGrantAccessTokenLifespan: kotlin.String? = null, + + @SerialName(value = "implicit_grant_id_token_lifespan") val implicitGrantIdTokenLifespan: kotlin.String? = null, + + /* OAuth 2.0 Client JSON Web Key Set Client's JSON Web Key Set [JWK] document, passed by value. The semantics of the jwks parameter are the same as the jwks_uri parameter, other than that the JWK Set is passed by value, rather than by reference. This parameter is intended only to be used by Clients that, for some reason, are unable to use the jwks_uri parameter, for instance, by native applications that might not have a location to host the contents of the JWK Set. If a Client can use jwks_uri, it MUST NOT use jwks. One significant downside of jwks is that it does not enable key rotation (which jwks_uri does, as described in Section 10 of OpenID Connect Core 1.0 [OpenID.Core]). The jwks_uri and jwks parameters MUST NOT be used together. */ + @SerialName(value = "jwks") val jwks: kotlin.Any? = null, + + /* OAuth 2.0 Client JSON Web Key Set URL URL for the Client's JSON Web Key Set [JWK] document. If the Client signs requests to the Server, it contains the signing key(s) the Server uses to validate signatures from the Client. The JWK Set MAY also contain the Client's encryption keys(s), which are used by the Server to encrypt responses to the Client. When both signing and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate. */ + @SerialName(value = "jwks_uri") val jwksUri: kotlin.String? = null, + + @SerialName(value = "jwt_bearer_grant_access_token_lifespan") val jwtBearerGrantAccessTokenLifespan: kotlin.String? = null, + + /* OAuth 2.0 Client Logo URI A URL string referencing the client's logo. */ + @SerialName(value = "logo_uri") val logoUri: kotlin.String? = null, + + @SerialName(value = "metadata") val metadata: kotlin.String? = null, + + /* OAuth 2.0 Client Owner Owner is a string identifying the owner of the OAuth 2.0 Client. */ + @SerialName(value = "owner") val owner: kotlin.String? = null, + + /* OAuth 2.0 Client Policy URI PolicyURI is a URL string that points to a human-readable privacy policy document that describes how the deployment organization collects, uses, retains, and discloses personal data. */ + @SerialName(value = "policy_uri") val policyUri: kotlin.String? = null, + + @SerialName(value = "post_logout_redirect_uris") val postLogoutRedirectUris: kotlin.collections.List? = null, + + @SerialName(value = "redirect_uris") val redirectUris: kotlin.collections.List? = null, + + @SerialName(value = "refresh_token_grant_access_token_lifespan") val refreshTokenGrantAccessTokenLifespan: kotlin.String? = null, + + @SerialName(value = "refresh_token_grant_id_token_lifespan") val refreshTokenGrantIdTokenLifespan: kotlin.String? = null, + + @SerialName(value = "refresh_token_grant_refresh_token_lifespan") val refreshTokenGrantRefreshTokenLifespan: kotlin.String? = null, + + /* OpenID Connect Dynamic Client Registration Access Token RegistrationAccessToken can be used to update, get, or delete the OAuth2 Client. It is sent when creating a client using Dynamic Client Registration. */ + @SerialName(value = "registration_access_token") val registrationAccessToken: kotlin.String? = null, + + /* OpenID Connect Dynamic Client Registration URL RegistrationClientURI is the URL used to update, get, or delete the OAuth2 Client. */ + @SerialName(value = "registration_client_uri") val registrationClientUri: kotlin.String? = null, + + /* OpenID Connect Request Object Signing Algorithm JWS [JWS] alg algorithm [JWA] that MUST be used for signing Request Objects sent to the OP. All Request Objects from this Client MUST be rejected, if not signed with this algorithm. */ + @SerialName(value = "request_object_signing_alg") val requestObjectSigningAlg: kotlin.String? = null, + + @SerialName(value = "request_uris") val requestUris: kotlin.collections.List? = null, + + @SerialName(value = "response_types") val responseTypes: kotlin.collections.List? = null, + + /* OAuth 2.0 Client Scope Scope is a string containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens. */ + @SerialName(value = "scope") val scope: kotlin.String? = null, + + /* OpenID Connect Sector Identifier URI URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. The URL references a file with a single JSON array of redirect_uri values. */ + @SerialName(value = "sector_identifier_uri") val sectorIdentifierUri: kotlin.String? = null, + + /* SkipConsent skips the consent screen for this client. This field can only be set from the admin API. */ + @SerialName(value = "skip_consent") val skipConsent: kotlin.Boolean? = null, + + /* SkipLogoutConsent skips the logout consent screen for this client. This field can only be set from the admin API. */ + @SerialName(value = "skip_logout_consent") val skipLogoutConsent: kotlin.Boolean? = null, + + /* OpenID Connect Subject Type The `subject_types_supported` Discovery parameter contains a list of the supported subject_type values for this server. Valid types include `pairwise` and `public`. */ + @SerialName(value = "subject_type") val subjectType: kotlin.String? = null, + + /* OAuth 2.0 Token Endpoint Authentication Method Requested Client Authentication method for the Token Endpoint. The options are: `client_secret_basic`: (default) Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` encoded in the HTTP Authorization header. `client_secret_post`: Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` in the HTTP body. `private_key_jwt`: Use JSON Web Tokens to authenticate the client. `none`: Used for public clients (native apps, mobile apps) which can not have secrets. */ + @SerialName(value = "token_endpoint_auth_method") val tokenEndpointAuthMethod: kotlin.String? = "client_secret_basic", + + /* OAuth 2.0 Token Endpoint Signing Algorithm Requested Client Authentication signing algorithm for the Token Endpoint. */ + @SerialName(value = "token_endpoint_auth_signing_alg") val tokenEndpointAuthSigningAlg: kotlin.String? = null, + + /* OAuth 2.0 Client Terms of Service URI A URL string pointing to a human-readable terms of service document for the client that describes a contractual relationship between the end-user and the client that the end-user accepts when authorizing the client. */ + @SerialName(value = "tos_uri") val tosUri: kotlin.String? = null, + + /* OAuth 2.0 Client Last Update Date UpdatedAt returns the timestamp of the last update. */ + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null, + + /* OpenID Connect Request Userinfo Signed Response Algorithm JWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. If this is specified, the response will be JWT [JWT] serialized, and signed using JWS. The default, if omitted, is for the UserInfo Response to return the Claims as a UTF-8 encoded JSON object using the application/json content-type. */ + @SerialName(value = "userinfo_signed_response_alg") val userinfoSignedResponseAlg: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ClientTokenLifespans.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ClientTokenLifespans.kt new file mode 100644 index 00000000000..e6ec319368c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ClientTokenLifespans.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Lifespans of different token types issued for this OAuth 2.0 Client. + * + * @param authorizationCodeGrantAccessTokenLifespan + * @param authorizationCodeGrantIdTokenLifespan + * @param authorizationCodeGrantRefreshTokenLifespan + * @param clientCredentialsGrantAccessTokenLifespan + * @param implicitGrantAccessTokenLifespan + * @param implicitGrantIdTokenLifespan + * @param jwtBearerGrantAccessTokenLifespan + * @param refreshTokenGrantAccessTokenLifespan + * @param refreshTokenGrantIdTokenLifespan + * @param refreshTokenGrantRefreshTokenLifespan + */ +@Serializable + +data class OAuth2ClientTokenLifespans ( + + @SerialName(value = "authorization_code_grant_access_token_lifespan") val authorizationCodeGrantAccessTokenLifespan: kotlin.String? = null, + + @SerialName(value = "authorization_code_grant_id_token_lifespan") val authorizationCodeGrantIdTokenLifespan: kotlin.String? = null, + + @SerialName(value = "authorization_code_grant_refresh_token_lifespan") val authorizationCodeGrantRefreshTokenLifespan: kotlin.String? = null, + + @SerialName(value = "client_credentials_grant_access_token_lifespan") val clientCredentialsGrantAccessTokenLifespan: kotlin.String? = null, + + @SerialName(value = "implicit_grant_access_token_lifespan") val implicitGrantAccessTokenLifespan: kotlin.String? = null, + + @SerialName(value = "implicit_grant_id_token_lifespan") val implicitGrantIdTokenLifespan: kotlin.String? = null, + + @SerialName(value = "jwt_bearer_grant_access_token_lifespan") val jwtBearerGrantAccessTokenLifespan: kotlin.String? = null, + + @SerialName(value = "refresh_token_grant_access_token_lifespan") val refreshTokenGrantAccessTokenLifespan: kotlin.String? = null, + + @SerialName(value = "refresh_token_grant_id_token_lifespan") val refreshTokenGrantIdTokenLifespan: kotlin.String? = null, + + @SerialName(value = "refresh_token_grant_refresh_token_lifespan") val refreshTokenGrantRefreshTokenLifespan: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentRequest.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentRequest.kt new file mode 100644 index 00000000000..5cc9bdc000e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentRequest.kt @@ -0,0 +1,83 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.OAuth2Client +import sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentRequestOpenIDConnectContext + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param challenge ID is the identifier (\"authorization challenge\") of the consent authorization request. It is used to identify the session. + * @param acr ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication. + * @param amr + * @param client + * @param context + * @param loginChallenge LoginChallenge is the login challenge this consent challenge belongs to. It can be used to associate a login and consent request in the login & consent app. + * @param loginSessionId LoginSessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \"sid\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user. + * @param oidcContext + * @param requestUrl RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters. + * @param requestedAccessTokenAudience + * @param requestedScope + * @param skip Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you must not ask the user to grant the requested scopes. You must however either allow or deny the consent request using the usual API call. + * @param subject Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client. + */ +@Serializable + +data class OAuth2ConsentRequest ( + + /* ID is the identifier (\"authorization challenge\") of the consent authorization request. It is used to identify the session. */ + @SerialName(value = "challenge") @Required val challenge: kotlin.String, + + /* ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication. */ + @SerialName(value = "acr") val acr: kotlin.String? = null, + + @SerialName(value = "amr") val amr: kotlin.collections.List? = null, + + @SerialName(value = "client") val client: OAuth2Client? = null, + + @SerialName(value = "context") val context: kotlin.String? = null, + + /* LoginChallenge is the login challenge this consent challenge belongs to. It can be used to associate a login and consent request in the login & consent app. */ + @SerialName(value = "login_challenge") val loginChallenge: kotlin.String? = null, + + /* LoginSessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \"sid\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user. */ + @SerialName(value = "login_session_id") val loginSessionId: kotlin.String? = null, + + @SerialName(value = "oidc_context") val oidcContext: OAuth2ConsentRequestOpenIDConnectContext? = null, + + /* RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters. */ + @SerialName(value = "request_url") val requestUrl: kotlin.String? = null, + + @SerialName(value = "requested_access_token_audience") val requestedAccessTokenAudience: kotlin.collections.List? = null, + + @SerialName(value = "requested_scope") val requestedScope: kotlin.collections.List? = null, + + /* Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you must not ask the user to grant the requested scopes. You must however either allow or deny the consent request using the usual API call. */ + @SerialName(value = "skip") val skip: kotlin.Boolean? = null, + + /* Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client. */ + @SerialName(value = "subject") val subject: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentRequestOpenIDConnectContext.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentRequestOpenIDConnectContext.kt new file mode 100644 index 00000000000..df703169492 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentRequestOpenIDConnectContext.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param acrValues ACRValues is the Authentication AuthorizationContext Class Reference requested in the OAuth 2.0 Authorization request. It is a parameter defined by OpenID Connect and expresses which level of authentication (e.g. 2FA) is required. OpenID Connect defines it as follows: > Requested Authentication AuthorizationContext Class Reference values. Space-separated string that specifies the acr values that the Authorization Server is being requested to use for processing this Authentication Request, with the values appearing in order of preference. The Authentication AuthorizationContext Class satisfied by the authentication performed is returned as the acr Claim Value, as specified in Section 2. The acr Claim is requested as a Voluntary Claim by this parameter. + * @param display Display is a string value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User. The defined values are: page: The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view. If the display parameter is not specified, this is the default display mode. popup: The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over. touch: The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface. wap: The Authorization Server SHOULD display the authentication and consent UI consistent with a \"feature phone\" type display. The Authorization Server MAY also attempt to detect the capabilities of the User Agent and present an appropriate display. + * @param idTokenHintClaims IDTokenHintClaims are the claims of the ID Token previously issued by the Authorization Server being passed as a hint about the End-User's current or past authenticated session with the Client. + * @param loginHint LoginHint hints about the login identifier the End-User might use to log in (if necessary). This hint can be used by an RP if it first asks the End-User for their e-mail address (or other identifier) and then wants to pass that value as a hint to the discovered authorization service. This value MAY also be a phone number in the format specified for the phone_number Claim. The use of this parameter is optional. + * @param uiLocales UILocales is the End-User'id preferred languages and scripts for the user interface, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For instance, the value \"fr-CA fr en\" represents a preference for French as spoken in Canada, then French (without a region designation), followed by English (without a region designation). An error SHOULD NOT result if some or all of the requested locales are not supported by the OpenID Provider. + */ +@Serializable + +data class OAuth2ConsentRequestOpenIDConnectContext ( + + /* ACRValues is the Authentication AuthorizationContext Class Reference requested in the OAuth 2.0 Authorization request. It is a parameter defined by OpenID Connect and expresses which level of authentication (e.g. 2FA) is required. OpenID Connect defines it as follows: > Requested Authentication AuthorizationContext Class Reference values. Space-separated string that specifies the acr values that the Authorization Server is being requested to use for processing this Authentication Request, with the values appearing in order of preference. The Authentication AuthorizationContext Class satisfied by the authentication performed is returned as the acr Claim Value, as specified in Section 2. The acr Claim is requested as a Voluntary Claim by this parameter. */ + @SerialName(value = "acr_values") val acrValues: kotlin.collections.List? = null, + + /* Display is a string value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User. The defined values are: page: The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view. If the display parameter is not specified, this is the default display mode. popup: The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over. touch: The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface. wap: The Authorization Server SHOULD display the authentication and consent UI consistent with a \"feature phone\" type display. The Authorization Server MAY also attempt to detect the capabilities of the User Agent and present an appropriate display. */ + @SerialName(value = "display") val display: kotlin.String? = null, + + /* IDTokenHintClaims are the claims of the ID Token previously issued by the Authorization Server being passed as a hint about the End-User's current or past authenticated session with the Client. */ + @SerialName(value = "id_token_hint_claims") val idTokenHintClaims: kotlin.collections.Map? = null, + + /* LoginHint hints about the login identifier the End-User might use to log in (if necessary). This hint can be used by an RP if it first asks the End-User for their e-mail address (or other identifier) and then wants to pass that value as a hint to the discovered authorization service. This value MAY also be a phone number in the format specified for the phone_number Claim. The use of this parameter is optional. */ + @SerialName(value = "login_hint") val loginHint: kotlin.String? = null, + + /* UILocales is the End-User'id preferred languages and scripts for the user interface, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For instance, the value \"fr-CA fr en\" represents a preference for French as spoken in Canada, then French (without a region designation), followed by English (without a region designation). An error SHOULD NOT result if some or all of the requested locales are not supported by the OpenID Provider. */ + @SerialName(value = "ui_locales") val uiLocales: kotlin.collections.List? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentSession.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentSession.kt new file mode 100644 index 00000000000..ba9d841a4b5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentSession.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.AcceptOAuth2ConsentRequestSession +import sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentRequest +import sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentSessionExpiresAt + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * A completed OAuth 2.0 Consent Session. + * + * @param consentRequest + * @param context + * @param expiresAt + * @param grantAccessTokenAudience + * @param grantScope + * @param handledAt + * @param remember Remember Consent Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same client asks the same user for the same, or a subset of, scope. + * @param rememberFor Remember Consent For RememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the authorization will be remembered indefinitely. + * @param session + */ +@Serializable + +data class OAuth2ConsentSession ( + + @SerialName(value = "consent_request") val consentRequest: OAuth2ConsentRequest? = null, + + @SerialName(value = "context") val context: kotlin.String? = null, + + @SerialName(value = "expires_at") val expiresAt: OAuth2ConsentSessionExpiresAt? = null, + + @SerialName(value = "grant_access_token_audience") val grantAccessTokenAudience: kotlin.collections.List? = null, + + @SerialName(value = "grant_scope") val grantScope: kotlin.collections.List? = null, + + @SerialName(value = "handled_at") val handledAt: kotlinx.datetime.Instant? = null, + + /* Remember Consent Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same client asks the same user for the same, or a subset of, scope. */ + @SerialName(value = "remember") val remember: kotlin.Boolean? = null, + + /* Remember Consent For RememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the authorization will be remembered indefinitely. */ + @SerialName(value = "remember_for") val rememberFor: kotlin.Long? = null, + + @SerialName(value = "session") val session: AcceptOAuth2ConsentRequestSession? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentSessionExpiresAt.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentSessionExpiresAt.kt new file mode 100644 index 00000000000..0dd86272417 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentSessionExpiresAt.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param accessToken + * @param authorizeCode + * @param idToken + * @param parContext + * @param refreshToken + */ +@Serializable + +data class OAuth2ConsentSessionExpiresAt ( + + @SerialName(value = "access_token") val accessToken: kotlinx.datetime.Instant? = null, + + @SerialName(value = "authorize_code") val authorizeCode: kotlinx.datetime.Instant? = null, + + @SerialName(value = "id_token") val idToken: kotlinx.datetime.Instant? = null, + + @SerialName(value = "par_context") val parContext: kotlinx.datetime.Instant? = null, + + @SerialName(value = "refresh_token") val refreshToken: kotlinx.datetime.Instant? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2LoginRequest.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2LoginRequest.kt new file mode 100644 index 00000000000..812ad7d718d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2LoginRequest.kt @@ -0,0 +1,69 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.OAuth2Client +import sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentRequestOpenIDConnectContext + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param challenge ID is the identifier (\"login challenge\") of the login request. It is used to identify the session. + * @param client + * @param requestUrl RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters. + * @param skip Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you can skip asking the user to grant the requested scopes, and simply forward the user to the redirect URL. This feature allows you to update / set session information. + * @param subject Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client. If this value is set and `skip` is true, you MUST include this subject type when accepting the login request, or the request will fail. + * @param oidcContext + * @param requestedAccessTokenAudience + * @param requestedScope + * @param sessionId SessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \"sid\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user. + */ +@Serializable + +data class OAuth2LoginRequest ( + + /* ID is the identifier (\"login challenge\") of the login request. It is used to identify the session. */ + @SerialName(value = "challenge") @Required val challenge: kotlin.String, + + @SerialName(value = "client") @Required val client: OAuth2Client, + + /* RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters. */ + @SerialName(value = "request_url") @Required val requestUrl: kotlin.String, + + /* Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you can skip asking the user to grant the requested scopes, and simply forward the user to the redirect URL. This feature allows you to update / set session information. */ + @SerialName(value = "skip") @Required val skip: kotlin.Boolean, + + /* Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client. If this value is set and `skip` is true, you MUST include this subject type when accepting the login request, or the request will fail. */ + @SerialName(value = "subject") @Required val subject: kotlin.String, + + @SerialName(value = "oidc_context") val oidcContext: OAuth2ConsentRequestOpenIDConnectContext? = null, + + @SerialName(value = "requested_access_token_audience") val requestedAccessTokenAudience: kotlin.collections.List? = null, + + @SerialName(value = "requested_scope") val requestedScope: kotlin.collections.List? = null, + + /* SessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \"sid\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user. */ + @SerialName(value = "session_id") val sessionId: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2LogoutRequest.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2LogoutRequest.kt new file mode 100644 index 00000000000..b59f680f13b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2LogoutRequest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.OAuth2Client + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param challenge Challenge is the identifier (\"logout challenge\") of the logout authentication request. It is used to identify the session. + * @param client + * @param requestUrl RequestURL is the original Logout URL requested. + * @param rpInitiated RPInitiated is set to true if the request was initiated by a Relying Party (RP), also known as an OAuth 2.0 Client. + * @param sid SessionID is the login session ID that was requested to log out. + * @param subject Subject is the user for whom the logout was request. + */ +@Serializable + +data class OAuth2LogoutRequest ( + + /* Challenge is the identifier (\"logout challenge\") of the logout authentication request. It is used to identify the session. */ + @SerialName(value = "challenge") val challenge: kotlin.String? = null, + + @SerialName(value = "client") val client: OAuth2Client? = null, + + /* RequestURL is the original Logout URL requested. */ + @SerialName(value = "request_url") val requestUrl: kotlin.String? = null, + + /* RPInitiated is set to true if the request was initiated by a Relying Party (RP), also known as an OAuth 2.0 Client. */ + @SerialName(value = "rp_initiated") val rpInitiated: kotlin.Boolean? = null, + + /* SessionID is the login session ID that was requested to log out. */ + @SerialName(value = "sid") val sid: kotlin.String? = null, + + /* Subject is the user for whom the logout was request. */ + @SerialName(value = "subject") val subject: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2RedirectTo.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2RedirectTo.kt new file mode 100644 index 00000000000..b271d06f7be --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2RedirectTo.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Contains a redirect URL used to complete a login, consent, or logout request. + * + * @param redirectTo RedirectURL is the URL which you should redirect the user's browser to once the authentication process is completed. + */ +@Serializable + +data class OAuth2RedirectTo ( + + /* RedirectURL is the URL which you should redirect the user's browser to once the authentication process is completed. */ + @SerialName(value = "redirect_to") @Required val redirectTo: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2TokenExchange.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2TokenExchange.kt new file mode 100644 index 00000000000..af61f57d61f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2TokenExchange.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * OAuth2 Token Exchange Result + * + * @param accessToken The access token issued by the authorization server. + * @param expiresIn The lifetime in seconds of the access token. For example, the value \"3600\" denotes that the access token will expire in one hour from the time the response was generated. + * @param idToken To retrieve a refresh token request the id_token scope. + * @param refreshToken The refresh token, which can be used to obtain new access tokens. To retrieve it add the scope \"offline\" to your access token request. + * @param scope The scope of the access token + * @param tokenType The type of the token issued + */ +@Serializable + +data class OAuth2TokenExchange ( + + /* The access token issued by the authorization server. */ + @SerialName(value = "access_token") val accessToken: kotlin.String? = null, + + /* The lifetime in seconds of the access token. For example, the value \"3600\" denotes that the access token will expire in one hour from the time the response was generated. */ + @SerialName(value = "expires_in") val expiresIn: kotlin.Long? = null, + + /* To retrieve a refresh token request the id_token scope. */ + @SerialName(value = "id_token") val idToken: kotlin.String? = null, + + /* The refresh token, which can be used to obtain new access tokens. To retrieve it add the scope \"offline\" to your access token request. */ + @SerialName(value = "refresh_token") val refreshToken: kotlin.String? = null, + + /* The scope of the access token */ + @SerialName(value = "scope") val scope: kotlin.String? = null, + + /* The type of the token issued */ + @SerialName(value = "token_type") val tokenType: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OidcConfiguration.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OidcConfiguration.kt new file mode 100644 index 00000000000..55a47a212f2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OidcConfiguration.kt @@ -0,0 +1,160 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.CredentialSupportedDraft00 + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Includes links to several endpoints (for example `/oauth2/token`) and exposes information on supported signature algorithms among others. + * + * @param authorizationEndpoint OAuth 2.0 Authorization Endpoint URL + * @param idTokenSignedResponseAlg OpenID Connect Default ID Token Signing Algorithms Algorithm used to sign OpenID Connect ID Tokens. + * @param idTokenSigningAlgValuesSupported OpenID Connect Supported ID Token Signing Algorithms JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. + * @param issuer OpenID Connect Issuer URL An URL using the https scheme with no query or fragment component that the OP asserts as its IssuerURL Identifier. If IssuerURL discovery is supported , this value MUST be identical to the issuer value returned by WebFinger. This also MUST be identical to the iss Claim value in ID Tokens issued from this IssuerURL. + * @param jwksUri OpenID Connect Well-Known JSON Web Keys URL URL of the OP's JSON Web Key Set [JWK] document. This contains the signing key(s) the RP uses to validate signatures from the OP. The JWK Set MAY also contain the Server's encryption key(s), which are used by RPs to encrypt requests to the Server. When both signing and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate. + * @param responseTypesSupported OAuth 2.0 Supported Response Types JSON array containing a list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values. + * @param subjectTypesSupported OpenID Connect Supported Subject Types JSON array containing a list of the Subject Identifier types that this OP supports. Valid types include pairwise and public. + * @param tokenEndpoint OAuth 2.0 Token Endpoint URL + * @param userinfoSignedResponseAlg OpenID Connect User Userinfo Signing Algorithm Algorithm used to sign OpenID Connect Userinfo Responses. + * @param backchannelLogoutSessionSupported OpenID Connect Back-Channel Logout Session Required Boolean value specifying whether the OP can pass a sid (session ID) Claim in the Logout Token to identify the RP session with the OP. If supported, the sid Claim is also included in ID Tokens issued by the OP + * @param backchannelLogoutSupported OpenID Connect Back-Channel Logout Supported Boolean value specifying whether the OP supports back-channel logout, with true indicating support. + * @param claimsParameterSupported OpenID Connect Claims Parameter Parameter Supported Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. + * @param claimsSupported OpenID Connect Supported Claims JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + * @param codeChallengeMethodsSupported OAuth 2.0 PKCE Supported Code Challenge Methods JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server. + * @param credentialsEndpointDraft00 OpenID Connect Verifiable Credentials Endpoint Contains the URL of the Verifiable Credentials Endpoint. + * @param credentialsSupportedDraft00 OpenID Connect Verifiable Credentials Supported JSON array containing a list of the Verifiable Credentials supported by this authorization server. + * @param endSessionEndpoint OpenID Connect End-Session Endpoint URL at the OP to which an RP can perform a redirect to request that the End-User be logged out at the OP. + * @param frontchannelLogoutSessionSupported OpenID Connect Front-Channel Logout Session Required Boolean value specifying whether the OP can pass iss (issuer) and sid (session ID) query parameters to identify the RP session with the OP when the frontchannel_logout_uri is used. If supported, the sid Claim is also included in ID Tokens issued by the OP. + * @param frontchannelLogoutSupported OpenID Connect Front-Channel Logout Supported Boolean value specifying whether the OP supports HTTP-based logout, with true indicating support. + * @param grantTypesSupported OAuth 2.0 Supported Grant Types JSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports. + * @param registrationEndpoint OpenID Connect Dynamic Client Registration Endpoint URL + * @param requestObjectSigningAlgValuesSupported OpenID Connect Supported Request Object Signing Algorithms JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). + * @param requestParameterSupported OpenID Connect Request Parameter Supported Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. + * @param requestUriParameterSupported OpenID Connect Request URI Parameter Supported Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. + * @param requireRequestUriRegistration OpenID Connect Requires Request URI Registration Boolean value specifying whether the OP requires any request_uri values used to be pre-registered using the request_uris registration parameter. + * @param responseModesSupported OAuth 2.0 Supported Response Modes JSON array containing a list of the OAuth 2.0 response_mode values that this OP supports. + * @param revocationEndpoint OAuth 2.0 Token Revocation URL URL of the authorization server's OAuth 2.0 revocation endpoint. + * @param scopesSupported OAuth 2.0 Supported Scope Values JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used + * @param tokenEndpointAuthMethodsSupported OAuth 2.0 Supported Client Authentication Methods JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 + * @param userinfoEndpoint OpenID Connect Userinfo URL URL of the OP's UserInfo Endpoint. + * @param userinfoSigningAlgValuesSupported OpenID Connect Supported Userinfo Signing Algorithm JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + */ +@Serializable + +data class OidcConfiguration ( + + /* OAuth 2.0 Authorization Endpoint URL */ + @SerialName(value = "authorization_endpoint") @Required val authorizationEndpoint: kotlin.String, + + /* OpenID Connect Default ID Token Signing Algorithms Algorithm used to sign OpenID Connect ID Tokens. */ + @SerialName(value = "id_token_signed_response_alg") @Required val idTokenSignedResponseAlg: kotlin.collections.List, + + /* OpenID Connect Supported ID Token Signing Algorithms JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. */ + @SerialName(value = "id_token_signing_alg_values_supported") @Required val idTokenSigningAlgValuesSupported: kotlin.collections.List, + + /* OpenID Connect Issuer URL An URL using the https scheme with no query or fragment component that the OP asserts as its IssuerURL Identifier. If IssuerURL discovery is supported , this value MUST be identical to the issuer value returned by WebFinger. This also MUST be identical to the iss Claim value in ID Tokens issued from this IssuerURL. */ + @SerialName(value = "issuer") @Required val issuer: kotlin.String, + + /* OpenID Connect Well-Known JSON Web Keys URL URL of the OP's JSON Web Key Set [JWK] document. This contains the signing key(s) the RP uses to validate signatures from the OP. The JWK Set MAY also contain the Server's encryption key(s), which are used by RPs to encrypt requests to the Server. When both signing and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate. */ + @SerialName(value = "jwks_uri") @Required val jwksUri: kotlin.String, + + /* OAuth 2.0 Supported Response Types JSON array containing a list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values. */ + @SerialName(value = "response_types_supported") @Required val responseTypesSupported: kotlin.collections.List, + + /* OpenID Connect Supported Subject Types JSON array containing a list of the Subject Identifier types that this OP supports. Valid types include pairwise and public. */ + @SerialName(value = "subject_types_supported") @Required val subjectTypesSupported: kotlin.collections.List, + + /* OAuth 2.0 Token Endpoint URL */ + @SerialName(value = "token_endpoint") @Required val tokenEndpoint: kotlin.String, + + /* OpenID Connect User Userinfo Signing Algorithm Algorithm used to sign OpenID Connect Userinfo Responses. */ + @SerialName(value = "userinfo_signed_response_alg") @Required val userinfoSignedResponseAlg: kotlin.collections.List, + + /* OpenID Connect Back-Channel Logout Session Required Boolean value specifying whether the OP can pass a sid (session ID) Claim in the Logout Token to identify the RP session with the OP. If supported, the sid Claim is also included in ID Tokens issued by the OP */ + @SerialName(value = "backchannel_logout_session_supported") val backchannelLogoutSessionSupported: kotlin.Boolean? = null, + + /* OpenID Connect Back-Channel Logout Supported Boolean value specifying whether the OP supports back-channel logout, with true indicating support. */ + @SerialName(value = "backchannel_logout_supported") val backchannelLogoutSupported: kotlin.Boolean? = null, + + /* OpenID Connect Claims Parameter Parameter Supported Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. */ + @SerialName(value = "claims_parameter_supported") val claimsParameterSupported: kotlin.Boolean? = null, + + /* OpenID Connect Supported Claims JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. */ + @SerialName(value = "claims_supported") val claimsSupported: kotlin.collections.List? = null, + + /* OAuth 2.0 PKCE Supported Code Challenge Methods JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server. */ + @SerialName(value = "code_challenge_methods_supported") val codeChallengeMethodsSupported: kotlin.collections.List? = null, + + /* OpenID Connect Verifiable Credentials Endpoint Contains the URL of the Verifiable Credentials Endpoint. */ + @SerialName(value = "credentials_endpoint_draft_00") val credentialsEndpointDraft00: kotlin.String? = null, + + /* OpenID Connect Verifiable Credentials Supported JSON array containing a list of the Verifiable Credentials supported by this authorization server. */ + @SerialName(value = "credentials_supported_draft_00") val credentialsSupportedDraft00: kotlin.collections.List? = null, + + /* OpenID Connect End-Session Endpoint URL at the OP to which an RP can perform a redirect to request that the End-User be logged out at the OP. */ + @SerialName(value = "end_session_endpoint") val endSessionEndpoint: kotlin.String? = null, + + /* OpenID Connect Front-Channel Logout Session Required Boolean value specifying whether the OP can pass iss (issuer) and sid (session ID) query parameters to identify the RP session with the OP when the frontchannel_logout_uri is used. If supported, the sid Claim is also included in ID Tokens issued by the OP. */ + @SerialName(value = "frontchannel_logout_session_supported") val frontchannelLogoutSessionSupported: kotlin.Boolean? = null, + + /* OpenID Connect Front-Channel Logout Supported Boolean value specifying whether the OP supports HTTP-based logout, with true indicating support. */ + @SerialName(value = "frontchannel_logout_supported") val frontchannelLogoutSupported: kotlin.Boolean? = null, + + /* OAuth 2.0 Supported Grant Types JSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports. */ + @SerialName(value = "grant_types_supported") val grantTypesSupported: kotlin.collections.List? = null, + + /* OpenID Connect Dynamic Client Registration Endpoint URL */ + @SerialName(value = "registration_endpoint") val registrationEndpoint: kotlin.String? = null, + + /* OpenID Connect Supported Request Object Signing Algorithms JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). */ + @SerialName(value = "request_object_signing_alg_values_supported") val requestObjectSigningAlgValuesSupported: kotlin.collections.List? = null, + + /* OpenID Connect Request Parameter Supported Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. */ + @SerialName(value = "request_parameter_supported") val requestParameterSupported: kotlin.Boolean? = null, + + /* OpenID Connect Request URI Parameter Supported Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. */ + @SerialName(value = "request_uri_parameter_supported") val requestUriParameterSupported: kotlin.Boolean? = null, + + /* OpenID Connect Requires Request URI Registration Boolean value specifying whether the OP requires any request_uri values used to be pre-registered using the request_uris registration parameter. */ + @SerialName(value = "require_request_uri_registration") val requireRequestUriRegistration: kotlin.Boolean? = null, + + /* OAuth 2.0 Supported Response Modes JSON array containing a list of the OAuth 2.0 response_mode values that this OP supports. */ + @SerialName(value = "response_modes_supported") val responseModesSupported: kotlin.collections.List? = null, + + /* OAuth 2.0 Token Revocation URL URL of the authorization server's OAuth 2.0 revocation endpoint. */ + @SerialName(value = "revocation_endpoint") val revocationEndpoint: kotlin.String? = null, + + /* OAuth 2.0 Supported Scope Values JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used */ + @SerialName(value = "scopes_supported") val scopesSupported: kotlin.collections.List? = null, + + /* OAuth 2.0 Supported Client Authentication Methods JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 */ + @SerialName(value = "token_endpoint_auth_methods_supported") val tokenEndpointAuthMethodsSupported: kotlin.collections.List? = null, + + /* OpenID Connect Userinfo URL URL of the OP's UserInfo Endpoint. */ + @SerialName(value = "userinfo_endpoint") val userinfoEndpoint: kotlin.String? = null, + + /* OpenID Connect Supported Userinfo Signing Algorithm JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. */ + @SerialName(value = "userinfo_signing_alg_values_supported") val userinfoSigningAlgValuesSupported: kotlin.collections.List? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OidcUserInfo.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OidcUserInfo.kt new file mode 100644 index 00000000000..203c2da54ec --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OidcUserInfo.kt @@ -0,0 +1,111 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * OpenID Connect Userinfo + * + * @param birthdate End-User's birthday, represented as an ISO 8601:2004 [ISO8601‑2004] YYYY-MM-DD format. The year MAY be 0000, indicating that it is omitted. To represent only the year, YYYY format is allowed. Note that depending on the underlying platform's date related function, providing just year can result in varying month and day, so the implementers need to take this factor into account to correctly process the dates. + * @param email End-User's preferred e-mail address. Its value MUST conform to the RFC 5322 [RFC5322] addr-spec syntax. The RP MUST NOT rely upon this value being unique, as discussed in Section 5.7. + * @param emailVerified True if the End-User's e-mail address has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this e-mail address was controlled by the End-User at the time the verification was performed. The means by which an e-mail address is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating. + * @param familyName Surname(s) or last name(s) of the End-User. Note that in some cultures, people can have multiple family names or no family name; all can be present, with the names being separated by space characters. + * @param gender End-User's gender. Values defined by this specification are female and male. Other values MAY be used when neither of the defined values are applicable. + * @param givenName Given name(s) or first name(s) of the End-User. Note that in some cultures, people can have multiple given names; all can be present, with the names being separated by space characters. + * @param locale End-User's locale, represented as a BCP47 [RFC5646] language tag. This is typically an ISO 639-1 Alpha-2 [ISO639‑1] language code in lowercase and an ISO 3166-1 Alpha-2 [ISO3166‑1] country code in uppercase, separated by a dash. For example, en-US or fr-CA. As a compatibility note, some implementations have used an underscore as the separator rather than a dash, for example, en_US; Relying Parties MAY choose to accept this locale syntax as well. + * @param middleName Middle name(s) of the End-User. Note that in some cultures, people can have multiple middle names; all can be present, with the names being separated by space characters. Also note that in some cultures, middle names are not used. + * @param name End-User's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User's locale and preferences. + * @param nickname Casual name of the End-User that may or may not be the same as the given_name. For instance, a nickname value of Mike might be returned alongside a given_name value of Michael. + * @param phoneNumber End-User's preferred telephone number. E.164 [E.164] is RECOMMENDED as the format of this Claim, for example, +1 (425) 555-1212 or +56 (2) 687 2400. If the phone number contains an extension, it is RECOMMENDED that the extension be represented using the RFC 3966 [RFC3966] extension syntax, for example, +1 (604) 555-1234;ext=5678. + * @param phoneNumberVerified True if the End-User's phone number has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this phone number was controlled by the End-User at the time the verification was performed. The means by which a phone number is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating. When true, the phone_number Claim MUST be in E.164 format and any extensions MUST be represented in RFC 3966 format. + * @param picture URL of the End-User's profile picture. This URL MUST refer to an image file (for example, a PNG, JPEG, or GIF image file), rather than to a Web page containing an image. Note that this URL SHOULD specifically reference a profile photo of the End-User suitable for displaying when describing the End-User, rather than an arbitrary photo taken by the End-User. + * @param preferredUsername Non-unique shorthand name by which the End-User wishes to be referred to at the RP, such as janedoe or j.doe. This value MAY be any valid JSON string including special characters such as @, /, or whitespace. + * @param profile URL of the End-User's profile page. The contents of this Web page SHOULD be about the End-User. + * @param sub Subject - Identifier for the End-User at the IssuerURL. + * @param updatedAt Time the End-User's information was last updated. Its value is a JSON number representing the number of seconds from 1970-01-01T0:0:0Z as measured in UTC until the date/time. + * @param website URL of the End-User's Web page or blog. This Web page SHOULD contain information published by the End-User or an organization that the End-User is affiliated with. + * @param zoneinfo String from zoneinfo [zoneinfo] time zone database representing the End-User's time zone. For example, Europe/Paris or America/Los_Angeles. + */ +@Serializable + +data class OidcUserInfo ( + + /* End-User's birthday, represented as an ISO 8601:2004 [ISO8601‑2004] YYYY-MM-DD format. The year MAY be 0000, indicating that it is omitted. To represent only the year, YYYY format is allowed. Note that depending on the underlying platform's date related function, providing just year can result in varying month and day, so the implementers need to take this factor into account to correctly process the dates. */ + @SerialName(value = "birthdate") val birthdate: kotlin.String? = null, + + /* End-User's preferred e-mail address. Its value MUST conform to the RFC 5322 [RFC5322] addr-spec syntax. The RP MUST NOT rely upon this value being unique, as discussed in Section 5.7. */ + @SerialName(value = "email") val email: kotlin.String? = null, + + /* True if the End-User's e-mail address has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this e-mail address was controlled by the End-User at the time the verification was performed. The means by which an e-mail address is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating. */ + @SerialName(value = "email_verified") val emailVerified: kotlin.Boolean? = null, + + /* Surname(s) or last name(s) of the End-User. Note that in some cultures, people can have multiple family names or no family name; all can be present, with the names being separated by space characters. */ + @SerialName(value = "family_name") val familyName: kotlin.String? = null, + + /* End-User's gender. Values defined by this specification are female and male. Other values MAY be used when neither of the defined values are applicable. */ + @SerialName(value = "gender") val gender: kotlin.String? = null, + + /* Given name(s) or first name(s) of the End-User. Note that in some cultures, people can have multiple given names; all can be present, with the names being separated by space characters. */ + @SerialName(value = "given_name") val givenName: kotlin.String? = null, + + /* End-User's locale, represented as a BCP47 [RFC5646] language tag. This is typically an ISO 639-1 Alpha-2 [ISO639‑1] language code in lowercase and an ISO 3166-1 Alpha-2 [ISO3166‑1] country code in uppercase, separated by a dash. For example, en-US or fr-CA. As a compatibility note, some implementations have used an underscore as the separator rather than a dash, for example, en_US; Relying Parties MAY choose to accept this locale syntax as well. */ + @SerialName(value = "locale") val locale: kotlin.String? = null, + + /* Middle name(s) of the End-User. Note that in some cultures, people can have multiple middle names; all can be present, with the names being separated by space characters. Also note that in some cultures, middle names are not used. */ + @SerialName(value = "middle_name") val middleName: kotlin.String? = null, + + /* End-User's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User's locale and preferences. */ + @SerialName(value = "name") val name: kotlin.String? = null, + + /* Casual name of the End-User that may or may not be the same as the given_name. For instance, a nickname value of Mike might be returned alongside a given_name value of Michael. */ + @SerialName(value = "nickname") val nickname: kotlin.String? = null, + + /* End-User's preferred telephone number. E.164 [E.164] is RECOMMENDED as the format of this Claim, for example, +1 (425) 555-1212 or +56 (2) 687 2400. If the phone number contains an extension, it is RECOMMENDED that the extension be represented using the RFC 3966 [RFC3966] extension syntax, for example, +1 (604) 555-1234;ext=5678. */ + @SerialName(value = "phone_number") val phoneNumber: kotlin.String? = null, + + /* True if the End-User's phone number has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this phone number was controlled by the End-User at the time the verification was performed. The means by which a phone number is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating. When true, the phone_number Claim MUST be in E.164 format and any extensions MUST be represented in RFC 3966 format. */ + @SerialName(value = "phone_number_verified") val phoneNumberVerified: kotlin.Boolean? = null, + + /* URL of the End-User's profile picture. This URL MUST refer to an image file (for example, a PNG, JPEG, or GIF image file), rather than to a Web page containing an image. Note that this URL SHOULD specifically reference a profile photo of the End-User suitable for displaying when describing the End-User, rather than an arbitrary photo taken by the End-User. */ + @SerialName(value = "picture") val picture: kotlin.String? = null, + + /* Non-unique shorthand name by which the End-User wishes to be referred to at the RP, such as janedoe or j.doe. This value MAY be any valid JSON string including special characters such as @, /, or whitespace. */ + @SerialName(value = "preferred_username") val preferredUsername: kotlin.String? = null, + + /* URL of the End-User's profile page. The contents of this Web page SHOULD be about the End-User. */ + @SerialName(value = "profile") val profile: kotlin.String? = null, + + /* Subject - Identifier for the End-User at the IssuerURL. */ + @SerialName(value = "sub") val sub: kotlin.String? = null, + + /* Time the End-User's information was last updated. Its value is a JSON number representing the number of seconds from 1970-01-01T0:0:0Z as measured in UTC until the date/time. */ + @SerialName(value = "updated_at") val updatedAt: kotlin.Long? = null, + + /* URL of the End-User's Web page or blog. This Web page SHOULD contain information published by the End-User or an organization that the End-User is affiliated with. */ + @SerialName(value = "website") val website: kotlin.String? = null, + + /* String from zoneinfo [zoneinfo] time zone database representing the End-User's time zone. For example, Europe/Paris or America/Los_Angeles. */ + @SerialName(value = "zoneinfo") val zoneinfo: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Organization.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Organization.kt new file mode 100644 index 00000000000..4386cae15e0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Organization.kt @@ -0,0 +1,58 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * B2B SSO Organization + * + * @param createdAt The organization's creation date. + * @param domains + * @param id The organization's ID. + * @param label The organization's human-readable label. + * @param projectId The project's ID. + * @param updatedAt The last time the organization was updated. + */ +@Serializable + +data class Organization ( + + /* The organization's creation date. */ + @SerialName(value = "created_at") @Required val createdAt: kotlinx.datetime.Instant, + + @SerialName(value = "domains") @Required val domains: kotlin.collections.List, + + /* The organization's ID. */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* The organization's human-readable label. */ + @SerialName(value = "label") @Required val label: kotlin.String, + + /* The project's ID. */ + @SerialName(value = "project_id") @Required val projectId: kotlin.String, + + /* The last time the organization was updated. */ + @SerialName(value = "updated_at") @Required val updatedAt: kotlinx.datetime.Instant + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OrganizationBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OrganizationBody.kt new file mode 100644 index 00000000000..96fb3feeb57 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/OrganizationBody.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Create B2B SSO Organization Request Body + * + * @param domains Domains contains the list of organization's domains. + * @param label Label contains the organization's label. + */ +@Serializable + +data class OrganizationBody ( + + /* Domains contains the list of organization's domains. */ + @SerialName(value = "domains") val domains: kotlin.collections.List? = null, + + /* Label contains the organization's label. */ + @SerialName(value = "label") val label: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Pagination.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Pagination.kt new file mode 100644 index 00000000000..60aee4eedb9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Pagination.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param pageSize Items per page 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). + * @param 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). + */ +@Serializable + +data class Pagination ( + + /* Items per page 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). */ + @SerialName(value = "page_size") val pageSize: kotlin.Long? = 250L, + + /* 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). */ + @SerialName(value = "page_token") val pageToken: kotlin.String? = "1" + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PaginationHeaders.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PaginationHeaders.kt new file mode 100644 index 00000000000..e618e83f5e2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PaginationHeaders.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param link The link header contains pagination links. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). in: header + * @param xTotalCount The total number of clients. in: header + */ +@Serializable + +data class PaginationHeaders ( + + /* The link header contains pagination links. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). in: header */ + @SerialName(value = "link") val link: kotlin.String? = null, + + /* The total number of clients. in: header */ + @SerialName(value = "x-total-count") val xTotalCount: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ParseError.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ParseError.kt new file mode 100644 index 00000000000..085a4227ac9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ParseError.kt @@ -0,0 +1,45 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.SourcePosition + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param end + * @param message + * @param start + */ +@Serializable + +data class ParseError ( + + @SerialName(value = "end") val end: SourcePosition? = null, + + @SerialName(value = "message") val message: kotlin.String? = null, + + @SerialName(value = "start") val start: SourcePosition? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PatchIdentitiesBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PatchIdentitiesBody.kt new file mode 100644 index 00000000000..848d7747349 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PatchIdentitiesBody.kt @@ -0,0 +1,40 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.IdentityPatch + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Patch Identities Body + * + * @param identities Identities holds the list of patches to apply required + */ +@Serializable + +data class PatchIdentitiesBody ( + + /* Identities holds the list of patches to apply required */ + @SerialName(value = "identities") val identities: kotlin.collections.List? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PerformNativeLogoutBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PerformNativeLogoutBody.kt new file mode 100644 index 00000000000..97c2da0dc81 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PerformNativeLogoutBody.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Perform Native Logout Request Body + * + * @param sessionToken The Session Token Invalidate this session token. + */ +@Serializable + +data class PerformNativeLogoutBody ( + + /* The Session Token Invalidate this session token. */ + @SerialName(value = "session_token") @Required val sessionToken: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PermissionsOnWorkspace.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PermissionsOnWorkspace.kt new file mode 100644 index 00000000000..3a78d156a3f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PermissionsOnWorkspace.kt @@ -0,0 +1,38 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Get Permissions on Project Request Parameters + * + * @param permissions + */ +@Serializable + +data class PermissionsOnWorkspace ( + + @SerialName(value = "permissions") val permissions: kotlin.collections.Map? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Plan.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Plan.kt new file mode 100644 index 00000000000..2c717cafd8c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Plan.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param name Name is the name of the plan. + * @param version Version is the version of the plan. The combination of `name@version` must be unique. + */ +@Serializable + +data class Plan ( + + /* Name is the name of the plan. */ + @SerialName(value = "name") @Required val name: kotlin.String, + + /* Version is the version of the plan. The combination of `name@version` must be unique. */ + @SerialName(value = "version") @Required val version: kotlin.Long + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PlanDetails.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PlanDetails.kt new file mode 100644 index 00000000000..e7a47ce8ef5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PlanDetails.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.GenericUsage + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param baseFeeMonthly BaseFeeMonthly is the monthly base fee for the plan. + * @param baseFeeYearly BaseFeeYearly is the yearly base fee for the plan. + * @param custom Custom is true if the plan is custom. This means it will be hidden from the pricing page. + * @param description Description is the description of the plan. + * @param features + * @param name Name is the name of the plan. + * @param version Version is the version of the plan. The combination of `name@version` must be unique. + * @param latest Latest is true if the plan is the latest version of a plan and should be available for self-service usage. + */ +@Serializable + +data class PlanDetails ( + + /* BaseFeeMonthly is the monthly base fee for the plan. */ + @SerialName(value = "base_fee_monthly") @Required val baseFeeMonthly: kotlin.Long, + + /* BaseFeeYearly is the yearly base fee for the plan. */ + @SerialName(value = "base_fee_yearly") @Required val baseFeeYearly: kotlin.Long, + + /* Custom is true if the plan is custom. This means it will be hidden from the pricing page. */ + @SerialName(value = "custom") @Required val custom: kotlin.Boolean, + + /* Description is the description of the plan. */ + @SerialName(value = "description") @Required val description: kotlin.String, + + @SerialName(value = "features") @Required val features: kotlin.collections.Map, + + /* Name is the name of the plan. */ + @SerialName(value = "name") @Required val name: kotlin.String, + + /* Version is the version of the plan. The combination of `name@version` must be unique. */ + @SerialName(value = "version") @Required val version: kotlin.Long, + + /* Latest is true if the plan is the latest version of a plan and should be available for self-service usage. */ + @SerialName(value = "latest") val latest: kotlin.Boolean? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PostCheckPermissionBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PostCheckPermissionBody.kt new file mode 100644 index 00000000000..976a9bbea9c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PostCheckPermissionBody.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.SubjectSet + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Check Permission using Post Request Body + * + * @param namespace Namespace to query + * @param `object` Object to query + * @param relation Relation to query + * @param subjectId SubjectID to query Either SubjectSet or SubjectID can be provided. + * @param subjectSet + */ +@Serializable + +data class PostCheckPermissionBody ( + + /* Namespace to query */ + @SerialName(value = "namespace") val namespace: kotlin.String? = null, + + /* Object to query */ + @SerialName(value = "object") val `object`: kotlin.String? = null, + + /* Relation to query */ + @SerialName(value = "relation") val relation: kotlin.String? = null, + + /* SubjectID to query Either SubjectSet or SubjectID can be provided. */ + @SerialName(value = "subject_id") val subjectId: kotlin.String? = null, + + @SerialName(value = "subject_set") val subjectSet: SubjectSet? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PostCheckPermissionOrErrorBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PostCheckPermissionOrErrorBody.kt new file mode 100644 index 00000000000..8b44c13dd5f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/PostCheckPermissionOrErrorBody.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.SubjectSet + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Post Check Permission Or Error Body + * + * @param namespace Namespace to query + * @param `object` Object to query + * @param relation Relation to query + * @param subjectId SubjectID to query Either SubjectSet or SubjectID can be provided. + * @param subjectSet + */ +@Serializable + +data class PostCheckPermissionOrErrorBody ( + + /* Namespace to query */ + @SerialName(value = "namespace") val namespace: kotlin.String? = null, + + /* Object to query */ + @SerialName(value = "object") val `object`: kotlin.String? = null, + + /* Relation to query */ + @SerialName(value = "relation") val relation: kotlin.String? = null, + + /* SubjectID to query Either SubjectSet or SubjectID can be provided. */ + @SerialName(value = "subject_id") val subjectId: kotlin.String? = null, + + @SerialName(value = "subject_set") val subjectSet: SubjectSet? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Project.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Project.kt new file mode 100644 index 00000000000..4b66d7f149d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Project.kt @@ -0,0 +1,113 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ProjectCors +import sh.ory.client-kotlin-multiplatform.models.ProjectServices + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param environment The environment of the project. prod Production stage Staging dev Development + * @param homeRegion The project home region. This is used to set where the project data is stored and where the project's endpoints are located. eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global + * @param id The project's ID. + * @param name The name of the project. + * @param revisionId The configuration revision ID. + * @param services + * @param slug The project's slug + * @param state The state of the project. running Running halted Halted deleted Deleted + * @param corsAdmin + * @param corsPublic + * @param workspaceId + */ +@Serializable + +data class Project ( + + /* The environment of the project. prod Production stage Staging dev Development */ + @SerialName(value = "environment") @Required val environment: Project.Environment, + + /* The project home region. This is used to set where the project data is stored and where the project's endpoints are located. eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global */ + @SerialName(value = "home_region") @Required val homeRegion: Project.HomeRegion, + + /* The project's ID. */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* The name of the project. */ + @SerialName(value = "name") @Required val name: kotlin.String, + + /* The configuration revision ID. */ + @SerialName(value = "revision_id") @Required val revisionId: kotlin.String, + + @SerialName(value = "services") @Required val services: ProjectServices, + + /* The project's slug */ + @SerialName(value = "slug") @Required val slug: kotlin.String, + + /* The state of the project. running Running halted Halted deleted Deleted */ + @SerialName(value = "state") @Required val state: Project.State, + + @SerialName(value = "cors_admin") val corsAdmin: ProjectCors? = null, + + @SerialName(value = "cors_public") val corsPublic: ProjectCors? = null, + + @SerialName(value = "workspace_id") val workspaceId: kotlin.String? = null + +) { + + /** + * The environment of the project. prod Production stage Staging dev Development + * + * Values: prod,stage,dev + */ + @Serializable + enum class Environment(val value: kotlin.String) { + @SerialName(value = "prod") prod("prod"), + @SerialName(value = "stage") stage("stage"), + @SerialName(value = "dev") dev("dev"); + } + /** + * The project home region. This is used to set where the project data is stored and where the project's endpoints are located. eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global + * + * Values: euMinusCentral,asiaMinusNortheast,usMinusEast,usMinusWest,us,global + */ + @Serializable + enum class HomeRegion(val value: kotlin.String) { + @SerialName(value = "eu-central") euMinusCentral("eu-central"), + @SerialName(value = "asia-northeast") asiaMinusNortheast("asia-northeast"), + @SerialName(value = "us-east") usMinusEast("us-east"), + @SerialName(value = "us-west") usMinusWest("us-west"), + @SerialName(value = "us") us("us"), + @SerialName(value = "global") global("global"); + } + /** + * The state of the project. running Running halted Halted deleted Deleted + * + * Values: running,halted,deleted + */ + @Serializable + enum class State(val value: kotlin.String) { + @SerialName(value = "running") running("running"), + @SerialName(value = "halted") halted("halted"), + @SerialName(value = "deleted") deleted("deleted"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectApiKey.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectApiKey.kt new file mode 100644 index 00000000000..25e2d5a83c0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectApiKey.kt @@ -0,0 +1,66 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param id The token's ID. + * @param name The Token's Name Set this to help you remember, for example, where you use the token. + * @param ownerId The token's owner + * @param createdAt The token's creation date + * @param expiresAt + * @param projectId The Token's Project ID + * @param updatedAt The token's last update date + * @param `value` The token's value + */ +@Serializable + +data class ProjectApiKey ( + + /* The token's ID. */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* The Token's Name Set this to help you remember, for example, where you use the token. */ + @SerialName(value = "name") @Required val name: kotlin.String, + + /* The token's owner */ + @SerialName(value = "owner_id") @Required val ownerId: kotlin.String, + + /* The token's creation date */ + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + @SerialName(value = "expires_at") val expiresAt: kotlinx.datetime.Instant? = null, + + /* The Token's Project ID */ + @SerialName(value = "project_id") val projectId: kotlin.String? = null, + + /* The token's last update date */ + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null, + + /* The token's value */ + @SerialName(value = "value") val `value`: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBranding.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBranding.kt new file mode 100644 index 00000000000..1a7567281f0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBranding.kt @@ -0,0 +1,58 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ProjectBrandingTheme + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param createdAt The Customization Creation Date + * @param defaultTheme + * @param id The customization ID. + * @param projectId The Project's ID this customization is associated with + * @param themes + * @param updatedAt Last Time Branding was Updated + */ +@Serializable + +data class ProjectBranding ( + + /* The Customization Creation Date */ + @SerialName(value = "created_at") @Required val createdAt: kotlinx.datetime.Instant, + + @SerialName(value = "default_theme") @Required val defaultTheme: ProjectBrandingTheme, + + /* The customization ID. */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* The Project's ID this customization is associated with */ + @SerialName(value = "project_id") @Required val projectId: kotlin.String, + + @SerialName(value = "themes") @Required val themes: kotlin.collections.List, + + /* Last Time Branding was Updated */ + @SerialName(value = "updated_at") @Required val updatedAt: kotlinx.datetime.Instant + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingColors.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingColors.kt new file mode 100644 index 00000000000..81eb8eb74b7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingColors.kt @@ -0,0 +1,151 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param accentDefaultColor AccentDefaultColor is a hex color code used by the Ory Account Experience theme. + * @param accentDisabledColor AccentDisabledColor is a hex color code used by the Ory Account Experience theme. + * @param accentEmphasisColor AccentEmphasisColor is a hex color code used by the Ory Account Experience theme. + * @param accentMutedColor AccentMutedColor is a hex color code used by the Ory Account Experience theme. + * @param accentSubtleColor AccentSubtleColor is a hex color code used by the Ory Account Experience theme. + * @param backgroundCanvasColor BackgroundCanvasColor is a hex color code used by the Ory Account Experience theme. + * @param backgroundSubtleColor BackgroundSubtleColor is a hex color code used by the Ory Account Experience theme. + * @param backgroundSurfaceColor BackgroundSurfaceColor is a hex color code used by the Ory Account Experience theme. + * @param borderDefaultColor BorderDefaultColor is a hex color code used by the Ory Account Experience theme. + * @param errorDefaultColor ErrorDefaultColor is a hex color code used by the Ory Account Experience theme. + * @param errorEmphasisColor ErrorEmphasisColor is a hex color code used by the Ory Account Experience theme. + * @param errorMutedColor ErrorMutedColor is a hex color code used by the Ory Account Experience theme. + * @param errorSubtleColor ErrorSubtleColor is a hex color code used by the Ory Account Experience theme. + * @param foregroundDefaultColor ForegroundDefaultColor is a hex color code used by the Ory Account Experience theme. + * @param foregroundDisabledColor ForegroundDisabledColor is a hex color code used by the Ory Account Experience theme. + * @param foregroundMutedColor ForegroundMutedColor is a hex color code used by the Ory Account Experience theme. + * @param foregroundOnAccentColor ForegroundOnAccentColor is a hex color code used by the Ory Account Experience theme. + * @param foregroundOnDarkColor ForegroundOnDarkColor is a hex color code used by the Ory Account Experience theme. + * @param foregroundOnDisabledColor ForegroundOnDisabledColor is a hex color code used by the Ory Account Experience theme. + * @param foregroundSubtleColor ForegroundSubtleColor is a hex color code used by the Ory Account Experience theme. + * @param inputBackgroundColor InputBackgroundColor is a hex color code used by the Ory Account Experience theme. + * @param inputDisabledColor InputDisabledColor is a hex color code used by the Ory Account Experience theme. + * @param inputPlaceholderColor InputPlaceholderColor is a hex color code used by the Ory Account Experience theme. + * @param inputTextColor InputTextColor is a hex color code used by the Ory Account Experience theme. + * @param primaryColor Primary color is an hsla color value used to derive the other colors from for the Ory Account Experience theme. + * @param secondaryColor Secondary color is a hsla color code used to derive the other colors from for the Ory Account Experience theme. + * @param successEmphasisColor SuccessEmphasisColor is a hex color code used by the Ory Account Experience theme. + * @param textDefaultColor TextDefaultColor is a hex color code used by the Ory Account Experience theme. + * @param textDisabledColor TextDisabledColor is a hex color code used by the Ory Account Experience theme. + */ +@Serializable + +data class ProjectBrandingColors ( + + /* AccentDefaultColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "accent_default_color") val accentDefaultColor: kotlin.String? = null, + + /* AccentDisabledColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "accent_disabled_color") val accentDisabledColor: kotlin.String? = null, + + /* AccentEmphasisColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "accent_emphasis_color") val accentEmphasisColor: kotlin.String? = null, + + /* AccentMutedColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "accent_muted_color") val accentMutedColor: kotlin.String? = null, + + /* AccentSubtleColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "accent_subtle_color") val accentSubtleColor: kotlin.String? = null, + + /* BackgroundCanvasColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "background_canvas_color") val backgroundCanvasColor: kotlin.String? = null, + + /* BackgroundSubtleColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "background_subtle_color") val backgroundSubtleColor: kotlin.String? = null, + + /* BackgroundSurfaceColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "background_surface_color") val backgroundSurfaceColor: kotlin.String? = null, + + /* BorderDefaultColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "border_default_color") val borderDefaultColor: kotlin.String? = null, + + /* ErrorDefaultColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "error_default_color") val errorDefaultColor: kotlin.String? = null, + + /* ErrorEmphasisColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "error_emphasis_color") val errorEmphasisColor: kotlin.String? = null, + + /* ErrorMutedColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "error_muted_color") val errorMutedColor: kotlin.String? = null, + + /* ErrorSubtleColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "error_subtle_color") val errorSubtleColor: kotlin.String? = null, + + /* ForegroundDefaultColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "foreground_default_color") val foregroundDefaultColor: kotlin.String? = null, + + /* ForegroundDisabledColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "foreground_disabled_color") val foregroundDisabledColor: kotlin.String? = null, + + /* ForegroundMutedColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "foreground_muted_color") val foregroundMutedColor: kotlin.String? = null, + + /* ForegroundOnAccentColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "foreground_on_accent_color") val foregroundOnAccentColor: kotlin.String? = null, + + /* ForegroundOnDarkColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "foreground_on_dark_color") val foregroundOnDarkColor: kotlin.String? = null, + + /* ForegroundOnDisabledColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "foreground_on_disabled_color") val foregroundOnDisabledColor: kotlin.String? = null, + + /* ForegroundSubtleColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "foreground_subtle_color") val foregroundSubtleColor: kotlin.String? = null, + + /* InputBackgroundColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "input_background_color") val inputBackgroundColor: kotlin.String? = null, + + /* InputDisabledColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "input_disabled_color") val inputDisabledColor: kotlin.String? = null, + + /* InputPlaceholderColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "input_placeholder_color") val inputPlaceholderColor: kotlin.String? = null, + + /* InputTextColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "input_text_color") val inputTextColor: kotlin.String? = null, + + /* Primary color is an hsla color value used to derive the other colors from for the Ory Account Experience theme. */ + @SerialName(value = "primary_color") val primaryColor: kotlin.String? = null, + + /* Secondary color is a hsla color code used to derive the other colors from for the Ory Account Experience theme. */ + @SerialName(value = "secondary_color") val secondaryColor: kotlin.String? = null, + + /* SuccessEmphasisColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "success_emphasis_color") val successEmphasisColor: kotlin.String? = null, + + /* TextDefaultColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "text_default_color") val textDefaultColor: kotlin.String? = null, + + /* TextDisabledColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "text_disabled_color") val textDisabledColor: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingTheme.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingTheme.kt new file mode 100644 index 00000000000..3f102ca7900 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingTheme.kt @@ -0,0 +1,196 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.AccountExperienceThemeVariables + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param createdAt The Customization Creation Date. + * @param id The customization theme ID. + * @param name The customization theme name. + * @param projectBrandingId The ProjectBranding ID this customization is associated with. + * @param updatedAt Last Time Branding was Updated. + * @param accentDefaultColor AccentDefaultColor is a hex color code used by the Ory Account Experience theme. + * @param accentDisabledColor AccentDisabledColor is a hex color code used by the Ory Account Experience theme. + * @param accentEmphasisColor AccentEmphasisColor is a hex color code used by the Ory Account Experience theme. + * @param accentMutedColor AccentMutedColor is a hex color code used by the Ory Account Experience theme. + * @param accentSubtleColor AccentSubtleColor is a hex color code used by the Ory Account Experience theme. + * @param accountExperienceVariables The Account Experience Theme Variables. + * @param accountExperienceVariablesStylesheet AccountExperienceVariableStylesheet holds a reference to the current stylesheet that can be used in the AX + * @param backgroundCanvasColor BackgroundCanvasColor is a hex color code used by the Ory Account Experience theme. + * @param backgroundSubtleColor BackgroundSubtleColor is a hex color code used by the Ory Account Experience theme. + * @param backgroundSurfaceColor BackgroundSurfaceColor is a hex color code used by the Ory Account Experience theme. + * @param borderDefaultColor BorderDefaultColor is a hex color code used by the Ory Account Experience theme. + * @param errorDefaultColor ErrorDefaultColor is a hex color code used by the Ory Account Experience theme. + * @param errorEmphasisColor ErrorEmphasisColor is a hex color code used by the Ory Account Experience theme. + * @param errorMutedColor ErrorMutedColor is a hex color code used by the Ory Account Experience theme. + * @param errorSubtleColor ErrorSubtleColor is a hex color code used by the Ory Account Experience theme. + * @param faviconType Favicon Type The Favicon mime type. + * @param faviconUrl Favicon URL Favicon can be an https:// or base64:// URL. If the URL is not allowed, the favicon will be stored inside the Ory Network storage bucket. + * @param foregroundDefaultColor ForegroundDefaultColor is a hex color code used by the Ory Account Experience theme. + * @param foregroundDisabledColor ForegroundDisabledColor is a hex color code used by the Ory Account Experience theme. + * @param foregroundMutedColor ForegroundMutedColor is a hex color code used by the Ory Account Experience theme. + * @param foregroundOnAccentColor ForegroundOnAccentColor is a hex color code used by the Ory Account Experience theme. + * @param foregroundOnDarkColor ForegroundOnDarkColor is a hex color code used by the Ory Account Experience theme. + * @param foregroundOnDisabledColor ForegroundOnDisabledColor is a hex color code used by the Ory Account Experience theme. + * @param foregroundSubtleColor ForegroundSubtleColor is a hex color code used by the Ory Account Experience theme. + * @param inputBackgroundColor InputBackgroundColor is a hex color code used by the Ory Account Experience theme. + * @param inputDisabledColor InputDisabledColor is a hex color code used by the Ory Account Experience theme. + * @param inputPlaceholderColor InputPlaceholderColor is a hex color code used by the Ory Account Experience theme. + * @param inputTextColor InputTextColor is a hex color code used by the Ory Account Experience theme. + * @param logoType Logo Type The Logo mime type. + * @param logoUrl Logo URL Logo can be an https:// or base64:// URL. If the URL is not allowed, the logo will be stored inside the Ory Network storage bucket. + * @param primaryColor Primary color is an hsla color value used to derive the other colors from for the Ory Account Experience theme. + * @param secondaryColor Secondary color is a hsla color code used to derive the other colors from for the Ory Account Experience theme. + * @param successEmphasisColor SuccessEmphasisColor is a hex color code used by the Ory Account Experience theme. + * @param textDefaultColor TextDefaultColor is a hex color code used by the Ory Account Experience theme. + * @param textDisabledColor TextDisabledColor is a hex color code used by the Ory Account Experience theme. + */ +@Serializable + +data class ProjectBrandingTheme ( + + /* The Customization Creation Date. */ + @SerialName(value = "created_at") @Required val createdAt: kotlinx.datetime.Instant, + + /* The customization theme ID. */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* The customization theme name. */ + @SerialName(value = "name") @Required val name: kotlin.String, + + /* The ProjectBranding ID this customization is associated with. */ + @SerialName(value = "project_branding_id") @Required val projectBrandingId: kotlin.String, + + /* Last Time Branding was Updated. */ + @SerialName(value = "updated_at") @Required val updatedAt: kotlinx.datetime.Instant, + + /* AccentDefaultColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "accent_default_color") val accentDefaultColor: kotlin.String? = null, + + /* AccentDisabledColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "accent_disabled_color") val accentDisabledColor: kotlin.String? = null, + + /* AccentEmphasisColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "accent_emphasis_color") val accentEmphasisColor: kotlin.String? = null, + + /* AccentMutedColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "accent_muted_color") val accentMutedColor: kotlin.String? = null, + + /* AccentSubtleColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "accent_subtle_color") val accentSubtleColor: kotlin.String? = null, + + /* The Account Experience Theme Variables. */ + @SerialName(value = "account_experience_variables") val accountExperienceVariables: kotlin.collections.List? = null, + + /* AccountExperienceVariableStylesheet holds a reference to the current stylesheet that can be used in the AX */ + @SerialName(value = "account_experience_variables_stylesheet") val accountExperienceVariablesStylesheet: kotlin.String? = null, + + /* BackgroundCanvasColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "background_canvas_color") val backgroundCanvasColor: kotlin.String? = null, + + /* BackgroundSubtleColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "background_subtle_color") val backgroundSubtleColor: kotlin.String? = null, + + /* BackgroundSurfaceColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "background_surface_color") val backgroundSurfaceColor: kotlin.String? = null, + + /* BorderDefaultColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "border_default_color") val borderDefaultColor: kotlin.String? = null, + + /* ErrorDefaultColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "error_default_color") val errorDefaultColor: kotlin.String? = null, + + /* ErrorEmphasisColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "error_emphasis_color") val errorEmphasisColor: kotlin.String? = null, + + /* ErrorMutedColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "error_muted_color") val errorMutedColor: kotlin.String? = null, + + /* ErrorSubtleColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "error_subtle_color") val errorSubtleColor: kotlin.String? = null, + + /* Favicon Type The Favicon mime type. */ + @SerialName(value = "favicon_type") val faviconType: kotlin.String? = null, + + /* Favicon URL Favicon can be an https:// or base64:// URL. If the URL is not allowed, the favicon will be stored inside the Ory Network storage bucket. */ + @SerialName(value = "favicon_url") val faviconUrl: kotlin.String? = null, + + /* ForegroundDefaultColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "foreground_default_color") val foregroundDefaultColor: kotlin.String? = null, + + /* ForegroundDisabledColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "foreground_disabled_color") val foregroundDisabledColor: kotlin.String? = null, + + /* ForegroundMutedColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "foreground_muted_color") val foregroundMutedColor: kotlin.String? = null, + + /* ForegroundOnAccentColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "foreground_on_accent_color") val foregroundOnAccentColor: kotlin.String? = null, + + /* ForegroundOnDarkColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "foreground_on_dark_color") val foregroundOnDarkColor: kotlin.String? = null, + + /* ForegroundOnDisabledColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "foreground_on_disabled_color") val foregroundOnDisabledColor: kotlin.String? = null, + + /* ForegroundSubtleColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "foreground_subtle_color") val foregroundSubtleColor: kotlin.String? = null, + + /* InputBackgroundColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "input_background_color") val inputBackgroundColor: kotlin.String? = null, + + /* InputDisabledColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "input_disabled_color") val inputDisabledColor: kotlin.String? = null, + + /* InputPlaceholderColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "input_placeholder_color") val inputPlaceholderColor: kotlin.String? = null, + + /* InputTextColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "input_text_color") val inputTextColor: kotlin.String? = null, + + /* Logo Type The Logo mime type. */ + @SerialName(value = "logo_type") val logoType: kotlin.String? = null, + + /* Logo URL Logo can be an https:// or base64:// URL. If the URL is not allowed, the logo will be stored inside the Ory Network storage bucket. */ + @SerialName(value = "logo_url") val logoUrl: kotlin.String? = null, + + /* Primary color is an hsla color value used to derive the other colors from for the Ory Account Experience theme. */ + @SerialName(value = "primary_color") val primaryColor: kotlin.String? = null, + + /* Secondary color is a hsla color code used to derive the other colors from for the Ory Account Experience theme. */ + @SerialName(value = "secondary_color") val secondaryColor: kotlin.String? = null, + + /* SuccessEmphasisColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "success_emphasis_color") val successEmphasisColor: kotlin.String? = null, + + /* TextDefaultColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "text_default_color") val textDefaultColor: kotlin.String? = null, + + /* TextDisabledColor is a hex color code used by the Ory Account Experience theme. */ + @SerialName(value = "text_disabled_color") val textDisabledColor: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectCors.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectCors.kt new file mode 100644 index 00000000000..380acebf0b9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectCors.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param enabled Whether CORS is enabled for this endpoint. + * @param origins 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`. + */ +@Serializable + +data class ProjectCors ( + + /* Whether CORS is enabled for this endpoint. */ + @SerialName(value = "enabled") val enabled: kotlin.Boolean? = null, + + /* 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`. */ + @SerialName(value = "origins") val origins: kotlin.collections.List? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectEventsDatapoint.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectEventsDatapoint.kt new file mode 100644 index 00000000000..f536ad1e459 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectEventsDatapoint.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.Attribute + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param attributes Event attributes with details + * @param name Name of the event + * @param timestamp Time of occurence + */ +@Serializable + +data class ProjectEventsDatapoint ( + + /* Event attributes with details */ + @SerialName(value = "attributes") @Required val attributes: kotlin.collections.List, + + /* Name of the event */ + @SerialName(value = "name") @Required val name: kotlin.String, + + /* Time of occurence */ + @SerialName(value = "timestamp") @Required val timestamp: kotlinx.datetime.Instant + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectHost.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectHost.kt new file mode 100644 index 00000000000..b2bc6ec2118 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectHost.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param host The project's host. + * @param id The mapping's ID. + * @param projectId The Revision's Project ID + */ +@Serializable + +data class ProjectHost ( + + /* The project's host. */ + @SerialName(value = "host") @Required val host: kotlin.String, + + /* The mapping's ID. */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* The Revision's Project ID */ + @SerialName(value = "project_id") @Required val projectId: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectMember.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectMember.kt new file mode 100644 index 00000000000..35023abbe36 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectMember.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param email + * @param emailVerified + * @param id + * @param name + * @param role + */ +@Serializable + +data class ProjectMember ( + + @SerialName(value = "email") @Required val email: kotlin.String, + + @SerialName(value = "email_verified") @Required val emailVerified: kotlin.Boolean, + + @SerialName(value = "id") @Required val id: kotlin.String, + + @SerialName(value = "name") @Required val name: kotlin.String, + + @SerialName(value = "role") @Required val role: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectMetadata.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectMetadata.kt new file mode 100644 index 00000000000..00c8a599c8d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectMetadata.kt @@ -0,0 +1,119 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.Workspace + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param createdAt The Project's Creation Date + * @param environment The environment of the project. prod Production stage Staging dev Development + * @param homeRegion The project's data home region eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global + * @param hosts + * @param id The project's ID. + * @param name The project's name if set + * @param slug The project's slug + * @param state The state of the project. running Running halted Halted deleted Deleted + * @param updatedAt Last Time Project was Updated + * @param subscriptionId + * @param subscriptionPlan + * @param workspace + * @param workspaceId + */ +@Serializable + +data class ProjectMetadata ( + + /* The Project's Creation Date */ + @SerialName(value = "created_at") @Required val createdAt: kotlinx.datetime.Instant, + + /* The environment of the project. prod Production stage Staging dev Development */ + @SerialName(value = "environment") @Required val environment: ProjectMetadata.Environment, + + /* The project's data home region eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global */ + @SerialName(value = "home_region") @Required val homeRegion: ProjectMetadata.HomeRegion, + + @SerialName(value = "hosts") @Required val hosts: kotlin.collections.List, + + /* The project's ID. */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* The project's name if set */ + @SerialName(value = "name") @Required val name: kotlin.String, + + /* The project's slug */ + @SerialName(value = "slug") @Required val slug: kotlin.String, + + /* The state of the project. running Running halted Halted deleted Deleted */ + @SerialName(value = "state") @Required val state: ProjectMetadata.State, + + /* Last Time Project was Updated */ + @SerialName(value = "updated_at") @Required val updatedAt: kotlinx.datetime.Instant, + + @SerialName(value = "subscription_id") val subscriptionId: kotlin.String? = null, + + @SerialName(value = "subscription_plan") val subscriptionPlan: kotlin.String? = null, + + @SerialName(value = "workspace") val workspace: Workspace? = null, + + @SerialName(value = "workspace_id") val workspaceId: kotlin.String? = null + +) { + + /** + * The environment of the project. prod Production stage Staging dev Development + * + * Values: prod,stage,dev + */ + @Serializable + enum class Environment(val value: kotlin.String) { + @SerialName(value = "prod") prod("prod"), + @SerialName(value = "stage") stage("stage"), + @SerialName(value = "dev") dev("dev"); + } + /** + * The project's data home region eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global + * + * Values: euMinusCentral,asiaMinusNortheast,usMinusEast,usMinusWest,us,global + */ + @Serializable + enum class HomeRegion(val value: kotlin.String) { + @SerialName(value = "eu-central") euMinusCentral("eu-central"), + @SerialName(value = "asia-northeast") asiaMinusNortheast("asia-northeast"), + @SerialName(value = "us-east") usMinusEast("us-east"), + @SerialName(value = "us-west") usMinusWest("us-west"), + @SerialName(value = "us") us("us"), + @SerialName(value = "global") global("global"); + } + /** + * The state of the project. running Running halted Halted deleted Deleted + * + * Values: running,halted,deleted + */ + @Serializable + enum class State(val value: kotlin.String) { + @SerialName(value = "running") running("running"), + @SerialName(value = "halted") halted("halted"), + @SerialName(value = "deleted") deleted("deleted"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServiceIdentity.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServiceIdentity.kt new file mode 100644 index 00000000000..946d08529ed --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServiceIdentity.kt @@ -0,0 +1,38 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param config + */ +@Serializable + +data class ProjectServiceIdentity ( + + @SerialName(value = "config") @Required val config: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServiceOAuth2.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServiceOAuth2.kt new file mode 100644 index 00000000000..d4c3c115a9a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServiceOAuth2.kt @@ -0,0 +1,38 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param config + */ +@Serializable + +data class ProjectServiceOAuth2 ( + + @SerialName(value = "config") @Required val config: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServicePermission.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServicePermission.kt new file mode 100644 index 00000000000..380309e78e7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServicePermission.kt @@ -0,0 +1,38 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param config + */ +@Serializable + +data class ProjectServicePermission ( + + @SerialName(value = "config") @Required val config: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServices.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServices.kt new file mode 100644 index 00000000000..b49c65169e6 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServices.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ProjectServiceIdentity +import sh.ory.client-kotlin-multiplatform.models.ProjectServiceOAuth2 +import sh.ory.client-kotlin-multiplatform.models.ProjectServicePermission + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param identity + * @param oauth2 + * @param permission + */ +@Serializable + +data class ProjectServices ( + + @SerialName(value = "identity") val identity: ProjectServiceIdentity? = null, + + @SerialName(value = "oauth2") val oauth2: ProjectServiceOAuth2? = null, + + @SerialName(value = "permission") val permission: ProjectServicePermission? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/QuotaUsage.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/QuotaUsage.kt new file mode 100644 index 00000000000..32bfc0ac099 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/QuotaUsage.kt @@ -0,0 +1,97 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param additionalPrice The additional price per unit in cents. + * @param canUseMore + * @param feature production_projects ProductionProjects staging_projects StagingProjects development_projects DevelopmentProjects daily_active_users DailyActiveUsers custom_domains CustomDomains event_streams EventStreams event_stream_events EventStreamEvents sla SLA collaborator_seats CollaboratorSeats edge_cache EdgeCache branding_themes BrandingThemes zendesk_support ZendeskSupport project_metrics ProjectMetrics project_metrics_time_window ProjectMetricsTimeWindow project_metrics_events_history ProjectMetricsEventsHistory organizations Organizations rop_grant ResourceOwnerPasswordGrant concierge_onboarding ConciergeOnboarding credit Credit data_location_global DataLocationGlobal data_location_us DataLocationUS data_location_asiane DataLocationAsiaNorthEast m2m_token_issuance M2MTokenIssuance permission_checks PermissionChecks captcha Captcha data_location_regional DataLocationRegional Required Features rate_limit_tier RateLimitTier session_rate_limit_tier RateLimitTierSessions identities_list_rate_limit_tier RateLimitTierIdentitiesList permission_checks_rate_limit_tier RateLimitTierPermissionChecks oauth2_introspect_rate_limit_tier RateLimitTierOAuth2Introspect + * @param featureAvailable + * @param included + * @param isUnlimited + * @param used + */ +@Serializable + +data class QuotaUsage ( + + /* The additional price per unit in cents. */ + @SerialName(value = "additional_price") @Required val additionalPrice: kotlin.String, + + @SerialName(value = "can_use_more") @Required val canUseMore: kotlin.Boolean, + + /* production_projects ProductionProjects staging_projects StagingProjects development_projects DevelopmentProjects daily_active_users DailyActiveUsers custom_domains CustomDomains event_streams EventStreams event_stream_events EventStreamEvents sla SLA collaborator_seats CollaboratorSeats edge_cache EdgeCache branding_themes BrandingThemes zendesk_support ZendeskSupport project_metrics ProjectMetrics project_metrics_time_window ProjectMetricsTimeWindow project_metrics_events_history ProjectMetricsEventsHistory organizations Organizations rop_grant ResourceOwnerPasswordGrant concierge_onboarding ConciergeOnboarding credit Credit data_location_global DataLocationGlobal data_location_us DataLocationUS data_location_asiane DataLocationAsiaNorthEast m2m_token_issuance M2MTokenIssuance permission_checks PermissionChecks captcha Captcha data_location_regional DataLocationRegional Required Features rate_limit_tier RateLimitTier session_rate_limit_tier RateLimitTierSessions identities_list_rate_limit_tier RateLimitTierIdentitiesList permission_checks_rate_limit_tier RateLimitTierPermissionChecks oauth2_introspect_rate_limit_tier RateLimitTierOAuth2Introspect */ + @SerialName(value = "feature") @Required val feature: QuotaUsage.Feature, + + @SerialName(value = "feature_available") @Required val featureAvailable: kotlin.Boolean, + + @SerialName(value = "included") @Required val included: kotlin.Long, + + @SerialName(value = "is_unlimited") @Required val isUnlimited: kotlin.Boolean, + + @SerialName(value = "used") @Required val used: kotlin.Long + +) { + + /** + * production_projects ProductionProjects staging_projects StagingProjects development_projects DevelopmentProjects daily_active_users DailyActiveUsers custom_domains CustomDomains event_streams EventStreams event_stream_events EventStreamEvents sla SLA collaborator_seats CollaboratorSeats edge_cache EdgeCache branding_themes BrandingThemes zendesk_support ZendeskSupport project_metrics ProjectMetrics project_metrics_time_window ProjectMetricsTimeWindow project_metrics_events_history ProjectMetricsEventsHistory organizations Organizations rop_grant ResourceOwnerPasswordGrant concierge_onboarding ConciergeOnboarding credit Credit data_location_global DataLocationGlobal data_location_us DataLocationUS data_location_asiane DataLocationAsiaNorthEast m2m_token_issuance M2MTokenIssuance permission_checks PermissionChecks captcha Captcha data_location_regional DataLocationRegional Required Features rate_limit_tier RateLimitTier session_rate_limit_tier RateLimitTierSessions identities_list_rate_limit_tier RateLimitTierIdentitiesList permission_checks_rate_limit_tier RateLimitTierPermissionChecks oauth2_introspect_rate_limit_tier RateLimitTierOAuth2Introspect + * + * Values: production_projects,staging_projects,development_projects,daily_active_users,custom_domains,event_streams,event_stream_events,sla,collaborator_seats,edge_cache,branding_themes,zendesk_support,project_metrics,project_metrics_time_window,project_metrics_events_history,organizations,rop_grant,concierge_onboarding,credit,data_location_global,data_location_us,data_location_asiane,m2m_token_issuance,permission_checks,captcha,data_location_regional,rate_limit_tier,session_rate_limit_tier,identities_list_rate_limit_tier,permission_checks_rate_limit_tier,oauth2_introspect_rate_limit_tier + */ + @Serializable + enum class Feature(val value: kotlin.String) { + @SerialName(value = "production_projects") production_projects("production_projects"), + @SerialName(value = "staging_projects") staging_projects("staging_projects"), + @SerialName(value = "development_projects") development_projects("development_projects"), + @SerialName(value = "daily_active_users") daily_active_users("daily_active_users"), + @SerialName(value = "custom_domains") custom_domains("custom_domains"), + @SerialName(value = "event_streams") event_streams("event_streams"), + @SerialName(value = "event_stream_events") event_stream_events("event_stream_events"), + @SerialName(value = "sla") sla("sla"), + @SerialName(value = "collaborator_seats") collaborator_seats("collaborator_seats"), + @SerialName(value = "edge_cache") edge_cache("edge_cache"), + @SerialName(value = "branding_themes") branding_themes("branding_themes"), + @SerialName(value = "zendesk_support") zendesk_support("zendesk_support"), + @SerialName(value = "project_metrics") project_metrics("project_metrics"), + @SerialName(value = "project_metrics_time_window") project_metrics_time_window("project_metrics_time_window"), + @SerialName(value = "project_metrics_events_history") project_metrics_events_history("project_metrics_events_history"), + @SerialName(value = "organizations") organizations("organizations"), + @SerialName(value = "rop_grant") rop_grant("rop_grant"), + @SerialName(value = "concierge_onboarding") concierge_onboarding("concierge_onboarding"), + @SerialName(value = "credit") credit("credit"), + @SerialName(value = "data_location_global") data_location_global("data_location_global"), + @SerialName(value = "data_location_us") data_location_us("data_location_us"), + @SerialName(value = "data_location_asiane") data_location_asiane("data_location_asiane"), + @SerialName(value = "m2m_token_issuance") m2m_token_issuance("m2m_token_issuance"), + @SerialName(value = "permission_checks") permission_checks("permission_checks"), + @SerialName(value = "captcha") captcha("captcha"), + @SerialName(value = "data_location_regional") data_location_regional("data_location_regional"), + @SerialName(value = "rate_limit_tier") rate_limit_tier("rate_limit_tier"), + @SerialName(value = "session_rate_limit_tier") session_rate_limit_tier("session_rate_limit_tier"), + @SerialName(value = "identities_list_rate_limit_tier") identities_list_rate_limit_tier("identities_list_rate_limit_tier"), + @SerialName(value = "permission_checks_rate_limit_tier") permission_checks_rate_limit_tier("permission_checks_rate_limit_tier"), + @SerialName(value = "oauth2_introspect_rate_limit_tier") oauth2_introspect_rate_limit_tier("oauth2_introspect_rate_limit_tier"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RFC6749ErrorJson.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RFC6749ErrorJson.kt new file mode 100644 index 00000000000..327c648ae17 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RFC6749ErrorJson.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param error + * @param errorDebug + * @param errorDescription + * @param errorHint + * @param statusCode + */ +@Serializable + +data class RFC6749ErrorJson ( + + @SerialName(value = "error") val error: kotlin.String? = null, + + @SerialName(value = "error_debug") val errorDebug: kotlin.String? = null, + + @SerialName(value = "error_description") val errorDescription: kotlin.String? = null, + + @SerialName(value = "error_hint") val errorHint: kotlin.String? = null, + + @SerialName(value = "status_code") val statusCode: kotlin.Long? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryCodeForIdentity.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryCodeForIdentity.kt new file mode 100644 index 00000000000..30d710bbd18 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryCodeForIdentity.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Used when an administrator creates a recovery code for an identity. + * + * @param recoveryCode RecoveryCode is the code that can be used to recover the account + * @param recoveryLink RecoveryLink with flow This link opens the recovery UI with an empty `code` field. + * @param expiresAt Expires At is the timestamp of when the recovery flow expires The timestamp when the recovery code expires. + */ +@Serializable + +data class RecoveryCodeForIdentity ( + + /* RecoveryCode is the code that can be used to recover the account */ + @SerialName(value = "recovery_code") @Required val recoveryCode: kotlin.String, + + /* RecoveryLink with flow This link opens the recovery UI with an empty `code` field. */ + @SerialName(value = "recovery_link") @Required val recoveryLink: kotlin.String, + + /* Expires At is the timestamp of when the recovery flow expires The timestamp when the recovery code expires. */ + @SerialName(value = "expires_at") val expiresAt: kotlinx.datetime.Instant? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryFlow.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryFlow.kt new file mode 100644 index 00000000000..9fd493a135f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryFlow.kt @@ -0,0 +1,80 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ContinueWith +import sh.ory.client-kotlin-multiplatform.models.UiContainer + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * This request is used when an identity wants to recover their account. We recommend reading the [Account Recovery Documentation](../self-service/flows/password-reset-account-recovery) + * + * @param expiresAt ExpiresAt is the time (UTC) when the request expires. If the user still wishes to update the setting, a new request has to be initiated. + * @param id ID represents the request's unique ID. When performing the recovery flow, this represents the id in the recovery ui's query parameter: http://?request= + * @param issuedAt IssuedAt is the time (UTC) when the request occurred. + * @param requestUrl RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. + * @param state State represents the state of this request: choose_method: ask the user to choose a method (e.g. recover account via email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed. + * @param type The flow type can either be `api` or `browser`. + * @param ui + * @param active Active, if set, contains the recovery method that is being used. It is initially not set. + * @param continueWith Contains possible actions that could follow this flow + * @param returnTo ReturnTo contains the requested return_to URL. + * @param transientPayload TransientPayload is used to pass data from the recovery flow to hooks and email templates + */ +@Serializable + +data class RecoveryFlow ( + + /* ExpiresAt is the time (UTC) when the request expires. If the user still wishes to update the setting, a new request has to be initiated. */ + @SerialName(value = "expires_at") @Required val expiresAt: kotlinx.datetime.Instant, + + /* ID represents the request's unique ID. When performing the recovery flow, this represents the id in the recovery ui's query parameter: http://?request= */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* IssuedAt is the time (UTC) when the request occurred. */ + @SerialName(value = "issued_at") @Required val issuedAt: kotlinx.datetime.Instant, + + /* RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. */ + @SerialName(value = "request_url") @Required val requestUrl: kotlin.String, + + /* State represents the state of this request: choose_method: ask the user to choose a method (e.g. recover account via email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed. */ + @SerialName(value = "state") @Required val state: kotlin.Any?, + + /* The flow type can either be `api` or `browser`. */ + @SerialName(value = "type") @Required val type: kotlin.String, + + @SerialName(value = "ui") @Required val ui: UiContainer, + + /* Active, if set, contains the recovery method that is being used. It is initially not set. */ + @SerialName(value = "active") val active: kotlin.String? = null, + + /* Contains possible actions that could follow this flow */ + @SerialName(value = "continue_with") val continueWith: kotlin.collections.List? = null, + + /* ReturnTo contains the requested return_to URL. */ + @SerialName(value = "return_to") val returnTo: kotlin.String? = null, + + /* TransientPayload is used to pass data from the recovery flow to hooks and email templates */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryFlowState.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryFlowState.kt new file mode 100644 index 00000000000..11a7a734bb2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryFlowState.kt @@ -0,0 +1,64 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* + +/** + * The state represents the state of the recovery flow. choose_method: ask the user to choose a method (e.g. recover account via email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed. + * + * Values: choose_method,sent_email,passed_challenge + */ +@Serializable +enum class RecoveryFlowState(val value: kotlin.String) { + + @SerialName(value = "choose_method") + choose_method("choose_method"), + + @SerialName(value = "sent_email") + sent_email("sent_email"), + + @SerialName(value = "passed_challenge") + passed_challenge("passed_challenge"); + + /** + * Override [toString()] to avoid using the enum variable name as the value, and instead use + * the actual value defined in the API spec file. + * + * This solves a problem when the variable name and its value are different, and ensures that + * the client sends the correct enum values to the server always. + */ + override fun toString(): kotlin.String = value + + companion object { + /** + * Converts the provided [data] to a [String] on success, null otherwise. + */ + fun encode(data: kotlin.Any?): kotlin.String? = if (data is RecoveryFlowState) "$data" else null + + /** + * Returns a valid [RecoveryFlowState] for [data], null otherwise. + */ + fun decode(data: kotlin.Any?): RecoveryFlowState? = data?.let { + val normalizedData = "$it".lowercase() + values().firstOrNull { value -> + it == value || normalizedData == "$value".lowercase() + } + } + } +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryIdentityAddress.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryIdentityAddress.kt new file mode 100644 index 00000000000..d98461323f7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryIdentityAddress.kt @@ -0,0 +1,52 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param id + * @param `value` + * @param via + * @param createdAt CreatedAt is a helper struct field for gobuffalo.pop. + * @param updatedAt UpdatedAt is a helper struct field for gobuffalo.pop. + */ +@Serializable + +data class RecoveryIdentityAddress ( + + @SerialName(value = "id") @Required val id: kotlin.String, + + @SerialName(value = "value") @Required val `value`: kotlin.String, + + @SerialName(value = "via") @Required val via: kotlin.String, + + /* CreatedAt is a helper struct field for gobuffalo.pop. */ + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + /* UpdatedAt is a helper struct field for gobuffalo.pop. */ + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryLinkForIdentity.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryLinkForIdentity.kt new file mode 100644 index 00000000000..38efecd0200 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryLinkForIdentity.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Used when an administrator creates a recovery link for an identity. + * + * @param recoveryLink Recovery Link This link can be used to recover the account. + * @param expiresAt Recovery Link Expires At The timestamp when the recovery link expires. + */ +@Serializable + +data class RecoveryLinkForIdentity ( + + /* Recovery Link This link can be used to recover the account. */ + @SerialName(value = "recovery_link") @Required val recoveryLink: kotlin.String, + + /* Recovery Link Expires At The timestamp when the recovery link expires. */ + @SerialName(value = "expires_at") val expiresAt: kotlinx.datetime.Instant? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RegistrationFlow.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RegistrationFlow.kt new file mode 100644 index 00000000000..4b97371fdf7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RegistrationFlow.kt @@ -0,0 +1,108 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.OAuth2LoginRequest +import sh.ory.client-kotlin-multiplatform.models.UiContainer + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param expiresAt ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. + * @param id ID represents the flow's unique ID. When performing the registration flow, this represents the id in the registration ui's query parameter: http:///?flow= + * @param issuedAt IssuedAt is the time (UTC) when the flow occurred. + * @param requestUrl RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. + * @param state State represents the state of this request: choose_method: ask the user to choose a method (e.g. registration with email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the registration challenge was passed. + * @param type The flow type can either be `api` or `browser`. + * @param ui + * @param active Active, if set, contains the registration method that is being used. It is initially not set. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + * @param oauth2LoginChallenge Ory OAuth 2.0 Login Challenge. This value is set using the `login_challenge` query parameter of the registration and login endpoints. If set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. + * @param oauth2LoginRequest + * @param organizationId + * @param returnTo ReturnTo contains the requested return_to URL. + * @param sessionTokenExchangeCode SessionTokenExchangeCode holds the secret code that the client can use to retrieve a session token after the flow has been completed. This is only set if the client has requested a session token exchange code, and if the flow is of type \"api\", and only on creating the flow. + * @param transientPayload TransientPayload is used to pass data from the registration to a webhook + */ +@Serializable + +data class RegistrationFlow ( + + /* ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. */ + @SerialName(value = "expires_at") @Required val expiresAt: kotlinx.datetime.Instant, + + /* ID represents the flow's unique ID. When performing the registration flow, this represents the id in the registration ui's query parameter: http:///?flow= */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* IssuedAt is the time (UTC) when the flow occurred. */ + @SerialName(value = "issued_at") @Required val issuedAt: kotlinx.datetime.Instant, + + /* RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. */ + @SerialName(value = "request_url") @Required val requestUrl: kotlin.String, + + /* State represents the state of this request: choose_method: ask the user to choose a method (e.g. registration with email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the registration challenge was passed. */ + @SerialName(value = "state") @Required val state: kotlin.Any?, + + /* The flow type can either be `api` or `browser`. */ + @SerialName(value = "type") @Required val type: kotlin.String, + + @SerialName(value = "ui") @Required val ui: UiContainer, + + /* Active, if set, contains the registration method that is being used. It is initially not set. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode */ + @SerialName(value = "active") val active: RegistrationFlow.Active? = null, + + /* Ory OAuth 2.0 Login Challenge. This value is set using the `login_challenge` query parameter of the registration and login endpoints. If set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. */ + @SerialName(value = "oauth2_login_challenge") val oauth2LoginChallenge: kotlin.String? = null, + + @SerialName(value = "oauth2_login_request") val oauth2LoginRequest: OAuth2LoginRequest? = null, + + @SerialName(value = "organization_id") val organizationId: kotlin.String? = null, + + /* ReturnTo contains the requested return_to URL. */ + @SerialName(value = "return_to") val returnTo: kotlin.String? = null, + + /* SessionTokenExchangeCode holds the secret code that the client can use to retrieve a session token after the flow has been completed. This is only set if the client has requested a session token exchange code, and if the flow is of type \"api\", and only on creating the flow. */ + @SerialName(value = "session_token_exchange_code") val sessionTokenExchangeCode: kotlin.String? = null, + + /* TransientPayload is used to pass data from the registration to a webhook */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + /** + * Active, if set, contains the registration method that is being used. It is initially not set. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + * + * Values: password,oidc,totp,lookup_secret,webauthn,code,passkey,profile,link_recovery,code_recovery + */ + @Serializable + enum class Active(val value: kotlin.String) { + @SerialName(value = "password") password("password"), + @SerialName(value = "oidc") oidc("oidc"), + @SerialName(value = "totp") totp("totp"), + @SerialName(value = "lookup_secret") lookup_secret("lookup_secret"), + @SerialName(value = "webauthn") webauthn("webauthn"), + @SerialName(value = "code") code("code"), + @SerialName(value = "passkey") passkey("passkey"), + @SerialName(value = "profile") profile("profile"), + @SerialName(value = "link_recovery") link_recovery("link_recovery"), + @SerialName(value = "code_recovery") code_recovery("code_recovery"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RegistrationFlowState.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RegistrationFlowState.kt new file mode 100644 index 00000000000..642bf3adf04 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RegistrationFlowState.kt @@ -0,0 +1,64 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* + +/** + * choose_method: ask the user to choose a method (e.g. registration with email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the registration challenge was passed. + * + * Values: choose_method,sent_email,passed_challenge + */ +@Serializable +enum class RegistrationFlowState(val value: kotlin.String) { + + @SerialName(value = "choose_method") + choose_method("choose_method"), + + @SerialName(value = "sent_email") + sent_email("sent_email"), + + @SerialName(value = "passed_challenge") + passed_challenge("passed_challenge"); + + /** + * Override [toString()] to avoid using the enum variable name as the value, and instead use + * the actual value defined in the API spec file. + * + * This solves a problem when the variable name and its value are different, and ensures that + * the client sends the correct enum values to the server always. + */ + override fun toString(): kotlin.String = value + + companion object { + /** + * Converts the provided [data] to a [String] on success, null otherwise. + */ + fun encode(data: kotlin.Any?): kotlin.String? = if (data is RegistrationFlowState) "$data" else null + + /** + * Returns a valid [RegistrationFlowState] for [data], null otherwise. + */ + fun decode(data: kotlin.Any?): RegistrationFlowState? = data?.let { + val normalizedData = "$it".lowercase() + values().firstOrNull { value -> + it == value || normalizedData == "$value".lowercase() + } + } + } +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RejectOAuth2Request.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RejectOAuth2Request.kt new file mode 100644 index 00000000000..c1ad882409f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RejectOAuth2Request.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param error The error should follow the OAuth2 error format (e.g. `invalid_request`, `login_required`). Defaults to `request_denied`. + * @param errorDebug Debug contains information to help resolve the problem as a developer. Usually not exposed to the public but only in the server logs. + * @param errorDescription Description of the error in a human readable format. + * @param errorHint Hint to help resolve the error. + * @param statusCode Represents the HTTP status code of the error (e.g. 401 or 403) Defaults to 400 + */ +@Serializable + +data class RejectOAuth2Request ( + + /* The error should follow the OAuth2 error format (e.g. `invalid_request`, `login_required`). Defaults to `request_denied`. */ + @SerialName(value = "error") val error: kotlin.String? = null, + + /* Debug contains information to help resolve the problem as a developer. Usually not exposed to the public but only in the server logs. */ + @SerialName(value = "error_debug") val errorDebug: kotlin.String? = null, + + /* Description of the error in a human readable format. */ + @SerialName(value = "error_description") val errorDescription: kotlin.String? = null, + + /* Hint to help resolve the error. */ + @SerialName(value = "error_hint") val errorHint: kotlin.String? = null, + + /* Represents the HTTP status code of the error (e.g. 401 or 403) Defaults to 400 */ + @SerialName(value = "status_code") val statusCode: kotlin.Long? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationQuery.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationQuery.kt new file mode 100644 index 00000000000..fc417a3ca46 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationQuery.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.SubjectSet + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Relation Query + * + * @param namespace Namespace to query + * @param `object` Object to query + * @param relation Relation to query + * @param subjectId SubjectID to query Either SubjectSet or SubjectID can be provided. + * @param subjectSet + */ +@Serializable + +data class RelationQuery ( + + /* Namespace to query */ + @SerialName(value = "namespace") val namespace: kotlin.String? = null, + + /* Object to query */ + @SerialName(value = "object") val `object`: kotlin.String? = null, + + /* Relation to query */ + @SerialName(value = "relation") val relation: kotlin.String? = null, + + /* SubjectID to query Either SubjectSet or SubjectID can be provided. */ + @SerialName(value = "subject_id") val subjectId: kotlin.String? = null, + + @SerialName(value = "subject_set") val subjectSet: SubjectSet? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Relationship.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Relationship.kt new file mode 100644 index 00000000000..e18037884b9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Relationship.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.SubjectSet + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Relationship + * + * @param namespace Namespace of the Relation Tuple + * @param `object` Object of the Relation Tuple + * @param relation Relation of the Relation Tuple + * @param subjectId SubjectID of the Relation Tuple Either SubjectSet or SubjectID can be provided. + * @param subjectSet + */ +@Serializable + +data class Relationship ( + + /* Namespace of the Relation Tuple */ + @SerialName(value = "namespace") @Required val namespace: kotlin.String, + + /* Object of the Relation Tuple */ + @SerialName(value = "object") @Required val `object`: kotlin.String, + + /* Relation of the Relation Tuple */ + @SerialName(value = "relation") @Required val relation: kotlin.String, + + /* SubjectID of the Relation Tuple Either SubjectSet or SubjectID can be provided. */ + @SerialName(value = "subject_id") val subjectId: kotlin.String? = null, + + @SerialName(value = "subject_set") val subjectSet: SubjectSet? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipNamespaces.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipNamespaces.kt new file mode 100644 index 00000000000..f1f97ed2dc6 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipNamespaces.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.Namespace + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Relationship Namespace List + * + * @param namespaces + */ +@Serializable + +data class RelationshipNamespaces ( + + @SerialName(value = "namespaces") val namespaces: kotlin.collections.List? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipPatch.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipPatch.kt new file mode 100644 index 00000000000..4eb338f84ef --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipPatch.kt @@ -0,0 +1,52 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.Relationship + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Payload for patching a relationship + * + * @param action + * @param relationTuple + */ +@Serializable + +data class RelationshipPatch ( + + @SerialName(value = "action") val action: RelationshipPatch.Action? = null, + + @SerialName(value = "relation_tuple") val relationTuple: Relationship? = null + +) { + + /** + * + * + * Values: insert,delete + */ + @Serializable + enum class Action(val value: kotlin.String) { + @SerialName(value = "insert") insert("insert"), + @SerialName(value = "delete") delete("delete"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Relationships.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Relationships.kt new file mode 100644 index 00000000000..938f05bc97a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Relationships.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.Relationship + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Paginated Relationship List + * + * @param nextPageToken The opaque token to provide in a subsequent request to get the next page. It is the empty string iff this is the last page. + * @param relationTuples + */ +@Serializable + +data class Relationships ( + + /* The opaque token to provide in a subsequent request to get the next page. It is the empty string iff this is the last page. */ + @SerialName(value = "next_page_token") val nextPageToken: kotlin.String? = null, + + @SerialName(value = "relation_tuples") val relationTuples: kotlin.collections.List? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SchemaPatch.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SchemaPatch.kt new file mode 100644 index 00000000000..5100773ebdd --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SchemaPatch.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param `data` The json schema + * @param name The user defined schema name + */ +@Serializable + +data class SchemaPatch ( + + /* The json schema */ + @SerialName(value = "data") @Required val `data`: kotlin.String, + + /* The user defined schema name */ + @SerialName(value = "name") @Required val name: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SelfServiceFlowExpiredError.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SelfServiceFlowExpiredError.kt new file mode 100644 index 00000000000..4595246a6d8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SelfServiceFlowExpiredError.kt @@ -0,0 +1,51 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.GenericError + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Is sent when a flow is expired + * + * @param error + * @param expiredAt When the flow has expired + * @param since A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. + * @param useFlowId The flow ID that should be used for the new flow as it contains the correct messages. + */ +@Serializable + +data class SelfServiceFlowExpiredError ( + + @SerialName(value = "error") val error: GenericError? = null, + + /* When the flow has expired */ + @SerialName(value = "expired_at") val expiredAt: kotlinx.datetime.Instant? = null, + + /* A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. */ + @SerialName(value = "since") val since: kotlin.Long? = null, + + /* The flow ID that should be used for the new flow as it contains the correct messages. */ + @SerialName(value = "use_flow_id") val useFlowId: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Session.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Session.kt new file mode 100644 index 00000000000..05540b420cd --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Session.kt @@ -0,0 +1,77 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.AuthenticatorAssuranceLevel +import sh.ory.client-kotlin-multiplatform.models.Identity +import sh.ory.client-kotlin-multiplatform.models.SessionAuthenticationMethod +import sh.ory.client-kotlin-multiplatform.models.SessionDevice + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * A Session + * + * @param id Session ID + * @param active Active state. If false the session is no longer active. + * @param authenticatedAt The Session Authentication Timestamp When this session was authenticated at. If multi-factor authentication was used this is the time when the last factor was authenticated (e.g. the TOTP code challenge was completed). + * @param authenticationMethods A list of authenticators which were used to authenticate the session. + * @param authenticatorAssuranceLevel + * @param devices Devices has history of all endpoints where the session was used + * @param expiresAt The Session Expiry When this session expires at. + * @param identity + * @param issuedAt The Session Issuance Timestamp When this session was issued at. Usually equal or close to `authenticated_at`. + * @param tokenized Tokenized is the tokenized (e.g. JWT) version of the session. It is only set when the `tokenize` query parameter was set to a valid tokenize template during calls to `/session/whoami`. + */ +@Serializable + +data class Session ( + + /* Session ID */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* Active state. If false the session is no longer active. */ + @SerialName(value = "active") val active: kotlin.Boolean? = null, + + /* The Session Authentication Timestamp When this session was authenticated at. If multi-factor authentication was used this is the time when the last factor was authenticated (e.g. the TOTP code challenge was completed). */ + @SerialName(value = "authenticated_at") val authenticatedAt: kotlinx.datetime.Instant? = null, + + /* A list of authenticators which were used to authenticate the session. */ + @SerialName(value = "authentication_methods") val authenticationMethods: kotlin.collections.List? = null, + + @SerialName(value = "authenticator_assurance_level") val authenticatorAssuranceLevel: AuthenticatorAssuranceLevel? = null, + + /* Devices has history of all endpoints where the session was used */ + @SerialName(value = "devices") val devices: kotlin.collections.List? = null, + + /* The Session Expiry When this session expires at. */ + @SerialName(value = "expires_at") val expiresAt: kotlinx.datetime.Instant? = null, + + @SerialName(value = "identity") val identity: Identity? = null, + + /* The Session Issuance Timestamp When this session was issued at. Usually equal or close to `authenticated_at`. */ + @SerialName(value = "issued_at") val issuedAt: kotlinx.datetime.Instant? = null, + + /* Tokenized is the tokenized (e.g. JWT) version of the session. It is only set when the `tokenize` query parameter was set to a valid tokenize template during calls to `/session/whoami`. */ + @SerialName(value = "tokenized") val tokenized: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionActivityDatapoint.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionActivityDatapoint.kt new file mode 100644 index 00000000000..880766728cb --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionActivityDatapoint.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param country Country of the events + * @param failed Number of events that failed in the given timeframe + * @param succeeded Number of events that succeeded in the given timeframe + */ +@Serializable + +data class SessionActivityDatapoint ( + + /* Country of the events */ + @SerialName(value = "country") @Required val country: kotlin.String, + + /* Number of events that failed in the given timeframe */ + @SerialName(value = "failed") @Required val failed: kotlin.Long, + + /* Number of events that succeeded in the given timeframe */ + @SerialName(value = "succeeded") @Required val succeeded: kotlin.Long + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionAuthenticationMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionAuthenticationMethod.kt new file mode 100644 index 00000000000..182a9944e15 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionAuthenticationMethod.kt @@ -0,0 +1,71 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.AuthenticatorAssuranceLevel + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * A singular authenticator used during authentication / login. + * + * @param aal + * @param completedAt When the authentication challenge was completed. + * @param method + * @param organization The Organization id used for authentication + * @param provider OIDC or SAML provider id used for authentication + */ +@Serializable + +data class SessionAuthenticationMethod ( + + @SerialName(value = "aal") val aal: AuthenticatorAssuranceLevel? = null, + + /* When the authentication challenge was completed. */ + @SerialName(value = "completed_at") val completedAt: kotlinx.datetime.Instant? = null, + + @SerialName(value = "method") val method: SessionAuthenticationMethod.Method? = null, + + /* The Organization id used for authentication */ + @SerialName(value = "organization") val organization: kotlin.String? = null, + + /* OIDC or SAML provider id used for authentication */ + @SerialName(value = "provider") val provider: kotlin.String? = null + +) { + + /** + * + * + * Values: link_recovery,code_recovery,password,code,totp,oidc,webauthn,lookup_secret,v0Period6_legacy_session + */ + @Serializable + enum class Method(val value: kotlin.String) { + @SerialName(value = "link_recovery") link_recovery("link_recovery"), + @SerialName(value = "code_recovery") code_recovery("code_recovery"), + @SerialName(value = "password") password("password"), + @SerialName(value = "code") code("code"), + @SerialName(value = "totp") totp("totp"), + @SerialName(value = "oidc") oidc("oidc"), + @SerialName(value = "webauthn") webauthn("webauthn"), + @SerialName(value = "lookup_secret") lookup_secret("lookup_secret"), + @SerialName(value = "v0.6_legacy_session") v0Period6_legacy_session("v0.6_legacy_session"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionDevice.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionDevice.kt new file mode 100644 index 00000000000..98117d0daf9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionDevice.kt @@ -0,0 +1,51 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Device corresponding to a Session + * + * @param id Device record ID + * @param ipAddress IPAddress of the client + * @param location Geo Location corresponding to the IP Address + * @param userAgent UserAgent of the client + */ +@Serializable + +data class SessionDevice ( + + /* Device record ID */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* IPAddress of the client */ + @SerialName(value = "ip_address") val ipAddress: kotlin.String? = null, + + /* Geo Location corresponding to the IP Address */ + @SerialName(value = "location") val location: kotlin.String? = null, + + /* UserAgent of the client */ + @SerialName(value = "user_agent") val userAgent: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetActiveProjectInConsoleBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetActiveProjectInConsoleBody.kt new file mode 100644 index 00000000000..896e4045ee6 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetActiveProjectInConsoleBody.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Set active project in the Ory Network Console Request Body + * + * @param projectId Project ID The Project ID you want to set active. format: uuid + */ +@Serializable + +data class SetActiveProjectInConsoleBody ( + + /* Project ID The Project ID you want to set active. format: uuid */ + @SerialName(value = "project_id") @Required val projectId: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetCustomDomainBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetCustomDomainBody.kt new file mode 100644 index 00000000000..3382cbd8731 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetCustomDomainBody.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Custom Hostname Body + * + * @param cookieDomain The domain where cookies will be set. Has to be a parent domain of the custom hostname to work. + * @param corsAllowedOrigins CORS Allowed origins for the custom hostname. + * @param corsEnabled CORS Enabled for the custom hostname. + * @param customUiBaseUrl The custom UI base URL where the UI will be exposed. + * @param hostname The custom hostname where the API will be exposed. + */ +@Serializable + +data class SetCustomDomainBody ( + + /* The domain where cookies will be set. Has to be a parent domain of the custom hostname to work. */ + @SerialName(value = "cookie_domain") val cookieDomain: kotlin.String? = null, + + /* CORS Allowed origins for the custom hostname. */ + @SerialName(value = "cors_allowed_origins") val corsAllowedOrigins: kotlin.collections.List? = null, + + /* CORS Enabled for the custom hostname. */ + @SerialName(value = "cors_enabled") val corsEnabled: kotlin.Boolean? = null, + + /* The custom UI base URL where the UI will be exposed. */ + @SerialName(value = "custom_ui_base_url") val customUiBaseUrl: kotlin.String? = null, + + /* The custom hostname where the API will be exposed. */ + @SerialName(value = "hostname") val hostname: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetEventStreamBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetEventStreamBody.kt new file mode 100644 index 00000000000..32edc4a26bb --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetEventStreamBody.kt @@ -0,0 +1,56 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Event Stream Body + * + * @param roleArn The AWS IAM role ARN to assume when publishing to the SNS topic. + * @param topicArn The AWS SNS topic ARN. + * @param type The type of the event stream (AWS SNS, GCP Pub/Sub, etc). + */ +@Serializable + +data class SetEventStreamBody ( + + /* The AWS IAM role ARN to assume when publishing to the SNS topic. */ + @SerialName(value = "role_arn") @Required val roleArn: kotlin.String, + + /* The AWS SNS topic ARN. */ + @SerialName(value = "topic_arn") @Required val topicArn: kotlin.String, + + /* The type of the event stream (AWS SNS, GCP Pub/Sub, etc). */ + @SerialName(value = "type") @Required val type: SetEventStreamBody.Type + +) { + + /** + * The type of the event stream (AWS SNS, GCP Pub/Sub, etc). + * + * Values: sns + */ + @Serializable + enum class Type(val value: kotlin.String) { + @SerialName(value = "sns") sns("sns"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetProject.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetProject.kt new file mode 100644 index 00000000000..7a1a2a6e49b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetProject.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ProjectCors +import sh.ory.client-kotlin-multiplatform.models.ProjectServices + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param corsAdmin + * @param corsPublic + * @param name The name of the project. + * @param services + */ +@Serializable + +data class SetProject ( + + @SerialName(value = "cors_admin") @Required val corsAdmin: ProjectCors, + + @SerialName(value = "cors_public") @Required val corsPublic: ProjectCors, + + /* The name of the project. */ + @SerialName(value = "name") @Required val name: kotlin.String, + + @SerialName(value = "services") @Required val services: ProjectServices + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetProjectBrandingThemeBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetProjectBrandingThemeBody.kt new file mode 100644 index 00000000000..0b7796b2ca4 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SetProjectBrandingThemeBody.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ProjectBrandingColors + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param faviconType Favicon Type + * @param faviconUrl Favicon URL + * @param logoType Logo type + * @param logoUrl Logo URL + * @param name Branding name + * @param theme + */ +@Serializable + +data class SetProjectBrandingThemeBody ( + + /* Favicon Type */ + @SerialName(value = "favicon_type") val faviconType: kotlin.String? = null, + + /* Favicon URL */ + @SerialName(value = "favicon_url") val faviconUrl: kotlin.String? = null, + + /* Logo type */ + @SerialName(value = "logo_type") val logoType: kotlin.String? = null, + + /* Logo URL */ + @SerialName(value = "logo_url") val logoUrl: kotlin.String? = null, + + /* Branding name */ + @SerialName(value = "name") val name: kotlin.String? = null, + + @SerialName(value = "theme") val theme: ProjectBrandingColors? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SettingsFlow.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SettingsFlow.kt new file mode 100644 index 00000000000..edd7a1c9252 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SettingsFlow.kt @@ -0,0 +1,84 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ContinueWith +import sh.ory.client-kotlin-multiplatform.models.Identity +import sh.ory.client-kotlin-multiplatform.models.UiContainer + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * This flow is used when an identity wants to update settings (e.g. profile data, passwords, ...) in a selfservice manner. We recommend reading the [User Settings Documentation](../self-service/flows/user-settings) + * + * @param expiresAt ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to update the setting, a new flow has to be initiated. + * @param id ID represents the flow's unique ID. When performing the settings flow, this represents the id in the settings ui's query parameter: http://?flow= + * @param identity + * @param issuedAt IssuedAt is the time (UTC) when the flow occurred. + * @param requestUrl RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. + * @param state State represents the state of this flow. It knows two states: show_form: No user data has been collected, or it is invalid, and thus the form should be shown. success: Indicates that the settings flow has been updated successfully with the provided data. Done will stay true when repeatedly checking. If set to true, done will revert back to false only when a flow with invalid (e.g. \"please use a valid phone number\") data was sent. + * @param type The flow type can either be `api` or `browser`. + * @param ui + * @param active Active, if set, contains the registration method that is being used. It is initially not set. + * @param continueWith Contains a list of actions, that could follow this flow It can, for example, contain a reference to the verification flow, created as part of the user's registration. + * @param returnTo ReturnTo contains the requested return_to URL. + * @param transientPayload TransientPayload is used to pass data from the settings flow to hooks and email templates + */ +@Serializable + +data class SettingsFlow ( + + /* ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to update the setting, a new flow has to be initiated. */ + @SerialName(value = "expires_at") @Required val expiresAt: kotlinx.datetime.Instant, + + /* ID represents the flow's unique ID. When performing the settings flow, this represents the id in the settings ui's query parameter: http://?flow= */ + @SerialName(value = "id") @Required val id: kotlin.String, + + @SerialName(value = "identity") @Required val identity: Identity, + + /* IssuedAt is the time (UTC) when the flow occurred. */ + @SerialName(value = "issued_at") @Required val issuedAt: kotlinx.datetime.Instant, + + /* RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. */ + @SerialName(value = "request_url") @Required val requestUrl: kotlin.String, + + /* State represents the state of this flow. It knows two states: show_form: No user data has been collected, or it is invalid, and thus the form should be shown. success: Indicates that the settings flow has been updated successfully with the provided data. Done will stay true when repeatedly checking. If set to true, done will revert back to false only when a flow with invalid (e.g. \"please use a valid phone number\") data was sent. */ + @SerialName(value = "state") @Required val state: kotlin.Any?, + + /* The flow type can either be `api` or `browser`. */ + @SerialName(value = "type") @Required val type: kotlin.String, + + @SerialName(value = "ui") @Required val ui: UiContainer, + + /* Active, if set, contains the registration method that is being used. It is initially not set. */ + @SerialName(value = "active") val active: kotlin.String? = null, + + /* Contains a list of actions, that could follow this flow It can, for example, contain a reference to the verification flow, created as part of the user's registration. */ + @SerialName(value = "continue_with") val continueWith: kotlin.collections.List? = null, + + /* ReturnTo contains the requested return_to URL. */ + @SerialName(value = "return_to") val returnTo: kotlin.String? = null, + + /* TransientPayload is used to pass data from the settings flow to hooks and email templates */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SettingsFlowState.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SettingsFlowState.kt new file mode 100644 index 00000000000..cb0e681508a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SettingsFlowState.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* + +/** + * show_form: No user data has been collected, or it is invalid, and thus the form should be shown. success: Indicates that the settings flow has been updated successfully with the provided data. Done will stay true when repeatedly checking. If set to true, done will revert back to false only when a flow with invalid (e.g. \"please use a valid phone number\") data was sent. + * + * Values: show_form,success + */ +@Serializable +enum class SettingsFlowState(val value: kotlin.String) { + + @SerialName(value = "show_form") + show_form("show_form"), + + @SerialName(value = "success") + success("success"); + + /** + * Override [toString()] to avoid using the enum variable name as the value, and instead use + * the actual value defined in the API spec file. + * + * This solves a problem when the variable name and its value are different, and ensures that + * the client sends the correct enum values to the server always. + */ + override fun toString(): kotlin.String = value + + companion object { + /** + * Converts the provided [data] to a [String] on success, null otherwise. + */ + fun encode(data: kotlin.Any?): kotlin.String? = if (data is SettingsFlowState) "$data" else null + + /** + * Returns a valid [SettingsFlowState] for [data], null otherwise. + */ + fun decode(data: kotlin.Any?): SettingsFlowState? = data?.let { + val normalizedData = "$it".lowercase() + values().firstOrNull { value -> + it == value || normalizedData == "$value".lowercase() + } + } + } +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SourcePosition.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SourcePosition.kt new file mode 100644 index 00000000000..2dfd42c5bc4 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SourcePosition.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param line + * @param column + */ +@Serializable + +data class SourcePosition ( + + @SerialName(value = "Line") val line: kotlin.Long? = null, + + @SerialName(value = "column") val column: kotlin.Long? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SubjectSet.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SubjectSet.kt new file mode 100644 index 00000000000..ea9046aba01 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SubjectSet.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param namespace Namespace of the Subject Set + * @param `object` Object of the Subject Set + * @param relation Relation of the Subject Set + */ +@Serializable + +data class SubjectSet ( + + /* Namespace of the Subject Set */ + @SerialName(value = "namespace") @Required val namespace: kotlin.String, + + /* Object of the Subject Set */ + @SerialName(value = "object") @Required val `object`: kotlin.String, + + /* Relation of the Subject Set */ + @SerialName(value = "relation") @Required val relation: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Subscription.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Subscription.kt new file mode 100644 index 00000000000..b0af29b81ae --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Subscription.kt @@ -0,0 +1,108 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.PlanDetails + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param createdAt + * @param currency The currency of the subscription. To change this, a new subscription must be created. usd USD eur Euro + * @param currentInterval The currently active interval of the subscription monthly Monthly yearly Yearly + * @param currentPlan The currently active plan of the subscription + * @param customerId The ID of the stripe customer + * @param id The ID of the subscription + * @param intervalChangesTo + * @param payedUntil Until when the subscription is payed + * @param planChangesTo + * @param status For `collection_method=charge_automatically` a subscription moves into `incomplete` if the initial payment attempt fails. A subscription in this status can only have metadata and default_source updated. Once the first invoice is paid, the subscription moves into an `active` status. If the first invoice is not paid within 23 hours, the subscription transitions to `incomplete_expired`. This is a terminal status, the open invoice will be voided and no further invoices will be generated. A subscription that is currently in a trial period is `trialing` and moves to `active` when the trial period is over. A subscription can only enter a `paused` status [when a trial ends without a payment method](https://stripe.com/billing/subscriptions/trials#create-free-trials-without-payment). A `paused` subscription doesn't generate invoices and can be resumed after your customer adds their payment method. The `paused` status is different from [pausing collection](https://stripe.com/billing/subscriptions/pause-payment), which still generates invoices and leaves the subscription's status unchanged. If subscription `collection_method=charge_automatically`, it becomes `past_due` when payment is required but cannot be paid (due to failed payment or awaiting additional user actions). Once Stripe has exhausted all payment retry attempts, the subscription will become `canceled` or `unpaid` (depending on your subscriptions settings). If subscription `collection_method=send_invoice` it becomes `past_due` when its invoice is not paid by the due date, and `canceled` or `unpaid` if it is still not paid by an additional deadline after that. Note that when a subscription has a status of `unpaid`, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices. + * @param updatedAt + * @param currentPlanDetails + * @param ongoingStripeCheckoutId + * @param planChangesAt + * @param stripeCheckoutExpiresAt + */ +@Serializable + +data class Subscription ( + + @SerialName(value = "created_at") @Required val createdAt: kotlinx.datetime.Instant, + + /* The currency of the subscription. To change this, a new subscription must be created. usd USD eur Euro */ + @SerialName(value = "currency") @Required val currency: Subscription.Currency, + + /* The currently active interval of the subscription monthly Monthly yearly Yearly */ + @SerialName(value = "current_interval") @Required val currentInterval: Subscription.CurrentInterval, + + /* The currently active plan of the subscription */ + @SerialName(value = "current_plan") @Required val currentPlan: kotlin.String, + + /* The ID of the stripe customer */ + @SerialName(value = "customer_id") @Required val customerId: kotlin.String, + + /* The ID of the subscription */ + @SerialName(value = "id") @Required val id: kotlin.String, + + @SerialName(value = "interval_changes_to") @Required val intervalChangesTo: kotlin.String?, + + /* Until when the subscription is payed */ + @SerialName(value = "payed_until") @Required val payedUntil: kotlinx.datetime.Instant, + + @SerialName(value = "plan_changes_to") @Required val planChangesTo: kotlin.String?, + + /* For `collection_method=charge_automatically` a subscription moves into `incomplete` if the initial payment attempt fails. A subscription in this status can only have metadata and default_source updated. Once the first invoice is paid, the subscription moves into an `active` status. If the first invoice is not paid within 23 hours, the subscription transitions to `incomplete_expired`. This is a terminal status, the open invoice will be voided and no further invoices will be generated. A subscription that is currently in a trial period is `trialing` and moves to `active` when the trial period is over. A subscription can only enter a `paused` status [when a trial ends without a payment method](https://stripe.com/billing/subscriptions/trials#create-free-trials-without-payment). A `paused` subscription doesn't generate invoices and can be resumed after your customer adds their payment method. The `paused` status is different from [pausing collection](https://stripe.com/billing/subscriptions/pause-payment), which still generates invoices and leaves the subscription's status unchanged. If subscription `collection_method=charge_automatically`, it becomes `past_due` when payment is required but cannot be paid (due to failed payment or awaiting additional user actions). Once Stripe has exhausted all payment retry attempts, the subscription will become `canceled` or `unpaid` (depending on your subscriptions settings). If subscription `collection_method=send_invoice` it becomes `past_due` when its invoice is not paid by the due date, and `canceled` or `unpaid` if it is still not paid by an additional deadline after that. Note that when a subscription has a status of `unpaid`, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices. */ + @SerialName(value = "status") @Required val status: kotlin.String, + + @SerialName(value = "updated_at") @Required val updatedAt: kotlinx.datetime.Instant, + + @SerialName(value = "current_plan_details") val currentPlanDetails: PlanDetails? = null, + + @SerialName(value = "ongoing_stripe_checkout_id") val ongoingStripeCheckoutId: kotlin.String? = null, + + @SerialName(value = "plan_changes_at") val planChangesAt: kotlinx.datetime.Instant? = null, + + @SerialName(value = "stripe_checkout_expires_at") val stripeCheckoutExpiresAt: kotlinx.datetime.Instant? = null + +) { + + /** + * The currency of the subscription. To change this, a new subscription must be created. usd USD eur Euro + * + * Values: usd,eur + */ + @Serializable + enum class Currency(val value: kotlin.String) { + @SerialName(value = "usd") usd("usd"), + @SerialName(value = "eur") eur("eur"); + } + /** + * The currently active interval of the subscription monthly Monthly yearly Yearly + * + * Values: monthly,yearly + */ + @Serializable + enum class CurrentInterval(val value: kotlin.String) { + @SerialName(value = "monthly") monthly("monthly"), + @SerialName(value = "yearly") yearly("yearly"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulCodeExchangeResponse.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulCodeExchangeResponse.kt new file mode 100644 index 00000000000..368fa70e1db --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulCodeExchangeResponse.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.Session + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * The Response for Registration Flows via API + * + * @param session + * @param sessionToken The Session Token A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! + */ +@Serializable + +data class SuccessfulCodeExchangeResponse ( + + @SerialName(value = "session") @Required val session: Session, + + /* The Session Token A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! */ + @SerialName(value = "session_token") val sessionToken: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulNativeLogin.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulNativeLogin.kt new file mode 100644 index 00000000000..17d242f7c98 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulNativeLogin.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ContinueWith +import sh.ory.client-kotlin-multiplatform.models.Session + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * The Response for Login Flows via API + * + * @param session + * @param continueWith Contains a list of actions, that could follow this flow It can, for example, this will contain a reference to the verification flow, created as part of the user's registration or the token of the session. + * @param sessionToken The Session Token A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! + */ +@Serializable + +data class SuccessfulNativeLogin ( + + @SerialName(value = "session") @Required val session: Session, + + /* Contains a list of actions, that could follow this flow It can, for example, this will contain a reference to the verification flow, created as part of the user's registration or the token of the session. */ + @SerialName(value = "continue_with") val continueWith: kotlin.collections.List? = null, + + /* The Session Token A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! */ + @SerialName(value = "session_token") val sessionToken: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulNativeRegistration.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulNativeRegistration.kt new file mode 100644 index 00000000000..0a2df104b2d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulNativeRegistration.kt @@ -0,0 +1,52 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.ContinueWith +import sh.ory.client-kotlin-multiplatform.models.Identity +import sh.ory.client-kotlin-multiplatform.models.Session + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * The Response for Registration Flows via API + * + * @param identity + * @param continueWith Contains a list of actions, that could follow this flow It can, for example, this will contain a reference to the verification flow, created as part of the user's registration or the token of the session. + * @param session + * @param sessionToken The Session Token This field is only set when the session hook is configured as a post-registration hook. A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! + */ +@Serializable + +data class SuccessfulNativeRegistration ( + + @SerialName(value = "identity") @Required val identity: Identity, + + /* Contains a list of actions, that could follow this flow It can, for example, this will contain a reference to the verification flow, created as part of the user's registration or the token of the session. */ + @SerialName(value = "continue_with") val continueWith: kotlin.collections.List? = null, + + @SerialName(value = "session") val session: Session? = null, + + /* The Session Token This field is only set when the session hook is configured as a post-registration hook. A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! */ + @SerialName(value = "session_token") val sessionToken: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulProjectUpdate.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulProjectUpdate.kt new file mode 100644 index 00000000000..3b30c876aae --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulProjectUpdate.kt @@ -0,0 +1,44 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.Project +import sh.ory.client-kotlin-multiplatform.models.Warning + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param project + * @param warnings Import Warnings Not all configuration items can be imported to the Ory Network. For example, setting the port does not make sense because the Ory Network provides the runtime and networking. This field contains warnings where configuration keys were found but can not be imported. These keys will be ignored by the Ory Network. This field will help you understand why certain configuration keys might not be respected! + */ +@Serializable + +data class SuccessfulProjectUpdate ( + + @SerialName(value = "project") @Required val project: Project, + + /* Import Warnings Not all configuration items can be imported to the Ory Network. For example, setting the port does not make sense because the Ory Network provides the runtime and networking. This field contains warnings where configuration keys were found but can not be imported. These keys will be ignored by the Ory Network. This field will help you understand why certain configuration keys might not be respected! */ + @SerialName(value = "warnings") @Required val warnings: kotlin.collections.List + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TaxLineItem.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TaxLineItem.kt new file mode 100644 index 00000000000..4f03ae4e8d8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TaxLineItem.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param amountInCent + * @param title + */ +@Serializable + +data class TaxLineItem ( + + @SerialName(value = "amount_in_cent") val amountInCent: kotlin.Long? = null, + + @SerialName(value = "title") val title: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TimeInterval.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TimeInterval.kt new file mode 100644 index 00000000000..89b4fa96ed5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TimeInterval.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param end The end of the time period. + * @param start The start of the time period. + */ +@Serializable + +data class TimeInterval ( + + /* The end of the time period. */ + @SerialName(value = "end") @Required val end: kotlinx.datetime.Instant, + + /* The start of the time period. */ + @SerialName(value = "start") @Required val start: kotlinx.datetime.Instant + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPagination.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPagination.kt new file mode 100644 index 00000000000..c0c75d22e06 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPagination.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param pageSize Items per page 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). + * @param 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). + */ +@Serializable + +data class TokenPagination ( + + /* Items per page 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). */ + @SerialName(value = "page_size") val pageSize: kotlin.Long? = 250L, + + /* 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). */ + @SerialName(value = "page_token") val pageToken: kotlin.String? = "1" + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationHeaders.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationHeaders.kt new file mode 100644 index 00000000000..10cd576a17d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationHeaders.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param link The link header contains pagination links. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). in: header + * @param xTotalCount The total number of clients. in: header + */ +@Serializable + +data class TokenPaginationHeaders ( + + /* The link header contains pagination links. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). in: header */ + @SerialName(value = "link") val link: kotlin.String? = null, + + /* The total number of clients. in: header */ + @SerialName(value = "x-total-count") val xTotalCount: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationRequestParameters.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationRequestParameters.kt new file mode 100644 index 00000000000..f748788f481 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationRequestParameters.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * The `Link` HTTP header contains multiple links (`first`, `next`, `last`, `previous`) formatted as: `; rel=\"{page}\"` For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). + * + * @param pageSize Items per Page 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). + * @param 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). + */ +@Serializable + +data class TokenPaginationRequestParameters ( + + /* Items per Page 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). */ + @SerialName(value = "page_size") val pageSize: kotlin.Long? = 250L, + + /* 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). */ + @SerialName(value = "page_token") val pageToken: kotlin.String? = "1" + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationResponseHeaders.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationResponseHeaders.kt new file mode 100644 index 00000000000..58e726b9da2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationResponseHeaders.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * The `Link` HTTP header contains multiple links (`first`, `next`, `last`, `previous`) formatted as: `; rel=\"{page}\"` For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). + * + * @param link The Link HTTP Header The `Link` header contains a comma-delimited list of links to the following pages: first: The first page of results. next: The next page of results. prev: The previous page of results. last: The last page of results. Pages are omitted if they do not exist. For example, if there is no next page, the `next` link is omitted. Examples: ; rel=\"first\",; rel=\"next\",; rel=\"prev\",; rel=\"last\" + * @param xTotalCount The X-Total-Count HTTP Header The `X-Total-Count` header contains the total number of items in the collection. + */ +@Serializable + +data class TokenPaginationResponseHeaders ( + + /* The Link HTTP Header The `Link` header contains a comma-delimited list of links to the following pages: first: The first page of results. next: The next page of results. prev: The previous page of results. last: The last page of results. Pages are omitted if they do not exist. For example, if there is no next page, the `next` link is omitted. Examples: ; rel=\"first\",; rel=\"next\",; rel=\"prev\",; rel=\"last\" */ + @SerialName(value = "link") val link: kotlin.String? = null, + + /* The X-Total-Count HTTP Header The `X-Total-Count` header contains the total number of items in the collection. */ + @SerialName(value = "x-total-count") val xTotalCount: kotlin.Long? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustOAuth2JwtGrantIssuer.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustOAuth2JwtGrantIssuer.kt new file mode 100644 index 00000000000..348c4c9d7f3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustOAuth2JwtGrantIssuer.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.JsonWebKey + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Trust OAuth2 JWT Bearer Grant Type Issuer Request Body + * + * @param expiresAt The \"expires_at\" indicates, when grant will expire, so we will reject assertion from \"issuer\" targeting \"subject\". + * @param issuer The \"issuer\" identifies the principal that issued the JWT assertion (same as \"iss\" claim in JWT). + * @param jwk + * @param scope The \"scope\" contains list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) + * @param allowAnySubject The \"allow_any_subject\" indicates that the issuer is allowed to have any principal as the subject of the JWT. + * @param subject The \"subject\" identifies the principal that is the subject of the JWT. + */ +@Serializable + +data class TrustOAuth2JwtGrantIssuer ( + + /* The \"expires_at\" indicates, when grant will expire, so we will reject assertion from \"issuer\" targeting \"subject\". */ + @SerialName(value = "expires_at") @Required val expiresAt: kotlinx.datetime.Instant, + + /* The \"issuer\" identifies the principal that issued the JWT assertion (same as \"iss\" claim in JWT). */ + @SerialName(value = "issuer") @Required val issuer: kotlin.String, + + @SerialName(value = "jwk") @Required val jwk: JsonWebKey, + + /* The \"scope\" contains list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) */ + @SerialName(value = "scope") @Required val scope: kotlin.collections.List, + + /* The \"allow_any_subject\" indicates that the issuer is allowed to have any principal as the subject of the JWT. */ + @SerialName(value = "allow_any_subject") val allowAnySubject: kotlin.Boolean? = null, + + /* The \"subject\" identifies the principal that is the subject of the JWT. */ + @SerialName(value = "subject") val subject: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustedOAuth2JwtGrantIssuer.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustedOAuth2JwtGrantIssuer.kt new file mode 100644 index 00000000000..9320c31a392 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustedOAuth2JwtGrantIssuer.kt @@ -0,0 +1,66 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.TrustedOAuth2JwtGrantJsonWebKey + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * OAuth2 JWT Bearer Grant Type Issuer Trust Relationship + * + * @param allowAnySubject The \"allow_any_subject\" indicates that the issuer is allowed to have any principal as the subject of the JWT. + * @param createdAt The \"created_at\" indicates, when grant was created. + * @param expiresAt The \"expires_at\" indicates, when grant will expire, so we will reject assertion from \"issuer\" targeting \"subject\". + * @param id + * @param issuer The \"issuer\" identifies the principal that issued the JWT assertion (same as \"iss\" claim in JWT). + * @param publicKey + * @param scope The \"scope\" contains list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) + * @param subject The \"subject\" identifies the principal that is the subject of the JWT. + */ +@Serializable + +data class TrustedOAuth2JwtGrantIssuer ( + + /* The \"allow_any_subject\" indicates that the issuer is allowed to have any principal as the subject of the JWT. */ + @SerialName(value = "allow_any_subject") val allowAnySubject: kotlin.Boolean? = null, + + /* The \"created_at\" indicates, when grant was created. */ + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + /* The \"expires_at\" indicates, when grant will expire, so we will reject assertion from \"issuer\" targeting \"subject\". */ + @SerialName(value = "expires_at") val expiresAt: kotlinx.datetime.Instant? = null, + + @SerialName(value = "id") val id: kotlin.String? = null, + + /* The \"issuer\" identifies the principal that issued the JWT assertion (same as \"iss\" claim in JWT). */ + @SerialName(value = "issuer") val issuer: kotlin.String? = null, + + @SerialName(value = "public_key") val publicKey: TrustedOAuth2JwtGrantJsonWebKey? = null, + + /* The \"scope\" contains list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) */ + @SerialName(value = "scope") val scope: kotlin.collections.List? = null, + + /* The \"subject\" identifies the principal that is the subject of the JWT. */ + @SerialName(value = "subject") val subject: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustedOAuth2JwtGrantJsonWebKey.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustedOAuth2JwtGrantJsonWebKey.kt new file mode 100644 index 00000000000..c6eab83d4d9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustedOAuth2JwtGrantJsonWebKey.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * OAuth2 JWT Bearer Grant Type Issuer Trusted JSON Web Key + * + * @param kid The \"key_id\" is key unique identifier (same as kid header in jws/jwt). + * @param set The \"set\" is basically a name for a group(set) of keys. Will be the same as \"issuer\" in grant. + */ +@Serializable + +data class TrustedOAuth2JwtGrantJsonWebKey ( + + /* The \"key_id\" is key unique identifier (same as kid header in jws/jwt). */ + @SerialName(value = "kid") val kid: kotlin.String? = null, + + /* The \"set\" is basically a name for a group(set) of keys. Will be the same as \"issuer\" in grant. */ + @SerialName(value = "set") val set: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiContainer.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiContainer.kt new file mode 100644 index 00000000000..927dd40eabb --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiContainer.kt @@ -0,0 +1,51 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.UiNode +import sh.ory.client-kotlin-multiplatform.models.UiText + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Container represents a HTML Form. The container can work with both HTTP Form and JSON requests + * + * @param action Action should be used as the form action URL `
`. + * @param method Method is the form method (e.g. POST) + * @param nodes + * @param messages + */ +@Serializable + +data class UiContainer ( + + /* Action should be used as the form action URL ``. */ + @SerialName(value = "action") @Required val action: kotlin.String, + + /* Method is the form method (e.g. POST) */ + @SerialName(value = "method") @Required val method: kotlin.String, + + @SerialName(value = "nodes") @Required val nodes: kotlin.collections.List, + + @SerialName(value = "messages") val messages: kotlin.collections.List? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNode.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNode.kt new file mode 100644 index 00000000000..4cfe0e2af0c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNode.kt @@ -0,0 +1,87 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.UiNodeAttributes +import sh.ory.client-kotlin-multiplatform.models.UiNodeMeta +import sh.ory.client-kotlin-multiplatform.models.UiText + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Nodes are represented as HTML elements or their native UI equivalents. For example, a node can be an `` tag, or an `` but also `some plain text`. + * + * @param attributes + * @param group Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup identifier_first IdentifierFirstGroup + * @param messages + * @param meta + * @param type The node's type text Text input Input img Image a Anchor script Script + */ +@Serializable + +data class UiNode ( + + @SerialName(value = "attributes") @Required val attributes: UiNodeAttributes, + + /* Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup identifier_first IdentifierFirstGroup */ + @SerialName(value = "group") @Required val group: UiNode.Group, + + @SerialName(value = "messages") @Required val messages: kotlin.collections.List, + + @SerialName(value = "meta") @Required val meta: UiNodeMeta, + + /* The node's type text Text input Input img Image a Anchor script Script */ + @SerialName(value = "type") @Required val type: UiNode.Type + +) { + + /** + * Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup identifier_first IdentifierFirstGroup + * + * Values: default,password,oidc,profile,link,code,totp,lookup_secret,webauthn,passkey,identifier_first + */ + @Serializable + enum class Group(val value: kotlin.String) { + @SerialName(value = "default") default("default"), + @SerialName(value = "password") password("password"), + @SerialName(value = "oidc") oidc("oidc"), + @SerialName(value = "profile") profile("profile"), + @SerialName(value = "link") link("link"), + @SerialName(value = "code") code("code"), + @SerialName(value = "totp") totp("totp"), + @SerialName(value = "lookup_secret") lookup_secret("lookup_secret"), + @SerialName(value = "webauthn") webauthn("webauthn"), + @SerialName(value = "passkey") passkey("passkey"), + @SerialName(value = "identifier_first") identifier_first("identifier_first"); + } + /** + * The node's type text Text input Input img Image a Anchor script Script + * + * Values: text,input,img,a,script + */ + @Serializable + enum class Type(val value: kotlin.String) { + @SerialName(value = "text") text("text"), + @SerialName(value = "input") input("input"), + @SerialName(value = "img") img("img"), + @SerialName(value = "a") a("a"), + @SerialName(value = "script") script("script"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeAnchorAttributes.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeAnchorAttributes.kt new file mode 100644 index 00000000000..f54c4827b1e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeAnchorAttributes.kt @@ -0,0 +1,64 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.UiText + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param href The link's href (destination) URL. format: uri + * @param id A unique identifier + * @param nodeType NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"a\". text Text input Input img Image a Anchor script Script + * @param title + */ +@Serializable + +data class UiNodeAnchorAttributes ( + + /* The link's href (destination) URL. format: uri */ + @SerialName(value = "href") @Required val href: kotlin.String, + + /* A unique identifier */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"a\". text Text input Input img Image a Anchor script Script */ + @SerialName(value = "node_type") @Required val nodeType: UiNodeAnchorAttributes.NodeType, + + @SerialName(value = "title") @Required val title: UiText + +) { + + /** + * NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"a\". text Text input Input img Image a Anchor script Script + * + * Values: text,input,img,a,script + */ + @Serializable + enum class NodeType(val value: kotlin.String) { + @SerialName(value = "text") text("text"), + @SerialName(value = "input") input("input"), + @SerialName(value = "img") img("img"), + @SerialName(value = "a") a("a"), + @SerialName(value = "script") script("script"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeAttributes.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeAttributes.kt new file mode 100644 index 00000000000..d70373fdcb0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeAttributes.kt @@ -0,0 +1,169 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.UiNodeAnchorAttributes +import sh.ory.client-kotlin-multiplatform.models.UiNodeImageAttributes +import sh.ory.client-kotlin-multiplatform.models.UiNodeInputAttributes +import sh.ory.client-kotlin-multiplatform.models.UiNodeScriptAttributes +import sh.ory.client-kotlin-multiplatform.models.UiNodeTextAttributes +import sh.ory.client-kotlin-multiplatform.models.UiText + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param disabled Sets the input's disabled field to true or false. + * @param name The input's element name. + * @param nodeType NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script + * @param type The script MIME type + * @param id A unique identifier + * @param text + * @param height Height of the image + * @param src The script source + * @param width Width of the image + * @param href The link's href (destination) URL. format: uri + * @param title + * @param async The script async type + * @param crossorigin The script cross origin policy + * @param integrity The script's integrity hash + * @param nonce Nonce for CSP A nonce you may want to use to improve your Content Security Policy. You do not have to use this value but if you want to improve your CSP policies you may use it. You can also choose to use your own nonce value! + * @param referrerpolicy The script referrer policy + * @param autocomplete The autocomplete attribute for the input. email InputAttributeAutocompleteEmail tel InputAttributeAutocompleteTel url InputAttributeAutocompleteUrl current-password InputAttributeAutocompleteCurrentPassword new-password InputAttributeAutocompleteNewPassword one-time-code InputAttributeAutocompleteOneTimeCode + * @param label + * @param maxlength MaxLength may contain the input's maximum length. + * @param onclick OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn. Deprecated: Using OnClick requires the use of eval() which is a security risk. Use OnClickTrigger instead. + * @param onclickTrigger OnClickTrigger may contain a WebAuthn trigger which should be executed on click. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration + * @param onload OnLoad may contain javascript which should be executed on load. This is primarily used for WebAuthn. Deprecated: Using OnLoad requires the use of eval() which is a security risk. Use OnLoadTrigger instead. + * @param onloadTrigger OnLoadTrigger may contain a WebAuthn trigger which should be executed on load. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration + * @param pattern The input's pattern. + * @param required Mark this input field as required. + * @param `value` The input's value. + */ + + +interface UiNodeAttributes { + + /* Sets the input's disabled field to true or false. */ + @SerialName(value = "disabled") @Required val disabled: kotlin.Boolean + /* The input's element name. */ + @SerialName(value = "name") @Required val name: kotlin.String + /* NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script */ + @SerialName(value = "node_type") @Required val nodeType: UiNodeAttributes.NodeType + /* The script MIME type */ + @SerialName(value = "type") @Required val type: kotlin.String + /* A unique identifier */ + @SerialName(value = "id") @Required val id: kotlin.String + @SerialName(value = "text") @Required val text: UiText + /* Height of the image */ + @SerialName(value = "height") @Required val height: kotlin.Long + /* The script source */ + @SerialName(value = "src") @Required val src: kotlin.String + /* Width of the image */ + @SerialName(value = "width") @Required val width: kotlin.Long + /* The link's href (destination) URL. format: uri */ + @SerialName(value = "href") @Required val href: kotlin.String + @SerialName(value = "title") @Required val title: UiText + /* The script async type */ + @SerialName(value = "async") @Required val async: kotlin.Boolean + /* The script cross origin policy */ + @SerialName(value = "crossorigin") @Required val crossorigin: kotlin.String + /* The script's integrity hash */ + @SerialName(value = "integrity") @Required val integrity: kotlin.String + /* Nonce for CSP A nonce you may want to use to improve your Content Security Policy. You do not have to use this value but if you want to improve your CSP policies you may use it. You can also choose to use your own nonce value! */ + @SerialName(value = "nonce") @Required val nonce: kotlin.String + /* The script referrer policy */ + @SerialName(value = "referrerpolicy") @Required val referrerpolicy: kotlin.String + /* The autocomplete attribute for the input. email InputAttributeAutocompleteEmail tel InputAttributeAutocompleteTel url InputAttributeAutocompleteUrl current-password InputAttributeAutocompleteCurrentPassword new-password InputAttributeAutocompleteNewPassword one-time-code InputAttributeAutocompleteOneTimeCode */ + @SerialName(value = "autocomplete") val autocomplete: UiNodeAttributes.Autocomplete? + @SerialName(value = "label") val label: UiText? + /* MaxLength may contain the input's maximum length. */ + @SerialName(value = "maxlength") val maxlength: kotlin.Long? + /* OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn. Deprecated: Using OnClick requires the use of eval() which is a security risk. Use OnClickTrigger instead. */ + @SerialName(value = "onclick") val onclick: kotlin.String? + /* OnClickTrigger may contain a WebAuthn trigger which should be executed on click. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration */ + @SerialName(value = "onclickTrigger") val onclickTrigger: UiNodeAttributes.OnclickTrigger? + /* OnLoad may contain javascript which should be executed on load. This is primarily used for WebAuthn. Deprecated: Using OnLoad requires the use of eval() which is a security risk. Use OnLoadTrigger instead. */ + @SerialName(value = "onload") val onload: kotlin.String? + /* OnLoadTrigger may contain a WebAuthn trigger which should be executed on load. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration */ + @SerialName(value = "onloadTrigger") val onloadTrigger: UiNodeAttributes.OnloadTrigger? + /* The input's pattern. */ + @SerialName(value = "pattern") val pattern: kotlin.String? + /* Mark this input field as required. */ + @SerialName(value = "required") val required: kotlin.Boolean? + /* The input's value. */ + @SerialName(value = "value") val `value`: kotlin.Any? + /** + * NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script + * + * Values: text,input,img,a,script + */ + @Serializable + enum class NodeType(val value: kotlin.String) { + @SerialName(value = "text") text("text"), + @SerialName(value = "input") input("input"), + @SerialName(value = "img") img("img"), + @SerialName(value = "a") a("a"), + @SerialName(value = "script") script("script"); + } + /** + * The autocomplete attribute for the input. email InputAttributeAutocompleteEmail tel InputAttributeAutocompleteTel url InputAttributeAutocompleteUrl current-password InputAttributeAutocompleteCurrentPassword new-password InputAttributeAutocompleteNewPassword one-time-code InputAttributeAutocompleteOneTimeCode + * + * Values: email,tel,url,currentMinusPassword,newMinusPassword,oneMinusTimeMinusCode + */ + @Serializable + enum class Autocomplete(val value: kotlin.String) { + @SerialName(value = "email") email("email"), + @SerialName(value = "tel") tel("tel"), + @SerialName(value = "url") url("url"), + @SerialName(value = "current-password") currentMinusPassword("current-password"), + @SerialName(value = "new-password") newMinusPassword("new-password"), + @SerialName(value = "one-time-code") oneMinusTimeMinusCode("one-time-code"); + } + /** + * OnClickTrigger may contain a WebAuthn trigger which should be executed on click. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration + * + * Values: oryWebAuthnRegistration,oryWebAuthnLogin,oryPasskeyLogin,oryPasskeyLoginAutocompleteInit,oryPasskeyRegistration,oryPasskeySettingsRegistration + */ + @Serializable + enum class OnclickTrigger(val value: kotlin.String) { + @SerialName(value = "oryWebAuthnRegistration") oryWebAuthnRegistration("oryWebAuthnRegistration"), + @SerialName(value = "oryWebAuthnLogin") oryWebAuthnLogin("oryWebAuthnLogin"), + @SerialName(value = "oryPasskeyLogin") oryPasskeyLogin("oryPasskeyLogin"), + @SerialName(value = "oryPasskeyLoginAutocompleteInit") oryPasskeyLoginAutocompleteInit("oryPasskeyLoginAutocompleteInit"), + @SerialName(value = "oryPasskeyRegistration") oryPasskeyRegistration("oryPasskeyRegistration"), + @SerialName(value = "oryPasskeySettingsRegistration") oryPasskeySettingsRegistration("oryPasskeySettingsRegistration"); + } + /** + * OnLoadTrigger may contain a WebAuthn trigger which should be executed on load. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration + * + * Values: oryWebAuthnRegistration,oryWebAuthnLogin,oryPasskeyLogin,oryPasskeyLoginAutocompleteInit,oryPasskeyRegistration,oryPasskeySettingsRegistration + */ + @Serializable + enum class OnloadTrigger(val value: kotlin.String) { + @SerialName(value = "oryWebAuthnRegistration") oryWebAuthnRegistration("oryWebAuthnRegistration"), + @SerialName(value = "oryWebAuthnLogin") oryWebAuthnLogin("oryWebAuthnLogin"), + @SerialName(value = "oryPasskeyLogin") oryPasskeyLogin("oryPasskeyLogin"), + @SerialName(value = "oryPasskeyLoginAutocompleteInit") oryPasskeyLoginAutocompleteInit("oryPasskeyLoginAutocompleteInit"), + @SerialName(value = "oryPasskeyRegistration") oryPasskeyRegistration("oryPasskeyRegistration"), + @SerialName(value = "oryPasskeySettingsRegistration") oryPasskeySettingsRegistration("oryPasskeySettingsRegistration"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeImageAttributes.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeImageAttributes.kt new file mode 100644 index 00000000000..b1632db51b1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeImageAttributes.kt @@ -0,0 +1,68 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param height Height of the image + * @param id A unique identifier + * @param nodeType NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\". text Text input Input img Image a Anchor script Script + * @param src The image's source URL. format: uri + * @param width Width of the image + */ +@Serializable + +data class UiNodeImageAttributes ( + + /* Height of the image */ + @SerialName(value = "height") @Required val height: kotlin.Long, + + /* A unique identifier */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\". text Text input Input img Image a Anchor script Script */ + @SerialName(value = "node_type") @Required val nodeType: UiNodeImageAttributes.NodeType, + + /* The image's source URL. format: uri */ + @SerialName(value = "src") @Required val src: kotlin.String, + + /* Width of the image */ + @SerialName(value = "width") @Required val width: kotlin.Long + +) { + + /** + * NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\". text Text input Input img Image a Anchor script Script + * + * Values: text,input,img,a,script + */ + @Serializable + enum class NodeType(val value: kotlin.String) { + @SerialName(value = "text") text("text"), + @SerialName(value = "input") input("input"), + @SerialName(value = "img") img("img"), + @SerialName(value = "a") a("a"), + @SerialName(value = "script") script("script"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeInputAttributes.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeInputAttributes.kt new file mode 100644 index 00000000000..a44af4f0db2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeInputAttributes.kt @@ -0,0 +1,166 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.UiText + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * InputAttributes represents the attributes of an input node + * + * @param disabled Sets the input's disabled field to true or false. + * @param name The input's element name. + * @param nodeType NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". text Text input Input img Image a Anchor script Script + * @param type The input's element type. text InputAttributeTypeText password InputAttributeTypePassword number InputAttributeTypeNumber checkbox InputAttributeTypeCheckbox hidden InputAttributeTypeHidden email InputAttributeTypeEmail tel InputAttributeTypeTel submit InputAttributeTypeSubmit button InputAttributeTypeButton datetime-local InputAttributeTypeDateTimeLocal date InputAttributeTypeDate url InputAttributeTypeURI + * @param autocomplete The autocomplete attribute for the input. email InputAttributeAutocompleteEmail tel InputAttributeAutocompleteTel url InputAttributeAutocompleteUrl current-password InputAttributeAutocompleteCurrentPassword new-password InputAttributeAutocompleteNewPassword one-time-code InputAttributeAutocompleteOneTimeCode + * @param label + * @param maxlength MaxLength may contain the input's maximum length. + * @param onclick OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn. Deprecated: Using OnClick requires the use of eval() which is a security risk. Use OnClickTrigger instead. + * @param onclickTrigger OnClickTrigger may contain a WebAuthn trigger which should be executed on click. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration + * @param onload OnLoad may contain javascript which should be executed on load. This is primarily used for WebAuthn. Deprecated: Using OnLoad requires the use of eval() which is a security risk. Use OnLoadTrigger instead. + * @param onloadTrigger OnLoadTrigger may contain a WebAuthn trigger which should be executed on load. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration + * @param pattern The input's pattern. + * @param required Mark this input field as required. + * @param `value` The input's value. + */ +@Serializable + +data class UiNodeInputAttributes ( + + /* Sets the input's disabled field to true or false. */ + @SerialName(value = "disabled") @Required val disabled: kotlin.Boolean, + + /* The input's element name. */ + @SerialName(value = "name") @Required val name: kotlin.String, + + /* NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". text Text input Input img Image a Anchor script Script */ + @SerialName(value = "node_type") @Required val nodeType: UiNodeInputAttributes.NodeType, + + /* The input's element type. text InputAttributeTypeText password InputAttributeTypePassword number InputAttributeTypeNumber checkbox InputAttributeTypeCheckbox hidden InputAttributeTypeHidden email InputAttributeTypeEmail tel InputAttributeTypeTel submit InputAttributeTypeSubmit button InputAttributeTypeButton datetime-local InputAttributeTypeDateTimeLocal date InputAttributeTypeDate url InputAttributeTypeURI */ + @SerialName(value = "type") @Required val type: UiNodeInputAttributes.Type, + + /* The autocomplete attribute for the input. email InputAttributeAutocompleteEmail tel InputAttributeAutocompleteTel url InputAttributeAutocompleteUrl current-password InputAttributeAutocompleteCurrentPassword new-password InputAttributeAutocompleteNewPassword one-time-code InputAttributeAutocompleteOneTimeCode */ + @SerialName(value = "autocomplete") val autocomplete: UiNodeInputAttributes.Autocomplete? = null, + + @SerialName(value = "label") val label: UiText? = null, + + /* MaxLength may contain the input's maximum length. */ + @SerialName(value = "maxlength") val maxlength: kotlin.Long? = null, + + /* OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn. Deprecated: Using OnClick requires the use of eval() which is a security risk. Use OnClickTrigger instead. */ + @SerialName(value = "onclick") val onclick: kotlin.String? = null, + + /* OnClickTrigger may contain a WebAuthn trigger which should be executed on click. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration */ + @SerialName(value = "onclickTrigger") val onclickTrigger: UiNodeInputAttributes.OnclickTrigger? = null, + + /* OnLoad may contain javascript which should be executed on load. This is primarily used for WebAuthn. Deprecated: Using OnLoad requires the use of eval() which is a security risk. Use OnLoadTrigger instead. */ + @SerialName(value = "onload") val onload: kotlin.String? = null, + + /* OnLoadTrigger may contain a WebAuthn trigger which should be executed on load. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration */ + @SerialName(value = "onloadTrigger") val onloadTrigger: UiNodeInputAttributes.OnloadTrigger? = null, + + /* The input's pattern. */ + @SerialName(value = "pattern") val pattern: kotlin.String? = null, + + /* Mark this input field as required. */ + @SerialName(value = "required") val required: kotlin.Boolean? = null, + + /* The input's value. */ + @SerialName(value = "value") val `value`: kotlin.Any? = null + +) { + + /** + * NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". text Text input Input img Image a Anchor script Script + * + * Values: text,input,img,a,script + */ + @Serializable + enum class NodeType(val value: kotlin.String) { + @SerialName(value = "text") text("text"), + @SerialName(value = "input") input("input"), + @SerialName(value = "img") img("img"), + @SerialName(value = "a") a("a"), + @SerialName(value = "script") script("script"); + } + /** + * The input's element type. text InputAttributeTypeText password InputAttributeTypePassword number InputAttributeTypeNumber checkbox InputAttributeTypeCheckbox hidden InputAttributeTypeHidden email InputAttributeTypeEmail tel InputAttributeTypeTel submit InputAttributeTypeSubmit button InputAttributeTypeButton datetime-local InputAttributeTypeDateTimeLocal date InputAttributeTypeDate url InputAttributeTypeURI + * + * Values: text,password,number,checkbox,hidden,email,tel,submit,button,datetimeMinusLocal,date,url + */ + @Serializable + enum class Type(val value: kotlin.String) { + @SerialName(value = "text") text("text"), + @SerialName(value = "password") password("password"), + @SerialName(value = "number") number("number"), + @SerialName(value = "checkbox") checkbox("checkbox"), + @SerialName(value = "hidden") hidden("hidden"), + @SerialName(value = "email") email("email"), + @SerialName(value = "tel") tel("tel"), + @SerialName(value = "submit") submit("submit"), + @SerialName(value = "button") button("button"), + @SerialName(value = "datetime-local") datetimeMinusLocal("datetime-local"), + @SerialName(value = "date") date("date"), + @SerialName(value = "url") url("url"); + } + /** + * The autocomplete attribute for the input. email InputAttributeAutocompleteEmail tel InputAttributeAutocompleteTel url InputAttributeAutocompleteUrl current-password InputAttributeAutocompleteCurrentPassword new-password InputAttributeAutocompleteNewPassword one-time-code InputAttributeAutocompleteOneTimeCode + * + * Values: email,tel,url,currentMinusPassword,newMinusPassword,oneMinusTimeMinusCode + */ + @Serializable + enum class Autocomplete(val value: kotlin.String) { + @SerialName(value = "email") email("email"), + @SerialName(value = "tel") tel("tel"), + @SerialName(value = "url") url("url"), + @SerialName(value = "current-password") currentMinusPassword("current-password"), + @SerialName(value = "new-password") newMinusPassword("new-password"), + @SerialName(value = "one-time-code") oneMinusTimeMinusCode("one-time-code"); + } + /** + * OnClickTrigger may contain a WebAuthn trigger which should be executed on click. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration + * + * Values: oryWebAuthnRegistration,oryWebAuthnLogin,oryPasskeyLogin,oryPasskeyLoginAutocompleteInit,oryPasskeyRegistration,oryPasskeySettingsRegistration + */ + @Serializable + enum class OnclickTrigger(val value: kotlin.String) { + @SerialName(value = "oryWebAuthnRegistration") oryWebAuthnRegistration("oryWebAuthnRegistration"), + @SerialName(value = "oryWebAuthnLogin") oryWebAuthnLogin("oryWebAuthnLogin"), + @SerialName(value = "oryPasskeyLogin") oryPasskeyLogin("oryPasskeyLogin"), + @SerialName(value = "oryPasskeyLoginAutocompleteInit") oryPasskeyLoginAutocompleteInit("oryPasskeyLoginAutocompleteInit"), + @SerialName(value = "oryPasskeyRegistration") oryPasskeyRegistration("oryPasskeyRegistration"), + @SerialName(value = "oryPasskeySettingsRegistration") oryPasskeySettingsRegistration("oryPasskeySettingsRegistration"); + } + /** + * OnLoadTrigger may contain a WebAuthn trigger which should be executed on load. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration + * + * Values: oryWebAuthnRegistration,oryWebAuthnLogin,oryPasskeyLogin,oryPasskeyLoginAutocompleteInit,oryPasskeyRegistration,oryPasskeySettingsRegistration + */ + @Serializable + enum class OnloadTrigger(val value: kotlin.String) { + @SerialName(value = "oryWebAuthnRegistration") oryWebAuthnRegistration("oryWebAuthnRegistration"), + @SerialName(value = "oryWebAuthnLogin") oryWebAuthnLogin("oryWebAuthnLogin"), + @SerialName(value = "oryPasskeyLogin") oryPasskeyLogin("oryPasskeyLogin"), + @SerialName(value = "oryPasskeyLoginAutocompleteInit") oryPasskeyLoginAutocompleteInit("oryPasskeyLoginAutocompleteInit"), + @SerialName(value = "oryPasskeyRegistration") oryPasskeyRegistration("oryPasskeyRegistration"), + @SerialName(value = "oryPasskeySettingsRegistration") oryPasskeySettingsRegistration("oryPasskeySettingsRegistration"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeMeta.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeMeta.kt new file mode 100644 index 00000000000..ee41bb7ef2d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeMeta.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.UiText + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * This might include a label and other information that can optionally be used to render UIs. + * + * @param label + */ +@Serializable + +data class UiNodeMeta ( + + @SerialName(value = "label") val label: UiText? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeScriptAttributes.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeScriptAttributes.kt new file mode 100644 index 00000000000..43b3d74fbdc --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeScriptAttributes.kt @@ -0,0 +1,84 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param async The script async type + * @param crossorigin The script cross origin policy + * @param id A unique identifier + * @param integrity The script's integrity hash + * @param nodeType NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script + * @param nonce Nonce for CSP A nonce you may want to use to improve your Content Security Policy. You do not have to use this value but if you want to improve your CSP policies you may use it. You can also choose to use your own nonce value! + * @param referrerpolicy The script referrer policy + * @param src The script source + * @param type The script MIME type + */ +@Serializable + +data class UiNodeScriptAttributes ( + + /* The script async type */ + @SerialName(value = "async") @Required val async: kotlin.Boolean, + + /* The script cross origin policy */ + @SerialName(value = "crossorigin") @Required val crossorigin: kotlin.String, + + /* A unique identifier */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* The script's integrity hash */ + @SerialName(value = "integrity") @Required val integrity: kotlin.String, + + /* NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script */ + @SerialName(value = "node_type") @Required val nodeType: UiNodeScriptAttributes.NodeType, + + /* Nonce for CSP A nonce you may want to use to improve your Content Security Policy. You do not have to use this value but if you want to improve your CSP policies you may use it. You can also choose to use your own nonce value! */ + @SerialName(value = "nonce") @Required val nonce: kotlin.String, + + /* The script referrer policy */ + @SerialName(value = "referrerpolicy") @Required val referrerpolicy: kotlin.String, + + /* The script source */ + @SerialName(value = "src") @Required val src: kotlin.String, + + /* The script MIME type */ + @SerialName(value = "type") @Required val type: kotlin.String + +) { + + /** + * NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script + * + * Values: text,input,img,a,script + */ + @Serializable + enum class NodeType(val value: kotlin.String) { + @SerialName(value = "text") text("text"), + @SerialName(value = "input") input("input"), + @SerialName(value = "img") img("img"), + @SerialName(value = "a") a("a"), + @SerialName(value = "script") script("script"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeTextAttributes.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeTextAttributes.kt new file mode 100644 index 00000000000..fb435f691db --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeTextAttributes.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.UiText + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param id A unique identifier + * @param nodeType NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"text\". text Text input Input img Image a Anchor script Script + * @param text + */ +@Serializable + +data class UiNodeTextAttributes ( + + /* A unique identifier */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"text\". text Text input Input img Image a Anchor script Script */ + @SerialName(value = "node_type") @Required val nodeType: UiNodeTextAttributes.NodeType, + + @SerialName(value = "text") @Required val text: UiText + +) { + + /** + * NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"text\". text Text input Input img Image a Anchor script Script + * + * Values: text,input,img,a,script + */ + @Serializable + enum class NodeType(val value: kotlin.String) { + @SerialName(value = "text") text("text"), + @SerialName(value = "input") input("input"), + @SerialName(value = "img") img("img"), + @SerialName(value = "a") a("a"), + @SerialName(value = "script") script("script"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiText.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiText.kt new file mode 100644 index 00000000000..053f0184323 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UiText.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param id + * @param text The message text. Written in american english. + * @param type The message type. info Info error Error success Success + * @param context The message's context. Useful when customizing messages. + */ +@Serializable + +data class UiText ( + + @SerialName(value = "id") @Required val id: kotlin.Long, + + /* The message text. Written in american english. */ + @SerialName(value = "text") @Required val text: kotlin.String, + + /* The message type. info Info error Error success Success */ + @SerialName(value = "type") @Required val type: UiText.Type, + + /* The message's context. Useful when customizing messages. */ + @SerialName(value = "context") val context: kotlin.String? = null + +) { + + /** + * The message type. info Info error Error success Success + * + * Values: info,error,success + */ + @Serializable + enum class Type(val value: kotlin.String) { + @SerialName(value = "info") info("info"), + @SerialName(value = "error") error("error"), + @SerialName(value = "success") success("success"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateIdentityBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateIdentityBody.kt new file mode 100644 index 00000000000..4e3d116fd16 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateIdentityBody.kt @@ -0,0 +1,69 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentials + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Identity Body + * + * @param schemaId SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. If set will update the Identity's SchemaID. + * @param state State is the identity's state. active StateActive inactive StateInactive + * @param traits Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_id`. + * @param credentials + * @param metadataAdmin Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/`. + * @param metadataPublic Store metadata about the identity which the identity itself can see when calling for example the session endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field. + */ +@Serializable + +data class UpdateIdentityBody ( + + /* SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. If set will update the Identity's SchemaID. */ + @SerialName(value = "schema_id") @Required val schemaId: kotlin.String, + + /* State is the identity's state. active StateActive inactive StateInactive */ + @SerialName(value = "state") @Required val state: UpdateIdentityBody.State, + + /* Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_id`. */ + @SerialName(value = "traits") @Required val traits: kotlin.String, + + @SerialName(value = "credentials") val credentials: IdentityWithCredentials? = null, + + /* Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/`. */ + @SerialName(value = "metadata_admin") val metadataAdmin: kotlin.Any? = null, + + /* Store metadata about the identity which the identity itself can see when calling for example the session endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field. */ + @SerialName(value = "metadata_public") val metadataPublic: kotlin.Any? = null + +) { + + /** + * State is the identity's state. active StateActive inactive StateInactive + * + * Values: active,inactive + */ + @Serializable + enum class State(val value: kotlin.String) { + @SerialName(value = "active") active("active"), + @SerialName(value = "inactive") inactive("inactive"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowBody.kt new file mode 100644 index 00000000000..12a69422094 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowBody.kt @@ -0,0 +1,95 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithCodeMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithIdentifierFirstMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithLookupSecretMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithOidcMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithPasskeyMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithPasswordMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithTotpMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithWebAuthnMethod + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param csrfToken Sending the anti-csrf token is only required for browser login flows. + * @param identifier Identifier is the email or username of the user trying to log in. + * @param method Method should be set to \"password\" when logging in using the identifier and password strategy. + * @param password The user's password. + * @param provider The provider to register with + * @param totpCode The TOTP code. + * @param lookupSecret The lookup secret. + * @param passwordIdentifier Identifier is the email or username of the user trying to log in. This field is deprecated! + * @param transientPayload Transient data to pass along to any webhooks + * @param idToken IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple Google + * @param idTokenNonce IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and required. + * @param traits The identity traits. This is a placeholder for the registration flow. + * @param upstreamParameters UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. + * @param webauthnLogin Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + * @param address Address is the address to send the code to, in case that there are multiple addresses. This field is only used in two-factor flows and is ineffective for passwordless flows. + * @param code Code is the 6 digits code sent to the user + * @param resend Resend is set when the user wants to resend the code + * @param passkeyLogin Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + */ + + +interface UpdateLoginFlowBody { + + /* Sending the anti-csrf token is only required for browser login flows. */ + @SerialName(value = "csrf_token") @Required val csrfToken: kotlin.String + /* Identifier is the email or username of the user trying to log in. */ + @SerialName(value = "identifier") @Required val identifier: kotlin.String + /* Method should be set to \"password\" when logging in using the identifier and password strategy. */ + @SerialName(value = "method") @Required val method: kotlin.String + /* The user's password. */ + @SerialName(value = "password") @Required val password: kotlin.String + /* The provider to register with */ + @SerialName(value = "provider") @Required val provider: kotlin.String + /* The TOTP code. */ + @SerialName(value = "totp_code") @Required val totpCode: kotlin.String + /* The lookup secret. */ + @SerialName(value = "lookup_secret") @Required val lookupSecret: kotlin.String + /* Identifier is the email or username of the user trying to log in. This field is deprecated! */ + @SerialName(value = "password_identifier") val passwordIdentifier: kotlin.String? + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? + /* IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple Google */ + @SerialName(value = "id_token") val idToken: kotlin.String? + /* IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and required. */ + @SerialName(value = "id_token_nonce") val idTokenNonce: kotlin.String? + /* The identity traits. This is a placeholder for the registration flow. */ + @SerialName(value = "traits") val traits: kotlin.String? + /* UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. */ + @SerialName(value = "upstream_parameters") val upstreamParameters: kotlin.String? + /* Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. */ + @SerialName(value = "webauthn_login") val webauthnLogin: kotlin.String? + /* Address is the address to send the code to, in case that there are multiple addresses. This field is only used in two-factor flows and is ineffective for passwordless flows. */ + @SerialName(value = "address") val address: kotlin.String? + /* Code is the 6 digits code sent to the user */ + @SerialName(value = "code") val code: kotlin.String? + /* Resend is set when the user wants to resend the code */ + @SerialName(value = "resend") val resend: kotlin.String? + /* Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. */ + @SerialName(value = "passkey_login") val passkeyLogin: kotlin.String? + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithCodeMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithCodeMethod.kt new file mode 100644 index 00000000000..e2acb1dc5ca --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithCodeMethod.kt @@ -0,0 +1,63 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Login flow using the code method + * + * @param csrfToken CSRFToken is the anti-CSRF token + * @param method Method should be set to \"code\" when logging in using the code strategy. + * @param address Address is the address to send the code to, in case that there are multiple addresses. This field is only used in two-factor flows and is ineffective for passwordless flows. + * @param code Code is the 6 digits code sent to the user + * @param identifier Identifier is the code identifier The identifier requires that the user has already completed the registration or settings with code flow. + * @param resend Resend is set when the user wants to resend the code + * @param transientPayload Transient data to pass along to any webhooks + */ +@Serializable + +data class UpdateLoginFlowWithCodeMethod ( + + /* CSRFToken is the anti-CSRF token */ + @SerialName(value = "csrf_token") @Required val csrfToken: kotlin.String, + + /* Method should be set to \"code\" when logging in using the code strategy. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* Address is the address to send the code to, in case that there are multiple addresses. This field is only used in two-factor flows and is ineffective for passwordless flows. */ + @SerialName(value = "address") val address: kotlin.String? = null, + + /* Code is the 6 digits code sent to the user */ + @SerialName(value = "code") val code: kotlin.String? = null, + + /* Identifier is the code identifier The identifier requires that the user has already completed the registration or settings with code flow. */ + @SerialName(value = "identifier") val identifier: kotlin.String? = null, + + /* Resend is set when the user wants to resend the code */ + @SerialName(value = "resend") val resend: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithIdentifierFirstMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithIdentifierFirstMethod.kt new file mode 100644 index 00000000000..490b0c444c7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithIdentifierFirstMethod.kt @@ -0,0 +1,51 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Login Flow with Multi-Step Method + * + * @param identifier Identifier is the email or username of the user trying to log in. + * @param method Method should be set to \"password\" when logging in using the identifier and password strategy. + * @param csrfToken Sending the anti-csrf token is only required for browser login flows. + * @param transientPayload Transient data to pass along to any webhooks + */ +@Serializable + +data class UpdateLoginFlowWithIdentifierFirstMethod ( + + /* Identifier is the email or username of the user trying to log in. */ + @SerialName(value = "identifier") @Required val identifier: kotlin.String, + + /* Method should be set to \"password\" when logging in using the identifier and password strategy. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* Sending the anti-csrf token is only required for browser login flows. */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithLookupSecretMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithLookupSecretMethod.kt new file mode 100644 index 00000000000..96b91017b3d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithLookupSecretMethod.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Login Flow with Lookup Secret Method + * + * @param lookupSecret The lookup secret. + * @param method Method should be set to \"lookup_secret\" when logging in using the lookup_secret strategy. + * @param csrfToken Sending the anti-csrf token is only required for browser login flows. + */ +@Serializable + +data class UpdateLoginFlowWithLookupSecretMethod ( + + /* The lookup secret. */ + @SerialName(value = "lookup_secret") @Required val lookupSecret: kotlin.String, + + /* Method should be set to \"lookup_secret\" when logging in using the lookup_secret strategy. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* Sending the anti-csrf token is only required for browser login flows. */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithOidcMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithOidcMethod.kt new file mode 100644 index 00000000000..f43549b9bc7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithOidcMethod.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Login Flow with OpenID Connect Method + * + * @param method Method to use This field must be set to `oidc` when using the oidc method. + * @param provider The provider to register with + * @param csrfToken The CSRF Token + * @param idToken IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple Google + * @param idTokenNonce IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and required. + * @param traits The identity traits. This is a placeholder for the registration flow. + * @param transientPayload Transient data to pass along to any webhooks + * @param upstreamParameters UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. + */ +@Serializable + +data class UpdateLoginFlowWithOidcMethod ( + + /* Method to use This field must be set to `oidc` when using the oidc method. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* The provider to register with */ + @SerialName(value = "provider") @Required val provider: kotlin.String, + + /* The CSRF Token */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple Google */ + @SerialName(value = "id_token") val idToken: kotlin.String? = null, + + /* IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and required. */ + @SerialName(value = "id_token_nonce") val idTokenNonce: kotlin.String? = null, + + /* The identity traits. This is a placeholder for the registration flow. */ + @SerialName(value = "traits") val traits: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null, + + /* UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. */ + @SerialName(value = "upstream_parameters") val upstreamParameters: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithPasskeyMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithPasskeyMethod.kt new file mode 100644 index 00000000000..a6a8ab2fb3e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithPasskeyMethod.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Login Flow with Passkey Method + * + * @param method Method should be set to \"passkey\" when logging in using the Passkey strategy. + * @param csrfToken Sending the anti-csrf token is only required for browser login flows. + * @param passkeyLogin Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + */ +@Serializable + +data class UpdateLoginFlowWithPasskeyMethod ( + + /* Method should be set to \"passkey\" when logging in using the Passkey strategy. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* Sending the anti-csrf token is only required for browser login flows. */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. */ + @SerialName(value = "passkey_login") val passkeyLogin: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithPasswordMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithPasswordMethod.kt new file mode 100644 index 00000000000..5ea5cdfbe2d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithPasswordMethod.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Login Flow with Password Method + * + * @param identifier Identifier is the email or username of the user trying to log in. + * @param method Method should be set to \"password\" when logging in using the identifier and password strategy. + * @param password The user's password. + * @param csrfToken Sending the anti-csrf token is only required for browser login flows. + * @param passwordIdentifier Identifier is the email or username of the user trying to log in. This field is deprecated! + * @param transientPayload Transient data to pass along to any webhooks + */ +@Serializable + +data class UpdateLoginFlowWithPasswordMethod ( + + /* Identifier is the email or username of the user trying to log in. */ + @SerialName(value = "identifier") @Required val identifier: kotlin.String, + + /* Method should be set to \"password\" when logging in using the identifier and password strategy. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* The user's password. */ + @SerialName(value = "password") @Required val password: kotlin.String, + + /* Sending the anti-csrf token is only required for browser login flows. */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* Identifier is the email or username of the user trying to log in. This field is deprecated! */ + @SerialName(value = "password_identifier") val passwordIdentifier: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithTotpMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithTotpMethod.kt new file mode 100644 index 00000000000..e479fadf698 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithTotpMethod.kt @@ -0,0 +1,51 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Login Flow with TOTP Method + * + * @param method Method should be set to \"totp\" when logging in using the TOTP strategy. + * @param totpCode The TOTP code. + * @param csrfToken Sending the anti-csrf token is only required for browser login flows. + * @param transientPayload Transient data to pass along to any webhooks + */ +@Serializable + +data class UpdateLoginFlowWithTotpMethod ( + + /* Method should be set to \"totp\" when logging in using the TOTP strategy. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* The TOTP code. */ + @SerialName(value = "totp_code") @Required val totpCode: kotlin.String, + + /* Sending the anti-csrf token is only required for browser login flows. */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithWebAuthnMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithWebAuthnMethod.kt new file mode 100644 index 00000000000..99764a9420c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithWebAuthnMethod.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Login Flow with WebAuthn Method + * + * @param identifier Identifier is the email or username of the user trying to log in. + * @param method Method should be set to \"webAuthn\" when logging in using the WebAuthn strategy. + * @param csrfToken Sending the anti-csrf token is only required for browser login flows. + * @param transientPayload Transient data to pass along to any webhooks + * @param webauthnLogin Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + */ +@Serializable + +data class UpdateLoginFlowWithWebAuthnMethod ( + + /* Identifier is the email or username of the user trying to log in. */ + @SerialName(value = "identifier") @Required val identifier: kotlin.String, + + /* Method should be set to \"webAuthn\" when logging in using the WebAuthn strategy. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* Sending the anti-csrf token is only required for browser login flows. */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null, + + /* Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. */ + @SerialName(value = "webauthn_login") val webauthnLogin: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowBody.kt new file mode 100644 index 00000000000..ef55545f0b0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowBody.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.UpdateRecoveryFlowWithCodeMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateRecoveryFlowWithLinkMethod + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Recovery Flow Request Body + * + * @param email The email address of the account to recover If the email belongs to a valid account, a recovery email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#attempted-recovery-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email + * @param method Method is the method that should be used for this recovery flow Allowed values are `link` and `code`. link RecoveryStrategyLink code RecoveryStrategyCode + * @param csrfToken Sending the anti-csrf token is only required for browser login flows. + * @param transientPayload Transient data to pass along to any webhooks + * @param code Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. + */ + + +interface UpdateRecoveryFlowBody { + + /* The email address of the account to recover If the email belongs to a valid account, a recovery email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#attempted-recovery-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email */ + @SerialName(value = "email") @Required val email: kotlin.String + /* Method is the method that should be used for this recovery flow Allowed values are `link` and `code`. link RecoveryStrategyLink code RecoveryStrategyCode */ + @SerialName(value = "method") @Required val method: UpdateRecoveryFlowBody.Method + /* Sending the anti-csrf token is only required for browser login flows. */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? + /* Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. */ + @SerialName(value = "code") val code: kotlin.String? + /** + * Method is the method that should be used for this recovery flow Allowed values are `link` and `code`. link RecoveryStrategyLink code RecoveryStrategyCode + * + * Values: link,code + */ + @Serializable + enum class Method(val value: kotlin.String) { + @SerialName(value = "link") link("link"), + @SerialName(value = "code") code("code"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowWithCodeMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowWithCodeMethod.kt new file mode 100644 index 00000000000..4e3670ea78a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowWithCodeMethod.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Recovery Flow with Code Method + * + * @param method Method is the method that should be used for this recovery flow Allowed values are `link` and `code`. link RecoveryStrategyLink code RecoveryStrategyCode + * @param code Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. + * @param csrfToken Sending the anti-csrf token is only required for browser login flows. + * @param email The email address of the account to recover If the email belongs to a valid account, a recovery email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#attempted-recovery-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email + * @param transientPayload Transient data to pass along to any webhooks + */ +@Serializable + +data class UpdateRecoveryFlowWithCodeMethod ( + + /* Method is the method that should be used for this recovery flow Allowed values are `link` and `code`. link RecoveryStrategyLink code RecoveryStrategyCode */ + @SerialName(value = "method") @Required val method: UpdateRecoveryFlowWithCodeMethod.Method, + + /* Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. */ + @SerialName(value = "code") val code: kotlin.String? = null, + + /* Sending the anti-csrf token is only required for browser login flows. */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* The email address of the account to recover If the email belongs to a valid account, a recovery email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#attempted-recovery-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email */ + @SerialName(value = "email") val email: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + /** + * Method is the method that should be used for this recovery flow Allowed values are `link` and `code`. link RecoveryStrategyLink code RecoveryStrategyCode + * + * Values: link,code + */ + @Serializable + enum class Method(val value: kotlin.String) { + @SerialName(value = "link") link("link"), + @SerialName(value = "code") code("code"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowWithLinkMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowWithLinkMethod.kt new file mode 100644 index 00000000000..78364b8ff62 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowWithLinkMethod.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Recovery Flow with Link Method + * + * @param email Email to Recover Needs to be set when initiating the flow. If the email is a registered recovery email, a recovery link will be sent. If the email is not known, a email with details on what happened will be sent instead. format: email + * @param method Method is the method that should be used for this recovery flow Allowed values are `link` and `code` link RecoveryStrategyLink code RecoveryStrategyCode + * @param csrfToken Sending the anti-csrf token is only required for browser login flows. + * @param transientPayload Transient data to pass along to any webhooks + */ +@Serializable + +data class UpdateRecoveryFlowWithLinkMethod ( + + /* Email to Recover Needs to be set when initiating the flow. If the email is a registered recovery email, a recovery link will be sent. If the email is not known, a email with details on what happened will be sent instead. format: email */ + @SerialName(value = "email") @Required val email: kotlin.String, + + /* Method is the method that should be used for this recovery flow Allowed values are `link` and `code` link RecoveryStrategyLink code RecoveryStrategyCode */ + @SerialName(value = "method") @Required val method: UpdateRecoveryFlowWithLinkMethod.Method, + + /* Sending the anti-csrf token is only required for browser login flows. */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + /** + * Method is the method that should be used for this recovery flow Allowed values are `link` and `code` link RecoveryStrategyLink code RecoveryStrategyCode + * + * Values: link,code + */ + @Serializable + enum class Method(val value: kotlin.String) { + @SerialName(value = "link") link("link"), + @SerialName(value = "code") code("code"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowBody.kt new file mode 100644 index 00000000000..c3ba66c6760 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowBody.kt @@ -0,0 +1,94 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithCodeMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithOidcMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithPasskeyMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithPasswordMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithProfileMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithWebAuthnMethod + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Registration Request Body + * + * @param method Method Should be set to profile when trying to update a profile. + * @param password Password to sign the user up with + * @param traits Traits The identity's traits. + * @param provider The provider to register with + * @param csrfToken The Anti-CSRF Token This token is only required when performing browser flows. + * @param transientPayload Transient data to pass along to any webhooks + * @param idToken IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple Google + * @param idTokenNonce IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and is required. + * @param upstreamParameters UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. + * @param webauthnRegister Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + * @param webauthnRegisterDisplayname Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. + * @param code The OTP Code sent to the user + * @param resend Resend restarts the flow with a new code + * @param passkeyRegister Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + * @param screen Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious + */ + + +interface UpdateRegistrationFlowBody { + + /* Method Should be set to profile when trying to update a profile. */ + @SerialName(value = "method") @Required val method: kotlin.String + /* Password to sign the user up with */ + @SerialName(value = "password") @Required val password: kotlin.String + /* Traits The identity's traits. */ + @SerialName(value = "traits") @Required val traits: kotlin.String + /* The provider to register with */ + @SerialName(value = "provider") @Required val provider: kotlin.String + /* The Anti-CSRF Token This token is only required when performing browser flows. */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? + /* IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple Google */ + @SerialName(value = "id_token") val idToken: kotlin.String? + /* IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and is required. */ + @SerialName(value = "id_token_nonce") val idTokenNonce: kotlin.String? + /* UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. */ + @SerialName(value = "upstream_parameters") val upstreamParameters: kotlin.String? + /* Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. */ + @SerialName(value = "webauthn_register") val webauthnRegister: kotlin.String? + /* Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. */ + @SerialName(value = "webauthn_register_displayname") val webauthnRegisterDisplayname: kotlin.String? + /* The OTP Code sent to the user */ + @SerialName(value = "code") val code: kotlin.String? + /* Resend restarts the flow with a new code */ + @SerialName(value = "resend") val resend: kotlin.String? + /* Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. */ + @SerialName(value = "passkey_register") val passkeyRegister: kotlin.String? + /* Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious */ + @SerialName(value = "screen") val screen: UpdateRegistrationFlowBody.Screen? + /** + * Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious + * + * Values: credentialMinusSelection,previous + */ + @Serializable + enum class Screen(val value: kotlin.String) { + @SerialName(value = "credential-selection") credentialMinusSelection("credential-selection"), + @SerialName(value = "previous") previous("previous"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithCodeMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithCodeMethod.kt new file mode 100644 index 00000000000..ebaaae2ab84 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithCodeMethod.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Registration Flow with Code Method + * + * @param method Method to use This field must be set to `code` when using the code method. + * @param traits The identity's traits + * @param code The OTP Code sent to the user + * @param csrfToken The CSRF Token + * @param resend Resend restarts the flow with a new code + * @param transientPayload Transient data to pass along to any webhooks + */ +@Serializable + +data class UpdateRegistrationFlowWithCodeMethod ( + + /* Method to use This field must be set to `code` when using the code method. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* The identity's traits */ + @SerialName(value = "traits") @Required val traits: kotlin.String, + + /* The OTP Code sent to the user */ + @SerialName(value = "code") val code: kotlin.String? = null, + + /* The CSRF Token */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* Resend restarts the flow with a new code */ + @SerialName(value = "resend") val resend: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithOidcMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithOidcMethod.kt new file mode 100644 index 00000000000..5af12293cc8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithOidcMethod.kt @@ -0,0 +1,67 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Registration Flow with OpenID Connect Method + * + * @param method Method to use This field must be set to `oidc` when using the oidc method. + * @param provider The provider to register with + * @param csrfToken The CSRF Token + * @param idToken IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple Google + * @param idTokenNonce IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and is required. + * @param traits The identity traits + * @param transientPayload Transient data to pass along to any webhooks + * @param upstreamParameters UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. + */ +@Serializable + +data class UpdateRegistrationFlowWithOidcMethod ( + + /* Method to use This field must be set to `oidc` when using the oidc method. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* The provider to register with */ + @SerialName(value = "provider") @Required val provider: kotlin.String, + + /* The CSRF Token */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple Google */ + @SerialName(value = "id_token") val idToken: kotlin.String? = null, + + /* IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and is required. */ + @SerialName(value = "id_token_nonce") val idTokenNonce: kotlin.String? = null, + + /* The identity traits */ + @SerialName(value = "traits") val traits: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null, + + /* UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. */ + @SerialName(value = "upstream_parameters") val upstreamParameters: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithPasskeyMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithPasskeyMethod.kt new file mode 100644 index 00000000000..2e49a3c6f6d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithPasskeyMethod.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Registration Flow with Passkey Method + * + * @param method Method Should be set to \"passkey\" when trying to add, update, or remove a Passkey. + * @param traits The identity's traits + * @param csrfToken CSRFToken is the anti-CSRF token + * @param passkeyRegister Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + * @param transientPayload Transient data to pass along to any webhooks + */ +@Serializable + +data class UpdateRegistrationFlowWithPasskeyMethod ( + + /* Method Should be set to \"passkey\" when trying to add, update, or remove a Passkey. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* The identity's traits */ + @SerialName(value = "traits") @Required val traits: kotlin.String, + + /* CSRFToken is the anti-CSRF token */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. */ + @SerialName(value = "passkey_register") val passkeyRegister: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithPasswordMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithPasswordMethod.kt new file mode 100644 index 00000000000..80119527559 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithPasswordMethod.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Registration Flow with Password Method + * + * @param method Method to use This field must be set to `password` when using the password method. + * @param password Password to sign the user up with + * @param traits The identity's traits + * @param csrfToken The CSRF Token + * @param transientPayload Transient data to pass along to any webhooks + */ +@Serializable + +data class UpdateRegistrationFlowWithPasswordMethod ( + + /* Method to use This field must be set to `password` when using the password method. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* Password to sign the user up with */ + @SerialName(value = "password") @Required val password: kotlin.String, + + /* The identity's traits */ + @SerialName(value = "traits") @Required val traits: kotlin.String, + + /* The CSRF Token */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithProfileMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithProfileMethod.kt new file mode 100644 index 00000000000..f30a5fbdc07 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithProfileMethod.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Registration Flow with Profile Method + * + * @param method Method Should be set to profile when trying to update a profile. + * @param traits Traits The identity's traits. + * @param csrfToken The Anti-CSRF Token This token is only required when performing browser flows. + * @param screen Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious + * @param transientPayload Transient data to pass along to any webhooks + */ +@Serializable + +data class UpdateRegistrationFlowWithProfileMethod ( + + /* Method Should be set to profile when trying to update a profile. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* Traits The identity's traits. */ + @SerialName(value = "traits") @Required val traits: kotlin.String, + + /* The Anti-CSRF Token This token is only required when performing browser flows. */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious */ + @SerialName(value = "screen") val screen: UpdateRegistrationFlowWithProfileMethod.Screen? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + /** + * Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious + * + * Values: credentialMinusSelection,previous + */ + @Serializable + enum class Screen(val value: kotlin.String) { + @SerialName(value = "credential-selection") credentialMinusSelection("credential-selection"), + @SerialName(value = "previous") previous("previous"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithWebAuthnMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithWebAuthnMethod.kt new file mode 100644 index 00000000000..24265f98925 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithWebAuthnMethod.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Registration Flow with WebAuthn Method + * + * @param method Method Should be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing. + * @param traits The identity's traits + * @param csrfToken CSRFToken is the anti-CSRF token + * @param transientPayload Transient data to pass along to any webhooks + * @param webauthnRegister Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + * @param webauthnRegisterDisplayname Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. + */ +@Serializable + +data class UpdateRegistrationFlowWithWebAuthnMethod ( + + /* Method Should be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* The identity's traits */ + @SerialName(value = "traits") @Required val traits: kotlin.String, + + /* CSRFToken is the anti-CSRF token */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null, + + /* Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. */ + @SerialName(value = "webauthn_register") val webauthnRegister: kotlin.String? = null, + + /* Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. */ + @SerialName(value = "webauthn_register_displayname") val webauthnRegisterDisplayname: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowBody.kt new file mode 100644 index 00000000000..14e7342f844 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowBody.kt @@ -0,0 +1,100 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithLookupMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithOidcMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithPasskeyMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithPasswordMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithProfileMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithTotpMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithWebAuthnMethod + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Settings Flow Request Body + * + * @param method Method Should be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing. + * @param password Password is the updated password + * @param traits The identity's traits in: body + * @param csrfToken CSRFToken is the anti-CSRF token + * @param transientPayload Transient data to pass along to any webhooks + * @param flow Flow ID is the flow's ID. in: query + * @param link Link this provider Either this or `unlink` must be set. type: string in: body + * @param unlink Unlink this provider Either this or `link` must be set. type: string in: body + * @param upstreamParameters UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. + * @param totpCode ValidationTOTP must contain a valid TOTP based on the + * @param totpUnlink UnlinkTOTP if true will remove the TOTP pairing, effectively removing the credential. This can be used to set up a new TOTP device. + * @param webauthnRegister Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + * @param webauthnRegisterDisplayname Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. + * @param webauthnRemove Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + * @param lookupSecretConfirm If set to true will save the regenerated lookup secrets + * @param lookupSecretDisable Disables this method if true. + * @param lookupSecretRegenerate If set to true will regenerate the lookup secrets + * @param lookupSecretReveal If set to true will reveal the lookup secrets + * @param passkeyRemove Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + * @param passkeySettingsRegister Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + */ + + +interface UpdateSettingsFlowBody { + + /* Method Should be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing. */ + @SerialName(value = "method") @Required val method: kotlin.String + /* Password is the updated password */ + @SerialName(value = "password") @Required val password: kotlin.String + /* The identity's traits in: body */ + @SerialName(value = "traits") @Required val traits: kotlin.String + /* CSRFToken is the anti-CSRF token */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? + /* Flow ID is the flow's ID. in: query */ + @SerialName(value = "flow") val flow: kotlin.String? + /* Link this provider Either this or `unlink` must be set. type: string in: body */ + @SerialName(value = "link") val link: kotlin.String? + /* Unlink this provider Either this or `link` must be set. type: string in: body */ + @SerialName(value = "unlink") val unlink: kotlin.String? + /* UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. */ + @SerialName(value = "upstream_parameters") val upstreamParameters: kotlin.String? + /* ValidationTOTP must contain a valid TOTP based on the */ + @SerialName(value = "totp_code") val totpCode: kotlin.String? + /* UnlinkTOTP if true will remove the TOTP pairing, effectively removing the credential. This can be used to set up a new TOTP device. */ + @SerialName(value = "totp_unlink") val totpUnlink: kotlin.Boolean? + /* Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. */ + @SerialName(value = "webauthn_register") val webauthnRegister: kotlin.String? + /* Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. */ + @SerialName(value = "webauthn_register_displayname") val webauthnRegisterDisplayname: kotlin.String? + /* Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. */ + @SerialName(value = "webauthn_remove") val webauthnRemove: kotlin.String? + /* If set to true will save the regenerated lookup secrets */ + @SerialName(value = "lookup_secret_confirm") val lookupSecretConfirm: kotlin.Boolean? + /* Disables this method if true. */ + @SerialName(value = "lookup_secret_disable") val lookupSecretDisable: kotlin.Boolean? + /* If set to true will regenerate the lookup secrets */ + @SerialName(value = "lookup_secret_regenerate") val lookupSecretRegenerate: kotlin.Boolean? + /* If set to true will reveal the lookup secrets */ + @SerialName(value = "lookup_secret_reveal") val lookupSecretReveal: kotlin.Boolean? + /* Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. */ + @SerialName(value = "passkey_remove") val passkeyRemove: kotlin.String? + /* Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. */ + @SerialName(value = "passkey_settings_register") val passkeySettingsRegister: kotlin.String? + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithLookupMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithLookupMethod.kt new file mode 100644 index 00000000000..bb2f0e91846 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithLookupMethod.kt @@ -0,0 +1,63 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Settings Flow with Lookup Method + * + * @param method Method Should be set to \"lookup\" when trying to add, update, or remove a lookup pairing. + * @param csrfToken CSRFToken is the anti-CSRF token + * @param lookupSecretConfirm If set to true will save the regenerated lookup secrets + * @param lookupSecretDisable Disables this method if true. + * @param lookupSecretRegenerate If set to true will regenerate the lookup secrets + * @param lookupSecretReveal If set to true will reveal the lookup secrets + * @param transientPayload Transient data to pass along to any webhooks + */ +@Serializable + +data class UpdateSettingsFlowWithLookupMethod ( + + /* Method Should be set to \"lookup\" when trying to add, update, or remove a lookup pairing. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* CSRFToken is the anti-CSRF token */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* If set to true will save the regenerated lookup secrets */ + @SerialName(value = "lookup_secret_confirm") val lookupSecretConfirm: kotlin.Boolean? = null, + + /* Disables this method if true. */ + @SerialName(value = "lookup_secret_disable") val lookupSecretDisable: kotlin.Boolean? = null, + + /* If set to true will regenerate the lookup secrets */ + @SerialName(value = "lookup_secret_regenerate") val lookupSecretRegenerate: kotlin.Boolean? = null, + + /* If set to true will reveal the lookup secrets */ + @SerialName(value = "lookup_secret_reveal") val lookupSecretReveal: kotlin.Boolean? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithOidcMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithOidcMethod.kt new file mode 100644 index 00000000000..004679163a6 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithOidcMethod.kt @@ -0,0 +1,63 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Settings Flow with OpenID Connect Method + * + * @param method Method Should be set to profile when trying to update a profile. + * @param flow Flow ID is the flow's ID. in: query + * @param link Link this provider Either this or `unlink` must be set. type: string in: body + * @param traits The identity's traits in: body + * @param transientPayload Transient data to pass along to any webhooks + * @param unlink Unlink this provider Either this or `link` must be set. type: string in: body + * @param upstreamParameters UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. + */ +@Serializable + +data class UpdateSettingsFlowWithOidcMethod ( + + /* Method Should be set to profile when trying to update a profile. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* Flow ID is the flow's ID. in: query */ + @SerialName(value = "flow") val flow: kotlin.String? = null, + + /* Link this provider Either this or `unlink` must be set. type: string in: body */ + @SerialName(value = "link") val link: kotlin.String? = null, + + /* The identity's traits in: body */ + @SerialName(value = "traits") val traits: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null, + + /* Unlink this provider Either this or `link` must be set. type: string in: body */ + @SerialName(value = "unlink") val unlink: kotlin.String? = null, + + /* UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. */ + @SerialName(value = "upstream_parameters") val upstreamParameters: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithPasskeyMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithPasskeyMethod.kt new file mode 100644 index 00000000000..65264284b16 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithPasskeyMethod.kt @@ -0,0 +1,51 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Settings Flow with Passkey Method + * + * @param method Method Should be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing. + * @param csrfToken CSRFToken is the anti-CSRF token + * @param passkeyRemove Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + * @param passkeySettingsRegister Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + */ +@Serializable + +data class UpdateSettingsFlowWithPasskeyMethod ( + + /* Method Should be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* CSRFToken is the anti-CSRF token */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. */ + @SerialName(value = "passkey_remove") val passkeyRemove: kotlin.String? = null, + + /* Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. */ + @SerialName(value = "passkey_settings_register") val passkeySettingsRegister: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithPasswordMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithPasswordMethod.kt new file mode 100644 index 00000000000..a7b475a6a39 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithPasswordMethod.kt @@ -0,0 +1,51 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Settings Flow with Password Method + * + * @param method Method Should be set to password when trying to update a password. + * @param password Password is the updated password + * @param csrfToken CSRFToken is the anti-CSRF token + * @param transientPayload Transient data to pass along to any webhooks + */ +@Serializable + +data class UpdateSettingsFlowWithPasswordMethod ( + + /* Method Should be set to password when trying to update a password. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* Password is the updated password */ + @SerialName(value = "password") @Required val password: kotlin.String, + + /* CSRFToken is the anti-CSRF token */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithProfileMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithProfileMethod.kt new file mode 100644 index 00000000000..9d6a9aeabab --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithProfileMethod.kt @@ -0,0 +1,51 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Settings Flow with Profile Method + * + * @param method Method Should be set to profile when trying to update a profile. + * @param traits Traits The identity's traits. + * @param csrfToken The Anti-CSRF Token This token is only required when performing browser flows. + * @param transientPayload Transient data to pass along to any webhooks + */ +@Serializable + +data class UpdateSettingsFlowWithProfileMethod ( + + /* Method Should be set to profile when trying to update a profile. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* Traits The identity's traits. */ + @SerialName(value = "traits") @Required val traits: kotlin.String, + + /* The Anti-CSRF Token This token is only required when performing browser flows. */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithTotpMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithTotpMethod.kt new file mode 100644 index 00000000000..caaed9f26e8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithTotpMethod.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Settings Flow with TOTP Method + * + * @param method Method Should be set to \"totp\" when trying to add, update, or remove a totp pairing. + * @param csrfToken CSRFToken is the anti-CSRF token + * @param totpCode ValidationTOTP must contain a valid TOTP based on the + * @param totpUnlink UnlinkTOTP if true will remove the TOTP pairing, effectively removing the credential. This can be used to set up a new TOTP device. + * @param transientPayload Transient data to pass along to any webhooks + */ +@Serializable + +data class UpdateSettingsFlowWithTotpMethod ( + + /* Method Should be set to \"totp\" when trying to add, update, or remove a totp pairing. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* CSRFToken is the anti-CSRF token */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* ValidationTOTP must contain a valid TOTP based on the */ + @SerialName(value = "totp_code") val totpCode: kotlin.String? = null, + + /* UnlinkTOTP if true will remove the TOTP pairing, effectively removing the credential. This can be used to set up a new TOTP device. */ + @SerialName(value = "totp_unlink") val totpUnlink: kotlin.Boolean? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithWebAuthnMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithWebAuthnMethod.kt new file mode 100644 index 00000000000..504d69d82e4 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithWebAuthnMethod.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Settings Flow with WebAuthn Method + * + * @param method Method Should be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing. + * @param csrfToken CSRFToken is the anti-CSRF token + * @param transientPayload Transient data to pass along to any webhooks + * @param webauthnRegister Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + * @param webauthnRegisterDisplayname Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. + * @param webauthnRemove Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + */ +@Serializable + +data class UpdateSettingsFlowWithWebAuthnMethod ( + + /* Method Should be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing. */ + @SerialName(value = "method") @Required val method: kotlin.String, + + /* CSRFToken is the anti-CSRF token */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null, + + /* Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. */ + @SerialName(value = "webauthn_register") val webauthnRegister: kotlin.String? = null, + + /* Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. */ + @SerialName(value = "webauthn_register_displayname") val webauthnRegisterDisplayname: kotlin.String? = null, + + /* Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. */ + @SerialName(value = "webauthn_remove") val webauthnRemove: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSubscriptionBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSubscriptionBody.kt new file mode 100644 index 00000000000..1cab8122661 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSubscriptionBody.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param interval monthly Monthly yearly Yearly + * @param plan + * @param returnTo + */ +@Serializable + +data class UpdateSubscriptionBody ( + + /* monthly Monthly yearly Yearly */ + @SerialName(value = "interval") @Required val interval: UpdateSubscriptionBody.Interval, + + @SerialName(value = "plan") @Required val plan: kotlin.String, + + @SerialName(value = "return_to") val returnTo: kotlin.String? = null + +) { + + /** + * monthly Monthly yearly Yearly + * + * Values: monthly,yearly + */ + @Serializable + enum class Interval(val value: kotlin.String) { + @SerialName(value = "monthly") monthly("monthly"), + @SerialName(value = "yearly") yearly("yearly"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowBody.kt new file mode 100644 index 00000000000..ff4ea080270 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowBody.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.UpdateVerificationFlowWithCodeMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateVerificationFlowWithLinkMethod + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Verification Flow Request Body + * + * @param email The email address to verify If the email belongs to a valid account, a verifiation email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email + * @param method Method is the method that should be used for this verification flow Allowed values are `link` and `code`. link VerificationStrategyLink code VerificationStrategyCode + * @param csrfToken Sending the anti-csrf token is only required for browser login flows. + * @param transientPayload Transient data to pass along to any webhooks + * @param code Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. + */ + + +interface UpdateVerificationFlowBody { + + /* The email address to verify If the email belongs to a valid account, a verifiation email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email */ + @SerialName(value = "email") @Required val email: kotlin.String + /* Method is the method that should be used for this verification flow Allowed values are `link` and `code`. link VerificationStrategyLink code VerificationStrategyCode */ + @SerialName(value = "method") @Required val method: UpdateVerificationFlowBody.Method + /* Sending the anti-csrf token is only required for browser login flows. */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? + /* Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. */ + @SerialName(value = "code") val code: kotlin.String? + /** + * Method is the method that should be used for this verification flow Allowed values are `link` and `code`. link VerificationStrategyLink code VerificationStrategyCode + * + * Values: link,code + */ + @Serializable + enum class Method(val value: kotlin.String) { + @SerialName(value = "link") link("link"), + @SerialName(value = "code") code("code"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowWithCodeMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowWithCodeMethod.kt new file mode 100644 index 00000000000..8234dacc073 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowWithCodeMethod.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param method Method is the method that should be used for this verification flow Allowed values are `link` and `code`. link VerificationStrategyLink code VerificationStrategyCode + * @param code Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. + * @param csrfToken Sending the anti-csrf token is only required for browser login flows. + * @param email The email address to verify If the email belongs to a valid account, a verifiation email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email + * @param transientPayload Transient data to pass along to any webhooks + */ +@Serializable + +data class UpdateVerificationFlowWithCodeMethod ( + + /* Method is the method that should be used for this verification flow Allowed values are `link` and `code`. link VerificationStrategyLink code VerificationStrategyCode */ + @SerialName(value = "method") @Required val method: UpdateVerificationFlowWithCodeMethod.Method, + + /* Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. */ + @SerialName(value = "code") val code: kotlin.String? = null, + + /* Sending the anti-csrf token is only required for browser login flows. */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* The email address to verify If the email belongs to a valid account, a verifiation email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email */ + @SerialName(value = "email") val email: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + /** + * Method is the method that should be used for this verification flow Allowed values are `link` and `code`. link VerificationStrategyLink code VerificationStrategyCode + * + * Values: link,code + */ + @Serializable + enum class Method(val value: kotlin.String) { + @SerialName(value = "link") link("link"), + @SerialName(value = "code") code("code"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowWithLinkMethod.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowWithLinkMethod.kt new file mode 100644 index 00000000000..314fb991eef --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowWithLinkMethod.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Update Verification Flow with Link Method + * + * @param email Email to Verify Needs to be set when initiating the flow. If the email is a registered verification email, a verification link will be sent. If the email is not known, a email with details on what happened will be sent instead. format: email + * @param method Method is the method that should be used for this verification flow Allowed values are `link` and `code` link VerificationStrategyLink code VerificationStrategyCode + * @param csrfToken Sending the anti-csrf token is only required for browser login flows. + * @param transientPayload Transient data to pass along to any webhooks + */ +@Serializable + +data class UpdateVerificationFlowWithLinkMethod ( + + /* Email to Verify Needs to be set when initiating the flow. If the email is a registered verification email, a verification link will be sent. If the email is not known, a email with details on what happened will be sent instead. format: email */ + @SerialName(value = "email") @Required val email: kotlin.String, + + /* Method is the method that should be used for this verification flow Allowed values are `link` and `code` link VerificationStrategyLink code VerificationStrategyCode */ + @SerialName(value = "method") @Required val method: UpdateVerificationFlowWithLinkMethod.Method, + + /* Sending the anti-csrf token is only required for browser login flows. */ + @SerialName(value = "csrf_token") val csrfToken: kotlin.String? = null, + + /* Transient data to pass along to any webhooks */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + /** + * Method is the method that should be used for this verification flow Allowed values are `link` and `code` link VerificationStrategyLink code VerificationStrategyCode + * + * Values: link,code + */ + @Serializable + enum class Method(val value: kotlin.String) { + @SerialName(value = "link") link("link"), + @SerialName(value = "code") code("code"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateWorkspaceBody.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateWorkspaceBody.kt new file mode 100644 index 00000000000..db84ccaaa5b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateWorkspaceBody.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param name The name of the workspace. + */ +@Serializable + +data class UpdateWorkspaceBody ( + + /* The name of the workspace. */ + @SerialName(value = "name") @Required val name: kotlin.String + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Usage.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Usage.kt new file mode 100644 index 00000000000..eb39a730a53 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Usage.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.GenericUsage + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param genericUsage + */ +@Serializable + +data class Usage ( + + @SerialName(value = "GenericUsage") val genericUsage: GenericUsage? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialPrimingResponse.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialPrimingResponse.kt new file mode 100644 index 00000000000..e4a5e79daae --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialPrimingResponse.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param cNonce + * @param cNonceExpiresIn + * @param error + * @param errorDebug + * @param errorDescription + * @param errorHint + * @param format + * @param statusCode + */ +@Serializable + +data class VerifiableCredentialPrimingResponse ( + + @SerialName(value = "c_nonce") val cNonce: kotlin.String? = null, + + @SerialName(value = "c_nonce_expires_in") val cNonceExpiresIn: kotlin.Long? = null, + + @SerialName(value = "error") val error: kotlin.String? = null, + + @SerialName(value = "error_debug") val errorDebug: kotlin.String? = null, + + @SerialName(value = "error_description") val errorDescription: kotlin.String? = null, + + @SerialName(value = "error_hint") val errorHint: kotlin.String? = null, + + @SerialName(value = "format") val format: kotlin.String? = null, + + @SerialName(value = "status_code") val statusCode: kotlin.Long? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialProof.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialProof.kt new file mode 100644 index 00000000000..3ed3c83ed56 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialProof.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param jwt + * @param proofType + */ +@Serializable + +data class VerifiableCredentialProof ( + + @SerialName(value = "jwt") val jwt: kotlin.String? = null, + + @SerialName(value = "proof_type") val proofType: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialResponse.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialResponse.kt new file mode 100644 index 00000000000..5f4038bce6c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialResponse.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param credentialDraft00 + * @param format + */ +@Serializable + +data class VerifiableCredentialResponse ( + + @SerialName(value = "credential_draft_00") val credentialDraft00: kotlin.String? = null, + + @SerialName(value = "format") val format: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableIdentityAddress.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableIdentityAddress.kt new file mode 100644 index 00000000000..27a23937795 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableIdentityAddress.kt @@ -0,0 +1,76 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * VerifiableAddress is an identity's verifiable address + * + * @param status VerifiableAddressStatus must not exceed 16 characters as that is the limitation in the SQL Schema + * @param `value` The address value example foo@user.com + * @param verified Indicates if the address has already been verified + * @param via The delivery method + * @param createdAt When this entry was created + * @param id The ID + * @param updatedAt When this entry was last updated + * @param verifiedAt + */ +@Serializable + +data class VerifiableIdentityAddress ( + + /* VerifiableAddressStatus must not exceed 16 characters as that is the limitation in the SQL Schema */ + @SerialName(value = "status") @Required val status: kotlin.String, + + /* The address value example foo@user.com */ + @SerialName(value = "value") @Required val `value`: kotlin.String, + + /* Indicates if the address has already been verified */ + @SerialName(value = "verified") @Required val verified: kotlin.Boolean, + + /* The delivery method */ + @SerialName(value = "via") @Required val via: VerifiableIdentityAddress.Via, + + /* When this entry was created */ + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + /* The ID */ + @SerialName(value = "id") val id: kotlin.String? = null, + + /* When this entry was last updated */ + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null, + + @SerialName(value = "verified_at") val verifiedAt: kotlinx.datetime.Instant? = null + +) { + + /** + * The delivery method + * + * Values: email,sms + */ + @Serializable + enum class Via(val value: kotlin.String) { + @SerialName(value = "email") email("email"), + @SerialName(value = "sms") sms("sms"); + } + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerificationFlow.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerificationFlow.kt new file mode 100644 index 00000000000..5ec00cd0189 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerificationFlow.kt @@ -0,0 +1,75 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import sh.ory.client-kotlin-multiplatform.models.UiContainer + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * Used to verify an out-of-band communication channel such as an email address or a phone number. For more information head over to: https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation + * + * @param id ID represents the request's unique ID. When performing the verification flow, this represents the id in the verify ui's query parameter: http://?request= type: string format: uuid + * @param state State represents the state of this request: choose_method: ask the user to choose a method (e.g. verify your email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the verification challenge was passed. + * @param type The flow type can either be `api` or `browser`. + * @param ui + * @param active Active, if set, contains the registration method that is being used. It is initially not set. + * @param expiresAt ExpiresAt is the time (UTC) when the request expires. If the user still wishes to verify the address, a new request has to be initiated. + * @param issuedAt IssuedAt is the time (UTC) when the request occurred. + * @param requestUrl RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. + * @param returnTo ReturnTo contains the requested return_to URL. + * @param transientPayload TransientPayload is used to pass data from the verification flow to hooks and email templates + */ +@Serializable + +data class VerificationFlow ( + + /* ID represents the request's unique ID. When performing the verification flow, this represents the id in the verify ui's query parameter: http://?request= type: string format: uuid */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* State represents the state of this request: choose_method: ask the user to choose a method (e.g. verify your email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the verification challenge was passed. */ + @SerialName(value = "state") @Required val state: kotlin.Any?, + + /* The flow type can either be `api` or `browser`. */ + @SerialName(value = "type") @Required val type: kotlin.String, + + @SerialName(value = "ui") @Required val ui: UiContainer, + + /* Active, if set, contains the registration method that is being used. It is initially not set. */ + @SerialName(value = "active") val active: kotlin.String? = null, + + /* ExpiresAt is the time (UTC) when the request expires. If the user still wishes to verify the address, a new request has to be initiated. */ + @SerialName(value = "expires_at") val expiresAt: kotlinx.datetime.Instant? = null, + + /* IssuedAt is the time (UTC) when the request occurred. */ + @SerialName(value = "issued_at") val issuedAt: kotlinx.datetime.Instant? = null, + + /* RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. */ + @SerialName(value = "request_url") val requestUrl: kotlin.String? = null, + + /* ReturnTo contains the requested return_to URL. */ + @SerialName(value = "return_to") val returnTo: kotlin.String? = null, + + /* TransientPayload is used to pass data from the verification flow to hooks and email templates */ + @SerialName(value = "transient_payload") val transientPayload: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerificationFlowState.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerificationFlowState.kt new file mode 100644 index 00000000000..fcc2199f522 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/VerificationFlowState.kt @@ -0,0 +1,64 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* + +/** + * The state represents the state of the verification flow. choose_method: ask the user to choose a method (e.g. recover account via email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed. + * + * Values: choose_method,sent_email,passed_challenge + */ +@Serializable +enum class VerificationFlowState(val value: kotlin.String) { + + @SerialName(value = "choose_method") + choose_method("choose_method"), + + @SerialName(value = "sent_email") + sent_email("sent_email"), + + @SerialName(value = "passed_challenge") + passed_challenge("passed_challenge"); + + /** + * Override [toString()] to avoid using the enum variable name as the value, and instead use + * the actual value defined in the API spec file. + * + * This solves a problem when the variable name and its value are different, and ensures that + * the client sends the correct enum values to the server always. + */ + override fun toString(): kotlin.String = value + + companion object { + /** + * Converts the provided [data] to a [String] on success, null otherwise. + */ + fun encode(data: kotlin.Any?): kotlin.String? = if (data is VerificationFlowState) "$data" else null + + /** + * Returns a valid [VerificationFlowState] for [data], null otherwise. + */ + fun decode(data: kotlin.Any?): VerificationFlowState? = data?.let { + val normalizedData = "$it".lowercase() + values().firstOrNull { value -> + it == value || normalizedData == "$value".lowercase() + } + } + } +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Version.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Version.kt new file mode 100644 index 00000000000..7d39add221b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Version.kt @@ -0,0 +1,39 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param version Version is the service's version. + */ +@Serializable + +data class Version ( + + /* Version is the service's version. */ + @SerialName(value = "version") val version: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Warning.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Warning.kt new file mode 100644 index 00000000000..4e746deff38 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Warning.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param code + * @param message + */ +@Serializable + +data class Warning ( + + @SerialName(value = "code") val code: kotlin.Long? = null, + + @SerialName(value = "message") val message: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Workspace.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Workspace.kt new file mode 100644 index 00000000000..01020245ccf --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/Workspace.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param createdAt + * @param id + * @param name + * @param updatedAt + * @param subscriptionId + * @param subscriptionPlan + */ +@Serializable + +data class Workspace ( + + @SerialName(value = "created_at") @Required val createdAt: kotlinx.datetime.Instant, + + @SerialName(value = "id") @Required val id: kotlin.String, + + @SerialName(value = "name") @Required val name: kotlin.String, + + @SerialName(value = "updated_at") @Required val updatedAt: kotlinx.datetime.Instant, + + @SerialName(value = "subscription_id") val subscriptionId: kotlin.String? = null, + + @SerialName(value = "subscription_plan") val subscriptionPlan: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/WorkspaceApiKey.kt b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/WorkspaceApiKey.kt new file mode 100644 index 00000000000..54103fa8ee6 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/commonMain/kotlin/sh/ory/client-kotlin-multiplatform/models/WorkspaceApiKey.kt @@ -0,0 +1,66 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + + +import kotlinx.serialization.* +import kotlinx.serialization.descriptors.* +import kotlinx.serialization.encoding.* + +/** + * + * + * @param id The key's ID. + * @param name The API key's Name Set this to help you remember, for example, where you use the API key. + * @param ownerId The key's owner + * @param createdAt The API key's creation date + * @param expiresAt + * @param updatedAt The API key's last update date + * @param `value` The key's value + * @param workspaceId The API key's workspace ID + */ +@Serializable + +data class WorkspaceApiKey ( + + /* The key's ID. */ + @SerialName(value = "id") @Required val id: kotlin.String, + + /* The API key's Name Set this to help you remember, for example, where you use the API key. */ + @SerialName(value = "name") @Required val name: kotlin.String, + + /* The key's owner */ + @SerialName(value = "owner_id") @Required val ownerId: kotlin.String, + + /* The API key's creation date */ + @SerialName(value = "created_at") val createdAt: kotlinx.datetime.Instant? = null, + + @SerialName(value = "expires_at") val expiresAt: kotlinx.datetime.Instant? = null, + + /* The API key's last update date */ + @SerialName(value = "updated_at") val updatedAt: kotlinx.datetime.Instant? = null, + + /* The key's value */ + @SerialName(value = "value") val `value`: kotlin.String? = null, + + /* The API key's workspace ID */ + @SerialName(value = "workspace_id") val workspaceId: kotlin.String? = null + +) { + + +} + diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/CourierApiTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/CourierApiTest.kt new file mode 100644 index 00000000000..dad80762e16 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/CourierApiTest.kt @@ -0,0 +1,51 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.apis.CourierApi +import sh.ory.client-kotlin-multiplatform.models.CourierMessageStatus +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric +import sh.ory.client-kotlin-multiplatform.models.Message + +class CourierApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of CourierApi + //val apiInstance = CourierApi() + + // to test getCourierMessage + should("test getCourierMessage") { + // uncomment below to test getCourierMessage + //val id : kotlin.String = id_example // kotlin.String | MessageID is the ID of the message. + //val result : Message = apiInstance.getCourierMessage(id) + //result shouldBe ("TODO") + } + + // to test listCourierMessages + should("test listCourierMessages") { + // uncomment below to test listCourierMessages + //val pageSize : kotlin.Long = 789 // kotlin.Long | Items per Page 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). + //val pageToken : kotlin.String = pageToken_example // kotlin.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). + //val status : CourierMessageStatus = // CourierMessageStatus | Status filters out messages based on status. If no value is provided, it doesn't take effect on filter. + //val recipient : kotlin.String = recipient_example // kotlin.String | Recipient filters out messages based on recipient. If no value is provided, it doesn't take effect on filter. + //val result : kotlin.collections.List = apiInstance.listCourierMessages(pageSize, pageToken, status, recipient) + //result shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/EventsApiTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/EventsApiTest.kt new file mode 100644 index 00000000000..bfb66c6b26e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/EventsApiTest.kt @@ -0,0 +1,69 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.apis.EventsApi +import sh.ory.client-kotlin-multiplatform.models.CreateEventStreamBody +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric +import sh.ory.client-kotlin-multiplatform.models.EventStream +import sh.ory.client-kotlin-multiplatform.models.ListEventStreams +import sh.ory.client-kotlin-multiplatform.models.SetEventStreamBody + +class EventsApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of EventsApi + //val apiInstance = EventsApi() + + // to test createEventStream + should("test createEventStream") { + // uncomment below to test createEventStream + //val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. + //val createEventStreamBody : CreateEventStreamBody = // CreateEventStreamBody | + //val result : EventStream = apiInstance.createEventStream(projectId, createEventStreamBody) + //result shouldBe ("TODO") + } + + // to test deleteEventStream + should("test deleteEventStream") { + // uncomment below to test deleteEventStream + //val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. + //val eventStreamId : kotlin.String = eventStreamId_example // kotlin.String | Event Stream ID The ID of the event stream to be deleted, as returned when created. + //apiInstance.deleteEventStream(projectId, eventStreamId) + } + + // to test listEventStreams + should("test listEventStreams") { + // uncomment below to test listEventStreams + //val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. + //val result : ListEventStreams = apiInstance.listEventStreams(projectId) + //result shouldBe ("TODO") + } + + // to test setEventStream + should("test setEventStream") { + // uncomment below to test setEventStream + //val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. + //val eventStreamId : kotlin.String = eventStreamId_example // kotlin.String | Event Stream ID The event stream's ID. + //val setEventStreamBody : SetEventStreamBody = // SetEventStreamBody | + //val result : EventStream = apiInstance.setEventStream(projectId, eventStreamId, setEventStreamBody) + //result shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/FrontendApiTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/FrontendApiTest.kt new file mode 100644 index 00000000000..bb8c59b892e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/FrontendApiTest.kt @@ -0,0 +1,335 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.apis.FrontendApi +import sh.ory.client-kotlin-multiplatform.models.DeleteMySessionsCount +import sh.ory.client-kotlin-multiplatform.models.ErrorBrowserLocationChangeRequired +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric +import sh.ory.client-kotlin-multiplatform.models.FlowError +import sh.ory.client-kotlin-multiplatform.models.LoginFlow +import sh.ory.client-kotlin-multiplatform.models.LogoutFlow +import sh.ory.client-kotlin-multiplatform.models.PerformNativeLogoutBody +import sh.ory.client-kotlin-multiplatform.models.RecoveryFlow +import sh.ory.client-kotlin-multiplatform.models.RegistrationFlow +import sh.ory.client-kotlin-multiplatform.models.Session +import sh.ory.client-kotlin-multiplatform.models.SettingsFlow +import sh.ory.client-kotlin-multiplatform.models.SuccessfulNativeLogin +import sh.ory.client-kotlin-multiplatform.models.SuccessfulNativeRegistration +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowBody +import sh.ory.client-kotlin-multiplatform.models.UpdateRecoveryFlowBody +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowBody +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowBody +import sh.ory.client-kotlin-multiplatform.models.UpdateVerificationFlowBody +import sh.ory.client-kotlin-multiplatform.models.VerificationFlow + +class FrontendApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of FrontendApi + //val apiInstance = FrontendApi() + + // to test createBrowserLoginFlow + should("test createBrowserLoginFlow") { + // uncomment below to test createBrowserLoginFlow + //val refresh : kotlin.Boolean = true // kotlin.Boolean | Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session. + //val aal : kotlin.String = aal_example // kotlin.String | Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session's authenticator assurance level (AAL). This allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password, the AAL is 1. If you wish to \"upgrade\" the session's security by asking the user to perform TOTP / WebAuth/ ... you would set this to \"aal2\". + //val returnTo : kotlin.String = returnTo_example // kotlin.String | The URL to return the browser to after the flow was completed. + //val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. + //val loginChallenge : kotlin.String = loginChallenge_example // kotlin.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`). + //val organization : kotlin.String = organization_example // kotlin.String | An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network. + //val via : kotlin.String = via_example // kotlin.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. + //val result : LoginFlow = apiInstance.createBrowserLoginFlow(refresh, aal, returnTo, cookie, loginChallenge, organization, via) + //result shouldBe ("TODO") + } + + // to test createBrowserLogoutFlow + should("test createBrowserLogoutFlow") { + // uncomment below to test createBrowserLogoutFlow + //val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies If you call this endpoint from a backend, please include the original Cookie header in the request. + //val returnTo : kotlin.String = returnTo_example // kotlin.String | Return to URL The URL to which the browser should be redirected to after the logout has been performed. + //val result : LogoutFlow = apiInstance.createBrowserLogoutFlow(cookie, returnTo) + //result shouldBe ("TODO") + } + + // to test createBrowserRecoveryFlow + should("test createBrowserRecoveryFlow") { + // uncomment below to test createBrowserRecoveryFlow + //val returnTo : kotlin.String = returnTo_example // kotlin.String | The URL to return the browser to after the flow was completed. + //val result : RecoveryFlow = apiInstance.createBrowserRecoveryFlow(returnTo) + //result shouldBe ("TODO") + } + + // to test createBrowserRegistrationFlow + should("test createBrowserRegistrationFlow") { + // uncomment below to test createBrowserRegistrationFlow + //val returnTo : kotlin.String = returnTo_example // kotlin.String | The URL to return the browser to after the flow was completed. + //val loginChallenge : kotlin.String = loginChallenge_example // kotlin.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. + //val afterVerificationReturnTo : kotlin.String = afterVerificationReturnTo_example // kotlin.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. + //val organization : kotlin.String = organization_example // kotlin.String | An optional organization ID that should be used to register this user. This parameter is only effective in the Ory Network. + //val result : RegistrationFlow = apiInstance.createBrowserRegistrationFlow(returnTo, loginChallenge, afterVerificationReturnTo, organization) + //result shouldBe ("TODO") + } + + // to test createBrowserSettingsFlow + should("test createBrowserSettingsFlow") { + // uncomment below to test createBrowserSettingsFlow + //val returnTo : kotlin.String = returnTo_example // kotlin.String | The URL to return the browser to after the flow was completed. + //val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. + //val result : SettingsFlow = apiInstance.createBrowserSettingsFlow(returnTo, cookie) + //result shouldBe ("TODO") + } + + // to test createBrowserVerificationFlow + should("test createBrowserVerificationFlow") { + // uncomment below to test createBrowserVerificationFlow + //val returnTo : kotlin.String = returnTo_example // kotlin.String | The URL to return the browser to after the flow was completed. + //val result : VerificationFlow = apiInstance.createBrowserVerificationFlow(returnTo) + //result shouldBe ("TODO") + } + + // to test createNativeLoginFlow + should("test createNativeLoginFlow") { + // uncomment below to test createNativeLoginFlow + //val refresh : kotlin.Boolean = true // kotlin.Boolean | Refresh a login session If set to true, this will refresh an existing login session by asking the user to sign in again. This will reset the authenticated_at time of the session. + //val aal : kotlin.String = aal_example // kotlin.String | Request a Specific AuthenticationMethod Assurance Level Use this parameter to upgrade an existing session's authenticator assurance level (AAL). This allows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password, the AAL is 1. If you wish to \"upgrade\" the session's security by asking the user to perform TOTP / WebAuth/ ... you would set this to \"aal2\". + //val xSessionToken : kotlin.String = xSessionToken_example // kotlin.String | The Session Token of the Identity performing the settings flow. + //val returnSessionTokenExchangeCode : kotlin.Boolean = true // kotlin.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. + //val returnTo : kotlin.String = returnTo_example // kotlin.String | The URL to return the browser to after the flow was completed. + //val organization : kotlin.String = organization_example // kotlin.String | An optional organization ID that should be used for logging this user in. This parameter is only effective in the Ory Network. + //val via : kotlin.String = via_example // kotlin.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. + //val result : LoginFlow = apiInstance.createNativeLoginFlow(refresh, aal, xSessionToken, returnSessionTokenExchangeCode, returnTo, organization, via) + //result shouldBe ("TODO") + } + + // to test createNativeRecoveryFlow + should("test createNativeRecoveryFlow") { + // uncomment below to test createNativeRecoveryFlow + //val result : RecoveryFlow = apiInstance.createNativeRecoveryFlow() + //result shouldBe ("TODO") + } + + // to test createNativeRegistrationFlow + should("test createNativeRegistrationFlow") { + // uncomment below to test createNativeRegistrationFlow + //val returnSessionTokenExchangeCode : kotlin.Boolean = true // kotlin.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. + //val returnTo : kotlin.String = returnTo_example // kotlin.String | The URL to return the browser to after the flow was completed. + //val organization : kotlin.String = organization_example // kotlin.String | An optional organization ID that should be used to register this user. This parameter is only effective in the Ory Network. + //val result : RegistrationFlow = apiInstance.createNativeRegistrationFlow(returnSessionTokenExchangeCode, returnTo, organization) + //result shouldBe ("TODO") + } + + // to test createNativeSettingsFlow + should("test createNativeSettingsFlow") { + // uncomment below to test createNativeSettingsFlow + //val xSessionToken : kotlin.String = xSessionToken_example // kotlin.String | The Session Token of the Identity performing the settings flow. + //val result : SettingsFlow = apiInstance.createNativeSettingsFlow(xSessionToken) + //result shouldBe ("TODO") + } + + // to test createNativeVerificationFlow + should("test createNativeVerificationFlow") { + // uncomment below to test createNativeVerificationFlow + //val returnTo : kotlin.String = returnTo_example // kotlin.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. + //val result : VerificationFlow = apiInstance.createNativeVerificationFlow(returnTo) + //result shouldBe ("TODO") + } + + // to test disableMyOtherSessions + should("test disableMyOtherSessions") { + // uncomment below to test disableMyOtherSessions + //val xSessionToken : kotlin.String = xSessionToken_example // kotlin.String | Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`. + //val cookie : kotlin.String = cookie_example // kotlin.String | Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored. + //val result : DeleteMySessionsCount = apiInstance.disableMyOtherSessions(xSessionToken, cookie) + //result shouldBe ("TODO") + } + + // to test disableMySession + should("test disableMySession") { + // uncomment below to test disableMySession + //val id : kotlin.String = id_example // kotlin.String | ID is the session's ID. + //val xSessionToken : kotlin.String = xSessionToken_example // kotlin.String | Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`. + //val cookie : kotlin.String = cookie_example // kotlin.String | Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored. + //apiInstance.disableMySession(id, xSessionToken, cookie) + } + + // to test exchangeSessionToken + should("test exchangeSessionToken") { + // uncomment below to test exchangeSessionToken + //val initCode : kotlin.String = initCode_example // kotlin.String | The part of the code return when initializing the flow. + //val returnToCode : kotlin.String = returnToCode_example // kotlin.String | The part of the code returned by the return_to URL. + //val result : SuccessfulNativeLogin = apiInstance.exchangeSessionToken(initCode, returnToCode) + //result shouldBe ("TODO") + } + + // to test getFlowError + should("test getFlowError") { + // uncomment below to test getFlowError + //val id : kotlin.String = id_example // kotlin.String | Error is the error's ID + //val result : FlowError = apiInstance.getFlowError(id) + //result shouldBe ("TODO") + } + + // to test getLoginFlow + should("test getLoginFlow") { + // uncomment below to test getLoginFlow + //val id : kotlin.String = id_example // kotlin.String | The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`). + //val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. + //val result : LoginFlow = apiInstance.getLoginFlow(id, cookie) + //result shouldBe ("TODO") + } + + // to test getRecoveryFlow + should("test getRecoveryFlow") { + // uncomment below to test getRecoveryFlow + //val id : kotlin.String = id_example // kotlin.String | The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`). + //val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. + //val result : RecoveryFlow = apiInstance.getRecoveryFlow(id, cookie) + //result shouldBe ("TODO") + } + + // to test getRegistrationFlow + should("test getRegistrationFlow") { + // uncomment below to test getRegistrationFlow + //val id : kotlin.String = id_example // kotlin.String | The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`). + //val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. + //val result : RegistrationFlow = apiInstance.getRegistrationFlow(id, cookie) + //result shouldBe ("TODO") + } + + // to test getSettingsFlow + should("test getSettingsFlow") { + // uncomment below to test getSettingsFlow + //val id : kotlin.String = id_example // kotlin.String | ID is the Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`). + //val xSessionToken : kotlin.String = xSessionToken_example // kotlin.String | The Session Token When using the SDK in an app without a browser, please include the session token here. + //val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. + //val result : SettingsFlow = apiInstance.getSettingsFlow(id, xSessionToken, cookie) + //result shouldBe ("TODO") + } + + // to test getVerificationFlow + should("test getVerificationFlow") { + // uncomment below to test getVerificationFlow + //val id : kotlin.String = id_example // kotlin.String | The Flow ID The value for this parameter comes from `request` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`). + //val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK on the server side you must include the HTTP Cookie Header originally sent to your HTTP handler here. + //val result : VerificationFlow = apiInstance.getVerificationFlow(id, cookie) + //result shouldBe ("TODO") + } + + // to test getWebAuthnJavaScript + should("test getWebAuthnJavaScript") { + // uncomment below to test getWebAuthnJavaScript + //val result : kotlin.String = apiInstance.getWebAuthnJavaScript() + //result shouldBe ("TODO") + } + + // to test listMySessions + should("test listMySessions") { + // uncomment below to test listMySessions + //val perPage : kotlin.Long = 789 // kotlin.Long | Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page. + //val page : kotlin.Long = 789 // kotlin.Long | Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. + //val pageSize : kotlin.Long = 789 // kotlin.Long | 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). + //val pageToken : kotlin.String = pageToken_example // kotlin.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). + //val xSessionToken : kotlin.String = xSessionToken_example // kotlin.String | Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`. + //val cookie : kotlin.String = cookie_example // kotlin.String | Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored. + //val result : kotlin.collections.List = apiInstance.listMySessions(perPage, page, pageSize, pageToken, xSessionToken, cookie) + //result shouldBe ("TODO") + } + + // to test performNativeLogout + should("test performNativeLogout") { + // uncomment below to test performNativeLogout + //val performNativeLogoutBody : PerformNativeLogoutBody = // PerformNativeLogoutBody | + //apiInstance.performNativeLogout(performNativeLogoutBody) + } + + // to test toSession + should("test toSession") { + // uncomment below to test toSession + //val xSessionToken : kotlin.String = MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj // kotlin.String | Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`. + //val cookie : kotlin.String = ory_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f== // kotlin.String | Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that scenario you must include the HTTP Cookie Header which originally was included in the request to your server. An example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`. It is ok if more than one cookie are included here as all other cookies will be ignored. + //val tokenizeAs : kotlin.String = tokenizeAs_example // kotlin.String | Returns the session additionally as a token (such as a JWT) The value of this parameter has to be a valid, configured Ory Session token template. For more information head over to [the documentation](http://ory.sh/docs/identities/session-to-jwt-cors). + //val result : Session = apiInstance.toSession(xSessionToken, cookie, tokenizeAs) + //result shouldBe ("TODO") + } + + // to test updateLoginFlow + should("test updateLoginFlow") { + // uncomment below to test updateLoginFlow + //val flow : kotlin.String = flow_example // kotlin.String | The Login Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/login?flow=abcde`). + //val updateLoginFlowBody : UpdateLoginFlowBody = // UpdateLoginFlowBody | + //val xSessionToken : kotlin.String = xSessionToken_example // kotlin.String | The Session Token of the Identity performing the settings flow. + //val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. + //val result : SuccessfulNativeLogin = apiInstance.updateLoginFlow(flow, updateLoginFlowBody, xSessionToken, cookie) + //result shouldBe ("TODO") + } + + // to test updateLogoutFlow + should("test updateLogoutFlow") { + // uncomment below to test updateLogoutFlow + //val token : kotlin.String = token_example // kotlin.String | A Valid Logout Token If you do not have a logout token because you only have a session cookie, call `/self-service/logout/browser` to generate a URL for this endpoint. + //val returnTo : kotlin.String = returnTo_example // kotlin.String | The URL to return to after the logout was completed. + //val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. + //apiInstance.updateLogoutFlow(token, returnTo, cookie) + } + + // to test updateRecoveryFlow + should("test updateRecoveryFlow") { + // uncomment below to test updateRecoveryFlow + //val flow : kotlin.String = flow_example // kotlin.String | The Recovery Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/recovery?flow=abcde`). + //val updateRecoveryFlowBody : UpdateRecoveryFlowBody = // UpdateRecoveryFlowBody | + //val token : kotlin.String = token_example // kotlin.String | Recovery Token The recovery token which completes the recovery request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call. + //val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. + //val result : RecoveryFlow = apiInstance.updateRecoveryFlow(flow, updateRecoveryFlowBody, token, cookie) + //result shouldBe ("TODO") + } + + // to test updateRegistrationFlow + should("test updateRegistrationFlow") { + // uncomment below to test updateRegistrationFlow + //val flow : kotlin.String = flow_example // kotlin.String | The Registration Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/registration?flow=abcde`). + //val updateRegistrationFlowBody : UpdateRegistrationFlowBody = // UpdateRegistrationFlowBody | + //val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. + //val result : SuccessfulNativeRegistration = apiInstance.updateRegistrationFlow(flow, updateRegistrationFlowBody, cookie) + //result shouldBe ("TODO") + } + + // to test updateSettingsFlow + should("test updateSettingsFlow") { + // uncomment below to test updateSettingsFlow + //val flow : kotlin.String = flow_example // kotlin.String | The Settings Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/settings?flow=abcde`). + //val updateSettingsFlowBody : UpdateSettingsFlowBody = // UpdateSettingsFlowBody | + //val xSessionToken : kotlin.String = xSessionToken_example // kotlin.String | The Session Token of the Identity performing the settings flow. + //val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. + //val result : SettingsFlow = apiInstance.updateSettingsFlow(flow, updateSettingsFlowBody, xSessionToken, cookie) + //result shouldBe ("TODO") + } + + // to test updateVerificationFlow + should("test updateVerificationFlow") { + // uncomment below to test updateVerificationFlow + //val flow : kotlin.String = flow_example // kotlin.String | The Verification Flow ID The value for this parameter comes from `flow` URL Query parameter sent to your application (e.g. `/verification?flow=abcde`). + //val updateVerificationFlowBody : UpdateVerificationFlowBody = // UpdateVerificationFlowBody | + //val token : kotlin.String = token_example // kotlin.String | Verification Token The verification token which completes the verification request. If the token is invalid (e.g. expired) an error will be shown to the end-user. This parameter is usually set in a link and not used by any direct API call. + //val cookie : kotlin.String = cookie_example // kotlin.String | HTTP Cookies When using the SDK in a browser app, on the server side you must include the HTTP Cookie Header sent by the client to your server here. This ensures that CSRF and session cookies are respected. + //val result : VerificationFlow = apiInstance.updateVerificationFlow(flow, updateVerificationFlowBody, token, cookie) + //result shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/IdentityApiTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/IdentityApiTest.kt new file mode 100644 index 00000000000..cceb44f43d5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/IdentityApiTest.kt @@ -0,0 +1,209 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.apis.IdentityApi +import sh.ory.client-kotlin-multiplatform.models.BatchPatchIdentitiesResponse +import sh.ory.client-kotlin-multiplatform.models.CreateIdentityBody +import sh.ory.client-kotlin-multiplatform.models.CreateRecoveryCodeForIdentityBody +import sh.ory.client-kotlin-multiplatform.models.CreateRecoveryLinkForIdentityBody +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric +import sh.ory.client-kotlin-multiplatform.models.Identity +import sh.ory.client-kotlin-multiplatform.models.IdentitySchemaContainer +import sh.ory.client-kotlin-multiplatform.models.JsonPatch +import sh.ory.client-kotlin-multiplatform.models.PatchIdentitiesBody +import sh.ory.client-kotlin-multiplatform.models.RecoveryCodeForIdentity +import sh.ory.client-kotlin-multiplatform.models.RecoveryLinkForIdentity +import sh.ory.client-kotlin-multiplatform.models.Session +import sh.ory.client-kotlin-multiplatform.models.UpdateIdentityBody + +class IdentityApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of IdentityApi + //val apiInstance = IdentityApi() + + // to test batchPatchIdentities + should("test batchPatchIdentities") { + // uncomment below to test batchPatchIdentities + //val patchIdentitiesBody : PatchIdentitiesBody = // PatchIdentitiesBody | + //val result : BatchPatchIdentitiesResponse = apiInstance.batchPatchIdentities(patchIdentitiesBody) + //result shouldBe ("TODO") + } + + // to test createIdentity + should("test createIdentity") { + // uncomment below to test createIdentity + //val createIdentityBody : CreateIdentityBody = // CreateIdentityBody | + //val result : Identity = apiInstance.createIdentity(createIdentityBody) + //result shouldBe ("TODO") + } + + // to test createRecoveryCodeForIdentity + should("test createRecoveryCodeForIdentity") { + // uncomment below to test createRecoveryCodeForIdentity + //val createRecoveryCodeForIdentityBody : CreateRecoveryCodeForIdentityBody = // CreateRecoveryCodeForIdentityBody | + //val result : RecoveryCodeForIdentity = apiInstance.createRecoveryCodeForIdentity(createRecoveryCodeForIdentityBody) + //result shouldBe ("TODO") + } + + // to test createRecoveryLinkForIdentity + should("test createRecoveryLinkForIdentity") { + // uncomment below to test createRecoveryLinkForIdentity + //val returnTo : kotlin.String = returnTo_example // kotlin.String | + //val createRecoveryLinkForIdentityBody : CreateRecoveryLinkForIdentityBody = // CreateRecoveryLinkForIdentityBody | + //val result : RecoveryLinkForIdentity = apiInstance.createRecoveryLinkForIdentity(returnTo, createRecoveryLinkForIdentityBody) + //result shouldBe ("TODO") + } + + // to test deleteIdentity + should("test deleteIdentity") { + // uncomment below to test deleteIdentity + //val id : kotlin.String = id_example // kotlin.String | ID is the identity's ID. + //apiInstance.deleteIdentity(id) + } + + // to test deleteIdentityCredentials + should("test deleteIdentityCredentials") { + // uncomment below to test deleteIdentityCredentials + //val id : kotlin.String = id_example // kotlin.String | ID is the identity's ID. + //val type : kotlin.String = type_example // kotlin.String | Type is the type of credentials to delete. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + //val identifier : kotlin.String = identifier_example // kotlin.String | Identifier is the identifier of the OIDC credential to delete. Find the identifier by calling the `GET /admin/identities/{id}?include_credential=oidc` endpoint. + //apiInstance.deleteIdentityCredentials(id, type, identifier) + } + + // to test deleteIdentitySessions + should("test deleteIdentitySessions") { + // uncomment below to test deleteIdentitySessions + //val id : kotlin.String = id_example // kotlin.String | ID is the identity's ID. + //apiInstance.deleteIdentitySessions(id) + } + + // to test disableSession + should("test disableSession") { + // uncomment below to test disableSession + //val id : kotlin.String = id_example // kotlin.String | ID is the session's ID. + //apiInstance.disableSession(id) + } + + // to test extendSession + should("test extendSession") { + // uncomment below to test extendSession + //val id : kotlin.String = id_example // kotlin.String | ID is the session's ID. + //val result : Session = apiInstance.extendSession(id) + //result shouldBe ("TODO") + } + + // to test getIdentity + should("test getIdentity") { + // uncomment below to test getIdentity + //val id : kotlin.String = id_example // kotlin.String | ID must be set to the ID of identity you want to get + //val includeCredential : kotlin.collections.List = // kotlin.collections.List | Include Credentials in Response Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available. + //val result : Identity = apiInstance.getIdentity(id, includeCredential) + //result shouldBe ("TODO") + } + + // to test getIdentitySchema + should("test getIdentitySchema") { + // uncomment below to test getIdentitySchema + //val id : kotlin.String = id_example // kotlin.String | ID must be set to the ID of schema you want to get + //val result : kotlin.String = apiInstance.getIdentitySchema(id) + //result shouldBe ("TODO") + } + + // to test getSession + should("test getSession") { + // uncomment below to test getSession + //val id : kotlin.String = id_example // kotlin.String | ID is the session's ID. + //val expand : kotlin.collections.List = // kotlin.collections.List | ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. Example - ?expand=Identity&expand=Devices If no value is provided, the expandable properties are skipped. + //val result : Session = apiInstance.getSession(id, expand) + //result shouldBe ("TODO") + } + + // to test listIdentities + should("test listIdentities") { + // uncomment below to test listIdentities + //val perPage : kotlin.Long = 789 // kotlin.Long | Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page. + //val page : kotlin.Long = 789 // kotlin.Long | Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. + //val pageSize : kotlin.Long = 789 // kotlin.Long | 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). + //val pageToken : kotlin.String = pageToken_example // kotlin.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). + //val consistency : kotlin.String = consistency_example // kotlin.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. + //val ids : kotlin.collections.List = // kotlin.collections.List | List of ids used to filter identities. If this list is empty, then no filter will be applied. + //val credentialsIdentifier : kotlin.String = credentialsIdentifier_example // kotlin.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. + //val previewCredentialsIdentifierSimilar : kotlin.String = previewCredentialsIdentifierSimilar_example // kotlin.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. + //val includeCredential : kotlin.collections.List = // kotlin.collections.List | Include Credentials in Response Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available. + //val organizationId : kotlin.String = organizationId_example // kotlin.String | OrganizationID is the organization id to filter identities by. If `ids` is set, this parameter is ignored. + //val result : kotlin.collections.List = apiInstance.listIdentities(perPage, page, pageSize, pageToken, consistency, ids, credentialsIdentifier, previewCredentialsIdentifierSimilar, includeCredential, organizationId) + //result shouldBe ("TODO") + } + + // to test listIdentitySchemas + should("test listIdentitySchemas") { + // uncomment below to test listIdentitySchemas + //val perPage : kotlin.Long = 789 // kotlin.Long | Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page. + //val page : kotlin.Long = 789 // kotlin.Long | Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. + //val pageSize : kotlin.Long = 789 // kotlin.Long | 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). + //val pageToken : kotlin.String = pageToken_example // kotlin.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). + //val result : kotlin.collections.List = apiInstance.listIdentitySchemas(perPage, page, pageSize, pageToken) + //result shouldBe ("TODO") + } + + // to test listIdentitySessions + should("test listIdentitySessions") { + // uncomment below to test listIdentitySessions + //val id : kotlin.String = id_example // kotlin.String | ID is the identity's ID. + //val perPage : kotlin.Long = 789 // kotlin.Long | Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page. + //val page : kotlin.Long = 789 // kotlin.Long | Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. + //val pageSize : kotlin.Long = 789 // kotlin.Long | 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). + //val pageToken : kotlin.String = pageToken_example // kotlin.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). + //val active : kotlin.Boolean = true // kotlin.Boolean | Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned. + //val result : kotlin.collections.List = apiInstance.listIdentitySessions(id, perPage, page, pageSize, pageToken, active) + //result shouldBe ("TODO") + } + + // to test listSessions + should("test listSessions") { + // uncomment below to test listSessions + //val pageSize : kotlin.Long = 789 // kotlin.Long | Items per Page 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). + //val pageToken : kotlin.String = pageToken_example // kotlin.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). + //val active : kotlin.Boolean = true // kotlin.Boolean | Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned. + //val expand : kotlin.collections.List = // kotlin.collections.List | ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session. If no value is provided, the expandable properties are skipped. + //val result : kotlin.collections.List = apiInstance.listSessions(pageSize, pageToken, active, expand) + //result shouldBe ("TODO") + } + + // to test patchIdentity + should("test patchIdentity") { + // uncomment below to test patchIdentity + //val id : kotlin.String = id_example // kotlin.String | ID must be set to the ID of identity you want to update + //val jsonPatch : kotlin.collections.List = // kotlin.collections.List | + //val result : Identity = apiInstance.patchIdentity(id, jsonPatch) + //result shouldBe ("TODO") + } + + // to test updateIdentity + should("test updateIdentity") { + // uncomment below to test updateIdentity + //val id : kotlin.String = id_example // kotlin.String | ID must be set to the ID of identity you want to update + //val updateIdentityBody : UpdateIdentityBody = // UpdateIdentityBody | + //val result : Identity = apiInstance.updateIdentity(id, updateIdentityBody) + //result shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/JwkApiTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/JwkApiTest.kt new file mode 100644 index 00000000000..06e479d7249 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/JwkApiTest.kt @@ -0,0 +1,93 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.apis.JwkApi +import sh.ory.client-kotlin-multiplatform.models.CreateJsonWebKeySet +import sh.ory.client-kotlin-multiplatform.models.ErrorOAuth2 +import sh.ory.client-kotlin-multiplatform.models.JsonWebKey +import sh.ory.client-kotlin-multiplatform.models.JsonWebKeySet + +class JwkApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of JwkApi + //val apiInstance = JwkApi() + + // to test createJsonWebKeySet + should("test createJsonWebKeySet") { + // uncomment below to test createJsonWebKeySet + //val set : kotlin.String = set_example // kotlin.String | The JSON Web Key Set ID + //val createJsonWebKeySet : CreateJsonWebKeySet = // CreateJsonWebKeySet | + //val result : JsonWebKeySet = apiInstance.createJsonWebKeySet(set, createJsonWebKeySet) + //result shouldBe ("TODO") + } + + // to test deleteJsonWebKey + should("test deleteJsonWebKey") { + // uncomment below to test deleteJsonWebKey + //val set : kotlin.String = set_example // kotlin.String | The JSON Web Key Set + //val kid : kotlin.String = kid_example // kotlin.String | The JSON Web Key ID (kid) + //apiInstance.deleteJsonWebKey(set, kid) + } + + // to test deleteJsonWebKeySet + should("test deleteJsonWebKeySet") { + // uncomment below to test deleteJsonWebKeySet + //val set : kotlin.String = set_example // kotlin.String | The JSON Web Key Set + //apiInstance.deleteJsonWebKeySet(set) + } + + // to test getJsonWebKey + should("test getJsonWebKey") { + // uncomment below to test getJsonWebKey + //val set : kotlin.String = set_example // kotlin.String | JSON Web Key Set ID + //val kid : kotlin.String = kid_example // kotlin.String | JSON Web Key ID + //val result : JsonWebKeySet = apiInstance.getJsonWebKey(set, kid) + //result shouldBe ("TODO") + } + + // to test getJsonWebKeySet + should("test getJsonWebKeySet") { + // uncomment below to test getJsonWebKeySet + //val set : kotlin.String = set_example // kotlin.String | JSON Web Key Set ID + //val result : JsonWebKeySet = apiInstance.getJsonWebKeySet(set) + //result shouldBe ("TODO") + } + + // to test setJsonWebKey + should("test setJsonWebKey") { + // uncomment below to test setJsonWebKey + //val set : kotlin.String = set_example // kotlin.String | The JSON Web Key Set ID + //val kid : kotlin.String = kid_example // kotlin.String | JSON Web Key ID + //val jsonWebKey : JsonWebKey = // JsonWebKey | + //val result : JsonWebKey = apiInstance.setJsonWebKey(set, kid, jsonWebKey) + //result shouldBe ("TODO") + } + + // to test setJsonWebKeySet + should("test setJsonWebKeySet") { + // uncomment below to test setJsonWebKeySet + //val set : kotlin.String = set_example // kotlin.String | The JSON Web Key Set ID + //val jsonWebKeySet : JsonWebKeySet = // JsonWebKeySet | + //val result : JsonWebKeySet = apiInstance.setJsonWebKeySet(set, jsonWebKeySet) + //result shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/MetadataApiTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/MetadataApiTest.kt new file mode 100644 index 00000000000..41d823bcc44 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/MetadataApiTest.kt @@ -0,0 +1,37 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.apis.MetadataApi +import sh.ory.client-kotlin-multiplatform.models.GetVersion200Response + +class MetadataApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of MetadataApi + //val apiInstance = MetadataApi() + + // to test getVersion + should("test getVersion") { + // uncomment below to test getVersion + //val result : GetVersion200Response = apiInstance.getVersion() + //result shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/OAuth2ApiTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/OAuth2ApiTest.kt new file mode 100644 index 00000000000..85da913522d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/OAuth2ApiTest.kt @@ -0,0 +1,287 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.apis.OAuth2Api +import sh.ory.client-kotlin-multiplatform.models.AcceptOAuth2ConsentRequest +import sh.ory.client-kotlin-multiplatform.models.AcceptOAuth2LoginRequest +import sh.ory.client-kotlin-multiplatform.models.ErrorOAuth2 +import sh.ory.client-kotlin-multiplatform.models.GenericError +import sh.ory.client-kotlin-multiplatform.models.IntrospectedOAuth2Token +import sh.ory.client-kotlin-multiplatform.models.JsonPatch +import sh.ory.client-kotlin-multiplatform.models.OAuth2Client +import sh.ory.client-kotlin-multiplatform.models.OAuth2ClientTokenLifespans +import sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentRequest +import sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentSession +import sh.ory.client-kotlin-multiplatform.models.OAuth2LoginRequest +import sh.ory.client-kotlin-multiplatform.models.OAuth2LogoutRequest +import sh.ory.client-kotlin-multiplatform.models.OAuth2RedirectTo +import sh.ory.client-kotlin-multiplatform.models.OAuth2TokenExchange +import sh.ory.client-kotlin-multiplatform.models.RejectOAuth2Request +import sh.ory.client-kotlin-multiplatform.models.TrustOAuth2JwtGrantIssuer +import sh.ory.client-kotlin-multiplatform.models.TrustedOAuth2JwtGrantIssuer + +class OAuth2ApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of OAuth2Api + //val apiInstance = OAuth2Api() + + // to test acceptOAuth2ConsentRequest + should("test acceptOAuth2ConsentRequest") { + // uncomment below to test acceptOAuth2ConsentRequest + //val consentChallenge : kotlin.String = consentChallenge_example // kotlin.String | OAuth 2.0 Consent Request Challenge + //val acceptOAuth2ConsentRequest : AcceptOAuth2ConsentRequest = // AcceptOAuth2ConsentRequest | + //val result : OAuth2RedirectTo = apiInstance.acceptOAuth2ConsentRequest(consentChallenge, acceptOAuth2ConsentRequest) + //result shouldBe ("TODO") + } + + // to test acceptOAuth2LoginRequest + should("test acceptOAuth2LoginRequest") { + // uncomment below to test acceptOAuth2LoginRequest + //val loginChallenge : kotlin.String = loginChallenge_example // kotlin.String | OAuth 2.0 Login Request Challenge + //val acceptOAuth2LoginRequest : AcceptOAuth2LoginRequest = // AcceptOAuth2LoginRequest | + //val result : OAuth2RedirectTo = apiInstance.acceptOAuth2LoginRequest(loginChallenge, acceptOAuth2LoginRequest) + //result shouldBe ("TODO") + } + + // to test acceptOAuth2LogoutRequest + should("test acceptOAuth2LogoutRequest") { + // uncomment below to test acceptOAuth2LogoutRequest + //val logoutChallenge : kotlin.String = logoutChallenge_example // kotlin.String | OAuth 2.0 Logout Request Challenge + //val result : OAuth2RedirectTo = apiInstance.acceptOAuth2LogoutRequest(logoutChallenge) + //result shouldBe ("TODO") + } + + // to test createOAuth2Client + should("test createOAuth2Client") { + // uncomment below to test createOAuth2Client + //val oauth2Client : OAuth2Client = // OAuth2Client | OAuth 2.0 Client Request Body + //val result : OAuth2Client = apiInstance.createOAuth2Client(oauth2Client) + //result shouldBe ("TODO") + } + + // to test deleteOAuth2Client + should("test deleteOAuth2Client") { + // uncomment below to test deleteOAuth2Client + //val id : kotlin.String = id_example // kotlin.String | The id of the OAuth 2.0 Client. + //apiInstance.deleteOAuth2Client(id) + } + + // to test deleteOAuth2Token + should("test deleteOAuth2Token") { + // uncomment below to test deleteOAuth2Token + //val clientId : kotlin.String = clientId_example // kotlin.String | OAuth 2.0 Client ID + //apiInstance.deleteOAuth2Token(clientId) + } + + // to test deleteTrustedOAuth2JwtGrantIssuer + should("test deleteTrustedOAuth2JwtGrantIssuer") { + // uncomment below to test deleteTrustedOAuth2JwtGrantIssuer + //val id : kotlin.String = id_example // kotlin.String | The id of the desired grant + //apiInstance.deleteTrustedOAuth2JwtGrantIssuer(id) + } + + // to test getOAuth2Client + should("test getOAuth2Client") { + // uncomment below to test getOAuth2Client + //val id : kotlin.String = id_example // kotlin.String | The id of the OAuth 2.0 Client. + //val result : OAuth2Client = apiInstance.getOAuth2Client(id) + //result shouldBe ("TODO") + } + + // to test getOAuth2ConsentRequest + should("test getOAuth2ConsentRequest") { + // uncomment below to test getOAuth2ConsentRequest + //val consentChallenge : kotlin.String = consentChallenge_example // kotlin.String | OAuth 2.0 Consent Request Challenge + //val result : OAuth2ConsentRequest = apiInstance.getOAuth2ConsentRequest(consentChallenge) + //result shouldBe ("TODO") + } + + // to test getOAuth2LoginRequest + should("test getOAuth2LoginRequest") { + // uncomment below to test getOAuth2LoginRequest + //val loginChallenge : kotlin.String = loginChallenge_example // kotlin.String | OAuth 2.0 Login Request Challenge + //val result : OAuth2LoginRequest = apiInstance.getOAuth2LoginRequest(loginChallenge) + //result shouldBe ("TODO") + } + + // to test getOAuth2LogoutRequest + should("test getOAuth2LogoutRequest") { + // uncomment below to test getOAuth2LogoutRequest + //val logoutChallenge : kotlin.String = logoutChallenge_example // kotlin.String | + //val result : OAuth2LogoutRequest = apiInstance.getOAuth2LogoutRequest(logoutChallenge) + //result shouldBe ("TODO") + } + + // to test getTrustedOAuth2JwtGrantIssuer + should("test getTrustedOAuth2JwtGrantIssuer") { + // uncomment below to test getTrustedOAuth2JwtGrantIssuer + //val id : kotlin.String = id_example // kotlin.String | The id of the desired grant + //val result : TrustedOAuth2JwtGrantIssuer = apiInstance.getTrustedOAuth2JwtGrantIssuer(id) + //result shouldBe ("TODO") + } + + // to test introspectOAuth2Token + should("test introspectOAuth2Token") { + // uncomment below to test introspectOAuth2Token + //val token : kotlin.String = token_example // kotlin.String | The string value of the token. For access tokens, this is the \\\"access_token\\\" value returned from the token endpoint defined in OAuth 2.0. For refresh tokens, this is the \\\"refresh_token\\\" value returned. + //val scope : kotlin.String = scope_example // kotlin.String | An optional, space separated list of required scopes. If the access token was not granted one of the scopes, the result of active will be false. + //val result : IntrospectedOAuth2Token = apiInstance.introspectOAuth2Token(token, scope) + //result shouldBe ("TODO") + } + + // to test listOAuth2Clients + should("test listOAuth2Clients") { + // uncomment below to test listOAuth2Clients + //val pageSize : kotlin.Long = 789 // kotlin.Long | Items per Page 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). + //val pageToken : kotlin.String = pageToken_example // kotlin.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). + //val clientName : kotlin.String = clientName_example // kotlin.String | The name of the clients to filter by. + //val owner : kotlin.String = owner_example // kotlin.String | The owner of the clients to filter by. + //val result : kotlin.collections.List = apiInstance.listOAuth2Clients(pageSize, pageToken, clientName, owner) + //result shouldBe ("TODO") + } + + // to test listOAuth2ConsentSessions + should("test listOAuth2ConsentSessions") { + // uncomment below to test listOAuth2ConsentSessions + //val subject : kotlin.String = subject_example // kotlin.String | The subject to list the consent sessions for. + //val pageSize : kotlin.Long = 789 // kotlin.Long | Items per Page 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). + //val pageToken : kotlin.String = pageToken_example // kotlin.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). + //val loginSessionId : kotlin.String = loginSessionId_example // kotlin.String | The login session id to list the consent sessions for. + //val result : kotlin.collections.List = apiInstance.listOAuth2ConsentSessions(subject, pageSize, pageToken, loginSessionId) + //result shouldBe ("TODO") + } + + // to test listTrustedOAuth2JwtGrantIssuers + should("test listTrustedOAuth2JwtGrantIssuers") { + // uncomment below to test listTrustedOAuth2JwtGrantIssuers + //val maxItems : kotlin.Long = 789 // kotlin.Long | + //val defaultItems : kotlin.Long = 789 // kotlin.Long | + //val issuer : kotlin.String = issuer_example // kotlin.String | If optional \"issuer\" is supplied, only jwt-bearer grants with this issuer will be returned. + //val result : kotlin.collections.List = apiInstance.listTrustedOAuth2JwtGrantIssuers(maxItems, defaultItems, issuer) + //result shouldBe ("TODO") + } + + // to test oAuth2Authorize + should("test oAuth2Authorize") { + // uncomment below to test oAuth2Authorize + //val result : ErrorOAuth2 = apiInstance.oAuth2Authorize() + //result shouldBe ("TODO") + } + + // to test oauth2TokenExchange + should("test oauth2TokenExchange") { + // uncomment below to test oauth2TokenExchange + //val grantType : kotlin.String = grantType_example // kotlin.String | + //val clientId : kotlin.String = clientId_example // kotlin.String | + //val code : kotlin.String = code_example // kotlin.String | + //val redirectUri : kotlin.String = redirectUri_example // kotlin.String | + //val refreshToken : kotlin.String = refreshToken_example // kotlin.String | + //val result : OAuth2TokenExchange = apiInstance.oauth2TokenExchange(grantType, clientId, code, redirectUri, refreshToken) + //result shouldBe ("TODO") + } + + // to test patchOAuth2Client + should("test patchOAuth2Client") { + // uncomment below to test patchOAuth2Client + //val id : kotlin.String = id_example // kotlin.String | The id of the OAuth 2.0 Client. + //val jsonPatch : kotlin.collections.List = // kotlin.collections.List | OAuth 2.0 Client JSON Patch Body + //val result : OAuth2Client = apiInstance.patchOAuth2Client(id, jsonPatch) + //result shouldBe ("TODO") + } + + // to test rejectOAuth2ConsentRequest + should("test rejectOAuth2ConsentRequest") { + // uncomment below to test rejectOAuth2ConsentRequest + //val consentChallenge : kotlin.String = consentChallenge_example // kotlin.String | OAuth 2.0 Consent Request Challenge + //val rejectOAuth2Request : RejectOAuth2Request = // RejectOAuth2Request | + //val result : OAuth2RedirectTo = apiInstance.rejectOAuth2ConsentRequest(consentChallenge, rejectOAuth2Request) + //result shouldBe ("TODO") + } + + // to test rejectOAuth2LoginRequest + should("test rejectOAuth2LoginRequest") { + // uncomment below to test rejectOAuth2LoginRequest + //val loginChallenge : kotlin.String = loginChallenge_example // kotlin.String | OAuth 2.0 Login Request Challenge + //val rejectOAuth2Request : RejectOAuth2Request = // RejectOAuth2Request | + //val result : OAuth2RedirectTo = apiInstance.rejectOAuth2LoginRequest(loginChallenge, rejectOAuth2Request) + //result shouldBe ("TODO") + } + + // to test rejectOAuth2LogoutRequest + should("test rejectOAuth2LogoutRequest") { + // uncomment below to test rejectOAuth2LogoutRequest + //val logoutChallenge : kotlin.String = logoutChallenge_example // kotlin.String | + //apiInstance.rejectOAuth2LogoutRequest(logoutChallenge) + } + + // to test revokeOAuth2ConsentSessions + should("test revokeOAuth2ConsentSessions") { + // uncomment below to test revokeOAuth2ConsentSessions + //val subject : kotlin.String = subject_example // kotlin.String | OAuth 2.0 Consent Subject The subject whose consent sessions should be deleted. + //val client : kotlin.String = client_example // kotlin.String | OAuth 2.0 Client ID If set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID. + //val all : kotlin.Boolean = true // kotlin.Boolean | Revoke All Consent Sessions If set to `true` deletes all consent sessions by the Subject that have been granted. + //apiInstance.revokeOAuth2ConsentSessions(subject, client, all) + } + + // to test revokeOAuth2LoginSessions + should("test revokeOAuth2LoginSessions") { + // uncomment below to test revokeOAuth2LoginSessions + //val subject : kotlin.String = subject_example // kotlin.String | OAuth 2.0 Subject The subject to revoke authentication sessions for. + //val sid : kotlin.String = sid_example // kotlin.String | Login Session ID The login session to revoke. + //apiInstance.revokeOAuth2LoginSessions(subject, sid) + } + + // to test revokeOAuth2Token + should("test revokeOAuth2Token") { + // uncomment below to test revokeOAuth2Token + //val token : kotlin.String = token_example // kotlin.String | + //val clientId : kotlin.String = clientId_example // kotlin.String | + //val clientSecret : kotlin.String = clientSecret_example // kotlin.String | + //apiInstance.revokeOAuth2Token(token, clientId, clientSecret) + } + + // to test setOAuth2Client + should("test setOAuth2Client") { + // uncomment below to test setOAuth2Client + //val id : kotlin.String = id_example // kotlin.String | OAuth 2.0 Client ID + //val oauth2Client : OAuth2Client = // OAuth2Client | OAuth 2.0 Client Request Body + //val result : OAuth2Client = apiInstance.setOAuth2Client(id, oauth2Client) + //result shouldBe ("TODO") + } + + // to test setOAuth2ClientLifespans + should("test setOAuth2ClientLifespans") { + // uncomment below to test setOAuth2ClientLifespans + //val id : kotlin.String = id_example // kotlin.String | OAuth 2.0 Client ID + //val oauth2ClientTokenLifespans : OAuth2ClientTokenLifespans = // OAuth2ClientTokenLifespans | + //val result : OAuth2Client = apiInstance.setOAuth2ClientLifespans(id, oauth2ClientTokenLifespans) + //result shouldBe ("TODO") + } + + // to test trustOAuth2JwtGrantIssuer + should("test trustOAuth2JwtGrantIssuer") { + // uncomment below to test trustOAuth2JwtGrantIssuer + //val trustOAuth2JwtGrantIssuer : TrustOAuth2JwtGrantIssuer = // TrustOAuth2JwtGrantIssuer | + //val result : TrustedOAuth2JwtGrantIssuer = apiInstance.trustOAuth2JwtGrantIssuer(trustOAuth2JwtGrantIssuer) + //result shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/OidcApiTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/OidcApiTest.kt new file mode 100644 index 00000000000..c71c80010e6 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/OidcApiTest.kt @@ -0,0 +1,97 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.apis.OidcApi +import sh.ory.client-kotlin-multiplatform.models.CreateVerifiableCredentialRequestBody +import sh.ory.client-kotlin-multiplatform.models.ErrorOAuth2 +import sh.ory.client-kotlin-multiplatform.models.GenericError +import sh.ory.client-kotlin-multiplatform.models.OAuth2Client +import sh.ory.client-kotlin-multiplatform.models.OidcConfiguration +import sh.ory.client-kotlin-multiplatform.models.OidcUserInfo +import sh.ory.client-kotlin-multiplatform.models.VerifiableCredentialPrimingResponse +import sh.ory.client-kotlin-multiplatform.models.VerifiableCredentialResponse + +class OidcApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of OidcApi + //val apiInstance = OidcApi() + + // to test createOidcDynamicClient + should("test createOidcDynamicClient") { + // uncomment below to test createOidcDynamicClient + //val oauth2Client : OAuth2Client = // OAuth2Client | Dynamic Client Registration Request Body + //val result : OAuth2Client = apiInstance.createOidcDynamicClient(oauth2Client) + //result shouldBe ("TODO") + } + + // to test createVerifiableCredential + should("test createVerifiableCredential") { + // uncomment below to test createVerifiableCredential + //val createVerifiableCredentialRequestBody : CreateVerifiableCredentialRequestBody = // CreateVerifiableCredentialRequestBody | + //val result : VerifiableCredentialResponse = apiInstance.createVerifiableCredential(createVerifiableCredentialRequestBody) + //result shouldBe ("TODO") + } + + // to test deleteOidcDynamicClient + should("test deleteOidcDynamicClient") { + // uncomment below to test deleteOidcDynamicClient + //val id : kotlin.String = id_example // kotlin.String | The id of the OAuth 2.0 Client. + //apiInstance.deleteOidcDynamicClient(id) + } + + // to test discoverOidcConfiguration + should("test discoverOidcConfiguration") { + // uncomment below to test discoverOidcConfiguration + //val result : OidcConfiguration = apiInstance.discoverOidcConfiguration() + //result shouldBe ("TODO") + } + + // to test getOidcDynamicClient + should("test getOidcDynamicClient") { + // uncomment below to test getOidcDynamicClient + //val id : kotlin.String = id_example // kotlin.String | The id of the OAuth 2.0 Client. + //val result : OAuth2Client = apiInstance.getOidcDynamicClient(id) + //result shouldBe ("TODO") + } + + // to test getOidcUserInfo + should("test getOidcUserInfo") { + // uncomment below to test getOidcUserInfo + //val result : OidcUserInfo = apiInstance.getOidcUserInfo() + //result shouldBe ("TODO") + } + + // to test revokeOidcSession + should("test revokeOidcSession") { + // uncomment below to test revokeOidcSession + //apiInstance.revokeOidcSession() + } + + // to test setOidcDynamicClient + should("test setOidcDynamicClient") { + // uncomment below to test setOidcDynamicClient + //val id : kotlin.String = id_example // kotlin.String | OAuth 2.0 Client ID + //val oauth2Client : OAuth2Client = // OAuth2Client | OAuth 2.0 Client Request Body + //val result : OAuth2Client = apiInstance.setOidcDynamicClient(id, oauth2Client) + //result shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/PermissionApiTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/PermissionApiTest.kt new file mode 100644 index 00000000000..01c15651c59 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/PermissionApiTest.kt @@ -0,0 +1,104 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.apis.PermissionApi +import sh.ory.client-kotlin-multiplatform.models.BatchCheckPermissionBody +import sh.ory.client-kotlin-multiplatform.models.BatchCheckPermissionResult +import sh.ory.client-kotlin-multiplatform.models.CheckPermissionResult +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric +import sh.ory.client-kotlin-multiplatform.models.ExpandedPermissionTree +import sh.ory.client-kotlin-multiplatform.models.PostCheckPermissionBody +import sh.ory.client-kotlin-multiplatform.models.PostCheckPermissionOrErrorBody + +class PermissionApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of PermissionApi + //val apiInstance = PermissionApi() + + // to test batchCheckPermission + should("test batchCheckPermission") { + // uncomment below to test batchCheckPermission + //val maxDepth : kotlin.Long = 789 // kotlin.Long | + //val batchCheckPermissionBody : BatchCheckPermissionBody = // BatchCheckPermissionBody | + //val result : BatchCheckPermissionResult = apiInstance.batchCheckPermission(maxDepth, batchCheckPermissionBody) + //result shouldBe ("TODO") + } + + // to test checkPermission + should("test checkPermission") { + // uncomment below to test checkPermission + //val namespace : kotlin.String = namespace_example // kotlin.String | Namespace of the Relationship + //val `object` : kotlin.String = `object`_example // kotlin.String | Object of the Relationship + //val relation : kotlin.String = relation_example // kotlin.String | Relation of the Relationship + //val subjectId : kotlin.String = subjectId_example // kotlin.String | SubjectID of the Relationship + //val subjectSetNamespace : kotlin.String = subjectSetNamespace_example // kotlin.String | Namespace of the Subject Set + //val subjectSetObject : kotlin.String = subjectSetObject_example // kotlin.String | Object of the Subject Set + //val subjectSetRelation : kotlin.String = subjectSetRelation_example // kotlin.String | Relation of the Subject Set + //val maxDepth : kotlin.Long = 789 // kotlin.Long | + //val result : CheckPermissionResult = apiInstance.checkPermission(namespace, `object`, relation, subjectId, subjectSetNamespace, subjectSetObject, subjectSetRelation, maxDepth) + //result shouldBe ("TODO") + } + + // to test checkPermissionOrError + should("test checkPermissionOrError") { + // uncomment below to test checkPermissionOrError + //val namespace : kotlin.String = namespace_example // kotlin.String | Namespace of the Relationship + //val `object` : kotlin.String = `object`_example // kotlin.String | Object of the Relationship + //val relation : kotlin.String = relation_example // kotlin.String | Relation of the Relationship + //val subjectId : kotlin.String = subjectId_example // kotlin.String | SubjectID of the Relationship + //val subjectSetNamespace : kotlin.String = subjectSetNamespace_example // kotlin.String | Namespace of the Subject Set + //val subjectSetObject : kotlin.String = subjectSetObject_example // kotlin.String | Object of the Subject Set + //val subjectSetRelation : kotlin.String = subjectSetRelation_example // kotlin.String | Relation of the Subject Set + //val maxDepth : kotlin.Long = 789 // kotlin.Long | + //val result : CheckPermissionResult = apiInstance.checkPermissionOrError(namespace, `object`, relation, subjectId, subjectSetNamespace, subjectSetObject, subjectSetRelation, maxDepth) + //result shouldBe ("TODO") + } + + // to test expandPermissions + should("test expandPermissions") { + // uncomment below to test expandPermissions + //val namespace : kotlin.String = namespace_example // kotlin.String | Namespace of the Subject Set + //val `object` : kotlin.String = `object`_example // kotlin.String | Object of the Subject Set + //val relation : kotlin.String = relation_example // kotlin.String | Relation of the Subject Set + //val maxDepth : kotlin.Long = 789 // kotlin.Long | + //val result : ExpandedPermissionTree = apiInstance.expandPermissions(namespace, `object`, relation, maxDepth) + //result shouldBe ("TODO") + } + + // to test postCheckPermission + should("test postCheckPermission") { + // uncomment below to test postCheckPermission + //val maxDepth : kotlin.Long = 789 // kotlin.Long | + //val postCheckPermissionBody : PostCheckPermissionBody = // PostCheckPermissionBody | + //val result : CheckPermissionResult = apiInstance.postCheckPermission(maxDepth, postCheckPermissionBody) + //result shouldBe ("TODO") + } + + // to test postCheckPermissionOrError + should("test postCheckPermissionOrError") { + // uncomment below to test postCheckPermissionOrError + //val maxDepth : kotlin.Long = 789 // kotlin.Long | + //val postCheckPermissionOrErrorBody : PostCheckPermissionOrErrorBody = // PostCheckPermissionOrErrorBody | + //val result : CheckPermissionResult = apiInstance.postCheckPermissionOrError(maxDepth, postCheckPermissionOrErrorBody) + //result shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/ProjectApiTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/ProjectApiTest.kt new file mode 100644 index 00000000000..d2bf1541e83 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/ProjectApiTest.kt @@ -0,0 +1,190 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.apis.ProjectApi +import sh.ory.client-kotlin-multiplatform.models.CreateProjectApiKeyRequest +import sh.ory.client-kotlin-multiplatform.models.CreateProjectBody +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric +import sh.ory.client-kotlin-multiplatform.models.GenericError +import sh.ory.client-kotlin-multiplatform.models.GetOrganizationResponse +import sh.ory.client-kotlin-multiplatform.models.JsonPatch +import sh.ory.client-kotlin-multiplatform.models.ListOrganizationsResponse +import sh.ory.client-kotlin-multiplatform.models.Organization +import sh.ory.client-kotlin-multiplatform.models.OrganizationBody +import sh.ory.client-kotlin-multiplatform.models.Project +import sh.ory.client-kotlin-multiplatform.models.ProjectApiKey +import sh.ory.client-kotlin-multiplatform.models.ProjectMember +import sh.ory.client-kotlin-multiplatform.models.ProjectMetadata +import sh.ory.client-kotlin-multiplatform.models.SetProject +import sh.ory.client-kotlin-multiplatform.models.SuccessfulProjectUpdate + +class ProjectApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of ProjectApi + //val apiInstance = ProjectApi() + + // to test createOrganization + should("test createOrganization") { + // uncomment below to test createOrganization + //val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. + //val organizationBody : OrganizationBody = // OrganizationBody | + //val result : Organization = apiInstance.createOrganization(projectId, organizationBody) + //result shouldBe ("TODO") + } + + // to test createProject + should("test createProject") { + // uncomment below to test createProject + //val createProjectBody : CreateProjectBody = // CreateProjectBody | + //val result : Project = apiInstance.createProject(createProjectBody) + //result shouldBe ("TODO") + } + + // to test createProjectApiKey + should("test createProjectApiKey") { + // uncomment below to test createProjectApiKey + //val project : kotlin.String = project_example // kotlin.String | The Project ID or Project slug + //val createProjectApiKeyRequest : CreateProjectApiKeyRequest = // CreateProjectApiKeyRequest | + //val result : ProjectApiKey = apiInstance.createProjectApiKey(project, createProjectApiKeyRequest) + //result shouldBe ("TODO") + } + + // to test deleteOrganization + should("test deleteOrganization") { + // uncomment below to test deleteOrganization + //val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. + //val organizationId : kotlin.String = organizationId_example // kotlin.String | Organization ID The Organization's ID. + //apiInstance.deleteOrganization(projectId, organizationId) + } + + // to test deleteProjectApiKey + should("test deleteProjectApiKey") { + // uncomment below to test deleteProjectApiKey + //val project : kotlin.String = project_example // kotlin.String | The Project ID or Project slug + //val tokenId : kotlin.String = tokenId_example // kotlin.String | The Token ID + //apiInstance.deleteProjectApiKey(project, tokenId) + } + + // to test getOrganization + should("test getOrganization") { + // uncomment below to test getOrganization + //val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. + //val organizationId : kotlin.String = organizationId_example // kotlin.String | Organization ID The Organization's ID. + //val result : GetOrganizationResponse = apiInstance.getOrganization(projectId, organizationId) + //result shouldBe ("TODO") + } + + // to test getProject + should("test getProject") { + // uncomment below to test getProject + //val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. + //val result : Project = apiInstance.getProject(projectId) + //result shouldBe ("TODO") + } + + // to test getProjectMembers + should("test getProjectMembers") { + // uncomment below to test getProjectMembers + //val project : kotlin.String = project_example // kotlin.String | + //val result : kotlin.collections.List = apiInstance.getProjectMembers(project) + //result shouldBe ("TODO") + } + + // to test listOrganizations + should("test listOrganizations") { + // uncomment below to test listOrganizations + //val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. + //val pageSize : kotlin.Long = 789 // kotlin.Long | Items per Page 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). + //val pageToken : kotlin.String = pageToken_example // kotlin.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). + //val domain : kotlin.String = domain_example // kotlin.String | Domain If set, only organizations with that domain will be returned. + //val result : ListOrganizationsResponse = apiInstance.listOrganizations(projectId, pageSize, pageToken, domain) + //result shouldBe ("TODO") + } + + // to test listProjectApiKeys + should("test listProjectApiKeys") { + // uncomment below to test listProjectApiKeys + //val project : kotlin.String = project_example // kotlin.String | The Project ID or Project slug + //val result : kotlin.collections.List = apiInstance.listProjectApiKeys(project) + //result shouldBe ("TODO") + } + + // to test listProjects + should("test listProjects") { + // uncomment below to test listProjects + //val result : kotlin.collections.List = apiInstance.listProjects() + //result shouldBe ("TODO") + } + + // to test patchProject + should("test patchProject") { + // uncomment below to test patchProject + //val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. + //val jsonPatch : kotlin.collections.List = // kotlin.collections.List | + //val result : SuccessfulProjectUpdate = apiInstance.patchProject(projectId, jsonPatch) + //result shouldBe ("TODO") + } + + // to test patchProjectWithRevision + should("test patchProjectWithRevision") { + // uncomment below to test patchProjectWithRevision + //val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. + //val revisionId : kotlin.String = revisionId_example // kotlin.String | Revision ID The revision ID that this patch was generated for. + //val jsonPatch : kotlin.collections.List = // kotlin.collections.List | + //val result : SuccessfulProjectUpdate = apiInstance.patchProjectWithRevision(projectId, revisionId, jsonPatch) + //result shouldBe ("TODO") + } + + // to test purgeProject + should("test purgeProject") { + // uncomment below to test purgeProject + //val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. + //apiInstance.purgeProject(projectId) + } + + // to test removeProjectMember + should("test removeProjectMember") { + // uncomment below to test removeProjectMember + //val project : kotlin.String = project_example // kotlin.String | + //val member : kotlin.String = member_example // kotlin.String | + //apiInstance.removeProjectMember(project, member) + } + + // to test setProject + should("test setProject") { + // uncomment below to test setProject + //val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. + //val setProject : SetProject = // SetProject | + //val result : SuccessfulProjectUpdate = apiInstance.setProject(projectId, setProject) + //result shouldBe ("TODO") + } + + // to test updateOrganization + should("test updateOrganization") { + // uncomment below to test updateOrganization + //val projectId : kotlin.String = projectId_example // kotlin.String | Project ID The project's ID. + //val organizationId : kotlin.String = organizationId_example // kotlin.String | Organization ID The Organization's ID. + //val organizationBody : OrganizationBody = // OrganizationBody | + //val result : Organization = apiInstance.updateOrganization(projectId, organizationId, organizationBody) + //result shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/RelationshipApiTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/RelationshipApiTest.kt new file mode 100644 index 00000000000..3c48672db2c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/RelationshipApiTest.kt @@ -0,0 +1,95 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.apis.RelationshipApi +import sh.ory.client-kotlin-multiplatform.models.CheckOplSyntaxResult +import sh.ory.client-kotlin-multiplatform.models.CreateRelationshipBody +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric +import sh.ory.client-kotlin-multiplatform.models.Relationship +import sh.ory.client-kotlin-multiplatform.models.RelationshipNamespaces +import sh.ory.client-kotlin-multiplatform.models.RelationshipPatch +import sh.ory.client-kotlin-multiplatform.models.Relationships + +class RelationshipApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of RelationshipApi + //val apiInstance = RelationshipApi() + + // to test checkOplSyntax + should("test checkOplSyntax") { + // uncomment below to test checkOplSyntax + //val body : kotlin.String = body_example // kotlin.String | + //val result : CheckOplSyntaxResult = apiInstance.checkOplSyntax(body) + //result shouldBe ("TODO") + } + + // to test createRelationship + should("test createRelationship") { + // uncomment below to test createRelationship + //val createRelationshipBody : CreateRelationshipBody = // CreateRelationshipBody | + //val result : Relationship = apiInstance.createRelationship(createRelationshipBody) + //result shouldBe ("TODO") + } + + // to test deleteRelationships + should("test deleteRelationships") { + // uncomment below to test deleteRelationships + //val namespace : kotlin.String = namespace_example // kotlin.String | Namespace of the Relationship + //val `object` : kotlin.String = `object`_example // kotlin.String | Object of the Relationship + //val relation : kotlin.String = relation_example // kotlin.String | Relation of the Relationship + //val subjectId : kotlin.String = subjectId_example // kotlin.String | SubjectID of the Relationship + //val subjectSetNamespace : kotlin.String = subjectSetNamespace_example // kotlin.String | Namespace of the Subject Set + //val subjectSetObject : kotlin.String = subjectSetObject_example // kotlin.String | Object of the Subject Set + //val subjectSetRelation : kotlin.String = subjectSetRelation_example // kotlin.String | Relation of the Subject Set + //apiInstance.deleteRelationships(namespace, `object`, relation, subjectId, subjectSetNamespace, subjectSetObject, subjectSetRelation) + } + + // to test getRelationships + should("test getRelationships") { + // uncomment below to test getRelationships + //val pageToken : kotlin.String = pageToken_example // kotlin.String | + //val pageSize : kotlin.Long = 789 // kotlin.Long | + //val namespace : kotlin.String = namespace_example // kotlin.String | Namespace of the Relationship + //val `object` : kotlin.String = `object`_example // kotlin.String | Object of the Relationship + //val relation : kotlin.String = relation_example // kotlin.String | Relation of the Relationship + //val subjectId : kotlin.String = subjectId_example // kotlin.String | SubjectID of the Relationship + //val subjectSetNamespace : kotlin.String = subjectSetNamespace_example // kotlin.String | Namespace of the Subject Set + //val subjectSetObject : kotlin.String = subjectSetObject_example // kotlin.String | Object of the Subject Set + //val subjectSetRelation : kotlin.String = subjectSetRelation_example // kotlin.String | Relation of the Subject Set + //val result : Relationships = apiInstance.getRelationships(pageToken, pageSize, namespace, `object`, relation, subjectId, subjectSetNamespace, subjectSetObject, subjectSetRelation) + //result shouldBe ("TODO") + } + + // to test listRelationshipNamespaces + should("test listRelationshipNamespaces") { + // uncomment below to test listRelationshipNamespaces + //val result : RelationshipNamespaces = apiInstance.listRelationshipNamespaces() + //result shouldBe ("TODO") + } + + // to test patchRelationships + should("test patchRelationships") { + // uncomment below to test patchRelationships + //val relationshipPatch : kotlin.collections.List = // kotlin.collections.List | + //apiInstance.patchRelationships(relationshipPatch) + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/WellknownApiTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/WellknownApiTest.kt new file mode 100644 index 00000000000..e7df94e2540 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/WellknownApiTest.kt @@ -0,0 +1,38 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.apis.WellknownApi +import sh.ory.client-kotlin-multiplatform.models.ErrorOAuth2 +import sh.ory.client-kotlin-multiplatform.models.JsonWebKeySet + +class WellknownApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of WellknownApi + //val apiInstance = WellknownApi() + + // to test discoverJsonWebKeys + should("test discoverJsonWebKeys") { + // uncomment below to test discoverJsonWebKeys + //val result : JsonWebKeySet = apiInstance.discoverJsonWebKeys() + //result shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/WorkspaceApiTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/WorkspaceApiTest.kt new file mode 100644 index 00000000000..db56c131c6f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/apis/WorkspaceApiTest.kt @@ -0,0 +1,104 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.apis + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.apis.WorkspaceApi +import sh.ory.client-kotlin-multiplatform.models.CreateWorkspaceApiKeyBody +import sh.ory.client-kotlin-multiplatform.models.CreateWorkspaceBody +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric +import sh.ory.client-kotlin-multiplatform.models.ListWorkspaceProjects +import sh.ory.client-kotlin-multiplatform.models.ListWorkspaces +import sh.ory.client-kotlin-multiplatform.models.UpdateWorkspaceBody +import sh.ory.client-kotlin-multiplatform.models.Workspace +import sh.ory.client-kotlin-multiplatform.models.WorkspaceApiKey + +class WorkspaceApiTest : ShouldSpec() { + init { + // uncomment below to create an instance of WorkspaceApi + //val apiInstance = WorkspaceApi() + + // to test createWorkspace + should("test createWorkspace") { + // uncomment below to test createWorkspace + //val createWorkspaceBody : CreateWorkspaceBody = // CreateWorkspaceBody | + //val result : Workspace = apiInstance.createWorkspace(createWorkspaceBody) + //result shouldBe ("TODO") + } + + // to test createWorkspaceApiKey + should("test createWorkspaceApiKey") { + // uncomment below to test createWorkspaceApiKey + //val workspace : kotlin.String = workspace_example // kotlin.String | The Workspace ID + //val createWorkspaceApiKeyBody : CreateWorkspaceApiKeyBody = // CreateWorkspaceApiKeyBody | + //val result : WorkspaceApiKey = apiInstance.createWorkspaceApiKey(workspace, createWorkspaceApiKeyBody) + //result shouldBe ("TODO") + } + + // to test deleteWorkspaceApiKey + should("test deleteWorkspaceApiKey") { + // uncomment below to test deleteWorkspaceApiKey + //val workspace : kotlin.String = workspace_example // kotlin.String | The Workspace ID or Workspace slug + //val tokenId : kotlin.String = tokenId_example // kotlin.String | The Token ID + //apiInstance.deleteWorkspaceApiKey(workspace, tokenId) + } + + // to test getWorkspace + should("test getWorkspace") { + // uncomment below to test getWorkspace + //val workspace : kotlin.String = workspace_example // kotlin.String | + //val result : Workspace = apiInstance.getWorkspace(workspace) + //result shouldBe ("TODO") + } + + // to test listWorkspaceApiKeys + should("test listWorkspaceApiKeys") { + // uncomment below to test listWorkspaceApiKeys + //val workspace : kotlin.String = workspace_example // kotlin.String | The Workspace ID or Workspace slug + //val result : kotlin.collections.List = apiInstance.listWorkspaceApiKeys(workspace) + //result shouldBe ("TODO") + } + + // to test listWorkspaceProjects + should("test listWorkspaceProjects") { + // uncomment below to test listWorkspaceProjects + //val workspace : kotlin.String = workspace_example // kotlin.String | + //val result : ListWorkspaceProjects = apiInstance.listWorkspaceProjects(workspace) + //result shouldBe ("TODO") + } + + // to test listWorkspaces + should("test listWorkspaces") { + // uncomment below to test listWorkspaces + //val pageSize : kotlin.Long = 789 // kotlin.Long | Items per Page 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). + //val pageToken : kotlin.String = pageToken_example // kotlin.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). + //val result : ListWorkspaces = apiInstance.listWorkspaces(pageSize, pageToken) + //result shouldBe ("TODO") + } + + // to test updateWorkspace + should("test updateWorkspace") { + // uncomment below to test updateWorkspace + //val workspace : kotlin.String = workspace_example // kotlin.String | + //val updateWorkspaceBody : UpdateWorkspaceBody = // UpdateWorkspaceBody | + //val result : Workspace = apiInstance.updateWorkspace(workspace, updateWorkspaceBody) + //result shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2ConsentRequestSessionTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2ConsentRequestSessionTest.kt new file mode 100644 index 00000000000..fabc06423b5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2ConsentRequestSessionTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.AcceptOAuth2ConsentRequestSession + +class AcceptOAuth2ConsentRequestSessionTest : ShouldSpec() { + init { + // uncomment below to create an instance of AcceptOAuth2ConsentRequestSession + //val modelInstance = AcceptOAuth2ConsentRequestSession() + + // to test the property `accessToken` - AccessToken sets session data for the access and refresh token, as well as any future tokens issued by the refresh grant. Keep in mind that this data will be available to anyone performing OAuth 2.0 Challenge Introspection. If only your services can perform OAuth 2.0 Challenge Introspection, this is usually fine. But if third parties can access that endpoint as well, sensitive data from the session might be exposed to them. Use with care! + should("test accessToken") { + // uncomment below to test the property + //modelInstance.accessToken shouldBe ("TODO") + } + + // to test the property `idToken` - IDToken sets session data for the OpenID Connect ID token. Keep in mind that the session'id payloads are readable by anyone that has access to the ID Challenge. Use with care! + should("test idToken") { + // uncomment below to test the property + //modelInstance.idToken shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2ConsentRequestTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2ConsentRequestTest.kt new file mode 100644 index 00000000000..ed7a949552e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2ConsentRequestTest.kt @@ -0,0 +1,72 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.AcceptOAuth2ConsentRequest +import sh.ory.client-kotlin-multiplatform.models.AcceptOAuth2ConsentRequestSession + +class AcceptOAuth2ConsentRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of AcceptOAuth2ConsentRequest + //val modelInstance = AcceptOAuth2ConsentRequest() + + // to test the property `context` + should("test context") { + // uncomment below to test the property + //modelInstance.context shouldBe ("TODO") + } + + // to test the property `grantAccessTokenAudience` + should("test grantAccessTokenAudience") { + // uncomment below to test the property + //modelInstance.grantAccessTokenAudience shouldBe ("TODO") + } + + // to test the property `grantScope` + should("test grantScope") { + // uncomment below to test the property + //modelInstance.grantScope shouldBe ("TODO") + } + + // to test the property `handledAt` + should("test handledAt") { + // uncomment below to test the property + //modelInstance.handledAt shouldBe ("TODO") + } + + // to test the property `remember` - Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same client asks the same user for the same, or a subset of, scope. + should("test remember") { + // uncomment below to test the property + //modelInstance.remember shouldBe ("TODO") + } + + // to test the property `rememberFor` - RememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the authorization will be remembered indefinitely. + should("test rememberFor") { + // uncomment below to test the property + //modelInstance.rememberFor shouldBe ("TODO") + } + + // to test the property `session` + should("test session") { + // uncomment below to test the property + //modelInstance.session shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2LoginRequestTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2LoginRequestTest.kt new file mode 100644 index 00000000000..f227945700e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AcceptOAuth2LoginRequestTest.kt @@ -0,0 +1,83 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.AcceptOAuth2LoginRequest + +class AcceptOAuth2LoginRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of AcceptOAuth2LoginRequest + //val modelInstance = AcceptOAuth2LoginRequest() + + // to test the property `subject` - Subject is the user ID of the end-user that authenticated. + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + // to test the property `acr` - ACR sets the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication. + should("test acr") { + // uncomment below to test the property + //modelInstance.acr shouldBe ("TODO") + } + + // to test the property `amr` + should("test amr") { + // uncomment below to test the property + //modelInstance.amr shouldBe ("TODO") + } + + // to test the property `context` + should("test context") { + // uncomment below to test the property + //modelInstance.context shouldBe ("TODO") + } + + // to test the property `extendSessionLifespan` - Extend OAuth2 authentication session lifespan If set to `true`, the OAuth2 authentication cookie lifespan is extended. This is for example useful if you want the user to be able to use `prompt=none` continuously. This value can only be set to `true` if the user has an authentication, which is the case if the `skip` value is `true`. + should("test extendSessionLifespan") { + // uncomment below to test the property + //modelInstance.extendSessionLifespan shouldBe ("TODO") + } + + // to test the property `forceSubjectIdentifier` - ForceSubjectIdentifier forces the \"pairwise\" user ID of the end-user that authenticated. The \"pairwise\" user ID refers to the (Pairwise Identifier Algorithm)[http://openid.net/specs/openid-connect-core-1_0.html#PairwiseAlg] of the OpenID Connect specification. It allows you to set an obfuscated subject (\"user\") identifier that is unique to the client. Please note that this changes the user ID on endpoint /userinfo and sub claim of the ID Token. It does not change the sub claim in the OAuth 2.0 Introspection. Per default, ORY Hydra handles this value with its own algorithm. In case you want to set this yourself you can use this field. Please note that setting this field has no effect if `pairwise` is not configured in ORY Hydra or the OAuth 2.0 Client does not expect a pairwise identifier (set via `subject_type` key in the client's configuration). Please also be aware that ORY Hydra is unable to properly compute this value during authentication. This implies that you have to compute this value on every authentication process (probably depending on the client ID or some other unique value). If you fail to compute the proper value, then authentication processes which have id_token_hint set might fail. + should("test forceSubjectIdentifier") { + // uncomment below to test the property + //modelInstance.forceSubjectIdentifier shouldBe ("TODO") + } + + // to test the property `identityProviderSessionId` - IdentityProviderSessionID is the session ID of the end-user that authenticated. If specified, we will use this value to propagate the logout. + should("test identityProviderSessionId") { + // uncomment below to test the property + //modelInstance.identityProviderSessionId shouldBe ("TODO") + } + + // to test the property `remember` - Remember, if set to true, tells ORY Hydra to remember this user by telling the user agent (browser) to store a cookie with authentication data. If the same user performs another OAuth 2.0 Authorization Request, he/she will not be asked to log in again. + should("test remember") { + // uncomment below to test the property + //modelInstance.remember shouldBe ("TODO") + } + + // to test the property `rememberFor` - RememberFor sets how long the authentication should be remembered for in seconds. If set to `0`, the authorization will be remembered for the duration of the browser session (using a session cookie). + should("test rememberFor") { + // uncomment below to test the property + //modelInstance.rememberFor shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AccountExperienceConfigurationTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AccountExperienceConfigurationTest.kt new file mode 100644 index 00000000000..75c85b61bee --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AccountExperienceConfigurationTest.kt @@ -0,0 +1,89 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.AccountExperienceConfiguration + +class AccountExperienceConfigurationTest : ShouldSpec() { + init { + // uncomment below to create an instance of AccountExperienceConfiguration + //val modelInstance = AccountExperienceConfiguration() + + // to test the property `accountExperienceThemeStylesheet` + should("test accountExperienceThemeStylesheet") { + // uncomment below to test the property + //modelInstance.accountExperienceThemeStylesheet shouldBe ("TODO") + } + + // to test the property `faviconType` + should("test faviconType") { + // uncomment below to test the property + //modelInstance.faviconType shouldBe ("TODO") + } + + // to test the property `faviconUrl` + should("test faviconUrl") { + // uncomment below to test the property + //modelInstance.faviconUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceDefaultBrowserReturnUrl` + should("test kratosSelfserviceDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRecoveryEnabled` + should("test kratosSelfserviceFlowsRecoveryEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRecoveryEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationEnabled` + should("test kratosSelfserviceFlowsRegistrationEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsVerificationEnabled` + should("test kratosSelfserviceFlowsVerificationEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsVerificationEnabled shouldBe ("TODO") + } + + // to test the property `logoUrl` + should("test logoUrl") { + // uncomment below to test the property + //modelInstance.logoUrl shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `organizationMap` + should("test organizationMap") { + // uncomment below to test the property + //modelInstance.organizationMap shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AccountExperienceThemeVariablesTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AccountExperienceThemeVariablesTest.kt new file mode 100644 index 00000000000..373186331a2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AccountExperienceThemeVariablesTest.kt @@ -0,0 +1,575 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.AccountExperienceThemeVariables + +class AccountExperienceThemeVariablesTest : ShouldSpec() { + init { + // uncomment below to create an instance of AccountExperienceThemeVariables + //val modelInstance = AccountExperienceThemeVariables() + + // to test the property `accent` + should("test accent") { + // uncomment below to test the property + //modelInstance.accent shouldBe ("TODO") + } + + // to test the property `bgDefault` + should("test bgDefault") { + // uncomment below to test the property + //modelInstance.bgDefault shouldBe ("TODO") + } + + // to test the property `borderRadiusBranding` + should("test borderRadiusBranding") { + // uncomment below to test the property + //modelInstance.borderRadiusBranding shouldBe ("TODO") + } + + // to test the property `borderRadiusButtons` + should("test borderRadiusButtons") { + // uncomment below to test the property + //modelInstance.borderRadiusButtons shouldBe ("TODO") + } + + // to test the property `borderRadiusCards` + should("test borderRadiusCards") { + // uncomment below to test the property + //modelInstance.borderRadiusCards shouldBe ("TODO") + } + + // to test the property `borderRadiusForms` + should("test borderRadiusForms") { + // uncomment below to test the property + //modelInstance.borderRadiusForms shouldBe ("TODO") + } + + // to test the property `borderRadiusGeneral` + should("test borderRadiusGeneral") { + // uncomment below to test the property + //modelInstance.borderRadiusGeneral shouldBe ("TODO") + } + + // to test the property `buttonPrimaryBgDefault` + should("test buttonPrimaryBgDefault") { + // uncomment below to test the property + //modelInstance.buttonPrimaryBgDefault shouldBe ("TODO") + } + + // to test the property `buttonPrimaryBgDisabled` + should("test buttonPrimaryBgDisabled") { + // uncomment below to test the property + //modelInstance.buttonPrimaryBgDisabled shouldBe ("TODO") + } + + // to test the property `buttonPrimaryBgHover` + should("test buttonPrimaryBgHover") { + // uncomment below to test the property + //modelInstance.buttonPrimaryBgHover shouldBe ("TODO") + } + + // to test the property `buttonPrimaryBorderDefault` + should("test buttonPrimaryBorderDefault") { + // uncomment below to test the property + //modelInstance.buttonPrimaryBorderDefault shouldBe ("TODO") + } + + // to test the property `buttonPrimaryBorderDisabled` + should("test buttonPrimaryBorderDisabled") { + // uncomment below to test the property + //modelInstance.buttonPrimaryBorderDisabled shouldBe ("TODO") + } + + // to test the property `buttonPrimaryBorderHover` + should("test buttonPrimaryBorderHover") { + // uncomment below to test the property + //modelInstance.buttonPrimaryBorderHover shouldBe ("TODO") + } + + // to test the property `buttonPrimaryFgDefault` + should("test buttonPrimaryFgDefault") { + // uncomment below to test the property + //modelInstance.buttonPrimaryFgDefault shouldBe ("TODO") + } + + // to test the property `buttonPrimaryFgDisabled` + should("test buttonPrimaryFgDisabled") { + // uncomment below to test the property + //modelInstance.buttonPrimaryFgDisabled shouldBe ("TODO") + } + + // to test the property `buttonPrimaryFgHover` + should("test buttonPrimaryFgHover") { + // uncomment below to test the property + //modelInstance.buttonPrimaryFgHover shouldBe ("TODO") + } + + // to test the property `buttonSecondaryBgDefault` + should("test buttonSecondaryBgDefault") { + // uncomment below to test the property + //modelInstance.buttonSecondaryBgDefault shouldBe ("TODO") + } + + // to test the property `buttonSecondaryBgDisabled` + should("test buttonSecondaryBgDisabled") { + // uncomment below to test the property + //modelInstance.buttonSecondaryBgDisabled shouldBe ("TODO") + } + + // to test the property `buttonSecondaryBgHover` + should("test buttonSecondaryBgHover") { + // uncomment below to test the property + //modelInstance.buttonSecondaryBgHover shouldBe ("TODO") + } + + // to test the property `buttonSecondaryBorderDefault` + should("test buttonSecondaryBorderDefault") { + // uncomment below to test the property + //modelInstance.buttonSecondaryBorderDefault shouldBe ("TODO") + } + + // to test the property `buttonSecondaryBorderDisabled` + should("test buttonSecondaryBorderDisabled") { + // uncomment below to test the property + //modelInstance.buttonSecondaryBorderDisabled shouldBe ("TODO") + } + + // to test the property `buttonSecondaryBorderHover` + should("test buttonSecondaryBorderHover") { + // uncomment below to test the property + //modelInstance.buttonSecondaryBorderHover shouldBe ("TODO") + } + + // to test the property `buttonSecondaryFgDefault` + should("test buttonSecondaryFgDefault") { + // uncomment below to test the property + //modelInstance.buttonSecondaryFgDefault shouldBe ("TODO") + } + + // to test the property `buttonSecondaryFgDisabled` + should("test buttonSecondaryFgDisabled") { + // uncomment below to test the property + //modelInstance.buttonSecondaryFgDisabled shouldBe ("TODO") + } + + // to test the property `buttonSecondaryFgHover` + should("test buttonSecondaryFgHover") { + // uncomment below to test the property + //modelInstance.buttonSecondaryFgHover shouldBe ("TODO") + } + + // to test the property `buttonSocialBgDefault` + should("test buttonSocialBgDefault") { + // uncomment below to test the property + //modelInstance.buttonSocialBgDefault shouldBe ("TODO") + } + + // to test the property `buttonSocialBgDisabled` + should("test buttonSocialBgDisabled") { + // uncomment below to test the property + //modelInstance.buttonSocialBgDisabled shouldBe ("TODO") + } + + // to test the property `buttonSocialBgHover` + should("test buttonSocialBgHover") { + // uncomment below to test the property + //modelInstance.buttonSocialBgHover shouldBe ("TODO") + } + + // to test the property `buttonSocialBgProvider` + should("test buttonSocialBgProvider") { + // uncomment below to test the property + //modelInstance.buttonSocialBgProvider shouldBe ("TODO") + } + + // to test the property `buttonSocialBorderDefault` + should("test buttonSocialBorderDefault") { + // uncomment below to test the property + //modelInstance.buttonSocialBorderDefault shouldBe ("TODO") + } + + // to test the property `buttonSocialBorderDisabled` + should("test buttonSocialBorderDisabled") { + // uncomment below to test the property + //modelInstance.buttonSocialBorderDisabled shouldBe ("TODO") + } + + // to test the property `buttonSocialBorderHover` + should("test buttonSocialBorderHover") { + // uncomment below to test the property + //modelInstance.buttonSocialBorderHover shouldBe ("TODO") + } + + // to test the property `buttonSocialBorderProvider` + should("test buttonSocialBorderProvider") { + // uncomment below to test the property + //modelInstance.buttonSocialBorderProvider shouldBe ("TODO") + } + + // to test the property `buttonSocialFgDefault` + should("test buttonSocialFgDefault") { + // uncomment below to test the property + //modelInstance.buttonSocialFgDefault shouldBe ("TODO") + } + + // to test the property `buttonSocialFgDisabled` + should("test buttonSocialFgDisabled") { + // uncomment below to test the property + //modelInstance.buttonSocialFgDisabled shouldBe ("TODO") + } + + // to test the property `buttonSocialFgHover` + should("test buttonSocialFgHover") { + // uncomment below to test the property + //modelInstance.buttonSocialFgHover shouldBe ("TODO") + } + + // to test the property `buttonSocialFgProvider` + should("test buttonSocialFgProvider") { + // uncomment below to test the property + //modelInstance.buttonSocialFgProvider shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `dialogBgDefault` + should("test dialogBgDefault") { + // uncomment below to test the property + //modelInstance.dialogBgDefault shouldBe ("TODO") + } + + // to test the property `dialogBgSubtle` + should("test dialogBgSubtle") { + // uncomment below to test the property + //modelInstance.dialogBgSubtle shouldBe ("TODO") + } + + // to test the property `dialogBorderDefault` + should("test dialogBorderDefault") { + // uncomment below to test the property + //modelInstance.dialogBorderDefault shouldBe ("TODO") + } + + // to test the property `dialogFgDefault` + should("test dialogFgDefault") { + // uncomment below to test the property + //modelInstance.dialogFgDefault shouldBe ("TODO") + } + + // to test the property `dialogFgMute` + should("test dialogFgMute") { + // uncomment below to test the property + //modelInstance.dialogFgMute shouldBe ("TODO") + } + + // to test the property `dialogFgSubtle` + should("test dialogFgSubtle") { + // uncomment below to test the property + //modelInstance.dialogFgSubtle shouldBe ("TODO") + } + + // to test the property `formsBgDefault` + should("test formsBgDefault") { + // uncomment below to test the property + //modelInstance.formsBgDefault shouldBe ("TODO") + } + + // to test the property `formsBgDisabled` + should("test formsBgDisabled") { + // uncomment below to test the property + //modelInstance.formsBgDisabled shouldBe ("TODO") + } + + // to test the property `formsBgHover` + should("test formsBgHover") { + // uncomment below to test the property + //modelInstance.formsBgHover shouldBe ("TODO") + } + + // to test the property `formsBorderDefault` + should("test formsBorderDefault") { + // uncomment below to test the property + //modelInstance.formsBorderDefault shouldBe ("TODO") + } + + // to test the property `formsBorderDisabled` + should("test formsBorderDisabled") { + // uncomment below to test the property + //modelInstance.formsBorderDisabled shouldBe ("TODO") + } + + // to test the property `formsBorderError` + should("test formsBorderError") { + // uncomment below to test the property + //modelInstance.formsBorderError shouldBe ("TODO") + } + + // to test the property `formsBorderFocus` + should("test formsBorderFocus") { + // uncomment below to test the property + //modelInstance.formsBorderFocus shouldBe ("TODO") + } + + // to test the property `formsBorderHover` + should("test formsBorderHover") { + // uncomment below to test the property + //modelInstance.formsBorderHover shouldBe ("TODO") + } + + // to test the property `formsBorderSuccess` + should("test formsBorderSuccess") { + // uncomment below to test the property + //modelInstance.formsBorderSuccess shouldBe ("TODO") + } + + // to test the property `formsBorderWarn` + should("test formsBorderWarn") { + // uncomment below to test the property + //modelInstance.formsBorderWarn shouldBe ("TODO") + } + + // to test the property `formsCheckboxBgChecked` + should("test formsCheckboxBgChecked") { + // uncomment below to test the property + //modelInstance.formsCheckboxBgChecked shouldBe ("TODO") + } + + // to test the property `formsCheckboxBgDefault` + should("test formsCheckboxBgDefault") { + // uncomment below to test the property + //modelInstance.formsCheckboxBgDefault shouldBe ("TODO") + } + + // to test the property `formsCheckboxBorderChecked` + should("test formsCheckboxBorderChecked") { + // uncomment below to test the property + //modelInstance.formsCheckboxBorderChecked shouldBe ("TODO") + } + + // to test the property `formsCheckboxBorderDefault` + should("test formsCheckboxBorderDefault") { + // uncomment below to test the property + //modelInstance.formsCheckboxBorderDefault shouldBe ("TODO") + } + + // to test the property `formsCheckboxFgChecked` + should("test formsCheckboxFgChecked") { + // uncomment below to test the property + //modelInstance.formsCheckboxFgChecked shouldBe ("TODO") + } + + // to test the property `formsCheckboxFgDefault` + should("test formsCheckboxFgDefault") { + // uncomment below to test the property + //modelInstance.formsCheckboxFgDefault shouldBe ("TODO") + } + + // to test the property `formsFgDefault` + should("test formsFgDefault") { + // uncomment below to test the property + //modelInstance.formsFgDefault shouldBe ("TODO") + } + + // to test the property `formsFgError` + should("test formsFgError") { + // uncomment below to test the property + //modelInstance.formsFgError shouldBe ("TODO") + } + + // to test the property `formsFgMute` + should("test formsFgMute") { + // uncomment below to test the property + //modelInstance.formsFgMute shouldBe ("TODO") + } + + // to test the property `formsFgSubtle` + should("test formsFgSubtle") { + // uncomment below to test the property + //modelInstance.formsFgSubtle shouldBe ("TODO") + } + + // to test the property `formsFgSuccess` + should("test formsFgSuccess") { + // uncomment below to test the property + //modelInstance.formsFgSuccess shouldBe ("TODO") + } + + // to test the property `formsFgWarn` + should("test formsFgWarn") { + // uncomment below to test the property + //modelInstance.formsFgWarn shouldBe ("TODO") + } + + // to test the property `formsRadioBgChecked` + should("test formsRadioBgChecked") { + // uncomment below to test the property + //modelInstance.formsRadioBgChecked shouldBe ("TODO") + } + + // to test the property `formsRadioBgDefault` + should("test formsRadioBgDefault") { + // uncomment below to test the property + //modelInstance.formsRadioBgDefault shouldBe ("TODO") + } + + // to test the property `formsRadioBorderChecked` + should("test formsRadioBorderChecked") { + // uncomment below to test the property + //modelInstance.formsRadioBorderChecked shouldBe ("TODO") + } + + // to test the property `formsRadioBorderDefault` + should("test formsRadioBorderDefault") { + // uncomment below to test the property + //modelInstance.formsRadioBorderDefault shouldBe ("TODO") + } + + // to test the property `formsRadioFgChecked` + should("test formsRadioFgChecked") { + // uncomment below to test the property + //modelInstance.formsRadioFgChecked shouldBe ("TODO") + } + + // to test the property `formsRadioFgDefault` + should("test formsRadioFgDefault") { + // uncomment below to test the property + //modelInstance.formsRadioFgDefault shouldBe ("TODO") + } + + // to test the property `formsToggleBgChecked` + should("test formsToggleBgChecked") { + // uncomment below to test the property + //modelInstance.formsToggleBgChecked shouldBe ("TODO") + } + + // to test the property `formsToggleBgDefault` + should("test formsToggleBgDefault") { + // uncomment below to test the property + //modelInstance.formsToggleBgDefault shouldBe ("TODO") + } + + // to test the property `formsToggleBorderChecked` + should("test formsToggleBorderChecked") { + // uncomment below to test the property + //modelInstance.formsToggleBorderChecked shouldBe ("TODO") + } + + // to test the property `formsToggleBorderDefault` + should("test formsToggleBorderDefault") { + // uncomment below to test the property + //modelInstance.formsToggleBorderDefault shouldBe ("TODO") + } + + // to test the property `formsToggleFgChecked` + should("test formsToggleFgChecked") { + // uncomment below to test the property + //modelInstance.formsToggleFgChecked shouldBe ("TODO") + } + + // to test the property `formsToggleFgDefault` + should("test formsToggleFgDefault") { + // uncomment below to test the property + //modelInstance.formsToggleFgDefault shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `linksLinkDefault` + should("test linksLinkDefault") { + // uncomment below to test the property + //modelInstance.linksLinkDefault shouldBe ("TODO") + } + + // to test the property `linksLinkDisabled` + should("test linksLinkDisabled") { + // uncomment below to test the property + //modelInstance.linksLinkDisabled shouldBe ("TODO") + } + + // to test the property `linksLinkHover` + should("test linksLinkHover") { + // uncomment below to test the property + //modelInstance.linksLinkHover shouldBe ("TODO") + } + + // to test the property `linksLinkInvertedDefault` + should("test linksLinkInvertedDefault") { + // uncomment below to test the property + //modelInstance.linksLinkInvertedDefault shouldBe ("TODO") + } + + // to test the property `linksLinkInvertedHover` + should("test linksLinkInvertedHover") { + // uncomment below to test the property + //modelInstance.linksLinkInvertedHover shouldBe ("TODO") + } + + // to test the property `linksLinkMuteDefault` + should("test linksLinkMuteDefault") { + // uncomment below to test the property + //modelInstance.linksLinkMuteDefault shouldBe ("TODO") + } + + // to test the property `linksLinkMuteHover` + should("test linksLinkMuteHover") { + // uncomment below to test the property + //modelInstance.linksLinkMuteHover shouldBe ("TODO") + } + + // to test the property `syntaxSyntax` + should("test syntaxSyntax") { + // uncomment below to test the property + //modelInstance.syntaxSyntax shouldBe ("TODO") + } + + // to test the property `syntaxSyntaxKey` + should("test syntaxSyntaxKey") { + // uncomment below to test the property + //modelInstance.syntaxSyntaxKey shouldBe ("TODO") + } + + // to test the property `syntaxSyntaxNum` + should("test syntaxSyntaxNum") { + // uncomment below to test the property + //modelInstance.syntaxSyntaxNum shouldBe ("TODO") + } + + // to test the property `syntaxSyntaxValue` + should("test syntaxSyntaxValue") { + // uncomment below to test the property + //modelInstance.syntaxSyntaxValue shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ActiveProjectInConsoleTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ActiveProjectInConsoleTest.kt new file mode 100644 index 00000000000..fe9eff4543a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ActiveProjectInConsoleTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ActiveProjectInConsole + +class ActiveProjectInConsoleTest : ShouldSpec() { + init { + // uncomment below to create an instance of ActiveProjectInConsole + //val modelInstance = ActiveProjectInConsole() + + // to test the property `projectId` - The Active Project ID format: uuid + should("test projectId") { + // uncomment below to test the property + //modelInstance.projectId shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AddProjectToWorkspaceBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AddProjectToWorkspaceBodyTest.kt new file mode 100644 index 00000000000..a791682ee53 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AddProjectToWorkspaceBodyTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.AddProjectToWorkspaceBody + +class AddProjectToWorkspaceBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of AddProjectToWorkspaceBody + //val modelInstance = AddProjectToWorkspaceBody() + + // to test the property `environment` - The environment of the project in the workspace. Can be one of \"prod\" or \"dev\". Note that the number of projects in the \"prod\" environment is limited depending on the subscription. prod Production stage Staging dev Development + should("test environment") { + // uncomment below to test the property + //modelInstance.environment shouldBe ("TODO") + } + + // to test the property `projectSubscription` - The action to take with the project subscription. Can be one of \"migrate\", and \"ignore\". \"migrate\" will migrate the project subscription to the workspace. \"ignore\" will ignore the project subscription. migrate ProjectSubscriptionActionMigrate ProjectSubscriptionActionMigrate will migrate the project subscription to the workspace. ignore ProjectSubscriptionActionIgnore ProjectSubscriptionActionIgnore will ignore the project subscription. + should("test projectSubscription") { + // uncomment below to test the property + //modelInstance.projectSubscription shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributeFilterTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributeFilterTest.kt new file mode 100644 index 00000000000..3d17a90bc47 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributeFilterTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.AttributeFilter + +class AttributeFilterTest : ShouldSpec() { + init { + // uncomment below to create an instance of AttributeFilter + //val modelInstance = AttributeFilter() + + // to test the property `attribute` + should("test attribute") { + // uncomment below to test the property + //modelInstance.attribute shouldBe ("TODO") + } + + // to test the property `condition` + should("test condition") { + // uncomment below to test the property + //modelInstance.condition shouldBe ("TODO") + } + + // to test the property ``value`` + should("test `value`") { + // uncomment below to test the property + //modelInstance.`value` shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributeTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributeTest.kt new file mode 100644 index 00000000000..9f14331329e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributeTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.Attribute + +class AttributeTest : ShouldSpec() { + init { + // uncomment below to create an instance of Attribute + //val modelInstance = Attribute() + + // to test the property `key` + should("test key") { + // uncomment below to test the property + //modelInstance.key shouldBe ("TODO") + } + + // to test the property ``value`` + should("test `value`") { + // uncomment below to test the property + //modelInstance.`value` shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributesCountDatapointTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributesCountDatapointTest.kt new file mode 100644 index 00000000000..cbd5fbe777b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AttributesCountDatapointTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.AttributesCountDatapoint + +class AttributesCountDatapointTest : ShouldSpec() { + init { + // uncomment below to create an instance of AttributesCountDatapoint + //val modelInstance = AttributesCountDatapoint() + + // to test the property `count` - Count of the attribute value for given key + should("test count") { + // uncomment below to test the property + //modelInstance.count shouldBe ("TODO") + } + + // to test the property `name` - Name of the attribute value for given key + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AuthenticatorAssuranceLevelTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AuthenticatorAssuranceLevelTest.kt new file mode 100644 index 00000000000..d74425d8600 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/AuthenticatorAssuranceLevelTest.kt @@ -0,0 +1,29 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.AuthenticatorAssuranceLevel + +class AuthenticatorAssuranceLevelTest : ShouldSpec() { + init { + // uncomment below to create an instance of AuthenticatorAssuranceLevel + //val modelInstance = AuthenticatorAssuranceLevel() + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchCheckPermissionBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchCheckPermissionBodyTest.kt new file mode 100644 index 00000000000..48219d028c5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchCheckPermissionBodyTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.BatchCheckPermissionBody +import sh.ory.client-kotlin-multiplatform.models.Relationship + +class BatchCheckPermissionBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of BatchCheckPermissionBody + //val modelInstance = BatchCheckPermissionBody() + + // to test the property `tuples` + should("test tuples") { + // uncomment below to test the property + //modelInstance.tuples shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchCheckPermissionResultTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchCheckPermissionResultTest.kt new file mode 100644 index 00000000000..d136753dbd9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchCheckPermissionResultTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.BatchCheckPermissionResult +import sh.ory.client-kotlin-multiplatform.models.CheckPermissionResultWithError + +class BatchCheckPermissionResultTest : ShouldSpec() { + init { + // uncomment below to create an instance of BatchCheckPermissionResult + //val modelInstance = BatchCheckPermissionResult() + + // to test the property `results` - An array of check results. The order aligns with the input order. + should("test results") { + // uncomment below to test the property + //modelInstance.results shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchPatchIdentitiesResponseTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchPatchIdentitiesResponseTest.kt new file mode 100644 index 00000000000..3685deccdbd --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/BatchPatchIdentitiesResponseTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.BatchPatchIdentitiesResponse +import sh.ory.client-kotlin-multiplatform.models.IdentityPatchResponse + +class BatchPatchIdentitiesResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of BatchPatchIdentitiesResponse + //val modelInstance = BatchPatchIdentitiesResponse() + + // to test the property `identities` - The patch responses for the individual identities. + should("test identities") { + // uncomment below to test the property + //modelInstance.identities shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/BillingPeriodBucketTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/BillingPeriodBucketTest.kt new file mode 100644 index 00000000000..3f75d413b58 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/BillingPeriodBucketTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.BillingPeriodBucket +import sh.ory.client-kotlin-multiplatform.models.Invoice +import sh.ory.client-kotlin-multiplatform.models.TimeInterval + +class BillingPeriodBucketTest : ShouldSpec() { + init { + // uncomment below to create an instance of BillingPeriodBucket + //val modelInstance = BillingPeriodBucket() + + // to test the property `baseInvoices` + should("test baseInvoices") { + // uncomment below to test the property + //modelInstance.baseInvoices shouldBe ("TODO") + } + + // to test the property `billingPeriod` + should("test billingPeriod") { + // uncomment below to test the property + //modelInstance.billingPeriod shouldBe ("TODO") + } + + // to test the property `usageInvoice` + should("test usageInvoice") { + // uncomment below to test the property + //modelInstance.usageInvoice shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckOplSyntaxResultTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckOplSyntaxResultTest.kt new file mode 100644 index 00000000000..c42623a346b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckOplSyntaxResultTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CheckOplSyntaxResult +import sh.ory.client-kotlin-multiplatform.models.ParseError + +class CheckOplSyntaxResultTest : ShouldSpec() { + init { + // uncomment below to create an instance of CheckOplSyntaxResult + //val modelInstance = CheckOplSyntaxResult() + + // to test the property `errors` - The list of syntax errors + should("test errors") { + // uncomment below to test the property + //modelInstance.errors shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckPermissionResultTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckPermissionResultTest.kt new file mode 100644 index 00000000000..33017c7d840 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckPermissionResultTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CheckPermissionResult + +class CheckPermissionResultTest : ShouldSpec() { + init { + // uncomment below to create an instance of CheckPermissionResult + //val modelInstance = CheckPermissionResult() + + // to test the property `allowed` - whether the relation tuple is allowed + should("test allowed") { + // uncomment below to test the property + //modelInstance.allowed shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckPermissionResultWithErrorTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckPermissionResultWithErrorTest.kt new file mode 100644 index 00000000000..d3e8505e7f8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CheckPermissionResultWithErrorTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CheckPermissionResultWithError + +class CheckPermissionResultWithErrorTest : ShouldSpec() { + init { + // uncomment below to create an instance of CheckPermissionResultWithError + //val modelInstance = CheckPermissionResultWithError() + + // to test the property `allowed` - whether the relation tuple is allowed + should("test allowed") { + // uncomment below to test the property + //modelInstance.allowed shouldBe ("TODO") + } + + // to test the property `error` - any error generated while checking the relation tuple + should("test error") { + // uncomment below to test the property + //modelInstance.error shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CloudAccountTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CloudAccountTest.kt new file mode 100644 index 00000000000..65762ca6202 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CloudAccountTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CloudAccount + +class CloudAccountTest : ShouldSpec() { + init { + // uncomment below to create an instance of CloudAccount + //val modelInstance = CloudAccount() + + // to test the property `email` + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `emailVerified` + should("test emailVerified") { + // uncomment below to test the property + //modelInstance.emailVerified shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ConsistencyRequestParametersTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ConsistencyRequestParametersTest.kt new file mode 100644 index 00000000000..b270c261b3a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ConsistencyRequestParametersTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ConsistencyRequestParameters + +class ConsistencyRequestParametersTest : ShouldSpec() { + init { + // uncomment below to create an instance of ConsistencyRequestParameters + //val modelInstance = ConsistencyRequestParameters() + + // to test the property `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. + should("test consistency") { + // uncomment below to test the property + //modelInstance.consistency shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRecoveryUiFlowTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRecoveryUiFlowTest.kt new file mode 100644 index 00000000000..a2f04d2c8e2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRecoveryUiFlowTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ContinueWithRecoveryUiFlow + +class ContinueWithRecoveryUiFlowTest : ShouldSpec() { + init { + // uncomment below to create an instance of ContinueWithRecoveryUiFlow + //val modelInstance = ContinueWithRecoveryUiFlow() + + // to test the property `id` - The ID of the recovery flow + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `url` - The URL of the recovery flow If this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows. + should("test url") { + // uncomment below to test the property + //modelInstance.url shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRecoveryUiTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRecoveryUiTest.kt new file mode 100644 index 00000000000..24538c7f2e5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRecoveryUiTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ContinueWithRecoveryUi +import sh.ory.client-kotlin-multiplatform.models.ContinueWithRecoveryUiFlow + +class ContinueWithRecoveryUiTest : ShouldSpec() { + init { + // uncomment below to create an instance of ContinueWithRecoveryUi + //val modelInstance = ContinueWithRecoveryUi() + + // to test the property `action` - Action will always be `show_recovery_ui` show_recovery_ui ContinueWithActionShowRecoveryUIString + should("test action") { + // uncomment below to test the property + //modelInstance.action shouldBe ("TODO") + } + + // to test the property `flow` + should("test flow") { + // uncomment below to test the property + //modelInstance.flow shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRedirectBrowserToTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRedirectBrowserToTest.kt new file mode 100644 index 00000000000..a15caf5af46 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithRedirectBrowserToTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ContinueWithRedirectBrowserTo + +class ContinueWithRedirectBrowserToTest : ShouldSpec() { + init { + // uncomment below to create an instance of ContinueWithRedirectBrowserTo + //val modelInstance = ContinueWithRedirectBrowserTo() + + // to test the property `action` - Action will always be `redirect_browser_to` redirect_browser_to ContinueWithActionRedirectBrowserToString + should("test action") { + // uncomment below to test the property + //modelInstance.action shouldBe ("TODO") + } + + // to test the property `redirectBrowserTo` - The URL to redirect the browser to + should("test redirectBrowserTo") { + // uncomment below to test the property + //modelInstance.redirectBrowserTo shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSetOrySessionTokenTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSetOrySessionTokenTest.kt new file mode 100644 index 00000000000..ecb94a94313 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSetOrySessionTokenTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ContinueWithSetOrySessionToken + +class ContinueWithSetOrySessionTokenTest : ShouldSpec() { + init { + // uncomment below to create an instance of ContinueWithSetOrySessionToken + //val modelInstance = ContinueWithSetOrySessionToken() + + // to test the property `action` - Action will always be `set_ory_session_token` set_ory_session_token ContinueWithActionSetOrySessionTokenString + should("test action") { + // uncomment below to test the property + //modelInstance.action shouldBe ("TODO") + } + + // to test the property `orySessionToken` - Token is the token of the session + should("test orySessionToken") { + // uncomment below to test the property + //modelInstance.orySessionToken shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSettingsUiFlowTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSettingsUiFlowTest.kt new file mode 100644 index 00000000000..7eac8a1b2c0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSettingsUiFlowTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ContinueWithSettingsUiFlow + +class ContinueWithSettingsUiFlowTest : ShouldSpec() { + init { + // uncomment below to create an instance of ContinueWithSettingsUiFlow + //val modelInstance = ContinueWithSettingsUiFlow() + + // to test the property `id` - The ID of the settings flow + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `url` - The URL of the settings flow If this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows. + should("test url") { + // uncomment below to test the property + //modelInstance.url shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSettingsUiTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSettingsUiTest.kt new file mode 100644 index 00000000000..67b702ec051 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithSettingsUiTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ContinueWithSettingsUi +import sh.ory.client-kotlin-multiplatform.models.ContinueWithSettingsUiFlow + +class ContinueWithSettingsUiTest : ShouldSpec() { + init { + // uncomment below to create an instance of ContinueWithSettingsUi + //val modelInstance = ContinueWithSettingsUi() + + // to test the property `action` - Action will always be `show_settings_ui` show_settings_ui ContinueWithActionShowSettingsUIString + should("test action") { + // uncomment below to test the property + //modelInstance.action shouldBe ("TODO") + } + + // to test the property `flow` + should("test flow") { + // uncomment below to test the property + //modelInstance.flow shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithTest.kt new file mode 100644 index 00000000000..d99f0101ee0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ContinueWith +import sh.ory.client-kotlin-multiplatform.models.ContinueWithRecoveryUi +import sh.ory.client-kotlin-multiplatform.models.ContinueWithRecoveryUiFlow +import sh.ory.client-kotlin-multiplatform.models.ContinueWithRedirectBrowserTo +import sh.ory.client-kotlin-multiplatform.models.ContinueWithSetOrySessionToken +import sh.ory.client-kotlin-multiplatform.models.ContinueWithSettingsUi +import sh.ory.client-kotlin-multiplatform.models.ContinueWithVerificationUi + +class ContinueWithTest : ShouldSpec() { + init { + // uncomment below to create an instance of ContinueWith + //val modelInstance = ContinueWith() + + // to test the property `action` - Action will always be `redirect_browser_to` redirect_browser_to ContinueWithActionRedirectBrowserToString + should("test action") { + // uncomment below to test the property + //modelInstance.action shouldBe ("TODO") + } + + // to test the property `flow` + should("test flow") { + // uncomment below to test the property + //modelInstance.flow shouldBe ("TODO") + } + + // to test the property `orySessionToken` - Token is the token of the session + should("test orySessionToken") { + // uncomment below to test the property + //modelInstance.orySessionToken shouldBe ("TODO") + } + + // to test the property `redirectBrowserTo` - The URL to redirect the browser to + should("test redirectBrowserTo") { + // uncomment below to test the property + //modelInstance.redirectBrowserTo shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithVerificationUiFlowTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithVerificationUiFlowTest.kt new file mode 100644 index 00000000000..f668f4757c0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithVerificationUiFlowTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ContinueWithVerificationUiFlow + +class ContinueWithVerificationUiFlowTest : ShouldSpec() { + init { + // uncomment below to create an instance of ContinueWithVerificationUiFlow + //val modelInstance = ContinueWithVerificationUiFlow() + + // to test the property `id` - The ID of the verification flow + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `verifiableAddress` - The address that should be verified in this flow + should("test verifiableAddress") { + // uncomment below to test the property + //modelInstance.verifiableAddress shouldBe ("TODO") + } + + // to test the property `url` - The URL of the verification flow If this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows. + should("test url") { + // uncomment below to test the property + //modelInstance.url shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithVerificationUiTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithVerificationUiTest.kt new file mode 100644 index 00000000000..b9fbc8d5196 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ContinueWithVerificationUiTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ContinueWithVerificationUi +import sh.ory.client-kotlin-multiplatform.models.ContinueWithVerificationUiFlow + +class ContinueWithVerificationUiTest : ShouldSpec() { + init { + // uncomment below to create an instance of ContinueWithVerificationUi + //val modelInstance = ContinueWithVerificationUi() + + // to test the property `action` - Action will always be `show_verification_ui` show_verification_ui ContinueWithActionShowVerificationUIString + should("test action") { + // uncomment below to test the property + //modelInstance.action shouldBe ("TODO") + } + + // to test the property `flow` + should("test flow") { + // uncomment below to test the property + //modelInstance.flow shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CourierMessageStatusTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CourierMessageStatusTest.kt new file mode 100644 index 00000000000..fe0d9df7716 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CourierMessageStatusTest.kt @@ -0,0 +1,29 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CourierMessageStatus + +class CourierMessageStatusTest : ShouldSpec() { + init { + // uncomment below to create an instance of CourierMessageStatus + //val modelInstance = CourierMessageStatus() + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CourierMessageTypeTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CourierMessageTypeTest.kt new file mode 100644 index 00000000000..f4f50daa976 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CourierMessageTypeTest.kt @@ -0,0 +1,29 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CourierMessageType + +class CourierMessageTypeTest : ShouldSpec() { + init { + // uncomment below to create an instance of CourierMessageType + //val modelInstance = CourierMessageType() + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateCustomDomainBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateCustomDomainBodyTest.kt new file mode 100644 index 00000000000..41a748f840d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateCustomDomainBodyTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateCustomDomainBody + +class CreateCustomDomainBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateCustomDomainBody + //val modelInstance = CreateCustomDomainBody() + + // to test the property `cookieDomain` - The domain where cookies will be set. Has to be a parent domain of the custom hostname to work. + should("test cookieDomain") { + // uncomment below to test the property + //modelInstance.cookieDomain shouldBe ("TODO") + } + + // to test the property `corsAllowedOrigins` - CORS Allowed origins for the custom hostname. + should("test corsAllowedOrigins") { + // uncomment below to test the property + //modelInstance.corsAllowedOrigins shouldBe ("TODO") + } + + // to test the property `corsEnabled` - CORS Enabled for the custom hostname. + should("test corsEnabled") { + // uncomment below to test the property + //modelInstance.corsEnabled shouldBe ("TODO") + } + + // to test the property `customUiBaseUrl` - The base URL where the custom user interface will be exposed. + should("test customUiBaseUrl") { + // uncomment below to test the property + //modelInstance.customUiBaseUrl shouldBe ("TODO") + } + + // to test the property `hostname` - The custom hostname where the API will be exposed. + should("test hostname") { + // uncomment below to test the property + //modelInstance.hostname shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateEventStreamBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateEventStreamBodyTest.kt new file mode 100644 index 00000000000..49fdd124073 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateEventStreamBodyTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateEventStreamBody + +class CreateEventStreamBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateEventStreamBody + //val modelInstance = CreateEventStreamBody() + + // to test the property `roleArn` - The AWS IAM role ARN to assume when publishing to the SNS topic. + should("test roleArn") { + // uncomment below to test the property + //modelInstance.roleArn shouldBe ("TODO") + } + + // to test the property `topicArn` - The AWS SNS topic ARN. + should("test topicArn") { + // uncomment below to test the property + //modelInstance.topicArn shouldBe ("TODO") + } + + // to test the property `type` - The type of the event stream (AWS SNS, GCP Pub/Sub, etc). + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateIdentityBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateIdentityBodyTest.kt new file mode 100644 index 00000000000..0cc595d52bd --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateIdentityBodyTest.kt @@ -0,0 +1,80 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateIdentityBody +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentials +import sh.ory.client-kotlin-multiplatform.models.RecoveryIdentityAddress +import sh.ory.client-kotlin-multiplatform.models.VerifiableIdentityAddress + +class CreateIdentityBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateIdentityBody + //val modelInstance = CreateIdentityBody() + + // to test the property `schemaId` - SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. + should("test schemaId") { + // uncomment below to test the property + //modelInstance.schemaId shouldBe ("TODO") + } + + // to test the property `traits` - Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_url`. + should("test traits") { + // uncomment below to test the property + //modelInstance.traits shouldBe ("TODO") + } + + // to test the property `credentials` + should("test credentials") { + // uncomment below to test the property + //modelInstance.credentials shouldBe ("TODO") + } + + // to test the property `metadataAdmin` - Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/`. + should("test metadataAdmin") { + // uncomment below to test the property + //modelInstance.metadataAdmin shouldBe ("TODO") + } + + // to test the property `metadataPublic` - Store metadata about the identity which the identity itself can see when calling for example the session endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field. + should("test metadataPublic") { + // uncomment below to test the property + //modelInstance.metadataPublic shouldBe ("TODO") + } + + // to test the property `recoveryAddresses` - RecoveryAddresses contains all the addresses that can be used to recover an identity. Use this structure to import recovery addresses for an identity. Please keep in mind that the address needs to be represented in the Identity Schema or this field will be overwritten on the next identity update. + should("test recoveryAddresses") { + // uncomment below to test the property + //modelInstance.recoveryAddresses shouldBe ("TODO") + } + + // to test the property `state` - State is the identity's state. active StateActive inactive StateInactive + should("test state") { + // uncomment below to test the property + //modelInstance.state shouldBe ("TODO") + } + + // to test the property `verifiableAddresses` - VerifiableAddresses contains all the addresses that can be verified by the user. Use this structure to import verified addresses for an identity. Please keep in mind that the address needs to be represented in the Identity Schema or this field will be overwritten on the next identity update. + should("test verifiableAddresses") { + // uncomment below to test the property + //modelInstance.verifiableAddresses shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateInviteResponseTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateInviteResponseTest.kt new file mode 100644 index 00000000000..9dd85431556 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateInviteResponseTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateInviteResponse +import sh.ory.client-kotlin-multiplatform.models.MemberInvite + +class CreateInviteResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateInviteResponse + //val modelInstance = CreateInviteResponse() + + // to test the property `allInvites` - A list of all invites for this resource + should("test allInvites") { + // uncomment below to test the property + //modelInstance.allInvites shouldBe ("TODO") + } + + // to test the property `createdInvite` + should("test createdInvite") { + // uncomment below to test the property + //modelInstance.createdInvite shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateJsonWebKeySetTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateJsonWebKeySetTest.kt new file mode 100644 index 00000000000..41b73d1afb7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateJsonWebKeySetTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateJsonWebKeySet + +class CreateJsonWebKeySetTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateJsonWebKeySet + //val modelInstance = CreateJsonWebKeySet() + + // to test the property `alg` - JSON Web Key Algorithm The algorithm to be used for creating the key. Supports `RS256`, `ES256`, `ES512`, `HS512`, and `HS256`. + should("test alg") { + // uncomment below to test the property + //modelInstance.alg shouldBe ("TODO") + } + + // to test the property `kid` - JSON Web Key ID The Key ID of the key to be created. + should("test kid") { + // uncomment below to test the property + //modelInstance.kid shouldBe ("TODO") + } + + // to test the property `use` - JSON Web Key Use The \"use\" (public key use) parameter identifies the intended use of the public key. The \"use\" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Valid values are \"enc\" and \"sig\". + should("test use") { + // uncomment below to test the property + //modelInstance.use shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectApiKeyRequestTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectApiKeyRequestTest.kt new file mode 100644 index 00000000000..96199a7c3a1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectApiKeyRequestTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateProjectApiKeyRequest + +class CreateProjectApiKeyRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateProjectApiKeyRequest + //val modelInstance = CreateProjectApiKeyRequest() + + // to test the property `name` - The Token Name A descriptive name for the token. in: body + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `expiresAt` + should("test expiresAt") { + // uncomment below to test the property + //modelInstance.expiresAt shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectBodyTest.kt new file mode 100644 index 00000000000..fbb5aef1bc6 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectBodyTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateProjectBody + +class CreateProjectBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateProjectBody + //val modelInstance = CreateProjectBody() + + // to test the property `environment` - The environment of the project. prod Production stage Staging dev Development + should("test environment") { + // uncomment below to test the property + //modelInstance.environment shouldBe ("TODO") + } + + // to test the property `name` - The name of the project to be created + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `homeRegion` - Home Region The home region of the project. This is the region where the project will be created. eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global + should("test homeRegion") { + // uncomment below to test the property + //modelInstance.homeRegion shouldBe ("TODO") + } + + // to test the property `workspaceId` - The workspace to create the project in. + should("test workspaceId") { + // uncomment below to test the property + //modelInstance.workspaceId shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectBrandingTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectBrandingTest.kt new file mode 100644 index 00000000000..805465a351a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectBrandingTest.kt @@ -0,0 +1,66 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateProjectBranding +import sh.ory.client-kotlin-multiplatform.models.ProjectBrandingColors + +class CreateProjectBrandingTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateProjectBranding + //val modelInstance = CreateProjectBranding() + + // to test the property `faviconType` + should("test faviconType") { + // uncomment below to test the property + //modelInstance.faviconType shouldBe ("TODO") + } + + // to test the property `faviconUrl` + should("test faviconUrl") { + // uncomment below to test the property + //modelInstance.faviconUrl shouldBe ("TODO") + } + + // to test the property `logoType` + should("test logoType") { + // uncomment below to test the property + //modelInstance.logoType shouldBe ("TODO") + } + + // to test the property `logoUrl` + should("test logoUrl") { + // uncomment below to test the property + //modelInstance.logoUrl shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `theme` + should("test theme") { + // uncomment below to test the property + //modelInstance.theme shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectMemberInviteBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectMemberInviteBodyTest.kt new file mode 100644 index 00000000000..374cf0f1bf0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectMemberInviteBodyTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateProjectMemberInviteBody + +class CreateProjectMemberInviteBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateProjectMemberInviteBody + //val modelInstance = CreateProjectMemberInviteBody() + + // to test the property `inviteeEmail` - A email to invite + should("test inviteeEmail") { + // uncomment below to test the property + //modelInstance.inviteeEmail shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectNormalizedPayloadTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectNormalizedPayloadTest.kt new file mode 100644 index 00000000000..e36b7e43e05 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateProjectNormalizedPayloadTest.kt @@ -0,0 +1,1289 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateProjectNormalizedPayload +import sh.ory.client-kotlin-multiplatform.models.KetoNamespace +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionCourierChannel +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionHook +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionIdentitySchema +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionThirdPartyProvider +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionTokenizerTemplate + +class CreateProjectNormalizedPayloadTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateProjectNormalizedPayload + //val modelInstance = CreateProjectNormalizedPayload() + + // to test the property `environment` - prod Production stage Staging dev Development + should("test environment") { + // uncomment below to test the property + //modelInstance.environment shouldBe ("TODO") + } + + // to test the property `name` - The project's name. + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `createdAt` - The Project's Revision Creation Date + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `disableAccountExperienceWelcomeScreen` - Whether to disable the account experience welcome screen, which is hosted under `/ui/welcome`. + should("test disableAccountExperienceWelcomeScreen") { + // uncomment below to test the property + //modelInstance.disableAccountExperienceWelcomeScreen shouldBe ("TODO") + } + + // to test the property `enableAxV2` - Whether the new account experience is enabled and reachable. + should("test enableAxV2") { + // uncomment below to test the property + //modelInstance.enableAxV2 shouldBe ("TODO") + } + + // to test the property `homeRegion` - eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global + should("test homeRegion") { + // uncomment below to test the property + //modelInstance.homeRegion shouldBe ("TODO") + } + + // to test the property `hydraOauth2AllowedTopLevelClaims` + should("test hydraOauth2AllowedTopLevelClaims") { + // uncomment below to test the property + //modelInstance.hydraOauth2AllowedTopLevelClaims shouldBe ("TODO") + } + + // to test the property `hydraOauth2ClientCredentialsDefaultGrantAllowedScope` - Automatically grant authorized OAuth2 Scope in OAuth2 Client Credentials Flow. Each OAuth2 Client is allowed to request a predefined OAuth2 Scope (for example `read write`). If this option is enabled, the full scope is automatically granted when performing the OAuth2 Client Credentials flow. If disabled, the OAuth2 Client has to request the scope in the OAuth2 request by providing the `scope` query parameter. Setting this option to true is common if you need compatibility with MITREid. This governs the \"oauth2.client_credentials.default_grant_allowed_scope\" setting. + should("test hydraOauth2ClientCredentialsDefaultGrantAllowedScope") { + // uncomment below to test the property + //modelInstance.hydraOauth2ClientCredentialsDefaultGrantAllowedScope shouldBe ("TODO") + } + + // to test the property `hydraOauth2ExcludeNotBeforeClaim` - Set to true if you want to exclude claim `nbf (not before)` part of access token. This governs the \"oauth2.exclude_not_before_claim\" setting. + should("test hydraOauth2ExcludeNotBeforeClaim") { + // uncomment below to test the property + //modelInstance.hydraOauth2ExcludeNotBeforeClaim shouldBe ("TODO") + } + + // to test the property `hydraOauth2GrantJwtIatOptional` - Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.iat_optional\" setting. + should("test hydraOauth2GrantJwtIatOptional") { + // uncomment below to test the property + //modelInstance.hydraOauth2GrantJwtIatOptional shouldBe ("TODO") + } + + // to test the property `hydraOauth2GrantJwtJtiOptional` - Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.jti_optional\" setting. + should("test hydraOauth2GrantJwtJtiOptional") { + // uncomment below to test the property + //modelInstance.hydraOauth2GrantJwtJtiOptional shouldBe ("TODO") + } + + // to test the property `hydraOauth2GrantJwtMaxTtl` - Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be. This feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied. Useful as a safety measure and recommended to keep below 720h. This governs the \"oauth2.grant.jwt.max_ttl\" setting. + should("test hydraOauth2GrantJwtMaxTtl") { + // uncomment below to test the property + //modelInstance.hydraOauth2GrantJwtMaxTtl shouldBe ("TODO") + } + + // to test the property `hydraOauth2MirrorTopLevelClaims` - Set to false if you don't want to mirror custom claims under 'ext'. This governs the \"oauth2.mirror_top_level_claims\" setting. + should("test hydraOauth2MirrorTopLevelClaims") { + // uncomment below to test the property + //modelInstance.hydraOauth2MirrorTopLevelClaims shouldBe ("TODO") + } + + // to test the property `hydraOauth2PkceEnforced` - Configures whether PKCE should be enforced for all OAuth2 Clients. This governs the \"oauth2.pkce.enforced\" setting. + should("test hydraOauth2PkceEnforced") { + // uncomment below to test the property + //modelInstance.hydraOauth2PkceEnforced shouldBe ("TODO") + } + + // to test the property `hydraOauth2PkceEnforcedForPublicClients` - Configures whether PKCE should be enforced for OAuth2 Clients without a client secret (public clients). This governs the \"oauth2.pkce.enforced_for_public_clients\" setting. + should("test hydraOauth2PkceEnforcedForPublicClients") { + // uncomment below to test the property + //modelInstance.hydraOauth2PkceEnforcedForPublicClients shouldBe ("TODO") + } + + // to test the property `hydraOauth2RefreshTokenHook` - Sets the Refresh Token Hook Endpoint. If set this endpoint will be called during the OAuth2 Token Refresh grant update the OAuth2 Access Token claims. This governs the \"oauth2.refresh_token_hook\" setting. + should("test hydraOauth2RefreshTokenHook") { + // uncomment below to test the property + //modelInstance.hydraOauth2RefreshTokenHook shouldBe ("TODO") + } + + // to test the property `hydraOauth2TokenHook` - Sets the token hook endpoint for all grant types. If set it will be called while providing token to customize claims. This governs the \"oauth2.token_hook.url\" setting. + should("test hydraOauth2TokenHook") { + // uncomment below to test the property + //modelInstance.hydraOauth2TokenHook shouldBe ("TODO") + } + + // to test the property `hydraOidcDynamicClientRegistrationDefaultScope` + should("test hydraOidcDynamicClientRegistrationDefaultScope") { + // uncomment below to test the property + //modelInstance.hydraOidcDynamicClientRegistrationDefaultScope shouldBe ("TODO") + } + + // to test the property `hydraOidcDynamicClientRegistrationEnabled` - Configures OpenID Connect Dynamic Client Registration. This governs the \"oidc.dynamic_client_registration.enabled\" setting. + should("test hydraOidcDynamicClientRegistrationEnabled") { + // uncomment below to test the property + //modelInstance.hydraOidcDynamicClientRegistrationEnabled shouldBe ("TODO") + } + + // to test the property `hydraOidcSubjectIdentifiersPairwiseSalt` - Configures OpenID Connect Discovery and overwrites the pairwise algorithm This governs the \"oidc.subject_identifiers.pairwise_salt\" setting. + should("test hydraOidcSubjectIdentifiersPairwiseSalt") { + // uncomment below to test the property + //modelInstance.hydraOidcSubjectIdentifiersPairwiseSalt shouldBe ("TODO") + } + + // to test the property `hydraOidcSubjectIdentifiersSupportedTypes` + should("test hydraOidcSubjectIdentifiersSupportedTypes") { + // uncomment below to test the property + //modelInstance.hydraOidcSubjectIdentifiersSupportedTypes shouldBe ("TODO") + } + + // to test the property `hydraSecretsCookie` + should("test hydraSecretsCookie") { + // uncomment below to test the property + //modelInstance.hydraSecretsCookie shouldBe ("TODO") + } + + // to test the property `hydraSecretsSystem` + should("test hydraSecretsSystem") { + // uncomment below to test the property + //modelInstance.hydraSecretsSystem shouldBe ("TODO") + } + + // to test the property `hydraServeCookiesSameSiteLegacyWorkaround` - Configures the Ory Hydra Cookie Same Site Legacy Workaround This governs the \"serve.cookies.same_site_legacy_workaround\" setting. + should("test hydraServeCookiesSameSiteLegacyWorkaround") { + // uncomment below to test the property + //modelInstance.hydraServeCookiesSameSiteLegacyWorkaround shouldBe ("TODO") + } + + // to test the property `hydraServeCookiesSameSiteMode` - Configures the Ory Hydra Cookie Same Site Mode This governs the \"serve.cookies.same_site_mode\" setting. + should("test hydraServeCookiesSameSiteMode") { + // uncomment below to test the property + //modelInstance.hydraServeCookiesSameSiteMode shouldBe ("TODO") + } + + // to test the property `hydraStrategiesAccessToken` - Defines access token type This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt + should("test hydraStrategiesAccessToken") { + // uncomment below to test the property + //modelInstance.hydraStrategiesAccessToken shouldBe ("TODO") + } + + // to test the property `hydraStrategiesJwtScopeClaim` - Define the claim to use as the scope in the access token. This governs the \"strategies.jwt.scope_claim\" setting: list: The scope claim is an array of strings named `scope`: `{ \"scope\": [\"read\", \"write\"] }` string: The scope claim is a space delimited list of strings named `scp`: `{ \"scp\": \"read write\" }` both: The scope claim is both a space delimited list and an array of strings named `scope` and `scp`: `{ \"scope\": [\"read\", \"write\"], \"scp\": \"read write\" }` list OAuth2JWTScopeClaimList string OAuth2JWTScopeClaimString both OAuth2JWTScopeClaimBoth + should("test hydraStrategiesJwtScopeClaim") { + // uncomment below to test the property + //modelInstance.hydraStrategiesJwtScopeClaim shouldBe ("TODO") + } + + // to test the property `hydraStrategiesScope` - Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes This governs the \"strategies.scope\" setting. exact Oauth2ScopeStrategyExact wildcard Oauth2ScopeStrategyWildcard + should("test hydraStrategiesScope") { + // uncomment below to test the property + //modelInstance.hydraStrategiesScope shouldBe ("TODO") + } + + // to test the property `hydraTtlAccessToken` - This governs the \"ttl.access_token\" setting. + should("test hydraTtlAccessToken") { + // uncomment below to test the property + //modelInstance.hydraTtlAccessToken shouldBe ("TODO") + } + + // to test the property `hydraTtlAuthCode` - Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.auth_code\" setting. + should("test hydraTtlAuthCode") { + // uncomment below to test the property + //modelInstance.hydraTtlAuthCode shouldBe ("TODO") + } + + // to test the property `hydraTtlIdToken` - This governs the \"ttl.id_token\" setting. + should("test hydraTtlIdToken") { + // uncomment below to test the property + //modelInstance.hydraTtlIdToken shouldBe ("TODO") + } + + // to test the property `hydraTtlLoginConsentRequest` - Configures how long a user login and consent flow may take. This governs the \"ttl.login_consent_request\" setting. + should("test hydraTtlLoginConsentRequest") { + // uncomment below to test the property + //modelInstance.hydraTtlLoginConsentRequest shouldBe ("TODO") + } + + // to test the property `hydraTtlRefreshToken` - Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.refresh_token\" setting. + should("test hydraTtlRefreshToken") { + // uncomment below to test the property + //modelInstance.hydraTtlRefreshToken shouldBe ("TODO") + } + + // to test the property `hydraUrlsConsent` - Sets the OAuth2 Consent Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.consent\" setting. + should("test hydraUrlsConsent") { + // uncomment below to test the property + //modelInstance.hydraUrlsConsent shouldBe ("TODO") + } + + // to test the property `hydraUrlsError` - Sets the OAuth2 Error URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.error\" setting. + should("test hydraUrlsError") { + // uncomment below to test the property + //modelInstance.hydraUrlsError shouldBe ("TODO") + } + + // to test the property `hydraUrlsLogin` - Sets the OAuth2 Login Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.login\" setting. + should("test hydraUrlsLogin") { + // uncomment below to test the property + //modelInstance.hydraUrlsLogin shouldBe ("TODO") + } + + // to test the property `hydraUrlsLogout` - Sets the logout endpoint. Defaults to the Ory Account Experience if left empty. This governs the \"urls.logout\" setting. + should("test hydraUrlsLogout") { + // uncomment below to test the property + //modelInstance.hydraUrlsLogout shouldBe ("TODO") + } + + // to test the property `hydraUrlsPostLogoutRedirect` - When an OAuth2-related user agent requests to log out, they will be redirected to this url afterwards per default. Defaults to the Ory Account Experience in development and your application in production mode when a custom domain is connected. This governs the \"urls.post_logout_redirect\" setting. + should("test hydraUrlsPostLogoutRedirect") { + // uncomment below to test the property + //modelInstance.hydraUrlsPostLogoutRedirect shouldBe ("TODO") + } + + // to test the property `hydraUrlsRegistration` - Sets the OAuth2 Registration Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.registration\" setting. + should("test hydraUrlsRegistration") { + // uncomment below to test the property + //modelInstance.hydraUrlsRegistration shouldBe ("TODO") + } + + // to test the property `hydraUrlsSelfIssuer` - This value will be used as the issuer in access and ID tokens. It must be specified and using HTTPS protocol, unless the development mode is enabled. On the Ory Network it will be very rare that you want to modify this value. If left empty, it will default to the correct value for the Ory Network. This governs the \"urls.self.issuer\" setting. + should("test hydraUrlsSelfIssuer") { + // uncomment below to test the property + //modelInstance.hydraUrlsSelfIssuer shouldBe ("TODO") + } + + // to test the property `hydraWebfingerJwksBroadcastKeys` + should("test hydraWebfingerJwksBroadcastKeys") { + // uncomment below to test the property + //modelInstance.hydraWebfingerJwksBroadcastKeys shouldBe ("TODO") + } + + // to test the property `hydraWebfingerOidcDiscoveryAuthUrl` - Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL. This governs the \"webfinger.oidc.discovery.auth_url\" setting. + should("test hydraWebfingerOidcDiscoveryAuthUrl") { + // uncomment below to test the property + //modelInstance.hydraWebfingerOidcDiscoveryAuthUrl shouldBe ("TODO") + } + + // to test the property `hydraWebfingerOidcDiscoveryClientRegistrationUrl` - Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint. This governs the \"webfinger.oidc.discovery.client_registration_url\" setting. + should("test hydraWebfingerOidcDiscoveryClientRegistrationUrl") { + // uncomment below to test the property + //modelInstance.hydraWebfingerOidcDiscoveryClientRegistrationUrl shouldBe ("TODO") + } + + // to test the property `hydraWebfingerOidcDiscoveryJwksUrl` - Configures OpenID Connect Discovery and overwrites the JWKS URL. This governs the \"webfinger.oidc.discovery.jwks_url\" setting. + should("test hydraWebfingerOidcDiscoveryJwksUrl") { + // uncomment below to test the property + //modelInstance.hydraWebfingerOidcDiscoveryJwksUrl shouldBe ("TODO") + } + + // to test the property `hydraWebfingerOidcDiscoverySupportedClaims` + should("test hydraWebfingerOidcDiscoverySupportedClaims") { + // uncomment below to test the property + //modelInstance.hydraWebfingerOidcDiscoverySupportedClaims shouldBe ("TODO") + } + + // to test the property `hydraWebfingerOidcDiscoverySupportedScope` + should("test hydraWebfingerOidcDiscoverySupportedScope") { + // uncomment below to test the property + //modelInstance.hydraWebfingerOidcDiscoverySupportedScope shouldBe ("TODO") + } + + // to test the property `hydraWebfingerOidcDiscoveryTokenUrl` - Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL. This governs the \"webfinger.oidc.discovery.token_url\" setting. + should("test hydraWebfingerOidcDiscoveryTokenUrl") { + // uncomment below to test the property + //modelInstance.hydraWebfingerOidcDiscoveryTokenUrl shouldBe ("TODO") + } + + // to test the property `hydraWebfingerOidcDiscoveryUserinfoUrl` - Configures OpenID Connect Discovery and overwrites userinfo endpoint to be advertised at the OpenID Connect Discovery endpoint /.well-known/openid-configuration. Defaults to Ory Hydra's userinfo endpoint at /userinfo. Set this value if you want to handle this endpoint yourself. This governs the \"webfinger.oidc.discovery.userinfo_url\" setting. + should("test hydraWebfingerOidcDiscoveryUserinfoUrl") { + // uncomment below to test the property + //modelInstance.hydraWebfingerOidcDiscoveryUserinfoUrl shouldBe ("TODO") + } + + // to test the property `id` - The revision ID. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `ketoNamespaceConfiguration` - The Revisions' Keto Namespace Configuration The string is a URL pointing to an OPL file with the configuration. + should("test ketoNamespaceConfiguration") { + // uncomment below to test the property + //modelInstance.ketoNamespaceConfiguration shouldBe ("TODO") + } + + // to test the property `ketoNamespaces` + should("test ketoNamespaces") { + // uncomment below to test the property + //modelInstance.ketoNamespaces shouldBe ("TODO") + } + + // to test the property `kratosCookiesSameSite` - Configures the Ory Kratos Cookie SameSite Attribute This governs the \"cookies.same_site\" setting. + should("test kratosCookiesSameSite") { + // uncomment below to test the property + //modelInstance.kratosCookiesSameSite shouldBe ("TODO") + } + + // to test the property `kratosCourierChannels` + should("test kratosCourierChannels") { + // uncomment below to test the property + //modelInstance.kratosCourierChannels shouldBe ("TODO") + } + + // to test the property `kratosCourierDeliveryStrategy` - The delivery strategy to use when sending emails `smtp`: Use SMTP server `http`: Use the built in HTTP client to send the email to some remote service + should("test kratosCourierDeliveryStrategy") { + // uncomment below to test the property + //modelInstance.kratosCourierDeliveryStrategy shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigAuthApiKeyIn` - The location of the API key to use in the HTTP email sending service's authentication `header`: Send the key value pair as a header `cookie`: Send the key value pair as a cookie This governs the \"courier.http.auth.config.in\" setting + should("test kratosCourierHttpRequestConfigAuthApiKeyIn") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigAuthApiKeyIn shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigAuthApiKeyName` - The name of the API key to use in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.name\" setting + should("test kratosCourierHttpRequestConfigAuthApiKeyName") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigAuthApiKeyName shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigAuthApiKeyValue` - The value of the API key to use in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.value\" setting + should("test kratosCourierHttpRequestConfigAuthApiKeyValue") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigAuthApiKeyValue shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigAuthBasicAuthPassword` - The password to use for basic auth in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.password\" setting + should("test kratosCourierHttpRequestConfigAuthBasicAuthPassword") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigAuthBasicAuthPassword shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigAuthBasicAuthUser` - The user to use for basic auth in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.user\" setting + should("test kratosCourierHttpRequestConfigAuthBasicAuthUser") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigAuthBasicAuthUser shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigAuthType` - The authentication type to use while contacting the remote HTTP email sending service `basic_auth`: Use Basic Authentication `api_key`: Use API Key Authentication in a header or cookie + should("test kratosCourierHttpRequestConfigAuthType") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigAuthType shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigBody` - The Jsonnet template to generate the body to send to the remote HTTP email sending service Should be valid Jsonnet and base64 encoded This governs the \"courier.http.body\" setting + should("test kratosCourierHttpRequestConfigBody") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigBody shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigHeaders` - NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- + should("test kratosCourierHttpRequestConfigHeaders") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigHeaders shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigMethod` - The http METHOD to use when calling the remote HTTP email sending service + should("test kratosCourierHttpRequestConfigMethod") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigMethod shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigUrl` - The URL of the remote HTTP email sending service This governs the \"courier.http.url\" setting + should("test kratosCourierHttpRequestConfigUrl") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigUrl shouldBe ("TODO") + } + + // to test the property `kratosCourierSmtpConnectionUri` - Configures the Ory Kratos SMTP Connection URI This governs the \"courier.smtp.connection_uri\" setting. + should("test kratosCourierSmtpConnectionUri") { + // uncomment below to test the property + //modelInstance.kratosCourierSmtpConnectionUri shouldBe ("TODO") + } + + // to test the property `kratosCourierSmtpFromAddress` - Configures the Ory Kratos SMTP From Address This governs the \"courier.smtp.from_address\" setting. + should("test kratosCourierSmtpFromAddress") { + // uncomment below to test the property + //modelInstance.kratosCourierSmtpFromAddress shouldBe ("TODO") + } + + // to test the property `kratosCourierSmtpFromName` - Configures the Ory Kratos SMTP From Name This governs the \"courier.smtp.from_name\" setting. + should("test kratosCourierSmtpFromName") { + // uncomment below to test the property + //modelInstance.kratosCourierSmtpFromName shouldBe ("TODO") + } + + // to test the property `kratosCourierSmtpHeaders` - NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- + should("test kratosCourierSmtpHeaders") { + // uncomment below to test the property + //modelInstance.kratosCourierSmtpHeaders shouldBe ("TODO") + } + + // to test the property `kratosCourierSmtpLocalName` - Configures the local_name to use in SMTP connections This governs the \"courier.smtp.local_name\" setting. + should("test kratosCourierSmtpLocalName") { + // uncomment below to test the property + //modelInstance.kratosCourierSmtpLocalName shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesLoginCodeValidEmailBodyHtml` - Configures the Ory Kratos Valid Login via Code Email Body HTML Template This governs the \"courier.smtp.templates.login_code.valid.email.body.html\" setting. + should("test kratosCourierTemplatesLoginCodeValidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesLoginCodeValidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesLoginCodeValidEmailBodyPlaintext` - Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.login_code.valid.email.body.plaintext\" setting. + should("test kratosCourierTemplatesLoginCodeValidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesLoginCodeValidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesLoginCodeValidEmailSubject` - Configures the Ory Kratos Valid Login via Code Email Subject Template This governs the \"courier.smtp.templates.login_code.valid.email.subject\" setting. + should("test kratosCourierTemplatesLoginCodeValidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesLoginCodeValidEmailSubject shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesLoginCodeValidSmsBodyPlaintext` - Configures the Ory Kratos Valid Login via Code SMS plain text body This governs the \"courier.smtp.templates.login_code.valid.sms.plaintext\" setting. + should("test kratosCourierTemplatesLoginCodeValidSmsBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesLoginCodeValidSmsBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryCodeInvalidEmailBodyHtml` - Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting. + should("test kratosCourierTemplatesRecoveryCodeInvalidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryCodeInvalidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryCodeInvalidEmailBodyPlaintext` - Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.plaintext\" setting. + should("test kratosCourierTemplatesRecoveryCodeInvalidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryCodeInvalidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryCodeInvalidEmailSubject` - Configures the Ory Kratos Invalid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting. + should("test kratosCourierTemplatesRecoveryCodeInvalidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryCodeInvalidEmailSubject shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryCodeValidEmailBodyHtml` - Configures the Ory Kratos Valid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.valid.email.body.html\" setting. + should("test kratosCourierTemplatesRecoveryCodeValidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryCodeValidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryCodeValidEmailBodyPlaintext` - Configures the Ory Kratos Valid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.valid.email.body.plaintext\" setting. + should("test kratosCourierTemplatesRecoveryCodeValidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryCodeValidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryCodeValidEmailSubject` - Configures the Ory Kratos Valid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.valid.email.subject\" setting. + should("test kratosCourierTemplatesRecoveryCodeValidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryCodeValidEmailSubject shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryInvalidEmailBodyHtml` - Configures the Ory Kratos Invalid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting. + should("test kratosCourierTemplatesRecoveryInvalidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryInvalidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryInvalidEmailBodyPlaintext` - Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.plaintext\" setting. + should("test kratosCourierTemplatesRecoveryInvalidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryInvalidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryInvalidEmailSubject` - Configures the Ory Kratos Invalid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting. + should("test kratosCourierTemplatesRecoveryInvalidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryInvalidEmailSubject shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryValidEmailBodyHtml` - Configures the Ory Kratos Valid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.valid.email.body.html\" setting. + should("test kratosCourierTemplatesRecoveryValidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryValidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryValidEmailBodyPlaintext` - Configures the Ory Kratos Valid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting. + should("test kratosCourierTemplatesRecoveryValidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryValidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryValidEmailSubject` - Configures the Ory Kratos Valid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.valid.email.subject\" setting. + should("test kratosCourierTemplatesRecoveryValidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryValidEmailSubject shouldBe ("TODO") + } + + // to test the property `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. + should("test kratosCourierTemplatesRegistrationCodeValidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRegistrationCodeValidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `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. + should("test kratosCourierTemplatesRegistrationCodeValidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRegistrationCodeValidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRegistrationCodeValidEmailSubject` - Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.smtp.templates.registration_code.valid.email.subject\" setting. + should("test kratosCourierTemplatesRegistrationCodeValidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRegistrationCodeValidEmailSubject shouldBe ("TODO") + } + + // to test the property `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. + should("test kratosCourierTemplatesRegistrationCodeValidSmsBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRegistrationCodeValidSmsBodyPlaintext shouldBe ("TODO") + } + + // to test the property `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. + should("test kratosCourierTemplatesVerificationCodeInvalidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationCodeInvalidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `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. + should("test kratosCourierTemplatesVerificationCodeInvalidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationCodeInvalidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationCodeInvalidEmailSubject` - Configures the Ory Kratos Invalid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.invalid.email.subject\" setting. + should("test kratosCourierTemplatesVerificationCodeInvalidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationCodeInvalidEmailSubject shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationCodeValidEmailBodyHtml` - Configures the Ory Kratos Valid Verification via Code Email Body HTML Template This governs the \"courier.smtp.templates.verification_code.valid.email.body.html\" setting. + should("test kratosCourierTemplatesVerificationCodeValidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationCodeValidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationCodeValidEmailBodyPlaintext` - Configures the Ory Kratos Valid Verification via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.verification_code.valid.email.body.plaintext\" setting. + should("test kratosCourierTemplatesVerificationCodeValidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationCodeValidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationCodeValidEmailSubject` - Configures the Ory Kratos Valid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.valid.email.subject\" setting. + should("test kratosCourierTemplatesVerificationCodeValidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationCodeValidEmailSubject shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationCodeValidSmsBodyPlaintext` - Configures the Ory Kratos Valid Verification via Code SMS Body Plaintext This governs the \"courier.smtp.templates.verification_code.valid.sms.body.plaintext\" setting. + should("test kratosCourierTemplatesVerificationCodeValidSmsBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationCodeValidSmsBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationInvalidEmailBodyHtml` - Configures the Ory Kratos Invalid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.invalid.email.body.html\" setting. + should("test kratosCourierTemplatesVerificationInvalidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationInvalidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationInvalidEmailBodyPlaintext` - Configures the Ory Kratos Invalid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.verification.invalid.email.body.plaintext\" setting. + should("test kratosCourierTemplatesVerificationInvalidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationInvalidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationInvalidEmailSubject` - Configures the Ory Kratos Invalid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.invalid.email.subject\" setting. + should("test kratosCourierTemplatesVerificationInvalidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationInvalidEmailSubject shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationValidEmailBodyHtml` - Configures the Ory Kratos Valid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.valid.email.body.html\" setting. + should("test kratosCourierTemplatesVerificationValidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationValidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationValidEmailBodyPlaintext` - Configures the Ory Kratos Valid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.verification.valid.email.body.plaintext\" setting. + should("test kratosCourierTemplatesVerificationValidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationValidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationValidEmailSubject` - Configures the Ory Kratos Valid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.valid.email.subject\" setting. + should("test kratosCourierTemplatesVerificationValidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationValidEmailSubject shouldBe ("TODO") + } + + // to test the property `kratosFeatureFlagsCacheableSessions` - Configures the Ory Kratos Session caching feature flag This governs the \"feature_flags.cacheable_sessions\" setting. + should("test kratosFeatureFlagsCacheableSessions") { + // uncomment below to test the property + //modelInstance.kratosFeatureFlagsCacheableSessions shouldBe ("TODO") + } + + // to test the property `kratosFeatureFlagsCacheableSessionsMaxAge` - Configures the Ory Kratos Session caching max-age feature flag This governs the \"feature_flags.cacheable_sessions_max_age\" setting. + should("test kratosFeatureFlagsCacheableSessionsMaxAge") { + // uncomment below to test the property + //modelInstance.kratosFeatureFlagsCacheableSessionsMaxAge shouldBe ("TODO") + } + + // to test the property `kratosFeatureFlagsFasterSessionExtend` - Configures the Ory Kratos Faster Session Extend setting If enabled allows faster session extension by skipping the session lookup and returning 201 instead of 200. Disabling this feature will be deprecated in the future. This governs the \"feature_flags.faster_session_extend\" setting. + should("test kratosFeatureFlagsFasterSessionExtend") { + // uncomment below to test the property + //modelInstance.kratosFeatureFlagsFasterSessionExtend shouldBe ("TODO") + } + + // to test the property `kratosFeatureFlagsUseContinueWithTransitions` - Configures the Ory Kratos Session use_continue_with_transitions flag This governs the \"feature_flags.use_continue_with_transitions\" setting. + should("test kratosFeatureFlagsUseContinueWithTransitions") { + // uncomment below to test the property + //modelInstance.kratosFeatureFlagsUseContinueWithTransitions shouldBe ("TODO") + } + + // to test the property `kratosIdentitySchemas` + should("test kratosIdentitySchemas") { + // uncomment below to test the property + //modelInstance.kratosIdentitySchemas shouldBe ("TODO") + } + + // to test the property `kratosOauth2ProviderHeaders` - NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- + should("test kratosOauth2ProviderHeaders") { + // uncomment below to test the property + //modelInstance.kratosOauth2ProviderHeaders shouldBe ("TODO") + } + + // to test the property `kratosOauth2ProviderOverrideReturnTo` - Kratos OAuth2 Provider Override Return To Enabling this allows Kratos to set the return_to parameter automatically to the OAuth2 request URL on the login flow, allowing complex flows such as recovery to continue to the initial OAuth2 flow. + should("test kratosOauth2ProviderOverrideReturnTo") { + // uncomment below to test the property + //modelInstance.kratosOauth2ProviderOverrideReturnTo shouldBe ("TODO") + } + + // to test the property `kratosOauth2ProviderUrl` - The Revisions' OAuth2 Provider Integration URL This governs the \"oauth2_provider.url\" setting. + should("test kratosOauth2ProviderUrl") { + // uncomment below to test the property + //modelInstance.kratosOauth2ProviderUrl shouldBe ("TODO") + } + + // to test the property `kratosPreviewDefaultReadConsistencyLevel` - Configures the default read consistency level for identity APIs This governs the `preview.default_read_consistency_level` setting. 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. 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` Defaults to \"strong\" for new and existing projects. This feature is in preview. Use with caution. + should("test kratosPreviewDefaultReadConsistencyLevel") { + // uncomment below to test the property + //modelInstance.kratosPreviewDefaultReadConsistencyLevel shouldBe ("TODO") + } + + // to test the property `kratosSecretsCipher` + should("test kratosSecretsCipher") { + // uncomment below to test the property + //modelInstance.kratosSecretsCipher shouldBe ("TODO") + } + + // to test the property `kratosSecretsCookie` + should("test kratosSecretsCookie") { + // uncomment below to test the property + //modelInstance.kratosSecretsCookie shouldBe ("TODO") + } + + // to test the property `kratosSecretsDefault` + should("test kratosSecretsDefault") { + // uncomment below to test the property + //modelInstance.kratosSecretsDefault shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceAllowedReturnUrls` + should("test kratosSelfserviceAllowedReturnUrls") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceAllowedReturnUrls shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceDefaultBrowserReturnUrl` - Configures the Ory Kratos Default Return URL This governs the \"selfservice.allowed_return_urls\" setting. + should("test kratosSelfserviceDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsErrorUiUrl` - Configures the Ory Kratos Error UI URL This governs the \"selfservice.flows.error.ui_url\" setting. + should("test kratosSelfserviceFlowsErrorUiUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsErrorUiUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginAfterCodeDefaultBrowserReturnUrl` - Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.code.after.password.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsLoginAfterCodeDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginAfterCodeDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginAfterDefaultBrowserReturnUrl` - Configures the Ory Kratos Login Default Return URL This governs the \"selfservice.flows.login.after.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsLoginAfterDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginAfterDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginAfterLookupSecretDefaultBrowserReturnUrl` - Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.lookup_secret.after.password.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsLoginAfterLookupSecretDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginAfterLookupSecretDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginAfterOidcDefaultBrowserReturnUrl` - Configures the Ory Kratos Login After OIDC Default Return URL This governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsLoginAfterOidcDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginAfterOidcDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginAfterPasskeyDefaultBrowserReturnUrl` - Configures the Ory Kratos Login After Passkey Default Return URL This governs the \"selfservice.flows.login.after.passkey.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsLoginAfterPasskeyDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginAfterPasskeyDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginAfterPasswordDefaultBrowserReturnUrl` - Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsLoginAfterPasswordDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginAfterPasswordDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginAfterTotpDefaultBrowserReturnUrl` - Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.totp.after.password.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsLoginAfterTotpDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginAfterTotpDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginAfterWebauthnDefaultBrowserReturnUrl` - Configures the Ory Kratos Login After WebAuthn Default Return URL This governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsLoginAfterWebauthnDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginAfterWebauthnDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginLifespan` - Configures the Ory Kratos Login Lifespan This governs the \"selfservice.flows.login.lifespan\" setting. + should("test kratosSelfserviceFlowsLoginLifespan") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginLifespan shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginUiUrl` - Configures the Ory Kratos Login UI URL This governs the \"selfservice.flows.login.ui_url\" setting. + should("test kratosSelfserviceFlowsLoginUiUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginUiUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLogoutAfterDefaultBrowserReturnUrl` - Configures the Ory Kratos Logout Default Return URL This governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsLogoutAfterDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLogoutAfterDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRecoveryAfterDefaultBrowserReturnUrl` - Configures the Ory Kratos Recovery Default Return URL This governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsRecoveryAfterDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRecoveryAfterDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRecoveryEnabled` - Configures the Ory Kratos Recovery Enabled Setting This governs the \"selfservice.flows.recovery.enabled\" setting. + should("test kratosSelfserviceFlowsRecoveryEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRecoveryEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRecoveryLifespan` - Configures the Ory Kratos Recovery Lifespan This governs the \"selfservice.flows.recovery.lifespan\" setting. + should("test kratosSelfserviceFlowsRecoveryLifespan") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRecoveryLifespan shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRecoveryNotifyUnknownRecipients` - Configures whether to notify unknown recipients of a Ory Kratos recovery flow This governs the \"selfservice.flows.recovery.notify_unknown_recipients\" setting. + should("test kratosSelfserviceFlowsRecoveryNotifyUnknownRecipients") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRecoveryNotifyUnknownRecipients shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRecoveryUiUrl` - Configures the Ory Kratos Recovery UI URL This governs the \"selfservice.flows.recovery.ui_url\" setting. + should("test kratosSelfserviceFlowsRecoveryUiUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRecoveryUiUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRecoveryUse` - Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\") This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode + should("test kratosSelfserviceFlowsRecoveryUse") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRecoveryUse shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationAfterCodeDefaultBrowserReturnUrl` - Configures the Ory Kratos Registration After Code Default Return URL This governs the \"selfservice.flows.registration.after.code.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsRegistrationAfterCodeDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationAfterCodeDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationAfterDefaultBrowserReturnUrl` - Configures the Ory Kratos Registration Default Return URL This governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsRegistrationAfterDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationAfterDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationAfterOidcDefaultBrowserReturnUrl` - Configures the Ory Kratos Registration After OIDC Default Return URL This governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsRegistrationAfterOidcDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationAfterOidcDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationAfterPasskeyDefaultBrowserReturnUrl` - Configures the Ory Kratos Registration After Passkey Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsRegistrationAfterPasskeyDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationAfterPasskeyDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationAfterPasswordDefaultBrowserReturnUrl` - Configures the Ory Kratos Registration After Password Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsRegistrationAfterPasswordDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationAfterPasswordDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationAfterWebauthnDefaultBrowserReturnUrl` - Configures the Ory Kratos Registration After Webauthn Default Return URL This governs the \"selfservice.flows.registration.after.webauthn.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsRegistrationAfterWebauthnDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationAfterWebauthnDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationEnableLegacyOneStep` - Disable two-step registration Two-step registration is a significantly improved sign up flow and recommended when using more than one sign up methods. To revert to one-step registration, set this to `true`. This governs the \"selfservice.flows.registration.enable_legacy_one_step\" setting. + should("test kratosSelfserviceFlowsRegistrationEnableLegacyOneStep") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationEnableLegacyOneStep shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationEnabled` - Configures the Whether Ory Kratos Registration is Enabled This governs the \"selfservice.flows.registration.enabled\" setting.0 + should("test kratosSelfserviceFlowsRegistrationEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationLifespan` - Configures the Ory Kratos Registration Lifespan This governs the \"selfservice.flows.registration.lifespan\" setting. + should("test kratosSelfserviceFlowsRegistrationLifespan") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationLifespan shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationLoginHints` - Configures the Ory Kratos Registration Login Hints Shows helpful information when a user tries to sign up with a duplicate account. This governs the \"selfservice.flows.registration.login_hints\" setting. + should("test kratosSelfserviceFlowsRegistrationLoginHints") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationLoginHints shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationUiUrl` - Configures the Ory Kratos Registration UI URL This governs the \"selfservice.flows.registration.ui_url\" setting. + should("test kratosSelfserviceFlowsRegistrationUiUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationUiUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsAfterDefaultBrowserReturnUrl` - Configures the Ory Kratos Settings Default Return URL This governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsSettingsAfterDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsAfterDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsAfterLookupSecretDefaultBrowserReturnUrl` - Configures the Ory Kratos Settings Default Return URL After Updating Lookup Secrets This governs the \"selfservice.flows.settings.after.lookup_secret.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsSettingsAfterLookupSecretDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsAfterLookupSecretDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsAfterOidcDefaultBrowserReturnUrl` - Configures the Ory Kratos Settings Default Return URL After Updating Social Sign In This governs the \"selfservice.flows.settings.after.oidc.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsSettingsAfterOidcDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsAfterOidcDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsAfterPasskeyDefaultBrowserReturnUrl` - Configures the Ory Kratos Settings Default Return URL After Updating Passkey This governs the \"selfservice.flows.settings.after.passkey.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsSettingsAfterPasskeyDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsAfterPasskeyDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsAfterPasswordDefaultBrowserReturnUrl` - Configures the Ory Kratos Settings Default Return URL After Updating Passwords This governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsSettingsAfterPasswordDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsAfterPasswordDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsAfterProfileDefaultBrowserReturnUrl` - Configures the Ory Kratos Settings Default Return URL After Updating Profiles This governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsSettingsAfterProfileDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsAfterProfileDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsAfterTotpDefaultBrowserReturnUrl` - Configures the Ory Kratos Settings Default Return URL After Updating TOTP This governs the \"selfservice.flows.settings.after.totp.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsSettingsAfterTotpDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsAfterTotpDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsAfterWebauthnDefaultBrowserReturnUrl` - Configures the Ory Kratos Settings Default Return URL After Updating WebAuthn This governs the \"selfservice.flows.settings.after.webauthn.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsSettingsAfterWebauthnDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsAfterWebauthnDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsLifespan` - Configures the Ory Kratos Settings Lifespan This governs the \"selfservice.flows.settings.lifespan\" setting. + should("test kratosSelfserviceFlowsSettingsLifespan") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsLifespan shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsPrivilegedSessionMaxAge` - Configures the Ory Kratos Settings Privileged Session Max Age This governs the \"selfservice.flows.settings.privileged_session_max_age\" setting. + should("test kratosSelfserviceFlowsSettingsPrivilegedSessionMaxAge") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsPrivilegedSessionMaxAge shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsRequiredAal` - Configures the Ory Kratos Settings Required AAL This governs the \"selfservice.flows.settings.required_aal\" setting. + should("test kratosSelfserviceFlowsSettingsRequiredAal") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsRequiredAal shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsUiUrl` - Configures the Ory Kratos Settings UI URL This governs the \"selfservice.flows.settings.ui_url\" setting. + should("test kratosSelfserviceFlowsSettingsUiUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsUiUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsVerificationAfterDefaultBrowserReturnUrl` - Configures the Ory Kratos Verification Default Return URL This governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsVerificationAfterDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsVerificationAfterDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsVerificationEnabled` - Configures the Ory Kratos Verification Enabled Setting This governs the \"selfservice.flows.verification.enabled\" setting. + should("test kratosSelfserviceFlowsVerificationEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsVerificationEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsVerificationLifespan` - Configures the Ory Kratos Verification Lifespan This governs the \"selfservice.flows.verification.lifespan\" setting. + should("test kratosSelfserviceFlowsVerificationLifespan") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsVerificationLifespan shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsVerificationNotifyUnknownRecipients` - Configures whether to notify unknown recipients of a Ory Kratos verification flow This governs the \"selfservice.flows.verification.notify_unknown_recipients\" setting. + should("test kratosSelfserviceFlowsVerificationNotifyUnknownRecipients") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsVerificationNotifyUnknownRecipients shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsVerificationUiUrl` - Configures the Ory Kratos Verification UI URL This governs the \"selfservice.flows.verification.ui_url\" setting. + should("test kratosSelfserviceFlowsVerificationUiUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsVerificationUiUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsVerificationUse` - Configures the Ory Kratos Strategy to use for Verification This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode + should("test kratosSelfserviceFlowsVerificationUse") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsVerificationUse shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsCodeConfigLifespan` - Configures the Ory Kratos Code Method's lifespan This governs the \"selfservice.methods.code.config.lifespan\" setting. + should("test kratosSelfserviceMethodsCodeConfigLifespan") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsCodeConfigLifespan shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsCodeConfigMissingCredentialFallbackEnabled` - Enables a fallback method required in certain legacy use cases. This governs the \"selfservice.methods.code.config.missing_credential_fallback_enabled\" setting. + should("test kratosSelfserviceMethodsCodeConfigMissingCredentialFallbackEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsCodeConfigMissingCredentialFallbackEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsCodeEnabled` - Configures whether Ory Kratos Code Method is enabled This governs the \"selfservice.methods.code.enabled\" setting. + should("test kratosSelfserviceMethodsCodeEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsCodeEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsCodeMfaEnabled` - Configures whether the code method can be used to fulfil MFA flows This governs the \"selfservice.methods.code.mfa_enabled\" setting. + should("test kratosSelfserviceMethodsCodeMfaEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsCodeMfaEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsCodePasswordlessEnabled` - Configures whether Ory Kratos Passwordless should use the Code Method This governs the \"selfservice.methods.code.passwordless_enabled\" setting. + should("test kratosSelfserviceMethodsCodePasswordlessEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsCodePasswordlessEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsCodePasswordlessLoginFallbackEnabled` - This setting allows the code method to always login a user with code if they have registered with another authentication method such as password or social sign in. This governs the \"selfservice.methods.code.passwordless_login_fallback_enabled\" setting. + should("test kratosSelfserviceMethodsCodePasswordlessLoginFallbackEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsCodePasswordlessLoginFallbackEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsLinkConfigBaseUrl` - Configures the Base URL which Recovery, Verification, and Login Links Point to It is recommended to leave this value empty. It will be appropriately configured to the best matching domain (e.g. when using custom domains) automatically. This governs the \"selfservice.methods.link.config.base_url\" setting. + should("test kratosSelfserviceMethodsLinkConfigBaseUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsLinkConfigBaseUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsLinkConfigLifespan` - Configures the Ory Kratos Link Method's lifespan This governs the \"selfservice.methods.link.config.lifespan\" setting. + should("test kratosSelfserviceMethodsLinkConfigLifespan") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsLinkConfigLifespan shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsLinkEnabled` - Configures whether Ory Kratos Link Method is enabled This governs the \"selfservice.methods.link.enabled\" setting. + should("test kratosSelfserviceMethodsLinkEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsLinkEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsLookupSecretEnabled` - Configures whether Ory Kratos TOTP Lookup Secret is enabled This governs the \"selfservice.methods.lookup_secret.enabled\" setting. + should("test kratosSelfserviceMethodsLookupSecretEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsLookupSecretEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsOidcConfigBaseRedirectUri` - Configures the Ory Kratos Third Party / OpenID Connect base redirect URI This governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting. + should("test kratosSelfserviceMethodsOidcConfigBaseRedirectUri") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsOidcConfigBaseRedirectUri shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsOidcConfigProviders` + should("test kratosSelfserviceMethodsOidcConfigProviders") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsOidcConfigProviders shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsOidcEnabled` - Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled This governs the \"selfservice.methods.oidc.enabled\" setting. + should("test kratosSelfserviceMethodsOidcEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsOidcEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasskeyConfigRpDisplayName` - Configures the Ory Kratos Passkey RP Display Name This governs the \"selfservice.methods.passkey.config.rp.display_name\" setting. + should("test kratosSelfserviceMethodsPasskeyConfigRpDisplayName") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasskeyConfigRpDisplayName shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasskeyConfigRpId` - Configures the Ory Kratos Passkey RP ID This governs the \"selfservice.methods.passkey.config.rp.id\" setting. + should("test kratosSelfserviceMethodsPasskeyConfigRpId") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasskeyConfigRpId shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasskeyConfigRpOrigins` + should("test kratosSelfserviceMethodsPasskeyConfigRpOrigins") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasskeyConfigRpOrigins shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasskeyEnabled` - Configures whether Ory Kratos Passkey authentication is enabled This governs the \"selfservice.methods.passkey.enabled\" setting. + should("test kratosSelfserviceMethodsPasskeyEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasskeyEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasswordConfigHaveibeenpwnedEnabled` - Configures whether Ory Kratos Password HIBP Checks is enabled This governs the \"selfservice.methods.password.config.haveibeenpwned_enabled\" setting. + should("test kratosSelfserviceMethodsPasswordConfigHaveibeenpwnedEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasswordConfigHaveibeenpwnedEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasswordConfigIdentifierSimilarityCheckEnabled` - Configures whether Ory Kratos Password should disable the similarity policy. This governs the \"selfservice.methods.password.config.identifier_similarity_check_enabled\" setting. + should("test kratosSelfserviceMethodsPasswordConfigIdentifierSimilarityCheckEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasswordConfigIdentifierSimilarityCheckEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasswordConfigIgnoreNetworkErrors` - Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors This governs the \"selfservice.methods.password.config.ignore_network_errors\" setting. + should("test kratosSelfserviceMethodsPasswordConfigIgnoreNetworkErrors") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasswordConfigIgnoreNetworkErrors shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasswordConfigMaxBreaches` - Configures Ory Kratos Password Max Breaches Detection This governs the \"selfservice.methods.password.config.max_breaches\" setting. + should("test kratosSelfserviceMethodsPasswordConfigMaxBreaches") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasswordConfigMaxBreaches shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasswordConfigMinPasswordLength` - Configures the minimum length of passwords. This governs the \"selfservice.methods.password.config.min_password_length\" setting. + should("test kratosSelfserviceMethodsPasswordConfigMinPasswordLength") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasswordConfigMinPasswordLength shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasswordEnabled` - Configures whether Ory Kratos Password Method is enabled This governs the \"selfservice.methods.password.enabled\" setting. + should("test kratosSelfserviceMethodsPasswordEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasswordEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsProfileEnabled` - Configures whether Ory Kratos Profile Method is enabled This governs the \"selfservice.methods.profile.enabled\" setting. + should("test kratosSelfserviceMethodsProfileEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsProfileEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsTotpConfigIssuer` - Configures Ory Kratos TOTP Issuer This governs the \"selfservice.methods.totp.config.issuer\" setting. + should("test kratosSelfserviceMethodsTotpConfigIssuer") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsTotpConfigIssuer shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsTotpEnabled` - Configures whether Ory Kratos TOTP Method is enabled This governs the \"selfservice.methods.totp.enabled\" setting. + should("test kratosSelfserviceMethodsTotpEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsTotpEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsWebauthnConfigPasswordless` - Configures whether Ory Kratos Webauthn is used for passwordless flows This governs the \"selfservice.methods.webauthn.config.passwordless\" setting. + should("test kratosSelfserviceMethodsWebauthnConfigPasswordless") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsWebauthnConfigPasswordless shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsWebauthnConfigRpDisplayName` - Configures the Ory Kratos Webauthn RP Display Name This governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting. + should("test kratosSelfserviceMethodsWebauthnConfigRpDisplayName") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsWebauthnConfigRpDisplayName shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsWebauthnConfigRpIcon` - Configures the Ory Kratos Webauthn RP Icon This governs the \"selfservice.methods.webauthn.config.rp.icon\" setting. Deprecated: This value will be ignored due to security considerations. + should("test kratosSelfserviceMethodsWebauthnConfigRpIcon") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsWebauthnConfigRpIcon shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsWebauthnConfigRpId` - Configures the Ory Kratos Webauthn RP ID This governs the \"selfservice.methods.webauthn.config.rp.id\" setting. + should("test kratosSelfserviceMethodsWebauthnConfigRpId") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsWebauthnConfigRpId shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsWebauthnConfigRpOrigins` + should("test kratosSelfserviceMethodsWebauthnConfigRpOrigins") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsWebauthnConfigRpOrigins shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsWebauthnEnabled` - Configures whether Ory Kratos Webauthn is enabled This governs the \"selfservice.methods.webauthn.enabled\" setting. + should("test kratosSelfserviceMethodsWebauthnEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsWebauthnEnabled shouldBe ("TODO") + } + + // to test the property `kratosSessionCookiePersistent` - Configures the Ory Kratos Session Cookie Persistent Attribute This governs the \"session.cookie.persistent\" setting. + should("test kratosSessionCookiePersistent") { + // uncomment below to test the property + //modelInstance.kratosSessionCookiePersistent shouldBe ("TODO") + } + + // to test the property `kratosSessionCookieSameSite` - Configures the Ory Kratos Session Cookie SameSite Attribute This governs the \"session.cookie.same_site\" setting. + should("test kratosSessionCookieSameSite") { + // uncomment below to test the property + //modelInstance.kratosSessionCookieSameSite shouldBe ("TODO") + } + + // to test the property `kratosSessionLifespan` - Configures the Ory Kratos Session Lifespan This governs the \"session.lifespan\" setting. + should("test kratosSessionLifespan") { + // uncomment below to test the property + //modelInstance.kratosSessionLifespan shouldBe ("TODO") + } + + // to test the property `kratosSessionWhoamiRequiredAal` - Configures the Ory Kratos Session Whoami AAL requirement This governs the \"session.whoami.required_aal\" setting. + should("test kratosSessionWhoamiRequiredAal") { + // uncomment below to test the property + //modelInstance.kratosSessionWhoamiRequiredAal shouldBe ("TODO") + } + + // to test the property `kratosSessionWhoamiTokenizerTemplates` + should("test kratosSessionWhoamiTokenizerTemplates") { + // uncomment below to test the property + //modelInstance.kratosSessionWhoamiTokenizerTemplates shouldBe ("TODO") + } + + // to test the property `projectId` - The Revision's Project ID + should("test projectId") { + // uncomment below to test the property + //modelInstance.projectId shouldBe ("TODO") + } + + // to test the property `projectRevisionHooks` + should("test projectRevisionHooks") { + // uncomment below to test the property + //modelInstance.projectRevisionHooks shouldBe ("TODO") + } + + // to test the property `serveAdminCorsAllowedOrigins` + should("test serveAdminCorsAllowedOrigins") { + // uncomment below to test the property + //modelInstance.serveAdminCorsAllowedOrigins shouldBe ("TODO") + } + + // to test the property `serveAdminCorsEnabled` - Enable CORS headers on all admin APIs This governs the \"serve.admin.cors.enabled\" setting. + should("test serveAdminCorsEnabled") { + // uncomment below to test the property + //modelInstance.serveAdminCorsEnabled shouldBe ("TODO") + } + + // to test the property `servePublicCorsAllowedOrigins` + should("test servePublicCorsAllowedOrigins") { + // uncomment below to test the property + //modelInstance.servePublicCorsAllowedOrigins shouldBe ("TODO") + } + + // to test the property `servePublicCorsEnabled` - Enable CORS headers on all public APIs This governs the \"serve.public.cors.enabled\" setting. + should("test servePublicCorsEnabled") { + // uncomment below to test the property + //modelInstance.servePublicCorsEnabled shouldBe ("TODO") + } + + // to test the property `strictSecurity` - Whether the project should employ strict security measures. Setting this to true is recommended for going into production. + should("test strictSecurity") { + // uncomment below to test the property + //modelInstance.strictSecurity shouldBe ("TODO") + } + + // to test the property `updatedAt` - Last Time Project's Revision was Updated + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `workspaceId` + should("test workspaceId") { + // uncomment below to test the property + //modelInstance.workspaceId shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRecoveryCodeForIdentityBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRecoveryCodeForIdentityBodyTest.kt new file mode 100644 index 00000000000..bcfcb118e01 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRecoveryCodeForIdentityBodyTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateRecoveryCodeForIdentityBody + +class CreateRecoveryCodeForIdentityBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateRecoveryCodeForIdentityBody + //val modelInstance = CreateRecoveryCodeForIdentityBody() + + // to test the property `identityId` - Identity to Recover The identity's ID you wish to recover. + should("test identityId") { + // uncomment below to test the property + //modelInstance.identityId shouldBe ("TODO") + } + + // to test the property `expiresIn` - Code Expires In The recovery code will expire after that amount of time has passed. Defaults to the configuration value of `selfservice.methods.code.config.lifespan`. + should("test expiresIn") { + // uncomment below to test the property + //modelInstance.expiresIn shouldBe ("TODO") + } + + // to test the property `flowType` - The flow type can either be `api` or `browser`. + should("test flowType") { + // uncomment below to test the property + //modelInstance.flowType shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRecoveryLinkForIdentityBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRecoveryLinkForIdentityBodyTest.kt new file mode 100644 index 00000000000..276109b0fe0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRecoveryLinkForIdentityBodyTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateRecoveryLinkForIdentityBody + +class CreateRecoveryLinkForIdentityBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateRecoveryLinkForIdentityBody + //val modelInstance = CreateRecoveryLinkForIdentityBody() + + // to test the property `identityId` - Identity to Recover The identity's ID you wish to recover. + should("test identityId") { + // uncomment below to test the property + //modelInstance.identityId shouldBe ("TODO") + } + + // to test the property `expiresIn` - Link Expires In The recovery link will expire after that amount of time has passed. Defaults to the configuration value of `selfservice.methods.code.config.lifespan`. + should("test expiresIn") { + // uncomment below to test the property + //modelInstance.expiresIn shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRelationshipBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRelationshipBodyTest.kt new file mode 100644 index 00000000000..2c06a043131 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateRelationshipBodyTest.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateRelationshipBody +import sh.ory.client-kotlin-multiplatform.models.SubjectSet + +class CreateRelationshipBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateRelationshipBody + //val modelInstance = CreateRelationshipBody() + + // to test the property `namespace` - Namespace to query + should("test namespace") { + // uncomment below to test the property + //modelInstance.namespace shouldBe ("TODO") + } + + // to test the property ``object`` - Object to query + should("test `object`") { + // uncomment below to test the property + //modelInstance.`object` shouldBe ("TODO") + } + + // to test the property `relation` - Relation to query + should("test relation") { + // uncomment below to test the property + //modelInstance.relation shouldBe ("TODO") + } + + // to test the property `subjectId` - SubjectID to query Either SubjectSet or SubjectID can be provided. + should("test subjectId") { + // uncomment below to test the property + //modelInstance.subjectId shouldBe ("TODO") + } + + // to test the property `subjectSet` + should("test subjectSet") { + // uncomment below to test the property + //modelInstance.subjectSet shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateSubscriptionBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateSubscriptionBodyTest.kt new file mode 100644 index 00000000000..e33ca9b3f98 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateSubscriptionBodyTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateSubscriptionBody + +class CreateSubscriptionBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateSubscriptionBody + //val modelInstance = CreateSubscriptionBody() + + // to test the property `interval` - monthly Monthly yearly Yearly + should("test interval") { + // uncomment below to test the property + //modelInstance.interval shouldBe ("TODO") + } + + // to test the property `plan` + should("test plan") { + // uncomment below to test the property + //modelInstance.plan shouldBe ("TODO") + } + + // to test the property `provisionFirstProject` + should("test provisionFirstProject") { + // uncomment below to test the property + //modelInstance.provisionFirstProject shouldBe ("TODO") + } + + // to test the property `currency` - usd USD eur Euro + should("test currency") { + // uncomment below to test the property + //modelInstance.currency shouldBe ("TODO") + } + + // to test the property `returnTo` + should("test returnTo") { + // uncomment below to test the property + //modelInstance.returnTo shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateSubscriptionCommonTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateSubscriptionCommonTest.kt new file mode 100644 index 00000000000..6121f44d7b4 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateSubscriptionCommonTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateSubscriptionCommon + +class CreateSubscriptionCommonTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateSubscriptionCommon + //val modelInstance = CreateSubscriptionCommon() + + // to test the property `interval` - monthly Monthly yearly Yearly + should("test interval") { + // uncomment below to test the property + //modelInstance.interval shouldBe ("TODO") + } + + // to test the property `plan` + should("test plan") { + // uncomment below to test the property + //modelInstance.plan shouldBe ("TODO") + } + + // to test the property `currency` - usd USD eur Euro + should("test currency") { + // uncomment below to test the property + //modelInstance.currency shouldBe ("TODO") + } + + // to test the property `returnTo` + should("test returnTo") { + // uncomment below to test the property + //modelInstance.returnTo shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateVerifiableCredentialRequestBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateVerifiableCredentialRequestBodyTest.kt new file mode 100644 index 00000000000..9941b0a3151 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateVerifiableCredentialRequestBodyTest.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateVerifiableCredentialRequestBody +import sh.ory.client-kotlin-multiplatform.models.VerifiableCredentialProof + +class CreateVerifiableCredentialRequestBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateVerifiableCredentialRequestBody + //val modelInstance = CreateVerifiableCredentialRequestBody() + + // to test the property `format` + should("test format") { + // uncomment below to test the property + //modelInstance.format shouldBe ("TODO") + } + + // to test the property `proof` + should("test proof") { + // uncomment below to test the property + //modelInstance.proof shouldBe ("TODO") + } + + // to test the property `types` + should("test types") { + // uncomment below to test the property + //modelInstance.types shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceApiKeyBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceApiKeyBodyTest.kt new file mode 100644 index 00000000000..40db1dd406a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceApiKeyBodyTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateWorkspaceApiKeyBody + +class CreateWorkspaceApiKeyBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateWorkspaceApiKeyBody + //val modelInstance = CreateWorkspaceApiKeyBody() + + // to test the property `name` - The API Key Name A descriptive name for the API key. + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `expiresAt` + should("test expiresAt") { + // uncomment below to test the property + //modelInstance.expiresAt shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceBodyTest.kt new file mode 100644 index 00000000000..f615000fdc9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceBodyTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateWorkspaceBody + +class CreateWorkspaceBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateWorkspaceBody + //val modelInstance = CreateWorkspaceBody() + + // to test the property `name` - The name of the workspace + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceMemberInviteBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceMemberInviteBodyTest.kt new file mode 100644 index 00000000000..0bcd92bec25 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceMemberInviteBodyTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateWorkspaceMemberInviteBody + +class CreateWorkspaceMemberInviteBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateWorkspaceMemberInviteBody + //val modelInstance = CreateWorkspaceMemberInviteBody() + + // to test the property `inviteeEmail` - A email to invite + should("test inviteeEmail") { + // uncomment below to test the property + //modelInstance.inviteeEmail shouldBe ("TODO") + } + + // to test the property `role` - The role the user will have in the workspace owner WorkspaceMemberRoleOwner developer WorkspaceMemberRoleDeveloper + should("test role") { + // uncomment below to test the property + //modelInstance.role shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceSubscriptionBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceSubscriptionBodyTest.kt new file mode 100644 index 00000000000..506a93d9b70 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CreateWorkspaceSubscriptionBodyTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CreateWorkspaceSubscriptionBody + +class CreateWorkspaceSubscriptionBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of CreateWorkspaceSubscriptionBody + //val modelInstance = CreateWorkspaceSubscriptionBody() + + // to test the property `interval` - monthly Monthly yearly Yearly + should("test interval") { + // uncomment below to test the property + //modelInstance.interval shouldBe ("TODO") + } + + // to test the property `plan` + should("test plan") { + // uncomment below to test the property + //modelInstance.plan shouldBe ("TODO") + } + + // to test the property `currency` - usd USD eur Euro + should("test currency") { + // uncomment below to test the property + //modelInstance.currency shouldBe ("TODO") + } + + // to test the property `returnTo` + should("test returnTo") { + // uncomment below to test the property + //modelInstance.returnTo shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CredentialSupportedDraft00Test.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CredentialSupportedDraft00Test.kt new file mode 100644 index 00000000000..d615ff86d58 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CredentialSupportedDraft00Test.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CredentialSupportedDraft00 + +class CredentialSupportedDraft00Test : ShouldSpec() { + init { + // uncomment below to create an instance of CredentialSupportedDraft00 + //val modelInstance = CredentialSupportedDraft00() + + // to test the property `cryptographicBindingMethodsSupported` - OpenID Connect Verifiable Credentials Cryptographic Binding Methods Supported Contains a list of cryptographic binding methods supported for signing the proof. + should("test cryptographicBindingMethodsSupported") { + // uncomment below to test the property + //modelInstance.cryptographicBindingMethodsSupported shouldBe ("TODO") + } + + // to test the property `cryptographicSuitesSupported` - OpenID Connect Verifiable Credentials Cryptographic Suites Supported Contains a list of cryptographic suites methods supported for signing the proof. + should("test cryptographicSuitesSupported") { + // uncomment below to test the property + //modelInstance.cryptographicSuitesSupported shouldBe ("TODO") + } + + // to test the property `format` - OpenID Connect Verifiable Credentials Format Contains the format that is supported by this authorization server. + should("test format") { + // uncomment below to test the property + //modelInstance.format shouldBe ("TODO") + } + + // to test the property `types` - OpenID Connect Verifiable Credentials Types Contains the types of verifiable credentials supported. + should("test types") { + // uncomment below to test the property + //modelInstance.types shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CustomDomainTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CustomDomainTest.kt new file mode 100644 index 00000000000..9c330a31e08 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/CustomDomainTest.kt @@ -0,0 +1,95 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.CustomDomain + +class CustomDomainTest : ShouldSpec() { + init { + // uncomment below to create an instance of CustomDomain + //val modelInstance = CustomDomain() + + // to test the property `cookieDomain` + should("test cookieDomain") { + // uncomment below to test the property + //modelInstance.cookieDomain shouldBe ("TODO") + } + + // to test the property `corsAllowedOrigins` + should("test corsAllowedOrigins") { + // uncomment below to test the property + //modelInstance.corsAllowedOrigins shouldBe ("TODO") + } + + // to test the property `corsEnabled` + should("test corsEnabled") { + // uncomment below to test the property + //modelInstance.corsEnabled shouldBe ("TODO") + } + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `customUiBaseUrl` + should("test customUiBaseUrl") { + // uncomment below to test the property + //modelInstance.customUiBaseUrl shouldBe ("TODO") + } + + // to test the property `hostname` + should("test hostname") { + // uncomment below to test the property + //modelInstance.hostname shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `sslStatus` + should("test sslStatus") { + // uncomment below to test the property + //modelInstance.sslStatus shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `verificationErrors` + should("test verificationErrors") { + // uncomment below to test the property + //modelInstance.verificationErrors shouldBe ("TODO") + } + + // to test the property `verificationStatus` + should("test verificationStatus") { + // uncomment below to test the property + //modelInstance.verificationStatus shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/DeleteMySessionsCountTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/DeleteMySessionsCountTest.kt new file mode 100644 index 00000000000..10aa33e92d3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/DeleteMySessionsCountTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.DeleteMySessionsCount + +class DeleteMySessionsCountTest : ShouldSpec() { + init { + // uncomment below to create an instance of DeleteMySessionsCount + //val modelInstance = DeleteMySessionsCount() + + // to test the property `count` - The number of sessions that were revoked. + should("test count") { + // uncomment below to test the property + //modelInstance.count shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/EmailTemplateDataBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/EmailTemplateDataBodyTest.kt new file mode 100644 index 00000000000..c5d96135571 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/EmailTemplateDataBodyTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.EmailTemplateDataBody + +class EmailTemplateDataBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of EmailTemplateDataBody + //val modelInstance = EmailTemplateDataBody() + + // to test the property `html` + should("test html") { + // uncomment below to test the property + //modelInstance.html shouldBe ("TODO") + } + + // to test the property `plaintext` + should("test plaintext") { + // uncomment below to test the property + //modelInstance.plaintext shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/EmailTemplateDataTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/EmailTemplateDataTest.kt new file mode 100644 index 00000000000..88a7238aa9f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/EmailTemplateDataTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.EmailTemplateData +import sh.ory.client-kotlin-multiplatform.models.EmailTemplateDataBody + +class EmailTemplateDataTest : ShouldSpec() { + init { + // uncomment below to create an instance of EmailTemplateData + //val modelInstance = EmailTemplateData() + + // to test the property `body` + should("test body") { + // uncomment below to test the property + //modelInstance.body shouldBe ("TODO") + } + + // to test the property `subject` + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorAuthenticatorAssuranceLevelNotSatisfiedTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorAuthenticatorAssuranceLevelNotSatisfiedTest.kt new file mode 100644 index 00000000000..878045fb894 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorAuthenticatorAssuranceLevelNotSatisfiedTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ErrorAuthenticatorAssuranceLevelNotSatisfied +import sh.ory.client-kotlin-multiplatform.models.GenericError + +class ErrorAuthenticatorAssuranceLevelNotSatisfiedTest : ShouldSpec() { + init { + // uncomment below to create an instance of ErrorAuthenticatorAssuranceLevelNotSatisfied + //val modelInstance = ErrorAuthenticatorAssuranceLevelNotSatisfied() + + // to test the property `error` + should("test error") { + // uncomment below to test the property + //modelInstance.error shouldBe ("TODO") + } + + // to test the property `redirectBrowserTo` - Points to where to redirect the user to next. + should("test redirectBrowserTo") { + // uncomment below to test the property + //modelInstance.redirectBrowserTo shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorBrowserLocationChangeRequiredTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorBrowserLocationChangeRequiredTest.kt new file mode 100644 index 00000000000..9cc6d061688 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorBrowserLocationChangeRequiredTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ErrorBrowserLocationChangeRequired +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric + +class ErrorBrowserLocationChangeRequiredTest : ShouldSpec() { + init { + // uncomment below to create an instance of ErrorBrowserLocationChangeRequired + //val modelInstance = ErrorBrowserLocationChangeRequired() + + // to test the property `error` + should("test error") { + // uncomment below to test the property + //modelInstance.error shouldBe ("TODO") + } + + // to test the property `redirectBrowserTo` - Points to where to redirect the user to next. + should("test redirectBrowserTo") { + // uncomment below to test the property + //modelInstance.redirectBrowserTo shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorFlowReplacedTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorFlowReplacedTest.kt new file mode 100644 index 00000000000..00d649592ae --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorFlowReplacedTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ErrorFlowReplaced +import sh.ory.client-kotlin-multiplatform.models.GenericError + +class ErrorFlowReplacedTest : ShouldSpec() { + init { + // uncomment below to create an instance of ErrorFlowReplaced + //val modelInstance = ErrorFlowReplaced() + + // to test the property `error` + should("test error") { + // uncomment below to test the property + //modelInstance.error shouldBe ("TODO") + } + + // to test the property `useFlowId` - The flow ID that should be used for the new flow as it contains the correct messages. + should("test useFlowId") { + // uncomment below to test the property + //modelInstance.useFlowId shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorGenericTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorGenericTest.kt new file mode 100644 index 00000000000..5191b3a2d72 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorGenericTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ErrorGeneric +import sh.ory.client-kotlin-multiplatform.models.GenericErrorContent + +class ErrorGenericTest : ShouldSpec() { + init { + // uncomment below to create an instance of ErrorGeneric + //val modelInstance = ErrorGeneric() + + // to test the property `error` + should("test error") { + // uncomment below to test the property + //modelInstance.error shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorOAuth2Test.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorOAuth2Test.kt new file mode 100644 index 00000000000..d76d186af98 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ErrorOAuth2Test.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ErrorOAuth2 + +class ErrorOAuth2Test : ShouldSpec() { + init { + // uncomment below to create an instance of ErrorOAuth2 + //val modelInstance = ErrorOAuth2() + + // to test the property `error` - Error + should("test error") { + // uncomment below to test the property + //modelInstance.error shouldBe ("TODO") + } + + // to test the property `errorDebug` - Error Debug Information Only available in dev mode. + should("test errorDebug") { + // uncomment below to test the property + //modelInstance.errorDebug shouldBe ("TODO") + } + + // to test the property `errorDescription` - Error Description + should("test errorDescription") { + // uncomment below to test the property + //modelInstance.errorDescription shouldBe ("TODO") + } + + // to test the property `errorHint` - Error Hint Helps the user identify the error cause. + should("test errorHint") { + // uncomment below to test the property + //modelInstance.errorHint shouldBe ("TODO") + } + + // to test the property `statusCode` - HTTP Status Code + should("test statusCode") { + // uncomment below to test the property + //modelInstance.statusCode shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/EventStreamTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/EventStreamTest.kt new file mode 100644 index 00000000000..4963b163afc --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/EventStreamTest.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.EventStream + +class EventStreamTest : ShouldSpec() { + init { + // uncomment below to create an instance of EventStream + //val modelInstance = EventStream() + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `roleArn` + should("test roleArn") { + // uncomment below to test the property + //modelInstance.roleArn shouldBe ("TODO") + } + + // to test the property `topicArn` + should("test topicArn") { + // uncomment below to test the property + //modelInstance.topicArn shouldBe ("TODO") + } + + // to test the property `type` + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ExpandedPermissionTreeTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ExpandedPermissionTreeTest.kt new file mode 100644 index 00000000000..a7e5ee38079 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ExpandedPermissionTreeTest.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ExpandedPermissionTree +import sh.ory.client-kotlin-multiplatform.models.Relationship + +class ExpandedPermissionTreeTest : ShouldSpec() { + init { + // uncomment below to create an instance of ExpandedPermissionTree + //val modelInstance = ExpandedPermissionTree() + + // to test the property `type` - The type of the node. union TreeNodeUnion exclusion TreeNodeExclusion intersection TreeNodeIntersection leaf TreeNodeLeaf tuple_to_subject_set TreeNodeTupleToSubjectSet computed_subject_set TreeNodeComputedSubjectSet not TreeNodeNot unspecified TreeNodeUnspecified + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `children` - The children of the node, possibly none. + should("test children") { + // uncomment below to test the property + //modelInstance.children shouldBe ("TODO") + } + + // to test the property `tuple` + should("test tuple") { + // uncomment below to test the property + //modelInstance.tuple shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/FlowErrorTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/FlowErrorTest.kt new file mode 100644 index 00000000000..9f616d79dc9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/FlowErrorTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.FlowError + +class FlowErrorTest : ShouldSpec() { + init { + // uncomment below to create an instance of FlowError + //val modelInstance = FlowError() + + // to test the property `id` - ID of the error container. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `createdAt` - CreatedAt is a helper struct field for gobuffalo.pop. + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `error` + should("test error") { + // uncomment below to test the property + //modelInstance.error shouldBe ("TODO") + } + + // to test the property `updatedAt` - UpdatedAt is a helper struct field for gobuffalo.pop. + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericErrorContentTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericErrorContentTest.kt new file mode 100644 index 00000000000..2f9c8b54389 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericErrorContentTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.GenericErrorContent + +class GenericErrorContentTest : ShouldSpec() { + init { + // uncomment below to create an instance of GenericErrorContent + //val modelInstance = GenericErrorContent() + + // to test the property `debug` - Debug contains debug information. This is usually not available and has to be enabled. + should("test debug") { + // uncomment below to test the property + //modelInstance.debug shouldBe ("TODO") + } + + // to test the property `error` - Name is the error name. + should("test error") { + // uncomment below to test the property + //modelInstance.error shouldBe ("TODO") + } + + // to test the property `errorDescription` - Description contains further information on the nature of the error. + should("test errorDescription") { + // uncomment below to test the property + //modelInstance.errorDescription shouldBe ("TODO") + } + + // to test the property `message` - Message contains the error message. + should("test message") { + // uncomment below to test the property + //modelInstance.message shouldBe ("TODO") + } + + // to test the property `statusCode` - Code represents the error status code (404, 403, 401, ...). + should("test statusCode") { + // uncomment below to test the property + //modelInstance.statusCode shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericErrorTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericErrorTest.kt new file mode 100644 index 00000000000..68326b4193a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericErrorTest.kt @@ -0,0 +1,84 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.GenericError +import sh.ory.client-kotlin-multiplatform.models.GenericErrorContent + +class GenericErrorTest : ShouldSpec() { + init { + // uncomment below to create an instance of GenericError + //val modelInstance = GenericError() + + // to test the property `message` - Error message The error's message. + should("test message") { + // uncomment below to test the property + //modelInstance.message shouldBe ("TODO") + } + + // to test the property `code` - The status code + should("test code") { + // uncomment below to test the property + //modelInstance.code shouldBe ("TODO") + } + + // to test the property `debug` - Debug information This field is often not exposed to protect against leaking sensitive information. + should("test debug") { + // uncomment below to test the property + //modelInstance.debug shouldBe ("TODO") + } + + // to test the property `details` - Further error details + should("test details") { + // uncomment below to test the property + //modelInstance.details shouldBe ("TODO") + } + + // to test the property `error` + should("test error") { + // uncomment below to test the property + //modelInstance.error shouldBe ("TODO") + } + + // to test the property `id` - The error ID Useful when trying to identify various errors in application logic. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `reason` - A human-readable reason for the error + should("test reason") { + // uncomment below to test the property + //modelInstance.reason shouldBe ("TODO") + } + + // to test the property `request` - The request ID The request ID is often exposed internally in order to trace errors across service architectures. This is often a UUID. + should("test request") { + // uncomment below to test the property + //modelInstance.request shouldBe ("TODO") + } + + // to test the property `status` - The status description + should("test status") { + // uncomment below to test the property + //modelInstance.status shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericUsageTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericUsageTest.kt new file mode 100644 index 00000000000..a5977148bd4 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GenericUsageTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.GenericUsage +import sh.ory.client-kotlin-multiplatform.models.Money + +class GenericUsageTest : ShouldSpec() { + init { + // uncomment below to create an instance of GenericUsage + //val modelInstance = GenericUsage() + + // to test the property `additionalPrice` + should("test additionalPrice") { + // uncomment below to test the property + //modelInstance.additionalPrice shouldBe ("TODO") + } + + // to test the property `includedUsage` - IncludedUsage is the number of included items. + should("test includedUsage") { + // uncomment below to test the property + //modelInstance.includedUsage shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetAttributesCountResponseTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetAttributesCountResponseTest.kt new file mode 100644 index 00000000000..6358495718b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetAttributesCountResponseTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.GetAttributesCountResponse +import sh.ory.client-kotlin-multiplatform.models.AttributesCountDatapoint + +class GetAttributesCountResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetAttributesCountResponse + //val modelInstance = GetAttributesCountResponse() + + // to test the property ``data`` - The list of data points. + should("test `data`") { + // uncomment below to test the property + //modelInstance.`data` shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetManagedIdentitySchemaLocationTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetManagedIdentitySchemaLocationTest.kt new file mode 100644 index 00000000000..62b70d982bf --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetManagedIdentitySchemaLocationTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.GetManagedIdentitySchemaLocation + +class GetManagedIdentitySchemaLocationTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetManagedIdentitySchemaLocation + //val modelInstance = GetManagedIdentitySchemaLocation() + + // to test the property `location` + should("test location") { + // uncomment below to test the property + //modelInstance.location shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetMetricsEventAttributesResponseTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetMetricsEventAttributesResponseTest.kt new file mode 100644 index 00000000000..c404e7ee410 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetMetricsEventAttributesResponseTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.GetMetricsEventAttributesResponse + +class GetMetricsEventAttributesResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetMetricsEventAttributesResponse + //val modelInstance = GetMetricsEventAttributesResponse() + + // to test the property `events` - The list of data points. + should("test events") { + // uncomment below to test the property + //modelInstance.events shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetMetricsEventTypesResponseTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetMetricsEventTypesResponseTest.kt new file mode 100644 index 00000000000..8e223e72240 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetMetricsEventTypesResponseTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.GetMetricsEventTypesResponse + +class GetMetricsEventTypesResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetMetricsEventTypesResponse + //val modelInstance = GetMetricsEventTypesResponse() + + // to test the property `events` - The list of data points. + should("test events") { + // uncomment below to test the property + //modelInstance.events shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetOrganizationResponseTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetOrganizationResponseTest.kt new file mode 100644 index 00000000000..8021f232cf0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetOrganizationResponseTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.GetOrganizationResponse +import sh.ory.client-kotlin-multiplatform.models.Organization + +class GetOrganizationResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetOrganizationResponse + //val modelInstance = GetOrganizationResponse() + + // to test the property `organization` + should("test organization") { + // uncomment below to test the property + //modelInstance.organization shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectEventsBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectEventsBodyTest.kt new file mode 100644 index 00000000000..24a3df193bb --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectEventsBodyTest.kt @@ -0,0 +1,66 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.GetProjectEventsBody +import sh.ory.client-kotlin-multiplatform.models.AttributeFilter + +class GetProjectEventsBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetProjectEventsBody + //val modelInstance = GetProjectEventsBody() + + // to test the property `from` - The start RFC3339 date of the time window + should("test from") { + // uncomment below to test the property + //modelInstance.from shouldBe ("TODO") + } + + // to test the property `to` - The end RFC3339 date of the time window + should("test to") { + // uncomment below to test the property + //modelInstance.to shouldBe ("TODO") + } + + // to test the property `eventName` - The event name to query for + should("test eventName") { + // uncomment below to test the property + //modelInstance.eventName shouldBe ("TODO") + } + + // to test the property `filters` - Event attribute filters + should("test filters") { + // uncomment below to test the property + //modelInstance.filters shouldBe ("TODO") + } + + // to test the property `pageSize` - Maximum number of events to return + should("test pageSize") { + // uncomment below to test the property + //modelInstance.pageSize shouldBe ("TODO") + } + + // to test the property `pageToken` - Pagination token to fetch next page, empty if first page + should("test pageToken") { + // uncomment below to test the property + //modelInstance.pageToken shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectEventsResponseTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectEventsResponseTest.kt new file mode 100644 index 00000000000..63f6b7ebd2a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectEventsResponseTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.GetProjectEventsResponse +import sh.ory.client-kotlin-multiplatform.models.ProjectEventsDatapoint + +class GetProjectEventsResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetProjectEventsResponse + //val modelInstance = GetProjectEventsResponse() + + // to test the property `events` - The list of data points. + should("test events") { + // uncomment below to test the property + //modelInstance.events shouldBe ("TODO") + } + + // to test the property `pageToken` - Pagination token to be included in next page request + should("test pageToken") { + // uncomment below to test the property + //modelInstance.pageToken shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectMetricsResponseTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectMetricsResponseTest.kt new file mode 100644 index 00000000000..d800ec0aab1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetProjectMetricsResponseTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.GetProjectMetricsResponse +import sh.ory.client-kotlin-multiplatform.models.MetricsDatapoint + +class GetProjectMetricsResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetProjectMetricsResponse + //val modelInstance = GetProjectMetricsResponse() + + // to test the property ``data`` - The list of data points. + should("test `data`") { + // uncomment below to test the property + //modelInstance.`data` shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetSessionActivityResponseTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetSessionActivityResponseTest.kt new file mode 100644 index 00000000000..e4d998b4825 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetSessionActivityResponseTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.GetSessionActivityResponse +import sh.ory.client-kotlin-multiplatform.models.SessionActivityDatapoint + +class GetSessionActivityResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetSessionActivityResponse + //val modelInstance = GetSessionActivityResponse() + + // to test the property ``data`` - The list of data points. + should("test `data`") { + // uncomment below to test the property + //modelInstance.`data` shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetVersion200ResponseTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetVersion200ResponseTest.kt new file mode 100644 index 00000000000..71c90606b0b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/GetVersion200ResponseTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.GetVersion200Response + +class GetVersion200ResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of GetVersion200Response + //val modelInstance = GetVersion200Response() + + // to test the property `version` - The version of Ory Kratos. + should("test version") { + // uncomment below to test the property + //modelInstance.version shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/HealthNotReadyStatusTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/HealthNotReadyStatusTest.kt new file mode 100644 index 00000000000..7111512af2b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/HealthNotReadyStatusTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.HealthNotReadyStatus + +class HealthNotReadyStatusTest : ShouldSpec() { + init { + // uncomment below to create an instance of HealthNotReadyStatus + //val modelInstance = HealthNotReadyStatus() + + // to test the property `errors` - Errors contains a list of errors that caused the not ready status. + should("test errors") { + // uncomment below to test the property + //modelInstance.errors shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/HealthStatusTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/HealthStatusTest.kt new file mode 100644 index 00000000000..daa84c29918 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/HealthStatusTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.HealthStatus + +class HealthStatusTest : ShouldSpec() { + init { + // uncomment below to create an instance of HealthStatus + //val modelInstance = HealthStatus() + + // to test the property `status` - Status always contains \"ok\". + should("test status") { + // uncomment below to test the property + //modelInstance.status shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsCodeAddressTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsCodeAddressTest.kt new file mode 100644 index 00000000000..2a85ef26896 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsCodeAddressTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.IdentityCredentialsCodeAddress + +class IdentityCredentialsCodeAddressTest : ShouldSpec() { + init { + // uncomment below to create an instance of IdentityCredentialsCodeAddress + //val modelInstance = IdentityCredentialsCodeAddress() + + // to test the property `address` - The address for this code + should("test address") { + // uncomment below to test the property + //modelInstance.address shouldBe ("TODO") + } + + // to test the property `channel` + should("test channel") { + // uncomment below to test the property + //modelInstance.channel shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsCodeTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsCodeTest.kt new file mode 100644 index 00000000000..bc9c8db967f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsCodeTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.IdentityCredentialsCode +import sh.ory.client-kotlin-multiplatform.models.IdentityCredentialsCodeAddress + +class IdentityCredentialsCodeTest : ShouldSpec() { + init { + // uncomment below to create an instance of IdentityCredentialsCode + //val modelInstance = IdentityCredentialsCode() + + // to test the property `addresses` + should("test addresses") { + // uncomment below to test the property + //modelInstance.addresses shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsOidcProviderTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsOidcProviderTest.kt new file mode 100644 index 00000000000..0da6a23ea35 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsOidcProviderTest.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.IdentityCredentialsOidcProvider + +class IdentityCredentialsOidcProviderTest : ShouldSpec() { + init { + // uncomment below to create an instance of IdentityCredentialsOidcProvider + //val modelInstance = IdentityCredentialsOidcProvider() + + // to test the property `initialAccessToken` + should("test initialAccessToken") { + // uncomment below to test the property + //modelInstance.initialAccessToken shouldBe ("TODO") + } + + // to test the property `initialIdToken` + should("test initialIdToken") { + // uncomment below to test the property + //modelInstance.initialIdToken shouldBe ("TODO") + } + + // to test the property `initialRefreshToken` + should("test initialRefreshToken") { + // uncomment below to test the property + //modelInstance.initialRefreshToken shouldBe ("TODO") + } + + // to test the property `organization` + should("test organization") { + // uncomment below to test the property + //modelInstance.organization shouldBe ("TODO") + } + + // to test the property `provider` + should("test provider") { + // uncomment below to test the property + //modelInstance.provider shouldBe ("TODO") + } + + // to test the property `subject` + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsOidcTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsOidcTest.kt new file mode 100644 index 00000000000..02f6865c701 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsOidcTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.IdentityCredentialsOidc +import sh.ory.client-kotlin-multiplatform.models.IdentityCredentialsOidcProvider + +class IdentityCredentialsOidcTest : ShouldSpec() { + init { + // uncomment below to create an instance of IdentityCredentialsOidc + //val modelInstance = IdentityCredentialsOidc() + + // to test the property `providers` + should("test providers") { + // uncomment below to test the property + //modelInstance.providers shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsPasswordTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsPasswordTest.kt new file mode 100644 index 00000000000..075e2997d3e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsPasswordTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.IdentityCredentialsPassword + +class IdentityCredentialsPasswordTest : ShouldSpec() { + init { + // uncomment below to create an instance of IdentityCredentialsPassword + //val modelInstance = IdentityCredentialsPassword() + + // to test the property `hashedPassword` - HashedPassword is a hash-representation of the password. + should("test hashedPassword") { + // uncomment below to test the property + //modelInstance.hashedPassword shouldBe ("TODO") + } + + // to test the property `usePasswordMigrationHook` - UsePasswordMigrationHook is set to true if the password should be migrated using the password migration hook. If set, and the HashedPassword is empty, a webhook will be called during login to migrate the password. + should("test usePasswordMigrationHook") { + // uncomment below to test the property + //modelInstance.usePasswordMigrationHook shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsTest.kt new file mode 100644 index 00000000000..a2c1c329160 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityCredentialsTest.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.IdentityCredentials + +class IdentityCredentialsTest : ShouldSpec() { + init { + // uncomment below to create an instance of IdentityCredentials + //val modelInstance = IdentityCredentials() + + // to test the property `config` + should("test config") { + // uncomment below to test the property + //modelInstance.config shouldBe ("TODO") + } + + // to test the property `createdAt` - CreatedAt is a helper struct field for gobuffalo.pop. + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `identifiers` - Identifiers represents a list of unique identifiers this credential type matches. + should("test identifiers") { + // uncomment below to test the property + //modelInstance.identifiers shouldBe ("TODO") + } + + // to test the property `type` - Type discriminates between different types of credentials. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `updatedAt` - UpdatedAt is a helper struct field for gobuffalo.pop. + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `version` - Version refers to the version of the credential. Useful when changing the config schema. + should("test version") { + // uncomment below to test the property + //modelInstance.version shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityPatchResponseTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityPatchResponseTest.kt new file mode 100644 index 00000000000..048496a016a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityPatchResponseTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.IdentityPatchResponse + +class IdentityPatchResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of IdentityPatchResponse + //val modelInstance = IdentityPatchResponse() + + // to test the property `action` - The action for this specific patch create ActionCreate Create this identity. error ActionError Error indicates that the patch failed. + should("test action") { + // uncomment below to test the property + //modelInstance.action shouldBe ("TODO") + } + + // to test the property `error` + should("test error") { + // uncomment below to test the property + //modelInstance.error shouldBe ("TODO") + } + + // to test the property `identity` - The identity ID payload of this patch + should("test identity") { + // uncomment below to test the property + //modelInstance.identity shouldBe ("TODO") + } + + // to test the property `patchId` - The ID of this patch response, if an ID was specified in the patch. + should("test patchId") { + // uncomment below to test the property + //modelInstance.patchId shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityPatchTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityPatchTest.kt new file mode 100644 index 00000000000..38a5481b76b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityPatchTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.IdentityPatch +import sh.ory.client-kotlin-multiplatform.models.CreateIdentityBody + +class IdentityPatchTest : ShouldSpec() { + init { + // uncomment below to create an instance of IdentityPatch + //val modelInstance = IdentityPatch() + + // to test the property `create` + should("test create") { + // uncomment below to test the property + //modelInstance.create shouldBe ("TODO") + } + + // to test the property `patchId` - The ID of this patch. The patch ID is optional. If specified, the ID will be returned in the response, so consumers of this API can correlate the response with the patch. + should("test patchId") { + // uncomment below to test the property + //modelInstance.patchId shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentitySchemaContainerTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentitySchemaContainerTest.kt new file mode 100644 index 00000000000..759ca3e5f01 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentitySchemaContainerTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.IdentitySchemaContainer + +class IdentitySchemaContainerTest : ShouldSpec() { + init { + // uncomment below to create an instance of IdentitySchemaContainer + //val modelInstance = IdentitySchemaContainer() + + // to test the property `id` - The ID of the Identity JSON Schema + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `schema` - The actual Identity JSON Schema + should("test schema") { + // uncomment below to test the property + //modelInstance.schema shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentitySchemaPresetTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentitySchemaPresetTest.kt new file mode 100644 index 00000000000..b8af1f2af9f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentitySchemaPresetTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.IdentitySchemaPreset + +class IdentitySchemaPresetTest : ShouldSpec() { + init { + // uncomment below to create an instance of IdentitySchemaPreset + //val modelInstance = IdentitySchemaPreset() + + // to test the property `schema` - Schema is the Identity JSON Schema + should("test schema") { + // uncomment below to test the property + //modelInstance.schema shouldBe ("TODO") + } + + // to test the property `url` - URL is the preset identifier + should("test url") { + // uncomment below to test the property + //modelInstance.url shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityTest.kt new file mode 100644 index 00000000000..060372f1642 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityTest.kt @@ -0,0 +1,116 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.Identity +import sh.ory.client-kotlin-multiplatform.models.IdentityCredentials +import sh.ory.client-kotlin-multiplatform.models.RecoveryIdentityAddress +import sh.ory.client-kotlin-multiplatform.models.VerifiableIdentityAddress + +class IdentityTest : ShouldSpec() { + init { + // uncomment below to create an instance of Identity + //val modelInstance = Identity() + + // to test the property `id` - ID is the identity's unique identifier. The Identity ID can not be changed and can not be chosen. This ensures future compatibility and optimization for distributed stores such as CockroachDB. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `schemaId` - SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. + should("test schemaId") { + // uncomment below to test the property + //modelInstance.schemaId shouldBe ("TODO") + } + + // to test the property `schemaUrl` - SchemaURL is the URL of the endpoint where the identity's traits schema can be fetched from. format: url + should("test schemaUrl") { + // uncomment below to test the property + //modelInstance.schemaUrl shouldBe ("TODO") + } + + // to test the property `traits` - Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_url`. + should("test traits") { + // uncomment below to test the property + //modelInstance.traits shouldBe ("TODO") + } + + // to test the property `createdAt` - CreatedAt is a helper struct field for gobuffalo.pop. + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `credentials` - Credentials represents all credentials that can be used for authenticating this identity. + should("test credentials") { + // uncomment below to test the property + //modelInstance.credentials shouldBe ("TODO") + } + + // to test the property `metadataAdmin` - NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- + should("test metadataAdmin") { + // uncomment below to test the property + //modelInstance.metadataAdmin shouldBe ("TODO") + } + + // to test the property `metadataPublic` - NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- + should("test metadataPublic") { + // uncomment below to test the property + //modelInstance.metadataPublic shouldBe ("TODO") + } + + // to test the property `organizationId` + should("test organizationId") { + // uncomment below to test the property + //modelInstance.organizationId shouldBe ("TODO") + } + + // to test the property `recoveryAddresses` - RecoveryAddresses contains all the addresses that can be used to recover an identity. + should("test recoveryAddresses") { + // uncomment below to test the property + //modelInstance.recoveryAddresses shouldBe ("TODO") + } + + // to test the property `state` - State is the identity's state. This value has currently no effect. active StateActive inactive StateInactive + should("test state") { + // uncomment below to test the property + //modelInstance.state shouldBe ("TODO") + } + + // to test the property `stateChangedAt` + should("test stateChangedAt") { + // uncomment below to test the property + //modelInstance.stateChangedAt shouldBe ("TODO") + } + + // to test the property `updatedAt` - UpdatedAt is a helper struct field for gobuffalo.pop. + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `verifiableAddresses` - VerifiableAddresses contains all the addresses that can be verified by the user. + should("test verifiableAddresses") { + // uncomment below to test the property + //modelInstance.verifiableAddresses shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcConfigProviderTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcConfigProviderTest.kt new file mode 100644 index 00000000000..d9cd472d04f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcConfigProviderTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsOidcConfigProvider + +class IdentityWithCredentialsOidcConfigProviderTest : ShouldSpec() { + init { + // uncomment below to create an instance of IdentityWithCredentialsOidcConfigProvider + //val modelInstance = IdentityWithCredentialsOidcConfigProvider() + + // to test the property `provider` - The OpenID Connect provider to link the subject to. Usually something like `google` or `github`. + should("test provider") { + // uncomment below to test the property + //modelInstance.provider shouldBe ("TODO") + } + + // to test the property `subject` - The subject (`sub`) of the OpenID Connect connection. Usually the `sub` field of the ID Token. + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcConfigTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcConfigTest.kt new file mode 100644 index 00000000000..5d82df153ed --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcConfigTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsOidcConfig +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsOidcConfigProvider +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsPasswordConfig + +class IdentityWithCredentialsOidcConfigTest : ShouldSpec() { + init { + // uncomment below to create an instance of IdentityWithCredentialsOidcConfig + //val modelInstance = IdentityWithCredentialsOidcConfig() + + // to test the property `config` + should("test config") { + // uncomment below to test the property + //modelInstance.config shouldBe ("TODO") + } + + // to test the property `providers` - A list of OpenID Connect Providers + should("test providers") { + // uncomment below to test the property + //modelInstance.providers shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcTest.kt new file mode 100644 index 00000000000..b948b25546c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsOidcTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsOidc +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsOidcConfig + +class IdentityWithCredentialsOidcTest : ShouldSpec() { + init { + // uncomment below to create an instance of IdentityWithCredentialsOidc + //val modelInstance = IdentityWithCredentialsOidc() + + // to test the property `config` + should("test config") { + // uncomment below to test the property + //modelInstance.config shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsPasswordConfigTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsPasswordConfigTest.kt new file mode 100644 index 00000000000..d004529e06c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsPasswordConfigTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsPasswordConfig + +class IdentityWithCredentialsPasswordConfigTest : ShouldSpec() { + init { + // uncomment below to create an instance of IdentityWithCredentialsPasswordConfig + //val modelInstance = IdentityWithCredentialsPasswordConfig() + + // to test the property `hashedPassword` - The hashed password in [PHC format](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities#hashed-passwords) + should("test hashedPassword") { + // uncomment below to test the property + //modelInstance.hashedPassword shouldBe ("TODO") + } + + // to test the property `password` - The password in plain text if no hash is available. + should("test password") { + // uncomment below to test the property + //modelInstance.password shouldBe ("TODO") + } + + // to test the property `usePasswordMigrationHook` - If set to true, the password will be migrated using the password migration hook. + should("test usePasswordMigrationHook") { + // uncomment below to test the property + //modelInstance.usePasswordMigrationHook shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsPasswordTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsPasswordTest.kt new file mode 100644 index 00000000000..d4f0c2a24e0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsPasswordTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsPassword +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsPasswordConfig + +class IdentityWithCredentialsPasswordTest : ShouldSpec() { + init { + // uncomment below to create an instance of IdentityWithCredentialsPassword + //val modelInstance = IdentityWithCredentialsPassword() + + // to test the property `config` + should("test config") { + // uncomment below to test the property + //modelInstance.config shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsTest.kt new file mode 100644 index 00000000000..5bd321c7de1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IdentityWithCredentialsTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentials +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsOidc +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentialsPassword + +class IdentityWithCredentialsTest : ShouldSpec() { + init { + // uncomment below to create an instance of IdentityWithCredentials + //val modelInstance = IdentityWithCredentials() + + // to test the property `oidc` + should("test oidc") { + // uncomment below to test the property + //modelInstance.oidc shouldBe ("TODO") + } + + // to test the property `password` + should("test password") { + // uncomment below to test the property + //modelInstance.password shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalGetProjectBrandingBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalGetProjectBrandingBodyTest.kt new file mode 100644 index 00000000000..448b1795312 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalGetProjectBrandingBodyTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.InternalGetProjectBrandingBody + +class InternalGetProjectBrandingBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of InternalGetProjectBrandingBody + //val modelInstance = InternalGetProjectBrandingBody() + + // to test the property `hostname` + should("test hostname") { + // uncomment below to test the property + //modelInstance.hostname shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsAXWelcomeScreenEnabledForProjectBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsAXWelcomeScreenEnabledForProjectBodyTest.kt new file mode 100644 index 00000000000..ed07b34ef5e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsAXWelcomeScreenEnabledForProjectBodyTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.InternalIsAXWelcomeScreenEnabledForProjectBody + +class InternalIsAXWelcomeScreenEnabledForProjectBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of InternalIsAXWelcomeScreenEnabledForProjectBody + //val modelInstance = InternalIsAXWelcomeScreenEnabledForProjectBody() + + // to test the property `path` - Path is the path of the request. + should("test path") { + // uncomment below to test the property + //modelInstance.path shouldBe ("TODO") + } + + // to test the property `projectSlug` - ProjectSlug is the project's slug. + should("test projectSlug") { + // uncomment below to test the property + //modelInstance.projectSlug shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsOwnerForProjectBySlugBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsOwnerForProjectBySlugBodyTest.kt new file mode 100644 index 00000000000..73938b9cc0b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsOwnerForProjectBySlugBodyTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.InternalIsOwnerForProjectBySlugBody + +class InternalIsOwnerForProjectBySlugBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of InternalIsOwnerForProjectBySlugBody + //val modelInstance = InternalIsOwnerForProjectBySlugBody() + + // to test the property `namespace` - Namespace is the namespace of the subject. + should("test namespace") { + // uncomment below to test the property + //modelInstance.namespace shouldBe ("TODO") + } + + // to test the property `projectSlug` - ProjectSlug is the project's slug. + should("test projectSlug") { + // uncomment below to test the property + //modelInstance.projectSlug shouldBe ("TODO") + } + + // to test the property `subject` - Subject is the subject acting (user or API key). + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + // to test the property `projectScope` - ProjectScope is the project_id resolved from the API key. + should("test projectScope") { + // uncomment below to test the property + //modelInstance.projectScope shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsOwnerForProjectBySlugResponseTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsOwnerForProjectBySlugResponseTest.kt new file mode 100644 index 00000000000..840cc3fe5e6 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InternalIsOwnerForProjectBySlugResponseTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.InternalIsOwnerForProjectBySlugResponse + +class InternalIsOwnerForProjectBySlugResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of InternalIsOwnerForProjectBySlugResponse + //val modelInstance = InternalIsOwnerForProjectBySlugResponse() + + // to test the property `projectId` - ProjectID is the project's ID. + should("test projectId") { + // uncomment below to test the property + //modelInstance.projectId shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IntrospectedOAuth2TokenTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IntrospectedOAuth2TokenTest.kt new file mode 100644 index 00000000000..1001c45050b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IntrospectedOAuth2TokenTest.kt @@ -0,0 +1,113 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.IntrospectedOAuth2Token + +class IntrospectedOAuth2TokenTest : ShouldSpec() { + init { + // uncomment below to create an instance of IntrospectedOAuth2Token + //val modelInstance = IntrospectedOAuth2Token() + + // to test the property `active` - Active is a boolean indicator of whether or not the presented token is currently active. The specifics of a token's \"active\" state will vary depending on the implementation of the authorization server and the information it keeps about its tokens, but a \"true\" value return for the \"active\" property will generally indicate that a given token has been issued by this authorization server, has not been revoked by the resource owner, and is within its given time window of validity (e.g., after its issuance time and before its expiration time). + should("test active") { + // uncomment below to test the property + //modelInstance.active shouldBe ("TODO") + } + + // to test the property `aud` - Audience contains a list of the token's intended audiences. + should("test aud") { + // uncomment below to test the property + //modelInstance.aud shouldBe ("TODO") + } + + // to test the property `clientId` - ID is aclient identifier for the OAuth 2.0 client that requested this token. + should("test clientId") { + // uncomment below to test the property + //modelInstance.clientId shouldBe ("TODO") + } + + // to test the property `exp` - Expires at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token will expire. + should("test exp") { + // uncomment below to test the property + //modelInstance.exp shouldBe ("TODO") + } + + // to test the property `ext` - Extra is arbitrary data set by the session. + should("test ext") { + // uncomment below to test the property + //modelInstance.ext shouldBe ("TODO") + } + + // to test the property `iat` - Issued at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token was originally issued. + should("test iat") { + // uncomment below to test the property + //modelInstance.iat shouldBe ("TODO") + } + + // to test the property `iss` - IssuerURL is a string representing the issuer of this token + should("test iss") { + // uncomment below to test the property + //modelInstance.iss shouldBe ("TODO") + } + + // to test the property `nbf` - NotBefore is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token is not to be used before. + should("test nbf") { + // uncomment below to test the property + //modelInstance.nbf shouldBe ("TODO") + } + + // to test the property `obfuscatedSubject` - ObfuscatedSubject is set when the subject identifier algorithm was set to \"pairwise\" during authorization. It is the `sub` value of the ID Token that was issued. + should("test obfuscatedSubject") { + // uncomment below to test the property + //modelInstance.obfuscatedSubject shouldBe ("TODO") + } + + // to test the property `scope` - Scope is a JSON string containing a space-separated list of scopes associated with this token. + should("test scope") { + // uncomment below to test the property + //modelInstance.scope shouldBe ("TODO") + } + + // to test the property `sub` - Subject of the token, as defined in JWT [RFC7519]. Usually a machine-readable identifier of the resource owner who authorized this token. + should("test sub") { + // uncomment below to test the property + //modelInstance.sub shouldBe ("TODO") + } + + // to test the property `tokenType` - TokenType is the introspected token's type, typically `Bearer`. + should("test tokenType") { + // uncomment below to test the property + //modelInstance.tokenType shouldBe ("TODO") + } + + // to test the property `tokenUse` - TokenUse is the introspected token's use, for example `access_token` or `refresh_token`. + should("test tokenUse") { + // uncomment below to test the property + //modelInstance.tokenUse shouldBe ("TODO") + } + + // to test the property `username` - Username is a human-readable identifier for the resource owner who authorized this token. + should("test username") { + // uncomment below to test the property + //modelInstance.username shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InvoiceDataV1Test.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InvoiceDataV1Test.kt new file mode 100644 index 00000000000..d69dfee5545 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InvoiceDataV1Test.kt @@ -0,0 +1,104 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.InvoiceDataV1 +import sh.ory.client-kotlin-multiplatform.models.LineItemV1 +import sh.ory.client-kotlin-multiplatform.models.TaxLineItem +import sh.ory.client-kotlin-multiplatform.models.TimeInterval + +class InvoiceDataV1Test : ShouldSpec() { + init { + // uncomment below to create an instance of InvoiceDataV1 + //val modelInstance = InvoiceDataV1() + + // to test the property `billingPeriod` + should("test billingPeriod") { + // uncomment below to test the property + //modelInstance.billingPeriod shouldBe ("TODO") + } + + // to test the property `currency` - The currency of the invoice. + should("test currency") { + // uncomment below to test the property + //modelInstance.currency shouldBe ("TODO") + } + + // to test the property `items` - The items that are part of this invoice. + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `title` - The title of the invoice. + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `totalInCent` + should("test totalInCent") { + // uncomment below to test the property + //modelInstance.totalInCent shouldBe ("TODO") + } + + // to test the property `deleted` - Deleted is true if the invoice has been soft-deleted. + should("test deleted") { + // uncomment below to test the property + //modelInstance.deleted shouldBe ("TODO") + } + + // to test the property `plan` - The plan that this invoice is based on, in the format \"Name@version\". + should("test plan") { + // uncomment below to test the property + //modelInstance.plan shouldBe ("TODO") + } + + // to test the property `stripeInvoiceItem` + should("test stripeInvoiceItem") { + // uncomment below to test the property + //modelInstance.stripeInvoiceItem shouldBe ("TODO") + } + + // to test the property `stripeInvoiceStatus` - The status of the invoice, one of `draft`, `open`, `paid`, `uncollectible`, or `void`. [Learn more](https://stripe.com/docs/billing/invoices/workflow#workflow-overview) + should("test stripeInvoiceStatus") { + // uncomment below to test the property + //modelInstance.stripeInvoiceStatus shouldBe ("TODO") + } + + // to test the property `stripeLink` - An optional link to the invoice on Stripe. + should("test stripeLink") { + // uncomment below to test the property + //modelInstance.stripeLink shouldBe ("TODO") + } + + // to test the property `subtitle` - The subtitle of the invoice. + should("test subtitle") { + // uncomment below to test the property + //modelInstance.subtitle shouldBe ("TODO") + } + + // to test the property `tax` + should("test tax") { + // uncomment below to test the property + //modelInstance.tax shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InvoiceTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InvoiceTest.kt new file mode 100644 index 00000000000..fa5a9e85053 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/InvoiceTest.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.Invoice +import sh.ory.client-kotlin-multiplatform.models.InvoiceDataV1 + +class InvoiceTest : ShouldSpec() { + init { + // uncomment below to create an instance of Invoice + //val modelInstance = Invoice() + + // to test the property `id` - The ID of the invoice. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `invoicedAt` + should("test invoicedAt") { + // uncomment below to test the property + //modelInstance.invoicedAt shouldBe ("TODO") + } + + // to test the property `type` - Type is the type of the invoice. usage InvoiceTypeUsage base InvoiceTypeBase + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `v1` + should("test v1") { + // uncomment below to test the property + //modelInstance.v1 shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IsOwnerForProjectBySlugTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IsOwnerForProjectBySlugTest.kt new file mode 100644 index 00000000000..b2a71ccb7f2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/IsOwnerForProjectBySlugTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.IsOwnerForProjectBySlug + +class IsOwnerForProjectBySlugTest : ShouldSpec() { + init { + // uncomment below to create an instance of IsOwnerForProjectBySlug + //val modelInstance = IsOwnerForProjectBySlug() + + // to test the property `projectSlug` - ProjectSlug is the project's slug. + should("test projectSlug") { + // uncomment below to test the property + //modelInstance.projectSlug shouldBe ("TODO") + } + + // to test the property `subject` - Subject is the subject from the API key. + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonPatchTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonPatchTest.kt new file mode 100644 index 00000000000..08837063d83 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonPatchTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.JsonPatch + +class JsonPatchTest : ShouldSpec() { + init { + // uncomment below to create an instance of JsonPatch + //val modelInstance = JsonPatch() + + // to test the property `op` - The operation to be performed. One of \"add\", \"remove\", \"replace\", \"move\", \"copy\", or \"test\". + should("test op") { + // uncomment below to test the property + //modelInstance.op shouldBe ("TODO") + } + + // to test the property `path` - The path to the target path. Uses JSON pointer notation. Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5). + should("test path") { + // uncomment below to test the property + //modelInstance.path shouldBe ("TODO") + } + + // to test the property `from` - This field is used together with operation \"move\" and uses JSON Pointer notation. Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5). + should("test from") { + // uncomment below to test the property + //modelInstance.from shouldBe ("TODO") + } + + // to test the property ``value`` - The value to be used within the operations. Learn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5). + should("test `value`") { + // uncomment below to test the property + //modelInstance.`value` shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonWebKeySetTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonWebKeySetTest.kt new file mode 100644 index 00000000000..ce78a164e8e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonWebKeySetTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.JsonWebKeySet +import sh.ory.client-kotlin-multiplatform.models.JsonWebKey + +class JsonWebKeySetTest : ShouldSpec() { + init { + // uncomment below to create an instance of JsonWebKeySet + //val modelInstance = JsonWebKeySet() + + // to test the property `propertyKeys` - List of JSON Web Keys The value of the \"keys\" parameter is an array of JSON Web Key (JWK) values. By default, the order of the JWK values within the array does not imply an order of preference among them, although applications of JWK Sets can choose to assign a meaning to the order for their purposes, if desired. + should("test propertyKeys") { + // uncomment below to test the property + //modelInstance.propertyKeys shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonWebKeyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonWebKeyTest.kt new file mode 100644 index 00000000000..95ad946d7e4 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/JsonWebKeyTest.kt @@ -0,0 +1,131 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.JsonWebKey + +class JsonWebKeyTest : ShouldSpec() { + init { + // uncomment below to create an instance of JsonWebKey + //val modelInstance = JsonWebKey() + + // to test the property `alg` - The \"alg\" (algorithm) parameter identifies the algorithm intended for use with the key. The values used should either be registered in the IANA \"JSON Web Signature and Encryption Algorithms\" registry established by [JWA] or be a value that contains a Collision- Resistant Name. + should("test alg") { + // uncomment below to test the property + //modelInstance.alg shouldBe ("TODO") + } + + // to test the property `kid` - The \"kid\" (key ID) parameter is used to match a specific key. This is used, for instance, to choose among a set of keys within a JWK Set during key rollover. The structure of the \"kid\" value is unspecified. When \"kid\" values are used within a JWK Set, different keys within the JWK Set SHOULD use distinct \"kid\" values. (One example in which different keys might use the same \"kid\" value is if they have different \"kty\" (key type) values but are considered to be equivalent alternatives by the application using them.) The \"kid\" value is a case-sensitive string. + should("test kid") { + // uncomment below to test the property + //modelInstance.kid shouldBe ("TODO") + } + + // to test the property `kty` - The \"kty\" (key type) parameter identifies the cryptographic algorithm family used with the key, such as \"RSA\" or \"EC\". \"kty\" values should either be registered in the IANA \"JSON Web Key Types\" registry established by [JWA] or be a value that contains a Collision- Resistant Name. The \"kty\" value is a case-sensitive string. + should("test kty") { + // uncomment below to test the property + //modelInstance.kty shouldBe ("TODO") + } + + // to test the property `use` - Use (\"public key use\") identifies the intended use of the public key. The \"use\" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Values are commonly \"sig\" (signature) or \"enc\" (encryption). + should("test use") { + // uncomment below to test the property + //modelInstance.use shouldBe ("TODO") + } + + // to test the property `crv` + should("test crv") { + // uncomment below to test the property + //modelInstance.crv shouldBe ("TODO") + } + + // to test the property `d` + should("test d") { + // uncomment below to test the property + //modelInstance.d shouldBe ("TODO") + } + + // to test the property `dp` + should("test dp") { + // uncomment below to test the property + //modelInstance.dp shouldBe ("TODO") + } + + // to test the property `dq` + should("test dq") { + // uncomment below to test the property + //modelInstance.dq shouldBe ("TODO") + } + + // to test the property `e` + should("test e") { + // uncomment below to test the property + //modelInstance.e shouldBe ("TODO") + } + + // to test the property `k` + should("test k") { + // uncomment below to test the property + //modelInstance.k shouldBe ("TODO") + } + + // to test the property `n` + should("test n") { + // uncomment below to test the property + //modelInstance.n shouldBe ("TODO") + } + + // to test the property `p` + should("test p") { + // uncomment below to test the property + //modelInstance.p shouldBe ("TODO") + } + + // to test the property `q` + should("test q") { + // uncomment below to test the property + //modelInstance.q shouldBe ("TODO") + } + + // to test the property `qi` + should("test qi") { + // uncomment below to test the property + //modelInstance.qi shouldBe ("TODO") + } + + // to test the property `x` + should("test x") { + // uncomment below to test the property + //modelInstance.x shouldBe ("TODO") + } + + // to test the property `x5c` - The \"x5c\" (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates [RFC5280]. The certificate chain is represented as a JSON array of certificate value strings. Each string in the array is a base64-encoded (Section 4 of [RFC4648] -- not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value. The PKIX certificate containing the key value MUST be the first certificate. + should("test x5c") { + // uncomment below to test the property + //modelInstance.x5c shouldBe ("TODO") + } + + // to test the property `y` + should("test y") { + // uncomment below to test the property + //modelInstance.y shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/KetoNamespaceTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/KetoNamespaceTest.kt new file mode 100644 index 00000000000..449e00ba08a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/KetoNamespaceTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.KetoNamespace + +class KetoNamespaceTest : ShouldSpec() { + init { + // uncomment below to create an instance of KetoNamespace + //val modelInstance = KetoNamespace() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/LineItemV1Test.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/LineItemV1Test.kt new file mode 100644 index 00000000000..db404c019f5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/LineItemV1Test.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.LineItemV1 + +class LineItemV1Test : ShouldSpec() { + init { + // uncomment below to create an instance of LineItemV1 + //val modelInstance = LineItemV1() + + // to test the property `amountInCent` + should("test amountInCent") { + // uncomment below to test the property + //modelInstance.amountInCent shouldBe ("TODO") + } + + // to test the property `description` + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `items` - Each line item can have sub-items to create a hierarchy. + should("test items") { + // uncomment below to test the property + //modelInstance.items shouldBe ("TODO") + } + + // to test the property `quantity` + should("test quantity") { + // uncomment below to test the property + //modelInstance.quantity shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `unitPrice` + should("test unitPrice") { + // uncomment below to test the property + //modelInstance.unitPrice shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListEventStreamsTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListEventStreamsTest.kt new file mode 100644 index 00000000000..073e56f5426 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListEventStreamsTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ListEventStreams +import sh.ory.client-kotlin-multiplatform.models.EventStream + +class ListEventStreamsTest : ShouldSpec() { + init { + // uncomment below to create an instance of ListEventStreams + //val modelInstance = ListEventStreams() + + // to test the property `eventStreams` + should("test eventStreams") { + // uncomment below to test the property + //modelInstance.eventStreams shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListInvoicesResponseTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListInvoicesResponseTest.kt new file mode 100644 index 00000000000..c5754275beb --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListInvoicesResponseTest.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ListInvoicesResponse +import sh.ory.client-kotlin-multiplatform.models.BillingPeriodBucket + +class ListInvoicesResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of ListInvoicesResponse + //val modelInstance = ListInvoicesResponse() + + // to test the property `buckets` + should("test buckets") { + // uncomment below to test the property + //modelInstance.buckets shouldBe ("TODO") + } + + // to test the property `hasNextPage` + should("test hasNextPage") { + // uncomment below to test the property + //modelInstance.hasNextPage shouldBe ("TODO") + } + + // to test the property `nextPageToken` + should("test nextPageToken") { + // uncomment below to test the property + //modelInstance.nextPageToken shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListOrganizationsResponseTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListOrganizationsResponseTest.kt new file mode 100644 index 00000000000..a7c1b9f0ba8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListOrganizationsResponseTest.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ListOrganizationsResponse +import sh.ory.client-kotlin-multiplatform.models.Organization + +class ListOrganizationsResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of ListOrganizationsResponse + //val modelInstance = ListOrganizationsResponse() + + // to test the property `hasNextPage` + should("test hasNextPage") { + // uncomment below to test the property + //modelInstance.hasNextPage shouldBe ("TODO") + } + + // to test the property `nextPageToken` + should("test nextPageToken") { + // uncomment below to test the property + //modelInstance.nextPageToken shouldBe ("TODO") + } + + // to test the property `organizations` - The list of organizations + should("test organizations") { + // uncomment below to test the property + //modelInstance.organizations shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListWorkspaceProjectsTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListWorkspaceProjectsTest.kt new file mode 100644 index 00000000000..bd86e4c8b35 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListWorkspaceProjectsTest.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ListWorkspaceProjects +import sh.ory.client-kotlin-multiplatform.models.ProjectMetadata + +class ListWorkspaceProjectsTest : ShouldSpec() { + init { + // uncomment below to create an instance of ListWorkspaceProjects + //val modelInstance = ListWorkspaceProjects() + + // to test the property `hasNextPage` + should("test hasNextPage") { + // uncomment below to test the property + //modelInstance.hasNextPage shouldBe ("TODO") + } + + // to test the property `nextPage` + should("test nextPage") { + // uncomment below to test the property + //modelInstance.nextPage shouldBe ("TODO") + } + + // to test the property `projects` + should("test projects") { + // uncomment below to test the property + //modelInstance.projects shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListWorkspacesTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListWorkspacesTest.kt new file mode 100644 index 00000000000..5236a2af4b0 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ListWorkspacesTest.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ListWorkspaces +import sh.ory.client-kotlin-multiplatform.models.Workspace + +class ListWorkspacesTest : ShouldSpec() { + init { + // uncomment below to create an instance of ListWorkspaces + //val modelInstance = ListWorkspaces() + + // to test the property `hasNextPage` + should("test hasNextPage") { + // uncomment below to test the property + //modelInstance.hasNextPage shouldBe ("TODO") + } + + // to test the property `nextPageToken` + should("test nextPageToken") { + // uncomment below to test the property + //modelInstance.nextPageToken shouldBe ("TODO") + } + + // to test the property `workspaces` + should("test workspaces") { + // uncomment below to test the property + //modelInstance.workspaces shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/LoginFlowStateTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/LoginFlowStateTest.kt new file mode 100644 index 00000000000..50d7f86609e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/LoginFlowStateTest.kt @@ -0,0 +1,29 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.LoginFlowState + +class LoginFlowStateTest : ShouldSpec() { + init { + // uncomment below to create an instance of LoginFlowState + //val modelInstance = LoginFlowState() + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/LoginFlowTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/LoginFlowTest.kt new file mode 100644 index 00000000000..4312943818f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/LoginFlowTest.kt @@ -0,0 +1,140 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.LoginFlow +import sh.ory.client-kotlin-multiplatform.models.AuthenticatorAssuranceLevel +import sh.ory.client-kotlin-multiplatform.models.OAuth2LoginRequest +import sh.ory.client-kotlin-multiplatform.models.UiContainer + +class LoginFlowTest : ShouldSpec() { + init { + // uncomment below to create an instance of LoginFlow + //val modelInstance = LoginFlow() + + // to test the property `expiresAt` - ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. + should("test expiresAt") { + // uncomment below to test the property + //modelInstance.expiresAt shouldBe ("TODO") + } + + // to test the property `id` - ID represents the flow's unique ID. When performing the login flow, this represents the id in the login UI's query parameter: http:///?flow= + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `issuedAt` - IssuedAt is the time (UTC) when the flow started. + should("test issuedAt") { + // uncomment below to test the property + //modelInstance.issuedAt shouldBe ("TODO") + } + + // to test the property `requestUrl` - RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. + should("test requestUrl") { + // uncomment below to test the property + //modelInstance.requestUrl shouldBe ("TODO") + } + + // to test the property `state` - State represents the state of this request: choose_method: ask the user to choose a method to sign in with sent_email: the email has been sent to the user passed_challenge: the request was successful and the login challenge was passed. + should("test state") { + // uncomment below to test the property + //modelInstance.state shouldBe ("TODO") + } + + // to test the property `type` - The flow type can either be `api` or `browser`. + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `ui` + should("test ui") { + // uncomment below to test the property + //modelInstance.ui shouldBe ("TODO") + } + + // to test the property `active` - The active login method If set contains the login method used. If the flow is new, it is unset. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + should("test active") { + // uncomment below to test the property + //modelInstance.active shouldBe ("TODO") + } + + // to test the property `createdAt` - CreatedAt is a helper struct field for gobuffalo.pop. + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `oauth2LoginChallenge` - Ory OAuth 2.0 Login Challenge. This value is set using the `login_challenge` query parameter of the registration and login endpoints. If set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. + should("test oauth2LoginChallenge") { + // uncomment below to test the property + //modelInstance.oauth2LoginChallenge shouldBe ("TODO") + } + + // to test the property `oauth2LoginRequest` + should("test oauth2LoginRequest") { + // uncomment below to test the property + //modelInstance.oauth2LoginRequest shouldBe ("TODO") + } + + // to test the property `organizationId` + should("test organizationId") { + // uncomment below to test the property + //modelInstance.organizationId shouldBe ("TODO") + } + + // to test the property `refresh` - Refresh stores whether this login flow should enforce re-authentication. + should("test refresh") { + // uncomment below to test the property + //modelInstance.refresh shouldBe ("TODO") + } + + // to test the property `requestedAal` + should("test requestedAal") { + // uncomment below to test the property + //modelInstance.requestedAal shouldBe ("TODO") + } + + // to test the property `returnTo` - ReturnTo contains the requested return_to URL. + should("test returnTo") { + // uncomment below to test the property + //modelInstance.returnTo shouldBe ("TODO") + } + + // to test the property `sessionTokenExchangeCode` - SessionTokenExchangeCode holds the secret code that the client can use to retrieve a session token after the login flow has been completed. This is only set if the client has requested a session token exchange code, and if the flow is of type \"api\", and only on creating the login flow. + should("test sessionTokenExchangeCode") { + // uncomment below to test the property + //modelInstance.sessionTokenExchangeCode shouldBe ("TODO") + } + + // to test the property `transientPayload` - TransientPayload is used to pass data from the login to hooks and email templates + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + // to test the property `updatedAt` - UpdatedAt is a helper struct field for gobuffalo.pop. + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/LogoutFlowTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/LogoutFlowTest.kt new file mode 100644 index 00000000000..b06d7e7c7ed --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/LogoutFlowTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.LogoutFlow + +class LogoutFlowTest : ShouldSpec() { + init { + // uncomment below to create an instance of LogoutFlow + //val modelInstance = LogoutFlow() + + // to test the property `logoutToken` - LogoutToken can be used to perform logout using AJAX. + should("test logoutToken") { + // uncomment below to test the property + //modelInstance.logoutToken shouldBe ("TODO") + } + + // to test the property `logoutUrl` - LogoutURL can be opened in a browser to sign the user out. format: uri + should("test logoutUrl") { + // uncomment below to test the property + //modelInstance.logoutUrl shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ManagedIdentitySchemaTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ManagedIdentitySchemaTest.kt new file mode 100644 index 00000000000..f0af8449f59 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ManagedIdentitySchemaTest.kt @@ -0,0 +1,71 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ManagedIdentitySchema + +class ManagedIdentitySchemaTest : ShouldSpec() { + init { + // uncomment below to create an instance of ManagedIdentitySchema + //val modelInstance = ManagedIdentitySchema() + + // to test the property `blobName` - The gcs file name This is a randomly generated name which is used to uniquely identify the file on the blob storage + should("test blobName") { + // uncomment below to test the property + //modelInstance.blobName shouldBe ("TODO") + } + + // to test the property `blobUrl` - The publicly accessible url of the schema + should("test blobUrl") { + // uncomment below to test the property + //modelInstance.blobUrl shouldBe ("TODO") + } + + // to test the property `createdAt` - The Schema's Creation Date + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` - The schema's ID. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` - The schema name This is set by the user and is for them to easily recognise their schema + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `updatedAt` - Last Time Schema was Updated + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `contentHash` - The Content Hash Contains a hash of the schema's content. + should("test contentHash") { + // uncomment below to test the property + //modelInstance.contentHash shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ManagedIdentitySchemaValidationResultTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ManagedIdentitySchemaValidationResultTest.kt new file mode 100644 index 00000000000..6371a035c1a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ManagedIdentitySchemaValidationResultTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ManagedIdentitySchemaValidationResult + +class ManagedIdentitySchemaValidationResultTest : ShouldSpec() { + init { + // uncomment below to create an instance of ManagedIdentitySchemaValidationResult + //val modelInstance = ManagedIdentitySchemaValidationResult() + + // to test the property `message` + should("test message") { + // uncomment below to test the property + //modelInstance.message shouldBe ("TODO") + } + + // to test the property `valid` + should("test valid") { + // uncomment below to test the property + //modelInstance.valid shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MemberInviteTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MemberInviteTest.kt new file mode 100644 index 00000000000..8a3e1b89e63 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MemberInviteTest.kt @@ -0,0 +1,95 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.MemberInvite + +class MemberInviteTest : ShouldSpec() { + init { + // uncomment below to create an instance of MemberInvite + //val modelInstance = MemberInvite() + + // to test the property `createdAt` - The Project's Revision Creation Date + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` - The invite's ID. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `inviteeEmail` - The invitee's email + should("test inviteeEmail") { + // uncomment below to test the property + //modelInstance.inviteeEmail shouldBe ("TODO") + } + + // to test the property `ownerEmail` - The invite owner's email Usually the project's owner email + should("test ownerEmail") { + // uncomment below to test the property + //modelInstance.ownerEmail shouldBe ("TODO") + } + + // to test the property `ownerId` - The invite owner's ID Usually the project's owner + should("test ownerId") { + // uncomment below to test the property + //modelInstance.ownerId shouldBe ("TODO") + } + + // to test the property `status` - The invite's status Keeps track of the invites status such as pending, accepted, declined, expired pending PENDING accepted ACCEPTED declined DECLINED expired EXPIRED cancelled CANCELLED removed REMOVED + should("test status") { + // uncomment below to test the property + //modelInstance.status shouldBe ("TODO") + } + + // to test the property `updatedAt` - Last Time Project's Revision was Updated + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `inviteeId` + should("test inviteeId") { + // uncomment below to test the property + //modelInstance.inviteeId shouldBe ("TODO") + } + + // to test the property `projectId` + should("test projectId") { + // uncomment below to test the property + //modelInstance.projectId shouldBe ("TODO") + } + + // to test the property `role` + should("test role") { + // uncomment below to test the property + //modelInstance.role shouldBe ("TODO") + } + + // to test the property `workspaceId` + should("test workspaceId") { + // uncomment below to test the property + //modelInstance.workspaceId shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MessageDispatchTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MessageDispatchTest.kt new file mode 100644 index 00000000000..0ce112edb68 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MessageDispatchTest.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.MessageDispatch + +class MessageDispatchTest : ShouldSpec() { + init { + // uncomment below to create an instance of MessageDispatch + //val modelInstance = MessageDispatch() + + // to test the property `createdAt` - CreatedAt is a helper struct field for gobuffalo.pop. + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` - The ID of this message dispatch + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `messageId` - The ID of the message being dispatched + should("test messageId") { + // uncomment below to test the property + //modelInstance.messageId shouldBe ("TODO") + } + + // to test the property `status` - The status of this dispatch Either \"failed\" or \"success\" failed CourierMessageDispatchStatusFailed success CourierMessageDispatchStatusSuccess + should("test status") { + // uncomment below to test the property + //modelInstance.status shouldBe ("TODO") + } + + // to test the property `updatedAt` - UpdatedAt is a helper struct field for gobuffalo.pop. + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `error` + should("test error") { + // uncomment below to test the property + //modelInstance.error shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MessageTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MessageTest.kt new file mode 100644 index 00000000000..9488c9111ab --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MessageTest.kt @@ -0,0 +1,104 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.Message +import sh.ory.client-kotlin-multiplatform.models.CourierMessageStatus +import sh.ory.client-kotlin-multiplatform.models.CourierMessageType +import sh.ory.client-kotlin-multiplatform.models.MessageDispatch + +class MessageTest : ShouldSpec() { + init { + // uncomment below to create an instance of Message + //val modelInstance = Message() + + // to test the property `body` + should("test body") { + // uncomment below to test the property + //modelInstance.body shouldBe ("TODO") + } + + // to test the property `createdAt` - CreatedAt is a helper struct field for gobuffalo.pop. + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `recipient` + should("test recipient") { + // uncomment below to test the property + //modelInstance.recipient shouldBe ("TODO") + } + + // to test the property `sendCount` + should("test sendCount") { + // uncomment below to test the property + //modelInstance.sendCount shouldBe ("TODO") + } + + // to test the property `status` + should("test status") { + // uncomment below to test the property + //modelInstance.status shouldBe ("TODO") + } + + // to test the property `subject` + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + // to test the property `templateType` - recovery_invalid TypeRecoveryInvalid recovery_valid TypeRecoveryValid recovery_code_invalid TypeRecoveryCodeInvalid recovery_code_valid TypeRecoveryCodeValid verification_invalid TypeVerificationInvalid verification_valid TypeVerificationValid verification_code_invalid TypeVerificationCodeInvalid verification_code_valid TypeVerificationCodeValid stub TypeTestStub login_code_valid TypeLoginCodeValid registration_code_valid TypeRegistrationCodeValid + should("test templateType") { + // uncomment below to test the property + //modelInstance.templateType shouldBe ("TODO") + } + + // to test the property `type` + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `updatedAt` - UpdatedAt is a helper struct field for gobuffalo.pop. + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `channel` + should("test channel") { + // uncomment below to test the property + //modelInstance.channel shouldBe ("TODO") + } + + // to test the property `dispatches` - Dispatches store information about the attempts of delivering a message May contain an error if any happened, or just the `success` state. + should("test dispatches") { + // uncomment below to test the property + //modelInstance.dispatches shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MetricsDatapointTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MetricsDatapointTest.kt new file mode 100644 index 00000000000..f05e742a413 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MetricsDatapointTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.MetricsDatapoint + +class MetricsDatapointTest : ShouldSpec() { + init { + // uncomment below to create an instance of MetricsDatapoint + //val modelInstance = MetricsDatapoint() + + // to test the property `count` - The count of events that occured in this time + should("test count") { + // uncomment below to test the property + //modelInstance.count shouldBe ("TODO") + } + + // to test the property `time` - The time of the bucket + should("test time") { + // uncomment below to test the property + //modelInstance.time shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MoneyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MoneyTest.kt new file mode 100644 index 00000000000..4c3d7230369 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/MoneyTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.Money + +class MoneyTest : ShouldSpec() { + init { + // uncomment below to create an instance of Money + //val modelInstance = Money() + + // to test the property `cents` + should("test cents") { + // uncomment below to test the property + //modelInstance.cents shouldBe ("TODO") + } + + // to test the property `string` + should("test string") { + // uncomment below to test the property + //modelInstance.string shouldBe ("TODO") + } + + // to test the property `unit` + should("test unit") { + // uncomment below to test the property + //modelInstance.unit shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NamespaceTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NamespaceTest.kt new file mode 100644 index 00000000000..6360dbe0942 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NamespaceTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.Namespace + +class NamespaceTest : ShouldSpec() { + init { + // uncomment below to create an instance of Namespace + //val modelInstance = Namespace() + + // to test the property `name` - Name of the namespace. + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NeedsPrivilegedSessionErrorTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NeedsPrivilegedSessionErrorTest.kt new file mode 100644 index 00000000000..e559d04b162 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NeedsPrivilegedSessionErrorTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.NeedsPrivilegedSessionError +import sh.ory.client-kotlin-multiplatform.models.GenericError + +class NeedsPrivilegedSessionErrorTest : ShouldSpec() { + init { + // uncomment below to create an instance of NeedsPrivilegedSessionError + //val modelInstance = NeedsPrivilegedSessionError() + + // to test the property `redirectBrowserTo` - Points to where to redirect the user to next. + should("test redirectBrowserTo") { + // uncomment below to test the property + //modelInstance.redirectBrowserTo shouldBe ("TODO") + } + + // to test the property `error` + should("test error") { + // uncomment below to test the property + //modelInstance.error shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionCourierChannelTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionCourierChannelTest.kt new file mode 100644 index 00000000000..bef14a313df --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionCourierChannelTest.kt @@ -0,0 +1,107 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionCourierChannel + +class NormalizedProjectRevisionCourierChannelTest : ShouldSpec() { + init { + // uncomment below to create an instance of NormalizedProjectRevisionCourierChannel + //val modelInstance = NormalizedProjectRevisionCourierChannel() + + // to test the property `channelId` - The Channel's public ID + should("test channelId") { + // uncomment below to test the property + //modelInstance.channelId shouldBe ("TODO") + } + + // to test the property `requestConfigBody` - URI pointing to the JsonNet template used for HTTP body payload generation. + should("test requestConfigBody") { + // uncomment below to test the property + //modelInstance.requestConfigBody shouldBe ("TODO") + } + + // to test the property `requestConfigMethod` - The HTTP method to use (GET, POST, etc) for the HTTP call + should("test requestConfigMethod") { + // uncomment below to test the property + //modelInstance.requestConfigMethod shouldBe ("TODO") + } + + // to test the property `createdAt` - The creation date + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `requestConfigAuthConfigApiKeyIn` - API key location Can either be \"header\" or \"query\" + should("test requestConfigAuthConfigApiKeyIn") { + // uncomment below to test the property + //modelInstance.requestConfigAuthConfigApiKeyIn shouldBe ("TODO") + } + + // to test the property `requestConfigAuthConfigApiKeyName` - API key name Only used if the auth type is api_key + should("test requestConfigAuthConfigApiKeyName") { + // uncomment below to test the property + //modelInstance.requestConfigAuthConfigApiKeyName shouldBe ("TODO") + } + + // to test the property `requestConfigAuthConfigApiKeyValue` - API key value Only used if the auth type is api_key + should("test requestConfigAuthConfigApiKeyValue") { + // uncomment below to test the property + //modelInstance.requestConfigAuthConfigApiKeyValue shouldBe ("TODO") + } + + // to test the property `requestConfigAuthConfigBasicAuthPassword` - Basic Auth Password Only used if the auth type is basic_auth + should("test requestConfigAuthConfigBasicAuthPassword") { + // uncomment below to test the property + //modelInstance.requestConfigAuthConfigBasicAuthPassword shouldBe ("TODO") + } + + // to test the property `requestConfigAuthConfigBasicAuthUser` - Basic Auth Username Only used if the auth type is basic_auth + should("test requestConfigAuthConfigBasicAuthUser") { + // uncomment below to test the property + //modelInstance.requestConfigAuthConfigBasicAuthUser shouldBe ("TODO") + } + + // to test the property `requestConfigAuthType` - HTTP Auth Method to use for the HTTP call Can either be basic_auth or api_key basic_auth CourierChannelAuthTypeBasicAuth api_key CourierChannelAuthTypeApiKey + should("test requestConfigAuthType") { + // uncomment below to test the property + //modelInstance.requestConfigAuthType shouldBe ("TODO") + } + + // to test the property `requestConfigHeaders` - NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- + should("test requestConfigHeaders") { + // uncomment below to test the property + //modelInstance.requestConfigHeaders shouldBe ("TODO") + } + + // to test the property `requestConfigUrl` + should("test requestConfigUrl") { + // uncomment below to test the property + //modelInstance.requestConfigUrl shouldBe ("TODO") + } + + // to test the property `updatedAt` - Last upate time + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionHookTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionHookTest.kt new file mode 100644 index 00000000000..945f006fcbc --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionHookTest.kt @@ -0,0 +1,137 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionHook + +class NormalizedProjectRevisionHookTest : ShouldSpec() { + init { + // uncomment below to create an instance of NormalizedProjectRevisionHook + //val modelInstance = NormalizedProjectRevisionHook() + + // to test the property `configKey` - The Hooks Config Key + should("test configKey") { + // uncomment below to test the property + //modelInstance.configKey shouldBe ("TODO") + } + + // to test the property `hook` - The Hook Type + should("test hook") { + // uncomment below to test the property + //modelInstance.hook shouldBe ("TODO") + } + + // to test the property `createdAt` - The Project's Revision Creation Date + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` - ID of the entry + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `projectRevisionId` - The Revision's ID this schema belongs to + should("test projectRevisionId") { + // uncomment below to test the property + //modelInstance.projectRevisionId shouldBe ("TODO") + } + + // to test the property `updatedAt` - Last Time Project's Revision was Updated + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `webHookConfigAuthApiKeyIn` - Whether to send the API Key in the HTTP Header or as a HTTP Cookie + should("test webHookConfigAuthApiKeyIn") { + // uncomment below to test the property + //modelInstance.webHookConfigAuthApiKeyIn shouldBe ("TODO") + } + + // to test the property `webHookConfigAuthApiKeyName` - The name of the api key + should("test webHookConfigAuthApiKeyName") { + // uncomment below to test the property + //modelInstance.webHookConfigAuthApiKeyName shouldBe ("TODO") + } + + // to test the property `webHookConfigAuthApiKeyValue` - The value of the api key + should("test webHookConfigAuthApiKeyValue") { + // uncomment below to test the property + //modelInstance.webHookConfigAuthApiKeyValue shouldBe ("TODO") + } + + // to test the property `webHookConfigAuthBasicAuthPassword` - The password to be sent in the HTTP Basic Auth Header + should("test webHookConfigAuthBasicAuthPassword") { + // uncomment below to test the property + //modelInstance.webHookConfigAuthBasicAuthPassword shouldBe ("TODO") + } + + // to test the property `webHookConfigAuthBasicAuthUser` - The username to be sent in the HTTP Basic Auth Header + should("test webHookConfigAuthBasicAuthUser") { + // uncomment below to test the property + //modelInstance.webHookConfigAuthBasicAuthUser shouldBe ("TODO") + } + + // to test the property `webHookConfigAuthType` - HTTP Auth Method to use for the Web-Hook + should("test webHookConfigAuthType") { + // uncomment below to test the property + //modelInstance.webHookConfigAuthType shouldBe ("TODO") + } + + // to test the property `webHookConfigBody` - URI pointing to the JsonNet template used for Web-Hook payload generation. Only used for those HTTP methods, which support HTTP body payloads. + should("test webHookConfigBody") { + // uncomment below to test the property + //modelInstance.webHookConfigBody shouldBe ("TODO") + } + + // to test the property `webHookConfigCanInterrupt` - If enabled allows the web hook to interrupt / abort the self-service flow. It only applies to certain flows (registration/verification/login/settings) and requires a valid response format. + should("test webHookConfigCanInterrupt") { + // uncomment below to test the property + //modelInstance.webHookConfigCanInterrupt shouldBe ("TODO") + } + + // to test the property `webHookConfigMethod` - The HTTP method to use (GET, POST, etc) for the Web-Hook + should("test webHookConfigMethod") { + // uncomment below to test the property + //modelInstance.webHookConfigMethod shouldBe ("TODO") + } + + // to test the property `webHookConfigResponseIgnore` - Whether to ignore the Web Hook response + should("test webHookConfigResponseIgnore") { + // uncomment below to test the property + //modelInstance.webHookConfigResponseIgnore shouldBe ("TODO") + } + + // to test the property `webHookConfigResponseParse` - Whether to parse the Web Hook response + should("test webHookConfigResponseParse") { + // uncomment below to test the property + //modelInstance.webHookConfigResponseParse shouldBe ("TODO") + } + + // to test the property `webHookConfigUrl` - The URL the Web-Hook should call + should("test webHookConfigUrl") { + // uncomment below to test the property + //modelInstance.webHookConfigUrl shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionIdentitySchemaTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionIdentitySchemaTest.kt new file mode 100644 index 00000000000..0c88a7873ad --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionIdentitySchemaTest.kt @@ -0,0 +1,90 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionIdentitySchema +import sh.ory.client-kotlin-multiplatform.models.ManagedIdentitySchema + +class NormalizedProjectRevisionIdentitySchemaTest : ShouldSpec() { + init { + // uncomment below to create an instance of NormalizedProjectRevisionIdentitySchema + //val modelInstance = NormalizedProjectRevisionIdentitySchema() + + // to test the property `createdAt` - The Project's Revision Creation Date + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` - The unique ID of this entry. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `identitySchema` + should("test identitySchema") { + // uncomment below to test the property + //modelInstance.identitySchema shouldBe ("TODO") + } + + // to test the property `identitySchemaId` + should("test identitySchemaId") { + // uncomment below to test the property + //modelInstance.identitySchemaId shouldBe ("TODO") + } + + // to test the property `importId` - The imported (named) ID of the Identity Schema referenced in the Ory Kratos config. + should("test importId") { + // uncomment below to test the property + //modelInstance.importId shouldBe ("TODO") + } + + // to test the property `importUrl` - The ImportURL can be used to import an Identity Schema from a bse64 encoded string. In the future, this key also support HTTPS and other sources! If you import an Ory Kratos configuration, this would be akin to the `identity.schemas.#.url` key. The configuration will always return the import URL when you fetch it from the API. + should("test importUrl") { + // uncomment below to test the property + //modelInstance.importUrl shouldBe ("TODO") + } + + // to test the property `isDefault` - 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. + should("test isDefault") { + // uncomment below to test the property + //modelInstance.isDefault shouldBe ("TODO") + } + + // to test the property `preset` - Use a preset instead of a custom identity schema. + should("test preset") { + // uncomment below to test the property + //modelInstance.preset shouldBe ("TODO") + } + + // to test the property `projectRevisionId` - The Revision's ID this schema belongs to + should("test projectRevisionId") { + // uncomment below to test the property + //modelInstance.projectRevisionId shouldBe ("TODO") + } + + // to test the property `updatedAt` - Last Time Project's Revision was Updated + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionTest.kt new file mode 100644 index 00000000000..e5b18332a90 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionTest.kt @@ -0,0 +1,1271 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevision +import sh.ory.client-kotlin-multiplatform.models.KetoNamespace +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionCourierChannel +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionHook +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionIdentitySchema +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionThirdPartyProvider +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionTokenizerTemplate + +class NormalizedProjectRevisionTest : ShouldSpec() { + init { + // uncomment below to create an instance of NormalizedProjectRevision + //val modelInstance = NormalizedProjectRevision() + + // to test the property `name` - The project's name. + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `createdAt` - The Project's Revision Creation Date + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `disableAccountExperienceWelcomeScreen` - Whether to disable the account experience welcome screen, which is hosted under `/ui/welcome`. + should("test disableAccountExperienceWelcomeScreen") { + // uncomment below to test the property + //modelInstance.disableAccountExperienceWelcomeScreen shouldBe ("TODO") + } + + // to test the property `enableAxV2` - Whether the new account experience is enabled and reachable. + should("test enableAxV2") { + // uncomment below to test the property + //modelInstance.enableAxV2 shouldBe ("TODO") + } + + // to test the property `hydraOauth2AllowedTopLevelClaims` + should("test hydraOauth2AllowedTopLevelClaims") { + // uncomment below to test the property + //modelInstance.hydraOauth2AllowedTopLevelClaims shouldBe ("TODO") + } + + // to test the property `hydraOauth2ClientCredentialsDefaultGrantAllowedScope` - Automatically grant authorized OAuth2 Scope in OAuth2 Client Credentials Flow. Each OAuth2 Client is allowed to request a predefined OAuth2 Scope (for example `read write`). If this option is enabled, the full scope is automatically granted when performing the OAuth2 Client Credentials flow. If disabled, the OAuth2 Client has to request the scope in the OAuth2 request by providing the `scope` query parameter. Setting this option to true is common if you need compatibility with MITREid. This governs the \"oauth2.client_credentials.default_grant_allowed_scope\" setting. + should("test hydraOauth2ClientCredentialsDefaultGrantAllowedScope") { + // uncomment below to test the property + //modelInstance.hydraOauth2ClientCredentialsDefaultGrantAllowedScope shouldBe ("TODO") + } + + // to test the property `hydraOauth2ExcludeNotBeforeClaim` - Set to true if you want to exclude claim `nbf (not before)` part of access token. This governs the \"oauth2.exclude_not_before_claim\" setting. + should("test hydraOauth2ExcludeNotBeforeClaim") { + // uncomment below to test the property + //modelInstance.hydraOauth2ExcludeNotBeforeClaim shouldBe ("TODO") + } + + // to test the property `hydraOauth2GrantJwtIatOptional` - Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.iat_optional\" setting. + should("test hydraOauth2GrantJwtIatOptional") { + // uncomment below to test the property + //modelInstance.hydraOauth2GrantJwtIatOptional shouldBe ("TODO") + } + + // to test the property `hydraOauth2GrantJwtJtiOptional` - Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523). If set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration. This governs the \"oauth2.grant.jwt.jti_optional\" setting. + should("test hydraOauth2GrantJwtJtiOptional") { + // uncomment below to test the property + //modelInstance.hydraOauth2GrantJwtJtiOptional shouldBe ("TODO") + } + + // to test the property `hydraOauth2GrantJwtMaxTtl` - Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be. This feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied. Useful as a safety measure and recommended to keep below 720h. This governs the \"oauth2.grant.jwt.max_ttl\" setting. + should("test hydraOauth2GrantJwtMaxTtl") { + // uncomment below to test the property + //modelInstance.hydraOauth2GrantJwtMaxTtl shouldBe ("TODO") + } + + // to test the property `hydraOauth2MirrorTopLevelClaims` - Set to false if you don't want to mirror custom claims under 'ext'. This governs the \"oauth2.mirror_top_level_claims\" setting. + should("test hydraOauth2MirrorTopLevelClaims") { + // uncomment below to test the property + //modelInstance.hydraOauth2MirrorTopLevelClaims shouldBe ("TODO") + } + + // to test the property `hydraOauth2PkceEnforced` - Configures whether PKCE should be enforced for all OAuth2 Clients. This governs the \"oauth2.pkce.enforced\" setting. + should("test hydraOauth2PkceEnforced") { + // uncomment below to test the property + //modelInstance.hydraOauth2PkceEnforced shouldBe ("TODO") + } + + // to test the property `hydraOauth2PkceEnforcedForPublicClients` - Configures whether PKCE should be enforced for OAuth2 Clients without a client secret (public clients). This governs the \"oauth2.pkce.enforced_for_public_clients\" setting. + should("test hydraOauth2PkceEnforcedForPublicClients") { + // uncomment below to test the property + //modelInstance.hydraOauth2PkceEnforcedForPublicClients shouldBe ("TODO") + } + + // to test the property `hydraOauth2RefreshTokenHook` - Sets the Refresh Token Hook Endpoint. If set this endpoint will be called during the OAuth2 Token Refresh grant update the OAuth2 Access Token claims. This governs the \"oauth2.refresh_token_hook\" setting. + should("test hydraOauth2RefreshTokenHook") { + // uncomment below to test the property + //modelInstance.hydraOauth2RefreshTokenHook shouldBe ("TODO") + } + + // to test the property `hydraOauth2TokenHook` - Sets the token hook endpoint for all grant types. If set it will be called while providing token to customize claims. This governs the \"oauth2.token_hook.url\" setting. + should("test hydraOauth2TokenHook") { + // uncomment below to test the property + //modelInstance.hydraOauth2TokenHook shouldBe ("TODO") + } + + // to test the property `hydraOidcDynamicClientRegistrationDefaultScope` + should("test hydraOidcDynamicClientRegistrationDefaultScope") { + // uncomment below to test the property + //modelInstance.hydraOidcDynamicClientRegistrationDefaultScope shouldBe ("TODO") + } + + // to test the property `hydraOidcDynamicClientRegistrationEnabled` - Configures OpenID Connect Dynamic Client Registration. This governs the \"oidc.dynamic_client_registration.enabled\" setting. + should("test hydraOidcDynamicClientRegistrationEnabled") { + // uncomment below to test the property + //modelInstance.hydraOidcDynamicClientRegistrationEnabled shouldBe ("TODO") + } + + // to test the property `hydraOidcSubjectIdentifiersPairwiseSalt` - Configures OpenID Connect Discovery and overwrites the pairwise algorithm This governs the \"oidc.subject_identifiers.pairwise_salt\" setting. + should("test hydraOidcSubjectIdentifiersPairwiseSalt") { + // uncomment below to test the property + //modelInstance.hydraOidcSubjectIdentifiersPairwiseSalt shouldBe ("TODO") + } + + // to test the property `hydraOidcSubjectIdentifiersSupportedTypes` + should("test hydraOidcSubjectIdentifiersSupportedTypes") { + // uncomment below to test the property + //modelInstance.hydraOidcSubjectIdentifiersSupportedTypes shouldBe ("TODO") + } + + // to test the property `hydraSecretsCookie` + should("test hydraSecretsCookie") { + // uncomment below to test the property + //modelInstance.hydraSecretsCookie shouldBe ("TODO") + } + + // to test the property `hydraSecretsSystem` + should("test hydraSecretsSystem") { + // uncomment below to test the property + //modelInstance.hydraSecretsSystem shouldBe ("TODO") + } + + // to test the property `hydraServeCookiesSameSiteLegacyWorkaround` - Configures the Ory Hydra Cookie Same Site Legacy Workaround This governs the \"serve.cookies.same_site_legacy_workaround\" setting. + should("test hydraServeCookiesSameSiteLegacyWorkaround") { + // uncomment below to test the property + //modelInstance.hydraServeCookiesSameSiteLegacyWorkaround shouldBe ("TODO") + } + + // to test the property `hydraServeCookiesSameSiteMode` - Configures the Ory Hydra Cookie Same Site Mode This governs the \"serve.cookies.same_site_mode\" setting. + should("test hydraServeCookiesSameSiteMode") { + // uncomment below to test the property + //modelInstance.hydraServeCookiesSameSiteMode shouldBe ("TODO") + } + + // to test the property `hydraStrategiesAccessToken` - Defines access token type This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt + should("test hydraStrategiesAccessToken") { + // uncomment below to test the property + //modelInstance.hydraStrategiesAccessToken shouldBe ("TODO") + } + + // to test the property `hydraStrategiesJwtScopeClaim` - Define the claim to use as the scope in the access token. This governs the \"strategies.jwt.scope_claim\" setting: list: The scope claim is an array of strings named `scope`: `{ \"scope\": [\"read\", \"write\"] }` string: The scope claim is a space delimited list of strings named `scp`: `{ \"scp\": \"read write\" }` both: The scope claim is both a space delimited list and an array of strings named `scope` and `scp`: `{ \"scope\": [\"read\", \"write\"], \"scp\": \"read write\" }` list OAuth2JWTScopeClaimList string OAuth2JWTScopeClaimString both OAuth2JWTScopeClaimBoth + should("test hydraStrategiesJwtScopeClaim") { + // uncomment below to test the property + //modelInstance.hydraStrategiesJwtScopeClaim shouldBe ("TODO") + } + + // to test the property `hydraStrategiesScope` - Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes This governs the \"strategies.scope\" setting. exact Oauth2ScopeStrategyExact wildcard Oauth2ScopeStrategyWildcard + should("test hydraStrategiesScope") { + // uncomment below to test the property + //modelInstance.hydraStrategiesScope shouldBe ("TODO") + } + + // to test the property `hydraTtlAccessToken` - This governs the \"ttl.access_token\" setting. + should("test hydraTtlAccessToken") { + // uncomment below to test the property + //modelInstance.hydraTtlAccessToken shouldBe ("TODO") + } + + // to test the property `hydraTtlAuthCode` - Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.auth_code\" setting. + should("test hydraTtlAuthCode") { + // uncomment below to test the property + //modelInstance.hydraTtlAuthCode shouldBe ("TODO") + } + + // to test the property `hydraTtlIdToken` - This governs the \"ttl.id_token\" setting. + should("test hydraTtlIdToken") { + // uncomment below to test the property + //modelInstance.hydraTtlIdToken shouldBe ("TODO") + } + + // to test the property `hydraTtlLoginConsentRequest` - Configures how long a user login and consent flow may take. This governs the \"ttl.login_consent_request\" setting. + should("test hydraTtlLoginConsentRequest") { + // uncomment below to test the property + //modelInstance.hydraTtlLoginConsentRequest shouldBe ("TODO") + } + + // to test the property `hydraTtlRefreshToken` - Configures how long refresh tokens are valid. Set to -1 for refresh tokens to never expire. This is not recommended! This governs the \"ttl.refresh_token\" setting. + should("test hydraTtlRefreshToken") { + // uncomment below to test the property + //modelInstance.hydraTtlRefreshToken shouldBe ("TODO") + } + + // to test the property `hydraUrlsConsent` - Sets the OAuth2 Consent Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.consent\" setting. + should("test hydraUrlsConsent") { + // uncomment below to test the property + //modelInstance.hydraUrlsConsent shouldBe ("TODO") + } + + // to test the property `hydraUrlsError` - Sets the OAuth2 Error URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.error\" setting. + should("test hydraUrlsError") { + // uncomment below to test the property + //modelInstance.hydraUrlsError shouldBe ("TODO") + } + + // to test the property `hydraUrlsLogin` - Sets the OAuth2 Login Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.login\" setting. + should("test hydraUrlsLogin") { + // uncomment below to test the property + //modelInstance.hydraUrlsLogin shouldBe ("TODO") + } + + // to test the property `hydraUrlsLogout` - Sets the logout endpoint. Defaults to the Ory Account Experience if left empty. This governs the \"urls.logout\" setting. + should("test hydraUrlsLogout") { + // uncomment below to test the property + //modelInstance.hydraUrlsLogout shouldBe ("TODO") + } + + // to test the property `hydraUrlsPostLogoutRedirect` - When an OAuth2-related user agent requests to log out, they will be redirected to this url afterwards per default. Defaults to the Ory Account Experience in development and your application in production mode when a custom domain is connected. This governs the \"urls.post_logout_redirect\" setting. + should("test hydraUrlsPostLogoutRedirect") { + // uncomment below to test the property + //modelInstance.hydraUrlsPostLogoutRedirect shouldBe ("TODO") + } + + // to test the property `hydraUrlsRegistration` - Sets the OAuth2 Registration Endpoint URL of the OAuth2 User Login & Consent flow. Defaults to the Ory Account Experience if left empty. This governs the \"urls.registration\" setting. + should("test hydraUrlsRegistration") { + // uncomment below to test the property + //modelInstance.hydraUrlsRegistration shouldBe ("TODO") + } + + // to test the property `hydraUrlsSelfIssuer` - This value will be used as the issuer in access and ID tokens. It must be specified and using HTTPS protocol, unless the development mode is enabled. On the Ory Network it will be very rare that you want to modify this value. If left empty, it will default to the correct value for the Ory Network. This governs the \"urls.self.issuer\" setting. + should("test hydraUrlsSelfIssuer") { + // uncomment below to test the property + //modelInstance.hydraUrlsSelfIssuer shouldBe ("TODO") + } + + // to test the property `hydraWebfingerJwksBroadcastKeys` + should("test hydraWebfingerJwksBroadcastKeys") { + // uncomment below to test the property + //modelInstance.hydraWebfingerJwksBroadcastKeys shouldBe ("TODO") + } + + // to test the property `hydraWebfingerOidcDiscoveryAuthUrl` - Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL. This governs the \"webfinger.oidc.discovery.auth_url\" setting. + should("test hydraWebfingerOidcDiscoveryAuthUrl") { + // uncomment below to test the property + //modelInstance.hydraWebfingerOidcDiscoveryAuthUrl shouldBe ("TODO") + } + + // to test the property `hydraWebfingerOidcDiscoveryClientRegistrationUrl` - Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint. This governs the \"webfinger.oidc.discovery.client_registration_url\" setting. + should("test hydraWebfingerOidcDiscoveryClientRegistrationUrl") { + // uncomment below to test the property + //modelInstance.hydraWebfingerOidcDiscoveryClientRegistrationUrl shouldBe ("TODO") + } + + // to test the property `hydraWebfingerOidcDiscoveryJwksUrl` - Configures OpenID Connect Discovery and overwrites the JWKS URL. This governs the \"webfinger.oidc.discovery.jwks_url\" setting. + should("test hydraWebfingerOidcDiscoveryJwksUrl") { + // uncomment below to test the property + //modelInstance.hydraWebfingerOidcDiscoveryJwksUrl shouldBe ("TODO") + } + + // to test the property `hydraWebfingerOidcDiscoverySupportedClaims` + should("test hydraWebfingerOidcDiscoverySupportedClaims") { + // uncomment below to test the property + //modelInstance.hydraWebfingerOidcDiscoverySupportedClaims shouldBe ("TODO") + } + + // to test the property `hydraWebfingerOidcDiscoverySupportedScope` + should("test hydraWebfingerOidcDiscoverySupportedScope") { + // uncomment below to test the property + //modelInstance.hydraWebfingerOidcDiscoverySupportedScope shouldBe ("TODO") + } + + // to test the property `hydraWebfingerOidcDiscoveryTokenUrl` - Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL. This governs the \"webfinger.oidc.discovery.token_url\" setting. + should("test hydraWebfingerOidcDiscoveryTokenUrl") { + // uncomment below to test the property + //modelInstance.hydraWebfingerOidcDiscoveryTokenUrl shouldBe ("TODO") + } + + // to test the property `hydraWebfingerOidcDiscoveryUserinfoUrl` - Configures OpenID Connect Discovery and overwrites userinfo endpoint to be advertised at the OpenID Connect Discovery endpoint /.well-known/openid-configuration. Defaults to Ory Hydra's userinfo endpoint at /userinfo. Set this value if you want to handle this endpoint yourself. This governs the \"webfinger.oidc.discovery.userinfo_url\" setting. + should("test hydraWebfingerOidcDiscoveryUserinfoUrl") { + // uncomment below to test the property + //modelInstance.hydraWebfingerOidcDiscoveryUserinfoUrl shouldBe ("TODO") + } + + // to test the property `id` - The revision ID. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `ketoNamespaceConfiguration` - The Revisions' Keto Namespace Configuration The string is a URL pointing to an OPL file with the configuration. + should("test ketoNamespaceConfiguration") { + // uncomment below to test the property + //modelInstance.ketoNamespaceConfiguration shouldBe ("TODO") + } + + // to test the property `ketoNamespaces` + should("test ketoNamespaces") { + // uncomment below to test the property + //modelInstance.ketoNamespaces shouldBe ("TODO") + } + + // to test the property `kratosCookiesSameSite` - Configures the Ory Kratos Cookie SameSite Attribute This governs the \"cookies.same_site\" setting. + should("test kratosCookiesSameSite") { + // uncomment below to test the property + //modelInstance.kratosCookiesSameSite shouldBe ("TODO") + } + + // to test the property `kratosCourierChannels` + should("test kratosCourierChannels") { + // uncomment below to test the property + //modelInstance.kratosCourierChannels shouldBe ("TODO") + } + + // to test the property `kratosCourierDeliveryStrategy` - The delivery strategy to use when sending emails `smtp`: Use SMTP server `http`: Use the built in HTTP client to send the email to some remote service + should("test kratosCourierDeliveryStrategy") { + // uncomment below to test the property + //modelInstance.kratosCourierDeliveryStrategy shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigAuthApiKeyIn` - The location of the API key to use in the HTTP email sending service's authentication `header`: Send the key value pair as a header `cookie`: Send the key value pair as a cookie This governs the \"courier.http.auth.config.in\" setting + should("test kratosCourierHttpRequestConfigAuthApiKeyIn") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigAuthApiKeyIn shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigAuthApiKeyName` - The name of the API key to use in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.name\" setting + should("test kratosCourierHttpRequestConfigAuthApiKeyName") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigAuthApiKeyName shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigAuthApiKeyValue` - The value of the API key to use in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.value\" setting + should("test kratosCourierHttpRequestConfigAuthApiKeyValue") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigAuthApiKeyValue shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigAuthBasicAuthPassword` - The password to use for basic auth in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.password\" setting + should("test kratosCourierHttpRequestConfigAuthBasicAuthPassword") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigAuthBasicAuthPassword shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigAuthBasicAuthUser` - The user to use for basic auth in the HTTP email sending service's authentication This governs the \"courier.http.auth.config.user\" setting + should("test kratosCourierHttpRequestConfigAuthBasicAuthUser") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigAuthBasicAuthUser shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigAuthType` - The authentication type to use while contacting the remote HTTP email sending service `basic_auth`: Use Basic Authentication `api_key`: Use API Key Authentication in a header or cookie + should("test kratosCourierHttpRequestConfigAuthType") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigAuthType shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigBody` - The Jsonnet template to generate the body to send to the remote HTTP email sending service Should be valid Jsonnet and base64 encoded This governs the \"courier.http.body\" setting + should("test kratosCourierHttpRequestConfigBody") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigBody shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigHeaders` - NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- + should("test kratosCourierHttpRequestConfigHeaders") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigHeaders shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigMethod` - The http METHOD to use when calling the remote HTTP email sending service + should("test kratosCourierHttpRequestConfigMethod") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigMethod shouldBe ("TODO") + } + + // to test the property `kratosCourierHttpRequestConfigUrl` - The URL of the remote HTTP email sending service This governs the \"courier.http.url\" setting + should("test kratosCourierHttpRequestConfigUrl") { + // uncomment below to test the property + //modelInstance.kratosCourierHttpRequestConfigUrl shouldBe ("TODO") + } + + // to test the property `kratosCourierSmtpConnectionUri` - Configures the Ory Kratos SMTP Connection URI This governs the \"courier.smtp.connection_uri\" setting. + should("test kratosCourierSmtpConnectionUri") { + // uncomment below to test the property + //modelInstance.kratosCourierSmtpConnectionUri shouldBe ("TODO") + } + + // to test the property `kratosCourierSmtpFromAddress` - Configures the Ory Kratos SMTP From Address This governs the \"courier.smtp.from_address\" setting. + should("test kratosCourierSmtpFromAddress") { + // uncomment below to test the property + //modelInstance.kratosCourierSmtpFromAddress shouldBe ("TODO") + } + + // to test the property `kratosCourierSmtpFromName` - Configures the Ory Kratos SMTP From Name This governs the \"courier.smtp.from_name\" setting. + should("test kratosCourierSmtpFromName") { + // uncomment below to test the property + //modelInstance.kratosCourierSmtpFromName shouldBe ("TODO") + } + + // to test the property `kratosCourierSmtpHeaders` - NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- + should("test kratosCourierSmtpHeaders") { + // uncomment below to test the property + //modelInstance.kratosCourierSmtpHeaders shouldBe ("TODO") + } + + // to test the property `kratosCourierSmtpLocalName` - Configures the local_name to use in SMTP connections This governs the \"courier.smtp.local_name\" setting. + should("test kratosCourierSmtpLocalName") { + // uncomment below to test the property + //modelInstance.kratosCourierSmtpLocalName shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesLoginCodeValidEmailBodyHtml` - Configures the Ory Kratos Valid Login via Code Email Body HTML Template This governs the \"courier.smtp.templates.login_code.valid.email.body.html\" setting. + should("test kratosCourierTemplatesLoginCodeValidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesLoginCodeValidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesLoginCodeValidEmailBodyPlaintext` - Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.login_code.valid.email.body.plaintext\" setting. + should("test kratosCourierTemplatesLoginCodeValidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesLoginCodeValidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesLoginCodeValidEmailSubject` - Configures the Ory Kratos Valid Login via Code Email Subject Template This governs the \"courier.smtp.templates.login_code.valid.email.subject\" setting. + should("test kratosCourierTemplatesLoginCodeValidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesLoginCodeValidEmailSubject shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesLoginCodeValidSmsBodyPlaintext` - Configures the Ory Kratos Valid Login via Code SMS plain text body This governs the \"courier.smtp.templates.login_code.valid.sms.plaintext\" setting. + should("test kratosCourierTemplatesLoginCodeValidSmsBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesLoginCodeValidSmsBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryCodeInvalidEmailBodyHtml` - Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting. + should("test kratosCourierTemplatesRecoveryCodeInvalidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryCodeInvalidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryCodeInvalidEmailBodyPlaintext` - Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.plaintext\" setting. + should("test kratosCourierTemplatesRecoveryCodeInvalidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryCodeInvalidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryCodeInvalidEmailSubject` - Configures the Ory Kratos Invalid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting. + should("test kratosCourierTemplatesRecoveryCodeInvalidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryCodeInvalidEmailSubject shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryCodeValidEmailBodyHtml` - Configures the Ory Kratos Valid Recovery via Code Email Body HTML Template This governs the \"courier.smtp.templates.recovery_code.valid.email.body.html\" setting. + should("test kratosCourierTemplatesRecoveryCodeValidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryCodeValidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryCodeValidEmailBodyPlaintext` - Configures the Ory Kratos Valid Recovery via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery_code.valid.email.body.plaintext\" setting. + should("test kratosCourierTemplatesRecoveryCodeValidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryCodeValidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryCodeValidEmailSubject` - Configures the Ory Kratos Valid Recovery via Code Email Subject Template This governs the \"courier.smtp.templates.recovery_code.valid.email.subject\" setting. + should("test kratosCourierTemplatesRecoveryCodeValidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryCodeValidEmailSubject shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryInvalidEmailBodyHtml` - Configures the Ory Kratos Invalid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting. + should("test kratosCourierTemplatesRecoveryInvalidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryInvalidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryInvalidEmailBodyPlaintext` - Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.plaintext\" setting. + should("test kratosCourierTemplatesRecoveryInvalidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryInvalidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryInvalidEmailSubject` - Configures the Ory Kratos Invalid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting. + should("test kratosCourierTemplatesRecoveryInvalidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryInvalidEmailSubject shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryValidEmailBodyHtml` - Configures the Ory Kratos Valid Recovery Email Body HTML Template This governs the \"courier.smtp.templates.recovery.valid.email.body.html\" setting. + should("test kratosCourierTemplatesRecoveryValidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryValidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryValidEmailBodyPlaintext` - Configures the Ory Kratos Valid Recovery Email Body Plaintext Template This governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting. + should("test kratosCourierTemplatesRecoveryValidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryValidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRecoveryValidEmailSubject` - Configures the Ory Kratos Valid Recovery Email Subject Template This governs the \"courier.smtp.templates.recovery.valid.email.subject\" setting. + should("test kratosCourierTemplatesRecoveryValidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRecoveryValidEmailSubject shouldBe ("TODO") + } + + // to test the property `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. + should("test kratosCourierTemplatesRegistrationCodeValidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRegistrationCodeValidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `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. + should("test kratosCourierTemplatesRegistrationCodeValidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRegistrationCodeValidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesRegistrationCodeValidEmailSubject` - Configures the Ory Kratos Valid Registration via Code Email Subject Template This governs the \"courier.smtp.templates.registration_code.valid.email.subject\" setting. + should("test kratosCourierTemplatesRegistrationCodeValidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRegistrationCodeValidEmailSubject shouldBe ("TODO") + } + + // to test the property `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. + should("test kratosCourierTemplatesRegistrationCodeValidSmsBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesRegistrationCodeValidSmsBodyPlaintext shouldBe ("TODO") + } + + // to test the property `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. + should("test kratosCourierTemplatesVerificationCodeInvalidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationCodeInvalidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `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. + should("test kratosCourierTemplatesVerificationCodeInvalidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationCodeInvalidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationCodeInvalidEmailSubject` - Configures the Ory Kratos Invalid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.invalid.email.subject\" setting. + should("test kratosCourierTemplatesVerificationCodeInvalidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationCodeInvalidEmailSubject shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationCodeValidEmailBodyHtml` - Configures the Ory Kratos Valid Verification via Code Email Body HTML Template This governs the \"courier.smtp.templates.verification_code.valid.email.body.html\" setting. + should("test kratosCourierTemplatesVerificationCodeValidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationCodeValidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationCodeValidEmailBodyPlaintext` - Configures the Ory Kratos Valid Verification via Code Email Body Plaintext Template This governs the \"courier.smtp.templates.verification_code.valid.email.body.plaintext\" setting. + should("test kratosCourierTemplatesVerificationCodeValidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationCodeValidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationCodeValidEmailSubject` - Configures the Ory Kratos Valid Verification via Code Email Subject Template This governs the \"courier.smtp.templates.verification_code.valid.email.subject\" setting. + should("test kratosCourierTemplatesVerificationCodeValidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationCodeValidEmailSubject shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationCodeValidSmsBodyPlaintext` - Configures the Ory Kratos Valid Verification via Code SMS Body Plaintext This governs the \"courier.smtp.templates.verification_code.valid.sms.body.plaintext\" setting. + should("test kratosCourierTemplatesVerificationCodeValidSmsBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationCodeValidSmsBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationInvalidEmailBodyHtml` - Configures the Ory Kratos Invalid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.invalid.email.body.html\" setting. + should("test kratosCourierTemplatesVerificationInvalidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationInvalidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationInvalidEmailBodyPlaintext` - Configures the Ory Kratos Invalid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.verification.invalid.email.body.plaintext\" setting. + should("test kratosCourierTemplatesVerificationInvalidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationInvalidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationInvalidEmailSubject` - Configures the Ory Kratos Invalid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.invalid.email.subject\" setting. + should("test kratosCourierTemplatesVerificationInvalidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationInvalidEmailSubject shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationValidEmailBodyHtml` - Configures the Ory Kratos Valid Verification Email Body HTML Template This governs the \"courier.smtp.templates.verification.valid.email.body.html\" setting. + should("test kratosCourierTemplatesVerificationValidEmailBodyHtml") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationValidEmailBodyHtml shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationValidEmailBodyPlaintext` - Configures the Ory Kratos Valid Verification Email Body Plaintext Template This governs the \"courier.smtp.templates.verification.valid.email.body.plaintext\" setting. + should("test kratosCourierTemplatesVerificationValidEmailBodyPlaintext") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationValidEmailBodyPlaintext shouldBe ("TODO") + } + + // to test the property `kratosCourierTemplatesVerificationValidEmailSubject` - Configures the Ory Kratos Valid Verification Email Subject Template This governs the \"courier.smtp.templates.verification.valid.email.subject\" setting. + should("test kratosCourierTemplatesVerificationValidEmailSubject") { + // uncomment below to test the property + //modelInstance.kratosCourierTemplatesVerificationValidEmailSubject shouldBe ("TODO") + } + + // to test the property `kratosFeatureFlagsCacheableSessions` - Configures the Ory Kratos Session caching feature flag This governs the \"feature_flags.cacheable_sessions\" setting. + should("test kratosFeatureFlagsCacheableSessions") { + // uncomment below to test the property + //modelInstance.kratosFeatureFlagsCacheableSessions shouldBe ("TODO") + } + + // to test the property `kratosFeatureFlagsCacheableSessionsMaxAge` - Configures the Ory Kratos Session caching max-age feature flag This governs the \"feature_flags.cacheable_sessions_max_age\" setting. + should("test kratosFeatureFlagsCacheableSessionsMaxAge") { + // uncomment below to test the property + //modelInstance.kratosFeatureFlagsCacheableSessionsMaxAge shouldBe ("TODO") + } + + // to test the property `kratosFeatureFlagsFasterSessionExtend` - Configures the Ory Kratos Faster Session Extend setting If enabled allows faster session extension by skipping the session lookup and returning 201 instead of 200. Disabling this feature will be deprecated in the future. This governs the \"feature_flags.faster_session_extend\" setting. + should("test kratosFeatureFlagsFasterSessionExtend") { + // uncomment below to test the property + //modelInstance.kratosFeatureFlagsFasterSessionExtend shouldBe ("TODO") + } + + // to test the property `kratosFeatureFlagsUseContinueWithTransitions` - Configures the Ory Kratos Session use_continue_with_transitions flag This governs the \"feature_flags.use_continue_with_transitions\" setting. + should("test kratosFeatureFlagsUseContinueWithTransitions") { + // uncomment below to test the property + //modelInstance.kratosFeatureFlagsUseContinueWithTransitions shouldBe ("TODO") + } + + // to test the property `kratosIdentitySchemas` + should("test kratosIdentitySchemas") { + // uncomment below to test the property + //modelInstance.kratosIdentitySchemas shouldBe ("TODO") + } + + // to test the property `kratosOauth2ProviderHeaders` - NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- + should("test kratosOauth2ProviderHeaders") { + // uncomment below to test the property + //modelInstance.kratosOauth2ProviderHeaders shouldBe ("TODO") + } + + // to test the property `kratosOauth2ProviderOverrideReturnTo` - Kratos OAuth2 Provider Override Return To Enabling this allows Kratos to set the return_to parameter automatically to the OAuth2 request URL on the login flow, allowing complex flows such as recovery to continue to the initial OAuth2 flow. + should("test kratosOauth2ProviderOverrideReturnTo") { + // uncomment below to test the property + //modelInstance.kratosOauth2ProviderOverrideReturnTo shouldBe ("TODO") + } + + // to test the property `kratosOauth2ProviderUrl` - The Revisions' OAuth2 Provider Integration URL This governs the \"oauth2_provider.url\" setting. + should("test kratosOauth2ProviderUrl") { + // uncomment below to test the property + //modelInstance.kratosOauth2ProviderUrl shouldBe ("TODO") + } + + // to test the property `kratosPreviewDefaultReadConsistencyLevel` - Configures the default read consistency level for identity APIs This governs the `preview.default_read_consistency_level` setting. 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. 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` Defaults to \"strong\" for new and existing projects. This feature is in preview. Use with caution. + should("test kratosPreviewDefaultReadConsistencyLevel") { + // uncomment below to test the property + //modelInstance.kratosPreviewDefaultReadConsistencyLevel shouldBe ("TODO") + } + + // to test the property `kratosSecretsCipher` + should("test kratosSecretsCipher") { + // uncomment below to test the property + //modelInstance.kratosSecretsCipher shouldBe ("TODO") + } + + // to test the property `kratosSecretsCookie` + should("test kratosSecretsCookie") { + // uncomment below to test the property + //modelInstance.kratosSecretsCookie shouldBe ("TODO") + } + + // to test the property `kratosSecretsDefault` + should("test kratosSecretsDefault") { + // uncomment below to test the property + //modelInstance.kratosSecretsDefault shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceAllowedReturnUrls` + should("test kratosSelfserviceAllowedReturnUrls") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceAllowedReturnUrls shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceDefaultBrowserReturnUrl` - Configures the Ory Kratos Default Return URL This governs the \"selfservice.allowed_return_urls\" setting. + should("test kratosSelfserviceDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsErrorUiUrl` - Configures the Ory Kratos Error UI URL This governs the \"selfservice.flows.error.ui_url\" setting. + should("test kratosSelfserviceFlowsErrorUiUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsErrorUiUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginAfterCodeDefaultBrowserReturnUrl` - Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.code.after.password.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsLoginAfterCodeDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginAfterCodeDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginAfterDefaultBrowserReturnUrl` - Configures the Ory Kratos Login Default Return URL This governs the \"selfservice.flows.login.after.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsLoginAfterDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginAfterDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginAfterLookupSecretDefaultBrowserReturnUrl` - Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.lookup_secret.after.password.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsLoginAfterLookupSecretDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginAfterLookupSecretDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginAfterOidcDefaultBrowserReturnUrl` - Configures the Ory Kratos Login After OIDC Default Return URL This governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsLoginAfterOidcDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginAfterOidcDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginAfterPasskeyDefaultBrowserReturnUrl` - Configures the Ory Kratos Login After Passkey Default Return URL This governs the \"selfservice.flows.login.after.passkey.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsLoginAfterPasskeyDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginAfterPasskeyDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginAfterPasswordDefaultBrowserReturnUrl` - Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsLoginAfterPasswordDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginAfterPasswordDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginAfterTotpDefaultBrowserReturnUrl` - Configures the Ory Kratos Login After Password Default Return URL This governs the \"selfservice.flows.totp.after.password.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsLoginAfterTotpDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginAfterTotpDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginAfterWebauthnDefaultBrowserReturnUrl` - Configures the Ory Kratos Login After WebAuthn Default Return URL This governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsLoginAfterWebauthnDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginAfterWebauthnDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginLifespan` - Configures the Ory Kratos Login Lifespan This governs the \"selfservice.flows.login.lifespan\" setting. + should("test kratosSelfserviceFlowsLoginLifespan") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginLifespan shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLoginUiUrl` - Configures the Ory Kratos Login UI URL This governs the \"selfservice.flows.login.ui_url\" setting. + should("test kratosSelfserviceFlowsLoginUiUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLoginUiUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsLogoutAfterDefaultBrowserReturnUrl` - Configures the Ory Kratos Logout Default Return URL This governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsLogoutAfterDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsLogoutAfterDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRecoveryAfterDefaultBrowserReturnUrl` - Configures the Ory Kratos Recovery Default Return URL This governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsRecoveryAfterDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRecoveryAfterDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRecoveryEnabled` - Configures the Ory Kratos Recovery Enabled Setting This governs the \"selfservice.flows.recovery.enabled\" setting. + should("test kratosSelfserviceFlowsRecoveryEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRecoveryEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRecoveryLifespan` - Configures the Ory Kratos Recovery Lifespan This governs the \"selfservice.flows.recovery.lifespan\" setting. + should("test kratosSelfserviceFlowsRecoveryLifespan") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRecoveryLifespan shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRecoveryNotifyUnknownRecipients` - Configures whether to notify unknown recipients of a Ory Kratos recovery flow This governs the \"selfservice.flows.recovery.notify_unknown_recipients\" setting. + should("test kratosSelfserviceFlowsRecoveryNotifyUnknownRecipients") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRecoveryNotifyUnknownRecipients shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRecoveryUiUrl` - Configures the Ory Kratos Recovery UI URL This governs the \"selfservice.flows.recovery.ui_url\" setting. + should("test kratosSelfserviceFlowsRecoveryUiUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRecoveryUiUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRecoveryUse` - Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\") This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode + should("test kratosSelfserviceFlowsRecoveryUse") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRecoveryUse shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationAfterCodeDefaultBrowserReturnUrl` - Configures the Ory Kratos Registration After Code Default Return URL This governs the \"selfservice.flows.registration.after.code.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsRegistrationAfterCodeDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationAfterCodeDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationAfterDefaultBrowserReturnUrl` - Configures the Ory Kratos Registration Default Return URL This governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsRegistrationAfterDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationAfterDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationAfterOidcDefaultBrowserReturnUrl` - Configures the Ory Kratos Registration After OIDC Default Return URL This governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsRegistrationAfterOidcDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationAfterOidcDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationAfterPasskeyDefaultBrowserReturnUrl` - Configures the Ory Kratos Registration After Passkey Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsRegistrationAfterPasskeyDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationAfterPasskeyDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationAfterPasswordDefaultBrowserReturnUrl` - Configures the Ory Kratos Registration After Password Default Return URL This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsRegistrationAfterPasswordDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationAfterPasswordDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationAfterWebauthnDefaultBrowserReturnUrl` - Configures the Ory Kratos Registration After Webauthn Default Return URL This governs the \"selfservice.flows.registration.after.webauthn.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsRegistrationAfterWebauthnDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationAfterWebauthnDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationEnableLegacyOneStep` - Disable two-step registration Two-step registration is a significantly improved sign up flow and recommended when using more than one sign up methods. To revert to one-step registration, set this to `true`. This governs the \"selfservice.flows.registration.enable_legacy_one_step\" setting. + should("test kratosSelfserviceFlowsRegistrationEnableLegacyOneStep") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationEnableLegacyOneStep shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationEnabled` - Configures the Whether Ory Kratos Registration is Enabled This governs the \"selfservice.flows.registration.enabled\" setting.0 + should("test kratosSelfserviceFlowsRegistrationEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationLifespan` - Configures the Ory Kratos Registration Lifespan This governs the \"selfservice.flows.registration.lifespan\" setting. + should("test kratosSelfserviceFlowsRegistrationLifespan") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationLifespan shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationLoginHints` - Configures the Ory Kratos Registration Login Hints Shows helpful information when a user tries to sign up with a duplicate account. This governs the \"selfservice.flows.registration.login_hints\" setting. + should("test kratosSelfserviceFlowsRegistrationLoginHints") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationLoginHints shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsRegistrationUiUrl` - Configures the Ory Kratos Registration UI URL This governs the \"selfservice.flows.registration.ui_url\" setting. + should("test kratosSelfserviceFlowsRegistrationUiUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsRegistrationUiUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsAfterDefaultBrowserReturnUrl` - Configures the Ory Kratos Settings Default Return URL This governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsSettingsAfterDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsAfterDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsAfterLookupSecretDefaultBrowserReturnUrl` - Configures the Ory Kratos Settings Default Return URL After Updating Lookup Secrets This governs the \"selfservice.flows.settings.after.lookup_secret.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsSettingsAfterLookupSecretDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsAfterLookupSecretDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsAfterOidcDefaultBrowserReturnUrl` - Configures the Ory Kratos Settings Default Return URL After Updating Social Sign In This governs the \"selfservice.flows.settings.after.oidc.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsSettingsAfterOidcDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsAfterOidcDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsAfterPasskeyDefaultBrowserReturnUrl` - Configures the Ory Kratos Settings Default Return URL After Updating Passkey This governs the \"selfservice.flows.settings.after.passkey.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsSettingsAfterPasskeyDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsAfterPasskeyDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsAfterPasswordDefaultBrowserReturnUrl` - Configures the Ory Kratos Settings Default Return URL After Updating Passwords This governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsSettingsAfterPasswordDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsAfterPasswordDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsAfterProfileDefaultBrowserReturnUrl` - Configures the Ory Kratos Settings Default Return URL After Updating Profiles This governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsSettingsAfterProfileDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsAfterProfileDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsAfterTotpDefaultBrowserReturnUrl` - Configures the Ory Kratos Settings Default Return URL After Updating TOTP This governs the \"selfservice.flows.settings.after.totp.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsSettingsAfterTotpDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsAfterTotpDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsAfterWebauthnDefaultBrowserReturnUrl` - Configures the Ory Kratos Settings Default Return URL After Updating WebAuthn This governs the \"selfservice.flows.settings.after.webauthn.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsSettingsAfterWebauthnDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsAfterWebauthnDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsLifespan` - Configures the Ory Kratos Settings Lifespan This governs the \"selfservice.flows.settings.lifespan\" setting. + should("test kratosSelfserviceFlowsSettingsLifespan") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsLifespan shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsPrivilegedSessionMaxAge` - Configures the Ory Kratos Settings Privileged Session Max Age This governs the \"selfservice.flows.settings.privileged_session_max_age\" setting. + should("test kratosSelfserviceFlowsSettingsPrivilegedSessionMaxAge") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsPrivilegedSessionMaxAge shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsRequiredAal` - Configures the Ory Kratos Settings Required AAL This governs the \"selfservice.flows.settings.required_aal\" setting. + should("test kratosSelfserviceFlowsSettingsRequiredAal") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsRequiredAal shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsSettingsUiUrl` - Configures the Ory Kratos Settings UI URL This governs the \"selfservice.flows.settings.ui_url\" setting. + should("test kratosSelfserviceFlowsSettingsUiUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsSettingsUiUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsVerificationAfterDefaultBrowserReturnUrl` - Configures the Ory Kratos Verification Default Return URL This governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting. + should("test kratosSelfserviceFlowsVerificationAfterDefaultBrowserReturnUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsVerificationAfterDefaultBrowserReturnUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsVerificationEnabled` - Configures the Ory Kratos Verification Enabled Setting This governs the \"selfservice.flows.verification.enabled\" setting. + should("test kratosSelfserviceFlowsVerificationEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsVerificationEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsVerificationLifespan` - Configures the Ory Kratos Verification Lifespan This governs the \"selfservice.flows.verification.lifespan\" setting. + should("test kratosSelfserviceFlowsVerificationLifespan") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsVerificationLifespan shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsVerificationNotifyUnknownRecipients` - Configures whether to notify unknown recipients of a Ory Kratos verification flow This governs the \"selfservice.flows.verification.notify_unknown_recipients\" setting. + should("test kratosSelfserviceFlowsVerificationNotifyUnknownRecipients") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsVerificationNotifyUnknownRecipients shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsVerificationUiUrl` - Configures the Ory Kratos Verification UI URL This governs the \"selfservice.flows.verification.ui_url\" setting. + should("test kratosSelfserviceFlowsVerificationUiUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsVerificationUiUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceFlowsVerificationUse` - Configures the Ory Kratos Strategy to use for Verification This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode + should("test kratosSelfserviceFlowsVerificationUse") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceFlowsVerificationUse shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsCodeConfigLifespan` - Configures the Ory Kratos Code Method's lifespan This governs the \"selfservice.methods.code.config.lifespan\" setting. + should("test kratosSelfserviceMethodsCodeConfigLifespan") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsCodeConfigLifespan shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsCodeConfigMissingCredentialFallbackEnabled` - Enables a fallback method required in certain legacy use cases. This governs the \"selfservice.methods.code.config.missing_credential_fallback_enabled\" setting. + should("test kratosSelfserviceMethodsCodeConfigMissingCredentialFallbackEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsCodeConfigMissingCredentialFallbackEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsCodeEnabled` - Configures whether Ory Kratos Code Method is enabled This governs the \"selfservice.methods.code.enabled\" setting. + should("test kratosSelfserviceMethodsCodeEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsCodeEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsCodeMfaEnabled` - Configures whether the code method can be used to fulfil MFA flows This governs the \"selfservice.methods.code.mfa_enabled\" setting. + should("test kratosSelfserviceMethodsCodeMfaEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsCodeMfaEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsCodePasswordlessEnabled` - Configures whether Ory Kratos Passwordless should use the Code Method This governs the \"selfservice.methods.code.passwordless_enabled\" setting. + should("test kratosSelfserviceMethodsCodePasswordlessEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsCodePasswordlessEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsCodePasswordlessLoginFallbackEnabled` - This setting allows the code method to always login a user with code if they have registered with another authentication method such as password or social sign in. This governs the \"selfservice.methods.code.passwordless_login_fallback_enabled\" setting. + should("test kratosSelfserviceMethodsCodePasswordlessLoginFallbackEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsCodePasswordlessLoginFallbackEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsLinkConfigBaseUrl` - Configures the Base URL which Recovery, Verification, and Login Links Point to It is recommended to leave this value empty. It will be appropriately configured to the best matching domain (e.g. when using custom domains) automatically. This governs the \"selfservice.methods.link.config.base_url\" setting. + should("test kratosSelfserviceMethodsLinkConfigBaseUrl") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsLinkConfigBaseUrl shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsLinkConfigLifespan` - Configures the Ory Kratos Link Method's lifespan This governs the \"selfservice.methods.link.config.lifespan\" setting. + should("test kratosSelfserviceMethodsLinkConfigLifespan") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsLinkConfigLifespan shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsLinkEnabled` - Configures whether Ory Kratos Link Method is enabled This governs the \"selfservice.methods.link.enabled\" setting. + should("test kratosSelfserviceMethodsLinkEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsLinkEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsLookupSecretEnabled` - Configures whether Ory Kratos TOTP Lookup Secret is enabled This governs the \"selfservice.methods.lookup_secret.enabled\" setting. + should("test kratosSelfserviceMethodsLookupSecretEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsLookupSecretEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsOidcConfigBaseRedirectUri` - Configures the Ory Kratos Third Party / OpenID Connect base redirect URI This governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting. + should("test kratosSelfserviceMethodsOidcConfigBaseRedirectUri") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsOidcConfigBaseRedirectUri shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsOidcConfigProviders` + should("test kratosSelfserviceMethodsOidcConfigProviders") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsOidcConfigProviders shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsOidcEnabled` - Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled This governs the \"selfservice.methods.oidc.enabled\" setting. + should("test kratosSelfserviceMethodsOidcEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsOidcEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasskeyConfigRpDisplayName` - Configures the Ory Kratos Passkey RP Display Name This governs the \"selfservice.methods.passkey.config.rp.display_name\" setting. + should("test kratosSelfserviceMethodsPasskeyConfigRpDisplayName") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasskeyConfigRpDisplayName shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasskeyConfigRpId` - Configures the Ory Kratos Passkey RP ID This governs the \"selfservice.methods.passkey.config.rp.id\" setting. + should("test kratosSelfserviceMethodsPasskeyConfigRpId") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasskeyConfigRpId shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasskeyConfigRpOrigins` + should("test kratosSelfserviceMethodsPasskeyConfigRpOrigins") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasskeyConfigRpOrigins shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasskeyEnabled` - Configures whether Ory Kratos Passkey authentication is enabled This governs the \"selfservice.methods.passkey.enabled\" setting. + should("test kratosSelfserviceMethodsPasskeyEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasskeyEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasswordConfigHaveibeenpwnedEnabled` - Configures whether Ory Kratos Password HIBP Checks is enabled This governs the \"selfservice.methods.password.config.haveibeenpwned_enabled\" setting. + should("test kratosSelfserviceMethodsPasswordConfigHaveibeenpwnedEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasswordConfigHaveibeenpwnedEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasswordConfigIdentifierSimilarityCheckEnabled` - Configures whether Ory Kratos Password should disable the similarity policy. This governs the \"selfservice.methods.password.config.identifier_similarity_check_enabled\" setting. + should("test kratosSelfserviceMethodsPasswordConfigIdentifierSimilarityCheckEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasswordConfigIdentifierSimilarityCheckEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasswordConfigIgnoreNetworkErrors` - Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors This governs the \"selfservice.methods.password.config.ignore_network_errors\" setting. + should("test kratosSelfserviceMethodsPasswordConfigIgnoreNetworkErrors") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasswordConfigIgnoreNetworkErrors shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasswordConfigMaxBreaches` - Configures Ory Kratos Password Max Breaches Detection This governs the \"selfservice.methods.password.config.max_breaches\" setting. + should("test kratosSelfserviceMethodsPasswordConfigMaxBreaches") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasswordConfigMaxBreaches shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasswordConfigMinPasswordLength` - Configures the minimum length of passwords. This governs the \"selfservice.methods.password.config.min_password_length\" setting. + should("test kratosSelfserviceMethodsPasswordConfigMinPasswordLength") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasswordConfigMinPasswordLength shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsPasswordEnabled` - Configures whether Ory Kratos Password Method is enabled This governs the \"selfservice.methods.password.enabled\" setting. + should("test kratosSelfserviceMethodsPasswordEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsPasswordEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsProfileEnabled` - Configures whether Ory Kratos Profile Method is enabled This governs the \"selfservice.methods.profile.enabled\" setting. + should("test kratosSelfserviceMethodsProfileEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsProfileEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsTotpConfigIssuer` - Configures Ory Kratos TOTP Issuer This governs the \"selfservice.methods.totp.config.issuer\" setting. + should("test kratosSelfserviceMethodsTotpConfigIssuer") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsTotpConfigIssuer shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsTotpEnabled` - Configures whether Ory Kratos TOTP Method is enabled This governs the \"selfservice.methods.totp.enabled\" setting. + should("test kratosSelfserviceMethodsTotpEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsTotpEnabled shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsWebauthnConfigPasswordless` - Configures whether Ory Kratos Webauthn is used for passwordless flows This governs the \"selfservice.methods.webauthn.config.passwordless\" setting. + should("test kratosSelfserviceMethodsWebauthnConfigPasswordless") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsWebauthnConfigPasswordless shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsWebauthnConfigRpDisplayName` - Configures the Ory Kratos Webauthn RP Display Name This governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting. + should("test kratosSelfserviceMethodsWebauthnConfigRpDisplayName") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsWebauthnConfigRpDisplayName shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsWebauthnConfigRpIcon` - Configures the Ory Kratos Webauthn RP Icon This governs the \"selfservice.methods.webauthn.config.rp.icon\" setting. Deprecated: This value will be ignored due to security considerations. + should("test kratosSelfserviceMethodsWebauthnConfigRpIcon") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsWebauthnConfigRpIcon shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsWebauthnConfigRpId` - Configures the Ory Kratos Webauthn RP ID This governs the \"selfservice.methods.webauthn.config.rp.id\" setting. + should("test kratosSelfserviceMethodsWebauthnConfigRpId") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsWebauthnConfigRpId shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsWebauthnConfigRpOrigins` + should("test kratosSelfserviceMethodsWebauthnConfigRpOrigins") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsWebauthnConfigRpOrigins shouldBe ("TODO") + } + + // to test the property `kratosSelfserviceMethodsWebauthnEnabled` - Configures whether Ory Kratos Webauthn is enabled This governs the \"selfservice.methods.webauthn.enabled\" setting. + should("test kratosSelfserviceMethodsWebauthnEnabled") { + // uncomment below to test the property + //modelInstance.kratosSelfserviceMethodsWebauthnEnabled shouldBe ("TODO") + } + + // to test the property `kratosSessionCookiePersistent` - Configures the Ory Kratos Session Cookie Persistent Attribute This governs the \"session.cookie.persistent\" setting. + should("test kratosSessionCookiePersistent") { + // uncomment below to test the property + //modelInstance.kratosSessionCookiePersistent shouldBe ("TODO") + } + + // to test the property `kratosSessionCookieSameSite` - Configures the Ory Kratos Session Cookie SameSite Attribute This governs the \"session.cookie.same_site\" setting. + should("test kratosSessionCookieSameSite") { + // uncomment below to test the property + //modelInstance.kratosSessionCookieSameSite shouldBe ("TODO") + } + + // to test the property `kratosSessionLifespan` - Configures the Ory Kratos Session Lifespan This governs the \"session.lifespan\" setting. + should("test kratosSessionLifespan") { + // uncomment below to test the property + //modelInstance.kratosSessionLifespan shouldBe ("TODO") + } + + // to test the property `kratosSessionWhoamiRequiredAal` - Configures the Ory Kratos Session Whoami AAL requirement This governs the \"session.whoami.required_aal\" setting. + should("test kratosSessionWhoamiRequiredAal") { + // uncomment below to test the property + //modelInstance.kratosSessionWhoamiRequiredAal shouldBe ("TODO") + } + + // to test the property `kratosSessionWhoamiTokenizerTemplates` + should("test kratosSessionWhoamiTokenizerTemplates") { + // uncomment below to test the property + //modelInstance.kratosSessionWhoamiTokenizerTemplates shouldBe ("TODO") + } + + // to test the property `projectId` - The Revision's Project ID + should("test projectId") { + // uncomment below to test the property + //modelInstance.projectId shouldBe ("TODO") + } + + // to test the property `projectRevisionHooks` + should("test projectRevisionHooks") { + // uncomment below to test the property + //modelInstance.projectRevisionHooks shouldBe ("TODO") + } + + // to test the property `serveAdminCorsAllowedOrigins` + should("test serveAdminCorsAllowedOrigins") { + // uncomment below to test the property + //modelInstance.serveAdminCorsAllowedOrigins shouldBe ("TODO") + } + + // to test the property `serveAdminCorsEnabled` - Enable CORS headers on all admin APIs This governs the \"serve.admin.cors.enabled\" setting. + should("test serveAdminCorsEnabled") { + // uncomment below to test the property + //modelInstance.serveAdminCorsEnabled shouldBe ("TODO") + } + + // to test the property `servePublicCorsAllowedOrigins` + should("test servePublicCorsAllowedOrigins") { + // uncomment below to test the property + //modelInstance.servePublicCorsAllowedOrigins shouldBe ("TODO") + } + + // to test the property `servePublicCorsEnabled` - Enable CORS headers on all public APIs This governs the \"serve.public.cors.enabled\" setting. + should("test servePublicCorsEnabled") { + // uncomment below to test the property + //modelInstance.servePublicCorsEnabled shouldBe ("TODO") + } + + // to test the property `strictSecurity` - Whether the project should employ strict security measures. Setting this to true is recommended for going into production. + should("test strictSecurity") { + // uncomment below to test the property + //modelInstance.strictSecurity shouldBe ("TODO") + } + + // to test the property `updatedAt` - Last Time Project's Revision was Updated + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionThirdPartyProviderTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionThirdPartyProviderTest.kt new file mode 100644 index 00000000000..47de519bc1b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionThirdPartyProviderTest.kt @@ -0,0 +1,179 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionThirdPartyProvider + +class NormalizedProjectRevisionThirdPartyProviderTest : ShouldSpec() { + init { + // uncomment below to create an instance of NormalizedProjectRevisionThirdPartyProvider + //val modelInstance = NormalizedProjectRevisionThirdPartyProvider() + + // to test the property `additionalIdTokenAudiences` + should("test additionalIdTokenAudiences") { + // uncomment below to test the property + //modelInstance.additionalIdTokenAudiences shouldBe ("TODO") + } + + // to test the property `applePrivateKey` + should("test applePrivateKey") { + // uncomment below to test the property + //modelInstance.applePrivateKey shouldBe ("TODO") + } + + // to test the property `applePrivateKeyId` - Apple Private Key Identifier Sign In with Apple Private Key Identifier needed for generating a JWT token for client secret + should("test applePrivateKeyId") { + // uncomment below to test the property + //modelInstance.applePrivateKeyId shouldBe ("TODO") + } + + // to test the property `appleTeamId` - Apple Developer Team ID Apple Developer Team ID needed for generating a JWT token for client secret + should("test appleTeamId") { + // uncomment below to test the property + //modelInstance.appleTeamId shouldBe ("TODO") + } + + // to test the property `authUrl` - AuthURL is the authorize url, typically something like: https://example.org/oauth2/auth Should only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when `provider` is set to `generic`. + should("test authUrl") { + // uncomment below to test the property + //modelInstance.authUrl shouldBe ("TODO") + } + + // to test the property `azureTenant` - Tenant is the Azure AD Tenant to use for authentication, and must be set when `provider` is set to `microsoft`. Can be either `common`, `organizations`, `consumers` for a multitenant application or a specific tenant like `8eaef023-2b34-4da1-9baa-8bc8c9d6a490` or `contoso.onmicrosoft.com`. + should("test azureTenant") { + // uncomment below to test the property + //modelInstance.azureTenant shouldBe ("TODO") + } + + // to test the property `claimsSource` + should("test claimsSource") { + // uncomment below to test the property + //modelInstance.claimsSource shouldBe ("TODO") + } + + // to test the property `clientId` - ClientID is the application's Client ID. + should("test clientId") { + // uncomment below to test the property + //modelInstance.clientId shouldBe ("TODO") + } + + // to test the property `clientSecret` + should("test clientSecret") { + // uncomment below to test the property + //modelInstance.clientSecret shouldBe ("TODO") + } + + // to test the property `createdAt` - The Project's Revision Creation Date + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `issuerUrl` - IssuerURL is the OpenID Connect Server URL. You can leave this empty if `provider` is not set to `generic`. If set, neither `auth_url` nor `token_url` are required. + should("test issuerUrl") { + // uncomment below to test the property + //modelInstance.issuerUrl shouldBe ("TODO") + } + + // to test the property `label` - Label represents an optional label which can be used in the UI generation. + should("test label") { + // uncomment below to test the property + //modelInstance.label shouldBe ("TODO") + } + + // to test the property `mapperUrl` - Mapper specifies the JSONNet code snippet which uses the OpenID Connect Provider's data (e.g. GitHub or Google profile information) to hydrate the identity's data. + should("test mapperUrl") { + // uncomment below to test the property + //modelInstance.mapperUrl shouldBe ("TODO") + } + + // to test the property `organizationId` + should("test organizationId") { + // uncomment below to test the property + //modelInstance.organizationId shouldBe ("TODO") + } + + // to test the property `pkce` - PKCE controls if the OpenID Connect OAuth2 flow should use PKCE (Proof Key for Code Exchange). Possible values are: `auto` (default), `never`, `force`. `auto`: PKCE is used if the provider supports it. Requires setting `issuer_url`. `never`: Disable PKCE entirely for this provider, even if the provider advertises support for it. `force`: Always use PKCE, even if the provider does not advertise support for it. OAuth2 flows will fail if the provider does not support PKCE. IMPORTANT: If you set this to `force`, you must whitelist a different return URL for your OAuth2 client in the provider's configuration. Instead of /self-service/methods/oidc/callback/, you must use /self-service/methods/oidc/callback (Note the missing path segment and no trailing slash). + should("test pkce") { + // uncomment below to test the property + //modelInstance.pkce shouldBe ("TODO") + } + + // to test the property `projectRevisionId` - The Revision's ID this schema belongs to + should("test projectRevisionId") { + // uncomment below to test the property + //modelInstance.projectRevisionId shouldBe ("TODO") + } + + // to test the property `provider` - Provider is either \"generic\" for a generic OAuth 2.0 / OpenID Connect Provider or one of: generic google github gitlab microsoft discord slack facebook vk yandex apple + should("test provider") { + // uncomment below to test the property + //modelInstance.provider shouldBe ("TODO") + } + + // to test the property `providerId` - ID is the provider's ID + should("test providerId") { + // uncomment below to test the property + //modelInstance.providerId shouldBe ("TODO") + } + + // to test the property `requestedClaims` + should("test requestedClaims") { + // uncomment below to test the property + //modelInstance.requestedClaims shouldBe ("TODO") + } + + // to test the property `scope` + should("test scope") { + // uncomment below to test the property + //modelInstance.scope shouldBe ("TODO") + } + + // to test the property `state` - State indicates the state of the provider Only providers with state `enabled` will be used for authentication enabled ThirdPartyProviderStateEnabled disabled ThirdPartyProviderStateDisabled + should("test state") { + // uncomment below to test the property + //modelInstance.state shouldBe ("TODO") + } + + // to test the property `subjectSource` + should("test subjectSource") { + // uncomment below to test the property + //modelInstance.subjectSource shouldBe ("TODO") + } + + // to test the property `tokenUrl` - TokenURL is the token url, typically something like: https://example.org/oauth2/token Should only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when `provider` is set to `generic`. + should("test tokenUrl") { + // uncomment below to test the property + //modelInstance.tokenUrl shouldBe ("TODO") + } + + // to test the property `updatedAt` - Last Time Project's Revision was Updated + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionTokenizerTemplateTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionTokenizerTemplateTest.kt new file mode 100644 index 00000000000..7a4da707ca6 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectRevisionTokenizerTemplateTest.kt @@ -0,0 +1,77 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevisionTokenizerTemplate + +class NormalizedProjectRevisionTokenizerTemplateTest : ShouldSpec() { + init { + // uncomment below to create an instance of NormalizedProjectRevisionTokenizerTemplate + //val modelInstance = NormalizedProjectRevisionTokenizerTemplate() + + // to test the property `claimsMapperUrl` - Claims mapper URL + should("test claimsMapperUrl") { + // uncomment below to test the property + //modelInstance.claimsMapperUrl shouldBe ("TODO") + } + + // to test the property `createdAt` - The Project's Revision Creation Date + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` - The revision ID. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `jwksUrl` - JSON Web Key URL + should("test jwksUrl") { + // uncomment below to test the property + //modelInstance.jwksUrl shouldBe ("TODO") + } + + // to test the property `key` - The unique key of the template + should("test key") { + // uncomment below to test the property + //modelInstance.key shouldBe ("TODO") + } + + // to test the property `projectRevisionId` - The Revision's ID this schema belongs to + should("test projectRevisionId") { + // uncomment below to test the property + //modelInstance.projectRevisionId shouldBe ("TODO") + } + + // to test the property `ttl` - Token time to live + should("test ttl") { + // uncomment below to test the property + //modelInstance.ttl shouldBe ("TODO") + } + + // to test the property `updatedAt` - Last Time Project's Revision was Updated + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectTest.kt new file mode 100644 index 00000000000..583797782fd --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/NormalizedProjectTest.kt @@ -0,0 +1,109 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.NormalizedProject +import sh.ory.client-kotlin-multiplatform.models.NormalizedProjectRevision +import sh.ory.client-kotlin-multiplatform.models.Workspace + +class NormalizedProjectTest : ShouldSpec() { + init { + // uncomment below to create an instance of NormalizedProject + //val modelInstance = NormalizedProject() + + // to test the property `createdAt` - The Project's Creation Date + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `currentRevision` + should("test currentRevision") { + // uncomment below to test the property + //modelInstance.currentRevision shouldBe ("TODO") + } + + // to test the property `environment` - The environment of the project. prod Production stage Staging dev Development + should("test environment") { + // uncomment below to test the property + //modelInstance.environment shouldBe ("TODO") + } + + // to test the property `homeRegion` - The project's data home region. eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global + should("test homeRegion") { + // uncomment below to test the property + //modelInstance.homeRegion shouldBe ("TODO") + } + + // to test the property `hosts` + should("test hosts") { + // uncomment below to test the property + //modelInstance.hosts shouldBe ("TODO") + } + + // to test the property `id` - The project's ID. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `slug` - The project's slug + should("test slug") { + // uncomment below to test the property + //modelInstance.slug shouldBe ("TODO") + } + + // to test the property `state` - The state of the project. running Running halted Halted deleted Deleted + should("test state") { + // uncomment below to test the property + //modelInstance.state shouldBe ("TODO") + } + + // to test the property `updatedAt` - Last Time Project was Updated + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `workspaceId` + should("test workspaceId") { + // uncomment below to test the property + //modelInstance.workspaceId shouldBe ("TODO") + } + + // to test the property `subscriptionId` + should("test subscriptionId") { + // uncomment below to test the property + //modelInstance.subscriptionId shouldBe ("TODO") + } + + // to test the property `subscriptionPlan` + should("test subscriptionPlan") { + // uncomment below to test the property + //modelInstance.subscriptionPlan shouldBe ("TODO") + } + + // to test the property `workspace` + should("test workspace") { + // uncomment below to test the property + //modelInstance.workspace shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ClientTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ClientTest.kt new file mode 100644 index 00000000000..ff736942c0c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ClientTest.kt @@ -0,0 +1,317 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.OAuth2Client + +class OAuth2ClientTest : ShouldSpec() { + init { + // uncomment below to create an instance of OAuth2Client + //val modelInstance = OAuth2Client() + + // to test the property `accessTokenStrategy` - OAuth 2.0 Access Token Strategy AccessTokenStrategy is the strategy used to generate access tokens. Valid options are `jwt` and `opaque`. `jwt` is a bad idea, see https://www.ory.sh/docs/hydra/advanced#json-web-tokens Setting the stragegy here overrides the global setting in `strategies.access_token`. + should("test accessTokenStrategy") { + // uncomment below to test the property + //modelInstance.accessTokenStrategy shouldBe ("TODO") + } + + // to test the property `allowedCorsOrigins` + should("test allowedCorsOrigins") { + // uncomment below to test the property + //modelInstance.allowedCorsOrigins shouldBe ("TODO") + } + + // to test the property `audience` + should("test audience") { + // uncomment below to test the property + //modelInstance.audience shouldBe ("TODO") + } + + // to test the property `authorizationCodeGrantAccessTokenLifespan` + should("test authorizationCodeGrantAccessTokenLifespan") { + // uncomment below to test the property + //modelInstance.authorizationCodeGrantAccessTokenLifespan shouldBe ("TODO") + } + + // to test the property `authorizationCodeGrantIdTokenLifespan` + should("test authorizationCodeGrantIdTokenLifespan") { + // uncomment below to test the property + //modelInstance.authorizationCodeGrantIdTokenLifespan shouldBe ("TODO") + } + + // to test the property `authorizationCodeGrantRefreshTokenLifespan` + should("test authorizationCodeGrantRefreshTokenLifespan") { + // uncomment below to test the property + //modelInstance.authorizationCodeGrantRefreshTokenLifespan shouldBe ("TODO") + } + + // to test the property `backchannelLogoutSessionRequired` - OpenID Connect Back-Channel Logout Session Required Boolean value specifying whether the RP requires that a sid (session ID) Claim be included in the Logout Token to identify the RP session with the OP when the backchannel_logout_uri is used. If omitted, the default value is false. + should("test backchannelLogoutSessionRequired") { + // uncomment below to test the property + //modelInstance.backchannelLogoutSessionRequired shouldBe ("TODO") + } + + // to test the property `backchannelLogoutUri` - OpenID Connect Back-Channel Logout URI RP URL that will cause the RP to log itself out when sent a Logout Token by the OP. + should("test backchannelLogoutUri") { + // uncomment below to test the property + //modelInstance.backchannelLogoutUri shouldBe ("TODO") + } + + // to test the property `clientCredentialsGrantAccessTokenLifespan` + should("test clientCredentialsGrantAccessTokenLifespan") { + // uncomment below to test the property + //modelInstance.clientCredentialsGrantAccessTokenLifespan shouldBe ("TODO") + } + + // to test the property `clientId` - OAuth 2.0 Client ID The ID is immutable. If no ID is provided, a UUID4 will be generated. + should("test clientId") { + // uncomment below to test the property + //modelInstance.clientId shouldBe ("TODO") + } + + // to test the property `clientName` - OAuth 2.0 Client Name The human-readable name of the client to be presented to the end-user during authorization. + should("test clientName") { + // uncomment below to test the property + //modelInstance.clientName shouldBe ("TODO") + } + + // to test the property `clientSecret` - OAuth 2.0 Client Secret The secret will be included in the create request as cleartext, and then never again. The secret is kept in hashed format and is not recoverable once lost. + should("test clientSecret") { + // uncomment below to test the property + //modelInstance.clientSecret shouldBe ("TODO") + } + + // to test the property `clientSecretExpiresAt` - OAuth 2.0 Client Secret Expires At The field is currently not supported and its value is always 0. + should("test clientSecretExpiresAt") { + // uncomment below to test the property + //modelInstance.clientSecretExpiresAt shouldBe ("TODO") + } + + // to test the property `clientUri` - OAuth 2.0 Client URI ClientURI is a URL string of a web page providing information about the client. If present, the server SHOULD display this URL to the end-user in a clickable fashion. + should("test clientUri") { + // uncomment below to test the property + //modelInstance.clientUri shouldBe ("TODO") + } + + // to test the property `contacts` + should("test contacts") { + // uncomment below to test the property + //modelInstance.contacts shouldBe ("TODO") + } + + // to test the property `createdAt` - OAuth 2.0 Client Creation Date CreatedAt returns the timestamp of the client's creation. + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `frontchannelLogoutSessionRequired` - OpenID Connect Front-Channel Logout Session Required Boolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters be included to identify the RP session with the OP when the frontchannel_logout_uri is used. If omitted, the default value is false. + should("test frontchannelLogoutSessionRequired") { + // uncomment below to test the property + //modelInstance.frontchannelLogoutSessionRequired shouldBe ("TODO") + } + + // to test the property `frontchannelLogoutUri` - OpenID Connect Front-Channel Logout URI RP URL that will cause the RP to log itself out when rendered in an iframe by the OP. An iss (issuer) query parameter and a sid (session ID) query parameter MAY be included by the OP to enable the RP to validate the request and to determine which of the potentially multiple sessions is to be logged out; if either is included, both MUST be. + should("test frontchannelLogoutUri") { + // uncomment below to test the property + //modelInstance.frontchannelLogoutUri shouldBe ("TODO") + } + + // to test the property `grantTypes` + should("test grantTypes") { + // uncomment below to test the property + //modelInstance.grantTypes shouldBe ("TODO") + } + + // to test the property `implicitGrantAccessTokenLifespan` + should("test implicitGrantAccessTokenLifespan") { + // uncomment below to test the property + //modelInstance.implicitGrantAccessTokenLifespan shouldBe ("TODO") + } + + // to test the property `implicitGrantIdTokenLifespan` + should("test implicitGrantIdTokenLifespan") { + // uncomment below to test the property + //modelInstance.implicitGrantIdTokenLifespan shouldBe ("TODO") + } + + // to test the property `jwks` - OAuth 2.0 Client JSON Web Key Set Client's JSON Web Key Set [JWK] document, passed by value. The semantics of the jwks parameter are the same as the jwks_uri parameter, other than that the JWK Set is passed by value, rather than by reference. This parameter is intended only to be used by Clients that, for some reason, are unable to use the jwks_uri parameter, for instance, by native applications that might not have a location to host the contents of the JWK Set. If a Client can use jwks_uri, it MUST NOT use jwks. One significant downside of jwks is that it does not enable key rotation (which jwks_uri does, as described in Section 10 of OpenID Connect Core 1.0 [OpenID.Core]). The jwks_uri and jwks parameters MUST NOT be used together. + should("test jwks") { + // uncomment below to test the property + //modelInstance.jwks shouldBe ("TODO") + } + + // to test the property `jwksUri` - OAuth 2.0 Client JSON Web Key Set URL URL for the Client's JSON Web Key Set [JWK] document. If the Client signs requests to the Server, it contains the signing key(s) the Server uses to validate signatures from the Client. The JWK Set MAY also contain the Client's encryption keys(s), which are used by the Server to encrypt responses to the Client. When both signing and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate. + should("test jwksUri") { + // uncomment below to test the property + //modelInstance.jwksUri shouldBe ("TODO") + } + + // to test the property `jwtBearerGrantAccessTokenLifespan` + should("test jwtBearerGrantAccessTokenLifespan") { + // uncomment below to test the property + //modelInstance.jwtBearerGrantAccessTokenLifespan shouldBe ("TODO") + } + + // to test the property `logoUri` - OAuth 2.0 Client Logo URI A URL string referencing the client's logo. + should("test logoUri") { + // uncomment below to test the property + //modelInstance.logoUri shouldBe ("TODO") + } + + // to test the property `metadata` + should("test metadata") { + // uncomment below to test the property + //modelInstance.metadata shouldBe ("TODO") + } + + // to test the property `owner` - OAuth 2.0 Client Owner Owner is a string identifying the owner of the OAuth 2.0 Client. + should("test owner") { + // uncomment below to test the property + //modelInstance.owner shouldBe ("TODO") + } + + // to test the property `policyUri` - OAuth 2.0 Client Policy URI PolicyURI is a URL string that points to a human-readable privacy policy document that describes how the deployment organization collects, uses, retains, and discloses personal data. + should("test policyUri") { + // uncomment below to test the property + //modelInstance.policyUri shouldBe ("TODO") + } + + // to test the property `postLogoutRedirectUris` + should("test postLogoutRedirectUris") { + // uncomment below to test the property + //modelInstance.postLogoutRedirectUris shouldBe ("TODO") + } + + // to test the property `redirectUris` + should("test redirectUris") { + // uncomment below to test the property + //modelInstance.redirectUris shouldBe ("TODO") + } + + // to test the property `refreshTokenGrantAccessTokenLifespan` + should("test refreshTokenGrantAccessTokenLifespan") { + // uncomment below to test the property + //modelInstance.refreshTokenGrantAccessTokenLifespan shouldBe ("TODO") + } + + // to test the property `refreshTokenGrantIdTokenLifespan` + should("test refreshTokenGrantIdTokenLifespan") { + // uncomment below to test the property + //modelInstance.refreshTokenGrantIdTokenLifespan shouldBe ("TODO") + } + + // to test the property `refreshTokenGrantRefreshTokenLifespan` + should("test refreshTokenGrantRefreshTokenLifespan") { + // uncomment below to test the property + //modelInstance.refreshTokenGrantRefreshTokenLifespan shouldBe ("TODO") + } + + // to test the property `registrationAccessToken` - OpenID Connect Dynamic Client Registration Access Token RegistrationAccessToken can be used to update, get, or delete the OAuth2 Client. It is sent when creating a client using Dynamic Client Registration. + should("test registrationAccessToken") { + // uncomment below to test the property + //modelInstance.registrationAccessToken shouldBe ("TODO") + } + + // to test the property `registrationClientUri` - OpenID Connect Dynamic Client Registration URL RegistrationClientURI is the URL used to update, get, or delete the OAuth2 Client. + should("test registrationClientUri") { + // uncomment below to test the property + //modelInstance.registrationClientUri shouldBe ("TODO") + } + + // to test the property `requestObjectSigningAlg` - OpenID Connect Request Object Signing Algorithm JWS [JWS] alg algorithm [JWA] that MUST be used for signing Request Objects sent to the OP. All Request Objects from this Client MUST be rejected, if not signed with this algorithm. + should("test requestObjectSigningAlg") { + // uncomment below to test the property + //modelInstance.requestObjectSigningAlg shouldBe ("TODO") + } + + // to test the property `requestUris` + should("test requestUris") { + // uncomment below to test the property + //modelInstance.requestUris shouldBe ("TODO") + } + + // to test the property `responseTypes` + should("test responseTypes") { + // uncomment below to test the property + //modelInstance.responseTypes shouldBe ("TODO") + } + + // to test the property `scope` - OAuth 2.0 Client Scope Scope is a string containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens. + should("test scope") { + // uncomment below to test the property + //modelInstance.scope shouldBe ("TODO") + } + + // to test the property `sectorIdentifierUri` - OpenID Connect Sector Identifier URI URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. The URL references a file with a single JSON array of redirect_uri values. + should("test sectorIdentifierUri") { + // uncomment below to test the property + //modelInstance.sectorIdentifierUri shouldBe ("TODO") + } + + // to test the property `skipConsent` - SkipConsent skips the consent screen for this client. This field can only be set from the admin API. + should("test skipConsent") { + // uncomment below to test the property + //modelInstance.skipConsent shouldBe ("TODO") + } + + // to test the property `skipLogoutConsent` - SkipLogoutConsent skips the logout consent screen for this client. This field can only be set from the admin API. + should("test skipLogoutConsent") { + // uncomment below to test the property + //modelInstance.skipLogoutConsent shouldBe ("TODO") + } + + // to test the property `subjectType` - OpenID Connect Subject Type The `subject_types_supported` Discovery parameter contains a list of the supported subject_type values for this server. Valid types include `pairwise` and `public`. + should("test subjectType") { + // uncomment below to test the property + //modelInstance.subjectType shouldBe ("TODO") + } + + // to test the property `tokenEndpointAuthMethod` - OAuth 2.0 Token Endpoint Authentication Method Requested Client Authentication method for the Token Endpoint. The options are: `client_secret_basic`: (default) Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` encoded in the HTTP Authorization header. `client_secret_post`: Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` in the HTTP body. `private_key_jwt`: Use JSON Web Tokens to authenticate the client. `none`: Used for public clients (native apps, mobile apps) which can not have secrets. + should("test tokenEndpointAuthMethod") { + // uncomment below to test the property + //modelInstance.tokenEndpointAuthMethod shouldBe ("TODO") + } + + // to test the property `tokenEndpointAuthSigningAlg` - OAuth 2.0 Token Endpoint Signing Algorithm Requested Client Authentication signing algorithm for the Token Endpoint. + should("test tokenEndpointAuthSigningAlg") { + // uncomment below to test the property + //modelInstance.tokenEndpointAuthSigningAlg shouldBe ("TODO") + } + + // to test the property `tosUri` - OAuth 2.0 Client Terms of Service URI A URL string pointing to a human-readable terms of service document for the client that describes a contractual relationship between the end-user and the client that the end-user accepts when authorizing the client. + should("test tosUri") { + // uncomment below to test the property + //modelInstance.tosUri shouldBe ("TODO") + } + + // to test the property `updatedAt` - OAuth 2.0 Client Last Update Date UpdatedAt returns the timestamp of the last update. + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `userinfoSignedResponseAlg` - OpenID Connect Request Userinfo Signed Response Algorithm JWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. If this is specified, the response will be JWT [JWT] serialized, and signed using JWS. The default, if omitted, is for the UserInfo Response to return the Claims as a UTF-8 encoded JSON object using the application/json content-type. + should("test userinfoSignedResponseAlg") { + // uncomment below to test the property + //modelInstance.userinfoSignedResponseAlg shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ClientTokenLifespansTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ClientTokenLifespansTest.kt new file mode 100644 index 00000000000..e3789219aa7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ClientTokenLifespansTest.kt @@ -0,0 +1,89 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.OAuth2ClientTokenLifespans + +class OAuth2ClientTokenLifespansTest : ShouldSpec() { + init { + // uncomment below to create an instance of OAuth2ClientTokenLifespans + //val modelInstance = OAuth2ClientTokenLifespans() + + // to test the property `authorizationCodeGrantAccessTokenLifespan` + should("test authorizationCodeGrantAccessTokenLifespan") { + // uncomment below to test the property + //modelInstance.authorizationCodeGrantAccessTokenLifespan shouldBe ("TODO") + } + + // to test the property `authorizationCodeGrantIdTokenLifespan` + should("test authorizationCodeGrantIdTokenLifespan") { + // uncomment below to test the property + //modelInstance.authorizationCodeGrantIdTokenLifespan shouldBe ("TODO") + } + + // to test the property `authorizationCodeGrantRefreshTokenLifespan` + should("test authorizationCodeGrantRefreshTokenLifespan") { + // uncomment below to test the property + //modelInstance.authorizationCodeGrantRefreshTokenLifespan shouldBe ("TODO") + } + + // to test the property `clientCredentialsGrantAccessTokenLifespan` + should("test clientCredentialsGrantAccessTokenLifespan") { + // uncomment below to test the property + //modelInstance.clientCredentialsGrantAccessTokenLifespan shouldBe ("TODO") + } + + // to test the property `implicitGrantAccessTokenLifespan` + should("test implicitGrantAccessTokenLifespan") { + // uncomment below to test the property + //modelInstance.implicitGrantAccessTokenLifespan shouldBe ("TODO") + } + + // to test the property `implicitGrantIdTokenLifespan` + should("test implicitGrantIdTokenLifespan") { + // uncomment below to test the property + //modelInstance.implicitGrantIdTokenLifespan shouldBe ("TODO") + } + + // to test the property `jwtBearerGrantAccessTokenLifespan` + should("test jwtBearerGrantAccessTokenLifespan") { + // uncomment below to test the property + //modelInstance.jwtBearerGrantAccessTokenLifespan shouldBe ("TODO") + } + + // to test the property `refreshTokenGrantAccessTokenLifespan` + should("test refreshTokenGrantAccessTokenLifespan") { + // uncomment below to test the property + //modelInstance.refreshTokenGrantAccessTokenLifespan shouldBe ("TODO") + } + + // to test the property `refreshTokenGrantIdTokenLifespan` + should("test refreshTokenGrantIdTokenLifespan") { + // uncomment below to test the property + //modelInstance.refreshTokenGrantIdTokenLifespan shouldBe ("TODO") + } + + // to test the property `refreshTokenGrantRefreshTokenLifespan` + should("test refreshTokenGrantRefreshTokenLifespan") { + // uncomment below to test the property + //modelInstance.refreshTokenGrantRefreshTokenLifespan shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentRequestOpenIDConnectContextTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentRequestOpenIDConnectContextTest.kt new file mode 100644 index 00000000000..ed014b44470 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentRequestOpenIDConnectContextTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentRequestOpenIDConnectContext + +class OAuth2ConsentRequestOpenIDConnectContextTest : ShouldSpec() { + init { + // uncomment below to create an instance of OAuth2ConsentRequestOpenIDConnectContext + //val modelInstance = OAuth2ConsentRequestOpenIDConnectContext() + + // to test the property `acrValues` - ACRValues is the Authentication AuthorizationContext Class Reference requested in the OAuth 2.0 Authorization request. It is a parameter defined by OpenID Connect and expresses which level of authentication (e.g. 2FA) is required. OpenID Connect defines it as follows: > Requested Authentication AuthorizationContext Class Reference values. Space-separated string that specifies the acr values that the Authorization Server is being requested to use for processing this Authentication Request, with the values appearing in order of preference. The Authentication AuthorizationContext Class satisfied by the authentication performed is returned as the acr Claim Value, as specified in Section 2. The acr Claim is requested as a Voluntary Claim by this parameter. + should("test acrValues") { + // uncomment below to test the property + //modelInstance.acrValues shouldBe ("TODO") + } + + // to test the property `display` - Display is a string value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User. The defined values are: page: The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view. If the display parameter is not specified, this is the default display mode. popup: The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over. touch: The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface. wap: The Authorization Server SHOULD display the authentication and consent UI consistent with a \"feature phone\" type display. The Authorization Server MAY also attempt to detect the capabilities of the User Agent and present an appropriate display. + should("test display") { + // uncomment below to test the property + //modelInstance.display shouldBe ("TODO") + } + + // to test the property `idTokenHintClaims` - IDTokenHintClaims are the claims of the ID Token previously issued by the Authorization Server being passed as a hint about the End-User's current or past authenticated session with the Client. + should("test idTokenHintClaims") { + // uncomment below to test the property + //modelInstance.idTokenHintClaims shouldBe ("TODO") + } + + // to test the property `loginHint` - LoginHint hints about the login identifier the End-User might use to log in (if necessary). This hint can be used by an RP if it first asks the End-User for their e-mail address (or other identifier) and then wants to pass that value as a hint to the discovered authorization service. This value MAY also be a phone number in the format specified for the phone_number Claim. The use of this parameter is optional. + should("test loginHint") { + // uncomment below to test the property + //modelInstance.loginHint shouldBe ("TODO") + } + + // to test the property `uiLocales` - UILocales is the End-User'id preferred languages and scripts for the user interface, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For instance, the value \"fr-CA fr en\" represents a preference for French as spoken in Canada, then French (without a region designation), followed by English (without a region designation). An error SHOULD NOT result if some or all of the requested locales are not supported by the OpenID Provider. + should("test uiLocales") { + // uncomment below to test the property + //modelInstance.uiLocales shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentRequestTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentRequestTest.kt new file mode 100644 index 00000000000..7349c8cbe4e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentRequestTest.kt @@ -0,0 +1,109 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentRequest +import sh.ory.client-kotlin-multiplatform.models.OAuth2Client +import sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentRequestOpenIDConnectContext + +class OAuth2ConsentRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of OAuth2ConsentRequest + //val modelInstance = OAuth2ConsentRequest() + + // to test the property `challenge` - ID is the identifier (\"authorization challenge\") of the consent authorization request. It is used to identify the session. + should("test challenge") { + // uncomment below to test the property + //modelInstance.challenge shouldBe ("TODO") + } + + // to test the property `acr` - ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it to express that, for example, a user authenticated using two factor authentication. + should("test acr") { + // uncomment below to test the property + //modelInstance.acr shouldBe ("TODO") + } + + // to test the property `amr` + should("test amr") { + // uncomment below to test the property + //modelInstance.amr shouldBe ("TODO") + } + + // to test the property `client` + should("test client") { + // uncomment below to test the property + //modelInstance.client shouldBe ("TODO") + } + + // to test the property `context` + should("test context") { + // uncomment below to test the property + //modelInstance.context shouldBe ("TODO") + } + + // to test the property `loginChallenge` - LoginChallenge is the login challenge this consent challenge belongs to. It can be used to associate a login and consent request in the login & consent app. + should("test loginChallenge") { + // uncomment below to test the property + //modelInstance.loginChallenge shouldBe ("TODO") + } + + // to test the property `loginSessionId` - LoginSessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \"sid\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user. + should("test loginSessionId") { + // uncomment below to test the property + //modelInstance.loginSessionId shouldBe ("TODO") + } + + // to test the property `oidcContext` + should("test oidcContext") { + // uncomment below to test the property + //modelInstance.oidcContext shouldBe ("TODO") + } + + // to test the property `requestUrl` - RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters. + should("test requestUrl") { + // uncomment below to test the property + //modelInstance.requestUrl shouldBe ("TODO") + } + + // to test the property `requestedAccessTokenAudience` + should("test requestedAccessTokenAudience") { + // uncomment below to test the property + //modelInstance.requestedAccessTokenAudience shouldBe ("TODO") + } + + // to test the property `requestedScope` + should("test requestedScope") { + // uncomment below to test the property + //modelInstance.requestedScope shouldBe ("TODO") + } + + // to test the property `skip` - Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you must not ask the user to grant the requested scopes. You must however either allow or deny the consent request using the usual API call. + should("test skip") { + // uncomment below to test the property + //modelInstance.skip shouldBe ("TODO") + } + + // to test the property `subject` - Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client. + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentSessionExpiresAtTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentSessionExpiresAtTest.kt new file mode 100644 index 00000000000..e90e01dcd67 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentSessionExpiresAtTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentSessionExpiresAt + +class OAuth2ConsentSessionExpiresAtTest : ShouldSpec() { + init { + // uncomment below to create an instance of OAuth2ConsentSessionExpiresAt + //val modelInstance = OAuth2ConsentSessionExpiresAt() + + // to test the property `accessToken` + should("test accessToken") { + // uncomment below to test the property + //modelInstance.accessToken shouldBe ("TODO") + } + + // to test the property `authorizeCode` + should("test authorizeCode") { + // uncomment below to test the property + //modelInstance.authorizeCode shouldBe ("TODO") + } + + // to test the property `idToken` + should("test idToken") { + // uncomment below to test the property + //modelInstance.idToken shouldBe ("TODO") + } + + // to test the property `parContext` + should("test parContext") { + // uncomment below to test the property + //modelInstance.parContext shouldBe ("TODO") + } + + // to test the property `refreshToken` + should("test refreshToken") { + // uncomment below to test the property + //modelInstance.refreshToken shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentSessionTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentSessionTest.kt new file mode 100644 index 00000000000..f08217421b2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2ConsentSessionTest.kt @@ -0,0 +1,86 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentSession +import sh.ory.client-kotlin-multiplatform.models.AcceptOAuth2ConsentRequestSession +import sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentRequest +import sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentSessionExpiresAt + +class OAuth2ConsentSessionTest : ShouldSpec() { + init { + // uncomment below to create an instance of OAuth2ConsentSession + //val modelInstance = OAuth2ConsentSession() + + // to test the property `consentRequest` + should("test consentRequest") { + // uncomment below to test the property + //modelInstance.consentRequest shouldBe ("TODO") + } + + // to test the property `context` + should("test context") { + // uncomment below to test the property + //modelInstance.context shouldBe ("TODO") + } + + // to test the property `expiresAt` + should("test expiresAt") { + // uncomment below to test the property + //modelInstance.expiresAt shouldBe ("TODO") + } + + // to test the property `grantAccessTokenAudience` + should("test grantAccessTokenAudience") { + // uncomment below to test the property + //modelInstance.grantAccessTokenAudience shouldBe ("TODO") + } + + // to test the property `grantScope` + should("test grantScope") { + // uncomment below to test the property + //modelInstance.grantScope shouldBe ("TODO") + } + + // to test the property `handledAt` + should("test handledAt") { + // uncomment below to test the property + //modelInstance.handledAt shouldBe ("TODO") + } + + // to test the property `remember` - Remember Consent Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same client asks the same user for the same, or a subset of, scope. + should("test remember") { + // uncomment below to test the property + //modelInstance.remember shouldBe ("TODO") + } + + // to test the property `rememberFor` - Remember Consent For RememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the authorization will be remembered indefinitely. + should("test rememberFor") { + // uncomment below to test the property + //modelInstance.rememberFor shouldBe ("TODO") + } + + // to test the property `session` + should("test session") { + // uncomment below to test the property + //modelInstance.session shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2LoginRequestTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2LoginRequestTest.kt new file mode 100644 index 00000000000..0bdbe69003b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2LoginRequestTest.kt @@ -0,0 +1,85 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.OAuth2LoginRequest +import sh.ory.client-kotlin-multiplatform.models.OAuth2Client +import sh.ory.client-kotlin-multiplatform.models.OAuth2ConsentRequestOpenIDConnectContext + +class OAuth2LoginRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of OAuth2LoginRequest + //val modelInstance = OAuth2LoginRequest() + + // to test the property `challenge` - ID is the identifier (\"login challenge\") of the login request. It is used to identify the session. + should("test challenge") { + // uncomment below to test the property + //modelInstance.challenge shouldBe ("TODO") + } + + // to test the property `client` + should("test client") { + // uncomment below to test the property + //modelInstance.client shouldBe ("TODO") + } + + // to test the property `requestUrl` - RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which initiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but might come in handy if you want to deal with additional request parameters. + should("test requestUrl") { + // uncomment below to test the property + //modelInstance.requestUrl shouldBe ("TODO") + } + + // to test the property `skip` - Skip, if true, implies that the client has requested the same scopes from the same user previously. If true, you can skip asking the user to grant the requested scopes, and simply forward the user to the redirect URL. This feature allows you to update / set session information. + should("test skip") { + // uncomment below to test the property + //modelInstance.skip shouldBe ("TODO") + } + + // to test the property `subject` - Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope requested by the OAuth 2.0 client. If this value is set and `skip` is true, you MUST include this subject type when accepting the login request, or the request will fail. + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + // to test the property `oidcContext` + should("test oidcContext") { + // uncomment below to test the property + //modelInstance.oidcContext shouldBe ("TODO") + } + + // to test the property `requestedAccessTokenAudience` + should("test requestedAccessTokenAudience") { + // uncomment below to test the property + //modelInstance.requestedAccessTokenAudience shouldBe ("TODO") + } + + // to test the property `requestedScope` + should("test requestedScope") { + // uncomment below to test the property + //modelInstance.requestedScope shouldBe ("TODO") + } + + // to test the property `sessionId` - SessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag) this ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false) this will be a new random value. This value is used as the \"sid\" parameter in the ID Token and in OIDC Front-/Back- channel logout. It's value can generally be used to associate consecutive login requests by a certain user. + should("test sessionId") { + // uncomment below to test the property + //modelInstance.sessionId shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2LogoutRequestTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2LogoutRequestTest.kt new file mode 100644 index 00000000000..e329419a5db --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2LogoutRequestTest.kt @@ -0,0 +1,66 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.OAuth2LogoutRequest +import sh.ory.client-kotlin-multiplatform.models.OAuth2Client + +class OAuth2LogoutRequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of OAuth2LogoutRequest + //val modelInstance = OAuth2LogoutRequest() + + // to test the property `challenge` - Challenge is the identifier (\"logout challenge\") of the logout authentication request. It is used to identify the session. + should("test challenge") { + // uncomment below to test the property + //modelInstance.challenge shouldBe ("TODO") + } + + // to test the property `client` + should("test client") { + // uncomment below to test the property + //modelInstance.client shouldBe ("TODO") + } + + // to test the property `requestUrl` - RequestURL is the original Logout URL requested. + should("test requestUrl") { + // uncomment below to test the property + //modelInstance.requestUrl shouldBe ("TODO") + } + + // to test the property `rpInitiated` - RPInitiated is set to true if the request was initiated by a Relying Party (RP), also known as an OAuth 2.0 Client. + should("test rpInitiated") { + // uncomment below to test the property + //modelInstance.rpInitiated shouldBe ("TODO") + } + + // to test the property `sid` - SessionID is the login session ID that was requested to log out. + should("test sid") { + // uncomment below to test the property + //modelInstance.sid shouldBe ("TODO") + } + + // to test the property `subject` - Subject is the user for whom the logout was request. + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2RedirectToTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2RedirectToTest.kt new file mode 100644 index 00000000000..728f6d2ac77 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2RedirectToTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.OAuth2RedirectTo + +class OAuth2RedirectToTest : ShouldSpec() { + init { + // uncomment below to create an instance of OAuth2RedirectTo + //val modelInstance = OAuth2RedirectTo() + + // to test the property `redirectTo` - RedirectURL is the URL which you should redirect the user's browser to once the authentication process is completed. + should("test redirectTo") { + // uncomment below to test the property + //modelInstance.redirectTo shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2TokenExchangeTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2TokenExchangeTest.kt new file mode 100644 index 00000000000..68a7c3c00f4 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OAuth2TokenExchangeTest.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.OAuth2TokenExchange + +class OAuth2TokenExchangeTest : ShouldSpec() { + init { + // uncomment below to create an instance of OAuth2TokenExchange + //val modelInstance = OAuth2TokenExchange() + + // to test the property `accessToken` - The access token issued by the authorization server. + should("test accessToken") { + // uncomment below to test the property + //modelInstance.accessToken shouldBe ("TODO") + } + + // to test the property `expiresIn` - The lifetime in seconds of the access token. For example, the value \"3600\" denotes that the access token will expire in one hour from the time the response was generated. + should("test expiresIn") { + // uncomment below to test the property + //modelInstance.expiresIn shouldBe ("TODO") + } + + // to test the property `idToken` - To retrieve a refresh token request the id_token scope. + should("test idToken") { + // uncomment below to test the property + //modelInstance.idToken shouldBe ("TODO") + } + + // to test the property `refreshToken` - The refresh token, which can be used to obtain new access tokens. To retrieve it add the scope \"offline\" to your access token request. + should("test refreshToken") { + // uncomment below to test the property + //modelInstance.refreshToken shouldBe ("TODO") + } + + // to test the property `scope` - The scope of the access token + should("test scope") { + // uncomment below to test the property + //modelInstance.scope shouldBe ("TODO") + } + + // to test the property `tokenType` - The type of the token issued + should("test tokenType") { + // uncomment below to test the property + //modelInstance.tokenType shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OidcConfigurationTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OidcConfigurationTest.kt new file mode 100644 index 00000000000..c84e299190e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OidcConfigurationTest.kt @@ -0,0 +1,216 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.OidcConfiguration +import sh.ory.client-kotlin-multiplatform.models.CredentialSupportedDraft00 + +class OidcConfigurationTest : ShouldSpec() { + init { + // uncomment below to create an instance of OidcConfiguration + //val modelInstance = OidcConfiguration() + + // to test the property `authorizationEndpoint` - OAuth 2.0 Authorization Endpoint URL + should("test authorizationEndpoint") { + // uncomment below to test the property + //modelInstance.authorizationEndpoint shouldBe ("TODO") + } + + // to test the property `idTokenSignedResponseAlg` - OpenID Connect Default ID Token Signing Algorithms Algorithm used to sign OpenID Connect ID Tokens. + should("test idTokenSignedResponseAlg") { + // uncomment below to test the property + //modelInstance.idTokenSignedResponseAlg shouldBe ("TODO") + } + + // to test the property `idTokenSigningAlgValuesSupported` - OpenID Connect Supported ID Token Signing Algorithms JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT. + should("test idTokenSigningAlgValuesSupported") { + // uncomment below to test the property + //modelInstance.idTokenSigningAlgValuesSupported shouldBe ("TODO") + } + + // to test the property `issuer` - OpenID Connect Issuer URL An URL using the https scheme with no query or fragment component that the OP asserts as its IssuerURL Identifier. If IssuerURL discovery is supported , this value MUST be identical to the issuer value returned by WebFinger. This also MUST be identical to the iss Claim value in ID Tokens issued from this IssuerURL. + should("test issuer") { + // uncomment below to test the property + //modelInstance.issuer shouldBe ("TODO") + } + + // to test the property `jwksUri` - OpenID Connect Well-Known JSON Web Keys URL URL of the OP's JSON Web Key Set [JWK] document. This contains the signing key(s) the RP uses to validate signatures from the OP. The JWK Set MAY also contain the Server's encryption key(s), which are used by RPs to encrypt requests to the Server. When both signing and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate. + should("test jwksUri") { + // uncomment below to test the property + //modelInstance.jwksUri shouldBe ("TODO") + } + + // to test the property `responseTypesSupported` - OAuth 2.0 Supported Response Types JSON array containing a list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers MUST support the code, id_token, and the token id_token Response Type values. + should("test responseTypesSupported") { + // uncomment below to test the property + //modelInstance.responseTypesSupported shouldBe ("TODO") + } + + // to test the property `subjectTypesSupported` - OpenID Connect Supported Subject Types JSON array containing a list of the Subject Identifier types that this OP supports. Valid types include pairwise and public. + should("test subjectTypesSupported") { + // uncomment below to test the property + //modelInstance.subjectTypesSupported shouldBe ("TODO") + } + + // to test the property `tokenEndpoint` - OAuth 2.0 Token Endpoint URL + should("test tokenEndpoint") { + // uncomment below to test the property + //modelInstance.tokenEndpoint shouldBe ("TODO") + } + + // to test the property `userinfoSignedResponseAlg` - OpenID Connect User Userinfo Signing Algorithm Algorithm used to sign OpenID Connect Userinfo Responses. + should("test userinfoSignedResponseAlg") { + // uncomment below to test the property + //modelInstance.userinfoSignedResponseAlg shouldBe ("TODO") + } + + // to test the property `backchannelLogoutSessionSupported` - OpenID Connect Back-Channel Logout Session Required Boolean value specifying whether the OP can pass a sid (session ID) Claim in the Logout Token to identify the RP session with the OP. If supported, the sid Claim is also included in ID Tokens issued by the OP + should("test backchannelLogoutSessionSupported") { + // uncomment below to test the property + //modelInstance.backchannelLogoutSessionSupported shouldBe ("TODO") + } + + // to test the property `backchannelLogoutSupported` - OpenID Connect Back-Channel Logout Supported Boolean value specifying whether the OP supports back-channel logout, with true indicating support. + should("test backchannelLogoutSupported") { + // uncomment below to test the property + //modelInstance.backchannelLogoutSupported shouldBe ("TODO") + } + + // to test the property `claimsParameterSupported` - OpenID Connect Claims Parameter Parameter Supported Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. + should("test claimsParameterSupported") { + // uncomment below to test the property + //modelInstance.claimsParameterSupported shouldBe ("TODO") + } + + // to test the property `claimsSupported` - OpenID Connect Supported Claims JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list. + should("test claimsSupported") { + // uncomment below to test the property + //modelInstance.claimsSupported shouldBe ("TODO") + } + + // to test the property `codeChallengeMethodsSupported` - OAuth 2.0 PKCE Supported Code Challenge Methods JSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported by this authorization server. + should("test codeChallengeMethodsSupported") { + // uncomment below to test the property + //modelInstance.codeChallengeMethodsSupported shouldBe ("TODO") + } + + // to test the property `credentialsEndpointDraft00` - OpenID Connect Verifiable Credentials Endpoint Contains the URL of the Verifiable Credentials Endpoint. + should("test credentialsEndpointDraft00") { + // uncomment below to test the property + //modelInstance.credentialsEndpointDraft00 shouldBe ("TODO") + } + + // to test the property `credentialsSupportedDraft00` - OpenID Connect Verifiable Credentials Supported JSON array containing a list of the Verifiable Credentials supported by this authorization server. + should("test credentialsSupportedDraft00") { + // uncomment below to test the property + //modelInstance.credentialsSupportedDraft00 shouldBe ("TODO") + } + + // to test the property `endSessionEndpoint` - OpenID Connect End-Session Endpoint URL at the OP to which an RP can perform a redirect to request that the End-User be logged out at the OP. + should("test endSessionEndpoint") { + // uncomment below to test the property + //modelInstance.endSessionEndpoint shouldBe ("TODO") + } + + // to test the property `frontchannelLogoutSessionSupported` - OpenID Connect Front-Channel Logout Session Required Boolean value specifying whether the OP can pass iss (issuer) and sid (session ID) query parameters to identify the RP session with the OP when the frontchannel_logout_uri is used. If supported, the sid Claim is also included in ID Tokens issued by the OP. + should("test frontchannelLogoutSessionSupported") { + // uncomment below to test the property + //modelInstance.frontchannelLogoutSessionSupported shouldBe ("TODO") + } + + // to test the property `frontchannelLogoutSupported` - OpenID Connect Front-Channel Logout Supported Boolean value specifying whether the OP supports HTTP-based logout, with true indicating support. + should("test frontchannelLogoutSupported") { + // uncomment below to test the property + //modelInstance.frontchannelLogoutSupported shouldBe ("TODO") + } + + // to test the property `grantTypesSupported` - OAuth 2.0 Supported Grant Types JSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports. + should("test grantTypesSupported") { + // uncomment below to test the property + //modelInstance.grantTypesSupported shouldBe ("TODO") + } + + // to test the property `registrationEndpoint` - OpenID Connect Dynamic Client Registration Endpoint URL + should("test registrationEndpoint") { + // uncomment below to test the property + //modelInstance.registrationEndpoint shouldBe ("TODO") + } + + // to test the property `requestObjectSigningAlgValuesSupported` - OpenID Connect Supported Request Object Signing Algorithms JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). + should("test requestObjectSigningAlgValuesSupported") { + // uncomment below to test the property + //modelInstance.requestObjectSigningAlgValuesSupported shouldBe ("TODO") + } + + // to test the property `requestParameterSupported` - OpenID Connect Request Parameter Supported Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. + should("test requestParameterSupported") { + // uncomment below to test the property + //modelInstance.requestParameterSupported shouldBe ("TODO") + } + + // to test the property `requestUriParameterSupported` - OpenID Connect Request URI Parameter Supported Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. + should("test requestUriParameterSupported") { + // uncomment below to test the property + //modelInstance.requestUriParameterSupported shouldBe ("TODO") + } + + // to test the property `requireRequestUriRegistration` - OpenID Connect Requires Request URI Registration Boolean value specifying whether the OP requires any request_uri values used to be pre-registered using the request_uris registration parameter. + should("test requireRequestUriRegistration") { + // uncomment below to test the property + //modelInstance.requireRequestUriRegistration shouldBe ("TODO") + } + + // to test the property `responseModesSupported` - OAuth 2.0 Supported Response Modes JSON array containing a list of the OAuth 2.0 response_mode values that this OP supports. + should("test responseModesSupported") { + // uncomment below to test the property + //modelInstance.responseModesSupported shouldBe ("TODO") + } + + // to test the property `revocationEndpoint` - OAuth 2.0 Token Revocation URL URL of the authorization server's OAuth 2.0 revocation endpoint. + should("test revocationEndpoint") { + // uncomment below to test the property + //modelInstance.revocationEndpoint shouldBe ("TODO") + } + + // to test the property `scopesSupported` - OAuth 2.0 Supported Scope Values JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST support the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used + should("test scopesSupported") { + // uncomment below to test the property + //modelInstance.scopesSupported shouldBe ("TODO") + } + + // to test the property `tokenEndpointAuthMethodsSupported` - OAuth 2.0 Supported Client Authentication Methods JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 + should("test tokenEndpointAuthMethodsSupported") { + // uncomment below to test the property + //modelInstance.tokenEndpointAuthMethodsSupported shouldBe ("TODO") + } + + // to test the property `userinfoEndpoint` - OpenID Connect Userinfo URL URL of the OP's UserInfo Endpoint. + should("test userinfoEndpoint") { + // uncomment below to test the property + //modelInstance.userinfoEndpoint shouldBe ("TODO") + } + + // to test the property `userinfoSigningAlgValuesSupported` - OpenID Connect Supported Userinfo Signing Algorithm JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. + should("test userinfoSigningAlgValuesSupported") { + // uncomment below to test the property + //modelInstance.userinfoSigningAlgValuesSupported shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OidcUserInfoTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OidcUserInfoTest.kt new file mode 100644 index 00000000000..fe5fb1f8858 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OidcUserInfoTest.kt @@ -0,0 +1,143 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.OidcUserInfo + +class OidcUserInfoTest : ShouldSpec() { + init { + // uncomment below to create an instance of OidcUserInfo + //val modelInstance = OidcUserInfo() + + // to test the property `birthdate` - End-User's birthday, represented as an ISO 8601:2004 [ISO8601‑2004] YYYY-MM-DD format. The year MAY be 0000, indicating that it is omitted. To represent only the year, YYYY format is allowed. Note that depending on the underlying platform's date related function, providing just year can result in varying month and day, so the implementers need to take this factor into account to correctly process the dates. + should("test birthdate") { + // uncomment below to test the property + //modelInstance.birthdate shouldBe ("TODO") + } + + // to test the property `email` - End-User's preferred e-mail address. Its value MUST conform to the RFC 5322 [RFC5322] addr-spec syntax. The RP MUST NOT rely upon this value being unique, as discussed in Section 5.7. + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `emailVerified` - True if the End-User's e-mail address has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this e-mail address was controlled by the End-User at the time the verification was performed. The means by which an e-mail address is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating. + should("test emailVerified") { + // uncomment below to test the property + //modelInstance.emailVerified shouldBe ("TODO") + } + + // to test the property `familyName` - Surname(s) or last name(s) of the End-User. Note that in some cultures, people can have multiple family names or no family name; all can be present, with the names being separated by space characters. + should("test familyName") { + // uncomment below to test the property + //modelInstance.familyName shouldBe ("TODO") + } + + // to test the property `gender` - End-User's gender. Values defined by this specification are female and male. Other values MAY be used when neither of the defined values are applicable. + should("test gender") { + // uncomment below to test the property + //modelInstance.gender shouldBe ("TODO") + } + + // to test the property `givenName` - Given name(s) or first name(s) of the End-User. Note that in some cultures, people can have multiple given names; all can be present, with the names being separated by space characters. + should("test givenName") { + // uncomment below to test the property + //modelInstance.givenName shouldBe ("TODO") + } + + // to test the property `locale` - End-User's locale, represented as a BCP47 [RFC5646] language tag. This is typically an ISO 639-1 Alpha-2 [ISO639‑1] language code in lowercase and an ISO 3166-1 Alpha-2 [ISO3166‑1] country code in uppercase, separated by a dash. For example, en-US or fr-CA. As a compatibility note, some implementations have used an underscore as the separator rather than a dash, for example, en_US; Relying Parties MAY choose to accept this locale syntax as well. + should("test locale") { + // uncomment below to test the property + //modelInstance.locale shouldBe ("TODO") + } + + // to test the property `middleName` - Middle name(s) of the End-User. Note that in some cultures, people can have multiple middle names; all can be present, with the names being separated by space characters. Also note that in some cultures, middle names are not used. + should("test middleName") { + // uncomment below to test the property + //modelInstance.middleName shouldBe ("TODO") + } + + // to test the property `name` - End-User's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User's locale and preferences. + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `nickname` - Casual name of the End-User that may or may not be the same as the given_name. For instance, a nickname value of Mike might be returned alongside a given_name value of Michael. + should("test nickname") { + // uncomment below to test the property + //modelInstance.nickname shouldBe ("TODO") + } + + // to test the property `phoneNumber` - End-User's preferred telephone number. E.164 [E.164] is RECOMMENDED as the format of this Claim, for example, +1 (425) 555-1212 or +56 (2) 687 2400. If the phone number contains an extension, it is RECOMMENDED that the extension be represented using the RFC 3966 [RFC3966] extension syntax, for example, +1 (604) 555-1234;ext=5678. + should("test phoneNumber") { + // uncomment below to test the property + //modelInstance.phoneNumber shouldBe ("TODO") + } + + // to test the property `phoneNumberVerified` - True if the End-User's phone number has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this phone number was controlled by the End-User at the time the verification was performed. The means by which a phone number is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating. When true, the phone_number Claim MUST be in E.164 format and any extensions MUST be represented in RFC 3966 format. + should("test phoneNumberVerified") { + // uncomment below to test the property + //modelInstance.phoneNumberVerified shouldBe ("TODO") + } + + // to test the property `picture` - URL of the End-User's profile picture. This URL MUST refer to an image file (for example, a PNG, JPEG, or GIF image file), rather than to a Web page containing an image. Note that this URL SHOULD specifically reference a profile photo of the End-User suitable for displaying when describing the End-User, rather than an arbitrary photo taken by the End-User. + should("test picture") { + // uncomment below to test the property + //modelInstance.picture shouldBe ("TODO") + } + + // to test the property `preferredUsername` - Non-unique shorthand name by which the End-User wishes to be referred to at the RP, such as janedoe or j.doe. This value MAY be any valid JSON string including special characters such as @, /, or whitespace. + should("test preferredUsername") { + // uncomment below to test the property + //modelInstance.preferredUsername shouldBe ("TODO") + } + + // to test the property `profile` - URL of the End-User's profile page. The contents of this Web page SHOULD be about the End-User. + should("test profile") { + // uncomment below to test the property + //modelInstance.profile shouldBe ("TODO") + } + + // to test the property `sub` - Subject - Identifier for the End-User at the IssuerURL. + should("test sub") { + // uncomment below to test the property + //modelInstance.sub shouldBe ("TODO") + } + + // to test the property `updatedAt` - Time the End-User's information was last updated. Its value is a JSON number representing the number of seconds from 1970-01-01T0:0:0Z as measured in UTC until the date/time. + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `website` - URL of the End-User's Web page or blog. This Web page SHOULD contain information published by the End-User or an organization that the End-User is affiliated with. + should("test website") { + // uncomment below to test the property + //modelInstance.website shouldBe ("TODO") + } + + // to test the property `zoneinfo` - String from zoneinfo [zoneinfo] time zone database representing the End-User's time zone. For example, Europe/Paris or America/Los_Angeles. + should("test zoneinfo") { + // uncomment below to test the property + //modelInstance.zoneinfo shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OrganizationBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OrganizationBodyTest.kt new file mode 100644 index 00000000000..d65261ab41f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OrganizationBodyTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.OrganizationBody + +class OrganizationBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of OrganizationBody + //val modelInstance = OrganizationBody() + + // to test the property `domains` - Domains contains the list of organization's domains. + should("test domains") { + // uncomment below to test the property + //modelInstance.domains shouldBe ("TODO") + } + + // to test the property `label` - Label contains the organization's label. + should("test label") { + // uncomment below to test the property + //modelInstance.label shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OrganizationTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OrganizationTest.kt new file mode 100644 index 00000000000..4dffdd328cf --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/OrganizationTest.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.Organization + +class OrganizationTest : ShouldSpec() { + init { + // uncomment below to create an instance of Organization + //val modelInstance = Organization() + + // to test the property `createdAt` - The organization's creation date. + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `domains` + should("test domains") { + // uncomment below to test the property + //modelInstance.domains shouldBe ("TODO") + } + + // to test the property `id` - The organization's ID. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `label` - The organization's human-readable label. + should("test label") { + // uncomment below to test the property + //modelInstance.label shouldBe ("TODO") + } + + // to test the property `projectId` - The project's ID. + should("test projectId") { + // uncomment below to test the property + //modelInstance.projectId shouldBe ("TODO") + } + + // to test the property `updatedAt` - The last time the organization was updated. + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PaginationHeadersTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PaginationHeadersTest.kt new file mode 100644 index 00000000000..7f1150c73a2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PaginationHeadersTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.PaginationHeaders + +class PaginationHeadersTest : ShouldSpec() { + init { + // uncomment below to create an instance of PaginationHeaders + //val modelInstance = PaginationHeaders() + + // to test the property `link` - The link header contains pagination links. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). in: header + should("test link") { + // uncomment below to test the property + //modelInstance.link shouldBe ("TODO") + } + + // to test the property `xTotalCount` - The total number of clients. in: header + should("test xTotalCount") { + // uncomment below to test the property + //modelInstance.xTotalCount shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PaginationTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PaginationTest.kt new file mode 100644 index 00000000000..d9d3bd21d5c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PaginationTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.Pagination + +class PaginationTest : ShouldSpec() { + init { + // uncomment below to create an instance of Pagination + //val modelInstance = Pagination() + + // to test the property `pageSize` - Items per page 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). + should("test pageSize") { + // uncomment below to test the property + //modelInstance.pageSize shouldBe ("TODO") + } + + // to test the property `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). + should("test pageToken") { + // uncomment below to test the property + //modelInstance.pageToken shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ParseErrorTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ParseErrorTest.kt new file mode 100644 index 00000000000..564f0757b68 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ParseErrorTest.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ParseError +import sh.ory.client-kotlin-multiplatform.models.SourcePosition + +class ParseErrorTest : ShouldSpec() { + init { + // uncomment below to create an instance of ParseError + //val modelInstance = ParseError() + + // to test the property `end` + should("test end") { + // uncomment below to test the property + //modelInstance.end shouldBe ("TODO") + } + + // to test the property `message` + should("test message") { + // uncomment below to test the property + //modelInstance.message shouldBe ("TODO") + } + + // to test the property `start` + should("test start") { + // uncomment below to test the property + //modelInstance.start shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PatchIdentitiesBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PatchIdentitiesBodyTest.kt new file mode 100644 index 00000000000..d07d9814a10 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PatchIdentitiesBodyTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.PatchIdentitiesBody +import sh.ory.client-kotlin-multiplatform.models.IdentityPatch + +class PatchIdentitiesBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of PatchIdentitiesBody + //val modelInstance = PatchIdentitiesBody() + + // to test the property `identities` - Identities holds the list of patches to apply required + should("test identities") { + // uncomment below to test the property + //modelInstance.identities shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PerformNativeLogoutBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PerformNativeLogoutBodyTest.kt new file mode 100644 index 00000000000..3d298afe91c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PerformNativeLogoutBodyTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.PerformNativeLogoutBody + +class PerformNativeLogoutBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of PerformNativeLogoutBody + //val modelInstance = PerformNativeLogoutBody() + + // to test the property `sessionToken` - The Session Token Invalidate this session token. + should("test sessionToken") { + // uncomment below to test the property + //modelInstance.sessionToken shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PermissionsOnWorkspaceTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PermissionsOnWorkspaceTest.kt new file mode 100644 index 00000000000..4abc9bd7686 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PermissionsOnWorkspaceTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.PermissionsOnWorkspace + +class PermissionsOnWorkspaceTest : ShouldSpec() { + init { + // uncomment below to create an instance of PermissionsOnWorkspace + //val modelInstance = PermissionsOnWorkspace() + + // to test the property `permissions` + should("test permissions") { + // uncomment below to test the property + //modelInstance.permissions shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PlanDetailsTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PlanDetailsTest.kt new file mode 100644 index 00000000000..b067187dc8c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PlanDetailsTest.kt @@ -0,0 +1,78 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.PlanDetails +import sh.ory.client-kotlin-multiplatform.models.GenericUsage + +class PlanDetailsTest : ShouldSpec() { + init { + // uncomment below to create an instance of PlanDetails + //val modelInstance = PlanDetails() + + // to test the property `baseFeeMonthly` - BaseFeeMonthly is the monthly base fee for the plan. + should("test baseFeeMonthly") { + // uncomment below to test the property + //modelInstance.baseFeeMonthly shouldBe ("TODO") + } + + // to test the property `baseFeeYearly` - BaseFeeYearly is the yearly base fee for the plan. + should("test baseFeeYearly") { + // uncomment below to test the property + //modelInstance.baseFeeYearly shouldBe ("TODO") + } + + // to test the property `custom` - Custom is true if the plan is custom. This means it will be hidden from the pricing page. + should("test custom") { + // uncomment below to test the property + //modelInstance.custom shouldBe ("TODO") + } + + // to test the property `description` - Description is the description of the plan. + should("test description") { + // uncomment below to test the property + //modelInstance.description shouldBe ("TODO") + } + + // to test the property `features` + should("test features") { + // uncomment below to test the property + //modelInstance.features shouldBe ("TODO") + } + + // to test the property `name` - Name is the name of the plan. + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `version` - Version is the version of the plan. The combination of `name@version` must be unique. + should("test version") { + // uncomment below to test the property + //modelInstance.version shouldBe ("TODO") + } + + // to test the property `latest` - Latest is true if the plan is the latest version of a plan and should be available for self-service usage. + should("test latest") { + // uncomment below to test the property + //modelInstance.latest shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PlanTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PlanTest.kt new file mode 100644 index 00000000000..120b1f6c8cb --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PlanTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.Plan + +class PlanTest : ShouldSpec() { + init { + // uncomment below to create an instance of Plan + //val modelInstance = Plan() + + // to test the property `name` - Name is the name of the plan. + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `version` - Version is the version of the plan. The combination of `name@version` must be unique. + should("test version") { + // uncomment below to test the property + //modelInstance.version shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PostCheckPermissionBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PostCheckPermissionBodyTest.kt new file mode 100644 index 00000000000..f933601a306 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PostCheckPermissionBodyTest.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.PostCheckPermissionBody +import sh.ory.client-kotlin-multiplatform.models.SubjectSet + +class PostCheckPermissionBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostCheckPermissionBody + //val modelInstance = PostCheckPermissionBody() + + // to test the property `namespace` - Namespace to query + should("test namespace") { + // uncomment below to test the property + //modelInstance.namespace shouldBe ("TODO") + } + + // to test the property ``object`` - Object to query + should("test `object`") { + // uncomment below to test the property + //modelInstance.`object` shouldBe ("TODO") + } + + // to test the property `relation` - Relation to query + should("test relation") { + // uncomment below to test the property + //modelInstance.relation shouldBe ("TODO") + } + + // to test the property `subjectId` - SubjectID to query Either SubjectSet or SubjectID can be provided. + should("test subjectId") { + // uncomment below to test the property + //modelInstance.subjectId shouldBe ("TODO") + } + + // to test the property `subjectSet` + should("test subjectSet") { + // uncomment below to test the property + //modelInstance.subjectSet shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PostCheckPermissionOrErrorBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PostCheckPermissionOrErrorBodyTest.kt new file mode 100644 index 00000000000..accd5654bff --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/PostCheckPermissionOrErrorBodyTest.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.PostCheckPermissionOrErrorBody +import sh.ory.client-kotlin-multiplatform.models.SubjectSet + +class PostCheckPermissionOrErrorBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of PostCheckPermissionOrErrorBody + //val modelInstance = PostCheckPermissionOrErrorBody() + + // to test the property `namespace` - Namespace to query + should("test namespace") { + // uncomment below to test the property + //modelInstance.namespace shouldBe ("TODO") + } + + // to test the property ``object`` - Object to query + should("test `object`") { + // uncomment below to test the property + //modelInstance.`object` shouldBe ("TODO") + } + + // to test the property `relation` - Relation to query + should("test relation") { + // uncomment below to test the property + //modelInstance.relation shouldBe ("TODO") + } + + // to test the property `subjectId` - SubjectID to query Either SubjectSet or SubjectID can be provided. + should("test subjectId") { + // uncomment below to test the property + //modelInstance.subjectId shouldBe ("TODO") + } + + // to test the property `subjectSet` + should("test subjectSet") { + // uncomment below to test the property + //modelInstance.subjectSet shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectApiKeyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectApiKeyTest.kt new file mode 100644 index 00000000000..c6c6a0a0a8d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectApiKeyTest.kt @@ -0,0 +1,77 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ProjectApiKey + +class ProjectApiKeyTest : ShouldSpec() { + init { + // uncomment below to create an instance of ProjectApiKey + //val modelInstance = ProjectApiKey() + + // to test the property `id` - The token's ID. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` - The Token's Name Set this to help you remember, for example, where you use the token. + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `ownerId` - The token's owner + should("test ownerId") { + // uncomment below to test the property + //modelInstance.ownerId shouldBe ("TODO") + } + + // to test the property `createdAt` - The token's creation date + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `expiresAt` + should("test expiresAt") { + // uncomment below to test the property + //modelInstance.expiresAt shouldBe ("TODO") + } + + // to test the property `projectId` - The Token's Project ID + should("test projectId") { + // uncomment below to test the property + //modelInstance.projectId shouldBe ("TODO") + } + + // to test the property `updatedAt` - The token's last update date + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property ``value`` - The token's value + should("test `value`") { + // uncomment below to test the property + //modelInstance.`value` shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingColorsTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingColorsTest.kt new file mode 100644 index 00000000000..5bbb04fe789 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingColorsTest.kt @@ -0,0 +1,203 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ProjectBrandingColors + +class ProjectBrandingColorsTest : ShouldSpec() { + init { + // uncomment below to create an instance of ProjectBrandingColors + //val modelInstance = ProjectBrandingColors() + + // to test the property `accentDefaultColor` - AccentDefaultColor is a hex color code used by the Ory Account Experience theme. + should("test accentDefaultColor") { + // uncomment below to test the property + //modelInstance.accentDefaultColor shouldBe ("TODO") + } + + // to test the property `accentDisabledColor` - AccentDisabledColor is a hex color code used by the Ory Account Experience theme. + should("test accentDisabledColor") { + // uncomment below to test the property + //modelInstance.accentDisabledColor shouldBe ("TODO") + } + + // to test the property `accentEmphasisColor` - AccentEmphasisColor is a hex color code used by the Ory Account Experience theme. + should("test accentEmphasisColor") { + // uncomment below to test the property + //modelInstance.accentEmphasisColor shouldBe ("TODO") + } + + // to test the property `accentMutedColor` - AccentMutedColor is a hex color code used by the Ory Account Experience theme. + should("test accentMutedColor") { + // uncomment below to test the property + //modelInstance.accentMutedColor shouldBe ("TODO") + } + + // to test the property `accentSubtleColor` - AccentSubtleColor is a hex color code used by the Ory Account Experience theme. + should("test accentSubtleColor") { + // uncomment below to test the property + //modelInstance.accentSubtleColor shouldBe ("TODO") + } + + // to test the property `backgroundCanvasColor` - BackgroundCanvasColor is a hex color code used by the Ory Account Experience theme. + should("test backgroundCanvasColor") { + // uncomment below to test the property + //modelInstance.backgroundCanvasColor shouldBe ("TODO") + } + + // to test the property `backgroundSubtleColor` - BackgroundSubtleColor is a hex color code used by the Ory Account Experience theme. + should("test backgroundSubtleColor") { + // uncomment below to test the property + //modelInstance.backgroundSubtleColor shouldBe ("TODO") + } + + // to test the property `backgroundSurfaceColor` - BackgroundSurfaceColor is a hex color code used by the Ory Account Experience theme. + should("test backgroundSurfaceColor") { + // uncomment below to test the property + //modelInstance.backgroundSurfaceColor shouldBe ("TODO") + } + + // to test the property `borderDefaultColor` - BorderDefaultColor is a hex color code used by the Ory Account Experience theme. + should("test borderDefaultColor") { + // uncomment below to test the property + //modelInstance.borderDefaultColor shouldBe ("TODO") + } + + // to test the property `errorDefaultColor` - ErrorDefaultColor is a hex color code used by the Ory Account Experience theme. + should("test errorDefaultColor") { + // uncomment below to test the property + //modelInstance.errorDefaultColor shouldBe ("TODO") + } + + // to test the property `errorEmphasisColor` - ErrorEmphasisColor is a hex color code used by the Ory Account Experience theme. + should("test errorEmphasisColor") { + // uncomment below to test the property + //modelInstance.errorEmphasisColor shouldBe ("TODO") + } + + // to test the property `errorMutedColor` - ErrorMutedColor is a hex color code used by the Ory Account Experience theme. + should("test errorMutedColor") { + // uncomment below to test the property + //modelInstance.errorMutedColor shouldBe ("TODO") + } + + // to test the property `errorSubtleColor` - ErrorSubtleColor is a hex color code used by the Ory Account Experience theme. + should("test errorSubtleColor") { + // uncomment below to test the property + //modelInstance.errorSubtleColor shouldBe ("TODO") + } + + // to test the property `foregroundDefaultColor` - ForegroundDefaultColor is a hex color code used by the Ory Account Experience theme. + should("test foregroundDefaultColor") { + // uncomment below to test the property + //modelInstance.foregroundDefaultColor shouldBe ("TODO") + } + + // to test the property `foregroundDisabledColor` - ForegroundDisabledColor is a hex color code used by the Ory Account Experience theme. + should("test foregroundDisabledColor") { + // uncomment below to test the property + //modelInstance.foregroundDisabledColor shouldBe ("TODO") + } + + // to test the property `foregroundMutedColor` - ForegroundMutedColor is a hex color code used by the Ory Account Experience theme. + should("test foregroundMutedColor") { + // uncomment below to test the property + //modelInstance.foregroundMutedColor shouldBe ("TODO") + } + + // to test the property `foregroundOnAccentColor` - ForegroundOnAccentColor is a hex color code used by the Ory Account Experience theme. + should("test foregroundOnAccentColor") { + // uncomment below to test the property + //modelInstance.foregroundOnAccentColor shouldBe ("TODO") + } + + // to test the property `foregroundOnDarkColor` - ForegroundOnDarkColor is a hex color code used by the Ory Account Experience theme. + should("test foregroundOnDarkColor") { + // uncomment below to test the property + //modelInstance.foregroundOnDarkColor shouldBe ("TODO") + } + + // to test the property `foregroundOnDisabledColor` - ForegroundOnDisabledColor is a hex color code used by the Ory Account Experience theme. + should("test foregroundOnDisabledColor") { + // uncomment below to test the property + //modelInstance.foregroundOnDisabledColor shouldBe ("TODO") + } + + // to test the property `foregroundSubtleColor` - ForegroundSubtleColor is a hex color code used by the Ory Account Experience theme. + should("test foregroundSubtleColor") { + // uncomment below to test the property + //modelInstance.foregroundSubtleColor shouldBe ("TODO") + } + + // to test the property `inputBackgroundColor` - InputBackgroundColor is a hex color code used by the Ory Account Experience theme. + should("test inputBackgroundColor") { + // uncomment below to test the property + //modelInstance.inputBackgroundColor shouldBe ("TODO") + } + + // to test the property `inputDisabledColor` - InputDisabledColor is a hex color code used by the Ory Account Experience theme. + should("test inputDisabledColor") { + // uncomment below to test the property + //modelInstance.inputDisabledColor shouldBe ("TODO") + } + + // to test the property `inputPlaceholderColor` - InputPlaceholderColor is a hex color code used by the Ory Account Experience theme. + should("test inputPlaceholderColor") { + // uncomment below to test the property + //modelInstance.inputPlaceholderColor shouldBe ("TODO") + } + + // to test the property `inputTextColor` - InputTextColor is a hex color code used by the Ory Account Experience theme. + should("test inputTextColor") { + // uncomment below to test the property + //modelInstance.inputTextColor shouldBe ("TODO") + } + + // to test the property `primaryColor` - Primary color is an hsla color value used to derive the other colors from for the Ory Account Experience theme. + should("test primaryColor") { + // uncomment below to test the property + //modelInstance.primaryColor shouldBe ("TODO") + } + + // to test the property `secondaryColor` - Secondary color is a hsla color code used to derive the other colors from for the Ory Account Experience theme. + should("test secondaryColor") { + // uncomment below to test the property + //modelInstance.secondaryColor shouldBe ("TODO") + } + + // to test the property `successEmphasisColor` - SuccessEmphasisColor is a hex color code used by the Ory Account Experience theme. + should("test successEmphasisColor") { + // uncomment below to test the property + //modelInstance.successEmphasisColor shouldBe ("TODO") + } + + // to test the property `textDefaultColor` - TextDefaultColor is a hex color code used by the Ory Account Experience theme. + should("test textDefaultColor") { + // uncomment below to test the property + //modelInstance.textDefaultColor shouldBe ("TODO") + } + + // to test the property `textDisabledColor` - TextDisabledColor is a hex color code used by the Ory Account Experience theme. + should("test textDisabledColor") { + // uncomment below to test the property + //modelInstance.textDisabledColor shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingTest.kt new file mode 100644 index 00000000000..d432eecfe18 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingTest.kt @@ -0,0 +1,66 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ProjectBranding +import sh.ory.client-kotlin-multiplatform.models.ProjectBrandingTheme + +class ProjectBrandingTest : ShouldSpec() { + init { + // uncomment below to create an instance of ProjectBranding + //val modelInstance = ProjectBranding() + + // to test the property `createdAt` - The Customization Creation Date + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `defaultTheme` + should("test defaultTheme") { + // uncomment below to test the property + //modelInstance.defaultTheme shouldBe ("TODO") + } + + // to test the property `id` - The customization ID. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `projectId` - The Project's ID this customization is associated with + should("test projectId") { + // uncomment below to test the property + //modelInstance.projectId shouldBe ("TODO") + } + + // to test the property `themes` + should("test themes") { + // uncomment below to test the property + //modelInstance.themes shouldBe ("TODO") + } + + // to test the property `updatedAt` - Last Time Branding was Updated + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingThemeTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingThemeTest.kt new file mode 100644 index 00000000000..4468d2a270f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectBrandingThemeTest.kt @@ -0,0 +1,270 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ProjectBrandingTheme +import sh.ory.client-kotlin-multiplatform.models.AccountExperienceThemeVariables + +class ProjectBrandingThemeTest : ShouldSpec() { + init { + // uncomment below to create an instance of ProjectBrandingTheme + //val modelInstance = ProjectBrandingTheme() + + // to test the property `createdAt` - The Customization Creation Date. + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` - The customization theme ID. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` - The customization theme name. + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `projectBrandingId` - The ProjectBranding ID this customization is associated with. + should("test projectBrandingId") { + // uncomment below to test the property + //modelInstance.projectBrandingId shouldBe ("TODO") + } + + // to test the property `updatedAt` - Last Time Branding was Updated. + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `accentDefaultColor` - AccentDefaultColor is a hex color code used by the Ory Account Experience theme. + should("test accentDefaultColor") { + // uncomment below to test the property + //modelInstance.accentDefaultColor shouldBe ("TODO") + } + + // to test the property `accentDisabledColor` - AccentDisabledColor is a hex color code used by the Ory Account Experience theme. + should("test accentDisabledColor") { + // uncomment below to test the property + //modelInstance.accentDisabledColor shouldBe ("TODO") + } + + // to test the property `accentEmphasisColor` - AccentEmphasisColor is a hex color code used by the Ory Account Experience theme. + should("test accentEmphasisColor") { + // uncomment below to test the property + //modelInstance.accentEmphasisColor shouldBe ("TODO") + } + + // to test the property `accentMutedColor` - AccentMutedColor is a hex color code used by the Ory Account Experience theme. + should("test accentMutedColor") { + // uncomment below to test the property + //modelInstance.accentMutedColor shouldBe ("TODO") + } + + // to test the property `accentSubtleColor` - AccentSubtleColor is a hex color code used by the Ory Account Experience theme. + should("test accentSubtleColor") { + // uncomment below to test the property + //modelInstance.accentSubtleColor shouldBe ("TODO") + } + + // to test the property `accountExperienceVariables` - The Account Experience Theme Variables. + should("test accountExperienceVariables") { + // uncomment below to test the property + //modelInstance.accountExperienceVariables shouldBe ("TODO") + } + + // to test the property `accountExperienceVariablesStylesheet` - AccountExperienceVariableStylesheet holds a reference to the current stylesheet that can be used in the AX + should("test accountExperienceVariablesStylesheet") { + // uncomment below to test the property + //modelInstance.accountExperienceVariablesStylesheet shouldBe ("TODO") + } + + // to test the property `backgroundCanvasColor` - BackgroundCanvasColor is a hex color code used by the Ory Account Experience theme. + should("test backgroundCanvasColor") { + // uncomment below to test the property + //modelInstance.backgroundCanvasColor shouldBe ("TODO") + } + + // to test the property `backgroundSubtleColor` - BackgroundSubtleColor is a hex color code used by the Ory Account Experience theme. + should("test backgroundSubtleColor") { + // uncomment below to test the property + //modelInstance.backgroundSubtleColor shouldBe ("TODO") + } + + // to test the property `backgroundSurfaceColor` - BackgroundSurfaceColor is a hex color code used by the Ory Account Experience theme. + should("test backgroundSurfaceColor") { + // uncomment below to test the property + //modelInstance.backgroundSurfaceColor shouldBe ("TODO") + } + + // to test the property `borderDefaultColor` - BorderDefaultColor is a hex color code used by the Ory Account Experience theme. + should("test borderDefaultColor") { + // uncomment below to test the property + //modelInstance.borderDefaultColor shouldBe ("TODO") + } + + // to test the property `errorDefaultColor` - ErrorDefaultColor is a hex color code used by the Ory Account Experience theme. + should("test errorDefaultColor") { + // uncomment below to test the property + //modelInstance.errorDefaultColor shouldBe ("TODO") + } + + // to test the property `errorEmphasisColor` - ErrorEmphasisColor is a hex color code used by the Ory Account Experience theme. + should("test errorEmphasisColor") { + // uncomment below to test the property + //modelInstance.errorEmphasisColor shouldBe ("TODO") + } + + // to test the property `errorMutedColor` - ErrorMutedColor is a hex color code used by the Ory Account Experience theme. + should("test errorMutedColor") { + // uncomment below to test the property + //modelInstance.errorMutedColor shouldBe ("TODO") + } + + // to test the property `errorSubtleColor` - ErrorSubtleColor is a hex color code used by the Ory Account Experience theme. + should("test errorSubtleColor") { + // uncomment below to test the property + //modelInstance.errorSubtleColor shouldBe ("TODO") + } + + // to test the property `faviconType` - Favicon Type The Favicon mime type. + should("test faviconType") { + // uncomment below to test the property + //modelInstance.faviconType shouldBe ("TODO") + } + + // to test the property `faviconUrl` - Favicon URL Favicon can be an https:// or base64:// URL. If the URL is not allowed, the favicon will be stored inside the Ory Network storage bucket. + should("test faviconUrl") { + // uncomment below to test the property + //modelInstance.faviconUrl shouldBe ("TODO") + } + + // to test the property `foregroundDefaultColor` - ForegroundDefaultColor is a hex color code used by the Ory Account Experience theme. + should("test foregroundDefaultColor") { + // uncomment below to test the property + //modelInstance.foregroundDefaultColor shouldBe ("TODO") + } + + // to test the property `foregroundDisabledColor` - ForegroundDisabledColor is a hex color code used by the Ory Account Experience theme. + should("test foregroundDisabledColor") { + // uncomment below to test the property + //modelInstance.foregroundDisabledColor shouldBe ("TODO") + } + + // to test the property `foregroundMutedColor` - ForegroundMutedColor is a hex color code used by the Ory Account Experience theme. + should("test foregroundMutedColor") { + // uncomment below to test the property + //modelInstance.foregroundMutedColor shouldBe ("TODO") + } + + // to test the property `foregroundOnAccentColor` - ForegroundOnAccentColor is a hex color code used by the Ory Account Experience theme. + should("test foregroundOnAccentColor") { + // uncomment below to test the property + //modelInstance.foregroundOnAccentColor shouldBe ("TODO") + } + + // to test the property `foregroundOnDarkColor` - ForegroundOnDarkColor is a hex color code used by the Ory Account Experience theme. + should("test foregroundOnDarkColor") { + // uncomment below to test the property + //modelInstance.foregroundOnDarkColor shouldBe ("TODO") + } + + // to test the property `foregroundOnDisabledColor` - ForegroundOnDisabledColor is a hex color code used by the Ory Account Experience theme. + should("test foregroundOnDisabledColor") { + // uncomment below to test the property + //modelInstance.foregroundOnDisabledColor shouldBe ("TODO") + } + + // to test the property `foregroundSubtleColor` - ForegroundSubtleColor is a hex color code used by the Ory Account Experience theme. + should("test foregroundSubtleColor") { + // uncomment below to test the property + //modelInstance.foregroundSubtleColor shouldBe ("TODO") + } + + // to test the property `inputBackgroundColor` - InputBackgroundColor is a hex color code used by the Ory Account Experience theme. + should("test inputBackgroundColor") { + // uncomment below to test the property + //modelInstance.inputBackgroundColor shouldBe ("TODO") + } + + // to test the property `inputDisabledColor` - InputDisabledColor is a hex color code used by the Ory Account Experience theme. + should("test inputDisabledColor") { + // uncomment below to test the property + //modelInstance.inputDisabledColor shouldBe ("TODO") + } + + // to test the property `inputPlaceholderColor` - InputPlaceholderColor is a hex color code used by the Ory Account Experience theme. + should("test inputPlaceholderColor") { + // uncomment below to test the property + //modelInstance.inputPlaceholderColor shouldBe ("TODO") + } + + // to test the property `inputTextColor` - InputTextColor is a hex color code used by the Ory Account Experience theme. + should("test inputTextColor") { + // uncomment below to test the property + //modelInstance.inputTextColor shouldBe ("TODO") + } + + // to test the property `logoType` - Logo Type The Logo mime type. + should("test logoType") { + // uncomment below to test the property + //modelInstance.logoType shouldBe ("TODO") + } + + // to test the property `logoUrl` - Logo URL Logo can be an https:// or base64:// URL. If the URL is not allowed, the logo will be stored inside the Ory Network storage bucket. + should("test logoUrl") { + // uncomment below to test the property + //modelInstance.logoUrl shouldBe ("TODO") + } + + // to test the property `primaryColor` - Primary color is an hsla color value used to derive the other colors from for the Ory Account Experience theme. + should("test primaryColor") { + // uncomment below to test the property + //modelInstance.primaryColor shouldBe ("TODO") + } + + // to test the property `secondaryColor` - Secondary color is a hsla color code used to derive the other colors from for the Ory Account Experience theme. + should("test secondaryColor") { + // uncomment below to test the property + //modelInstance.secondaryColor shouldBe ("TODO") + } + + // to test the property `successEmphasisColor` - SuccessEmphasisColor is a hex color code used by the Ory Account Experience theme. + should("test successEmphasisColor") { + // uncomment below to test the property + //modelInstance.successEmphasisColor shouldBe ("TODO") + } + + // to test the property `textDefaultColor` - TextDefaultColor is a hex color code used by the Ory Account Experience theme. + should("test textDefaultColor") { + // uncomment below to test the property + //modelInstance.textDefaultColor shouldBe ("TODO") + } + + // to test the property `textDisabledColor` - TextDisabledColor is a hex color code used by the Ory Account Experience theme. + should("test textDisabledColor") { + // uncomment below to test the property + //modelInstance.textDisabledColor shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectCorsTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectCorsTest.kt new file mode 100644 index 00000000000..b0efba3dfb9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectCorsTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ProjectCors + +class ProjectCorsTest : ShouldSpec() { + init { + // uncomment below to create an instance of ProjectCors + //val modelInstance = ProjectCors() + + // to test the property `enabled` - Whether CORS is enabled for this endpoint. + should("test enabled") { + // uncomment below to test the property + //modelInstance.enabled shouldBe ("TODO") + } + + // to test the property `origins` - 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`. + should("test origins") { + // uncomment below to test the property + //modelInstance.origins shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectEventsDatapointTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectEventsDatapointTest.kt new file mode 100644 index 00000000000..2343fa2feed --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectEventsDatapointTest.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ProjectEventsDatapoint +import sh.ory.client-kotlin-multiplatform.models.Attribute + +class ProjectEventsDatapointTest : ShouldSpec() { + init { + // uncomment below to create an instance of ProjectEventsDatapoint + //val modelInstance = ProjectEventsDatapoint() + + // to test the property `attributes` - Event attributes with details + should("test attributes") { + // uncomment below to test the property + //modelInstance.attributes shouldBe ("TODO") + } + + // to test the property `name` - Name of the event + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `timestamp` - Time of occurence + should("test timestamp") { + // uncomment below to test the property + //modelInstance.timestamp shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectHostTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectHostTest.kt new file mode 100644 index 00000000000..bd9d5a91182 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectHostTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ProjectHost + +class ProjectHostTest : ShouldSpec() { + init { + // uncomment below to create an instance of ProjectHost + //val modelInstance = ProjectHost() + + // to test the property `host` - The project's host. + should("test host") { + // uncomment below to test the property + //modelInstance.host shouldBe ("TODO") + } + + // to test the property `id` - The mapping's ID. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `projectId` - The Revision's Project ID + should("test projectId") { + // uncomment below to test the property + //modelInstance.projectId shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectMemberTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectMemberTest.kt new file mode 100644 index 00000000000..7d053d98c10 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectMemberTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ProjectMember + +class ProjectMemberTest : ShouldSpec() { + init { + // uncomment below to create an instance of ProjectMember + //val modelInstance = ProjectMember() + + // to test the property `email` + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `emailVerified` + should("test emailVerified") { + // uncomment below to test the property + //modelInstance.emailVerified shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `role` + should("test role") { + // uncomment below to test the property + //modelInstance.role shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectMetadataTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectMetadataTest.kt new file mode 100644 index 00000000000..60e1f99e7cb --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectMetadataTest.kt @@ -0,0 +1,108 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ProjectMetadata +import sh.ory.client-kotlin-multiplatform.models.Workspace + +class ProjectMetadataTest : ShouldSpec() { + init { + // uncomment below to create an instance of ProjectMetadata + //val modelInstance = ProjectMetadata() + + // to test the property `createdAt` - The Project's Creation Date + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `environment` - The environment of the project. prod Production stage Staging dev Development + should("test environment") { + // uncomment below to test the property + //modelInstance.environment shouldBe ("TODO") + } + + // to test the property `homeRegion` - The project's data home region eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global + should("test homeRegion") { + // uncomment below to test the property + //modelInstance.homeRegion shouldBe ("TODO") + } + + // to test the property `hosts` + should("test hosts") { + // uncomment below to test the property + //modelInstance.hosts shouldBe ("TODO") + } + + // to test the property `id` - The project's ID. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` - The project's name if set + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `slug` - The project's slug + should("test slug") { + // uncomment below to test the property + //modelInstance.slug shouldBe ("TODO") + } + + // to test the property `state` - The state of the project. running Running halted Halted deleted Deleted + should("test state") { + // uncomment below to test the property + //modelInstance.state shouldBe ("TODO") + } + + // to test the property `updatedAt` - Last Time Project was Updated + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `subscriptionId` + should("test subscriptionId") { + // uncomment below to test the property + //modelInstance.subscriptionId shouldBe ("TODO") + } + + // to test the property `subscriptionPlan` + should("test subscriptionPlan") { + // uncomment below to test the property + //modelInstance.subscriptionPlan shouldBe ("TODO") + } + + // to test the property `workspace` + should("test workspace") { + // uncomment below to test the property + //modelInstance.workspace shouldBe ("TODO") + } + + // to test the property `workspaceId` + should("test workspaceId") { + // uncomment below to test the property + //modelInstance.workspaceId shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServiceIdentityTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServiceIdentityTest.kt new file mode 100644 index 00000000000..eb5d78ccb96 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServiceIdentityTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ProjectServiceIdentity + +class ProjectServiceIdentityTest : ShouldSpec() { + init { + // uncomment below to create an instance of ProjectServiceIdentity + //val modelInstance = ProjectServiceIdentity() + + // to test the property `config` + should("test config") { + // uncomment below to test the property + //modelInstance.config shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServiceOAuth2Test.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServiceOAuth2Test.kt new file mode 100644 index 00000000000..74808961acd --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServiceOAuth2Test.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ProjectServiceOAuth2 + +class ProjectServiceOAuth2Test : ShouldSpec() { + init { + // uncomment below to create an instance of ProjectServiceOAuth2 + //val modelInstance = ProjectServiceOAuth2() + + // to test the property `config` + should("test config") { + // uncomment below to test the property + //modelInstance.config shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServicePermissionTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServicePermissionTest.kt new file mode 100644 index 00000000000..29542791665 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServicePermissionTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ProjectServicePermission + +class ProjectServicePermissionTest : ShouldSpec() { + init { + // uncomment below to create an instance of ProjectServicePermission + //val modelInstance = ProjectServicePermission() + + // to test the property `config` + should("test config") { + // uncomment below to test the property + //modelInstance.config shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServicesTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServicesTest.kt new file mode 100644 index 00000000000..a72b7961628 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectServicesTest.kt @@ -0,0 +1,50 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.ProjectServices +import sh.ory.client-kotlin-multiplatform.models.ProjectServiceIdentity +import sh.ory.client-kotlin-multiplatform.models.ProjectServiceOAuth2 +import sh.ory.client-kotlin-multiplatform.models.ProjectServicePermission + +class ProjectServicesTest : ShouldSpec() { + init { + // uncomment below to create an instance of ProjectServices + //val modelInstance = ProjectServices() + + // to test the property `identity` + should("test identity") { + // uncomment below to test the property + //modelInstance.identity shouldBe ("TODO") + } + + // to test the property `oauth2` + should("test oauth2") { + // uncomment below to test the property + //modelInstance.oauth2 shouldBe ("TODO") + } + + // to test the property `permission` + should("test permission") { + // uncomment below to test the property + //modelInstance.permission shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectTest.kt new file mode 100644 index 00000000000..d7233a87676 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/ProjectTest.kt @@ -0,0 +1,97 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.Project +import sh.ory.client-kotlin-multiplatform.models.ProjectCors +import sh.ory.client-kotlin-multiplatform.models.ProjectServices + +class ProjectTest : ShouldSpec() { + init { + // uncomment below to create an instance of Project + //val modelInstance = Project() + + // to test the property `environment` - The environment of the project. prod Production stage Staging dev Development + should("test environment") { + // uncomment below to test the property + //modelInstance.environment shouldBe ("TODO") + } + + // to test the property `homeRegion` - The project home region. This is used to set where the project data is stored and where the project's endpoints are located. eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest us US global Global + should("test homeRegion") { + // uncomment below to test the property + //modelInstance.homeRegion shouldBe ("TODO") + } + + // to test the property `id` - The project's ID. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` - The name of the project. + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `revisionId` - The configuration revision ID. + should("test revisionId") { + // uncomment below to test the property + //modelInstance.revisionId shouldBe ("TODO") + } + + // to test the property `services` + should("test services") { + // uncomment below to test the property + //modelInstance.services shouldBe ("TODO") + } + + // to test the property `slug` - The project's slug + should("test slug") { + // uncomment below to test the property + //modelInstance.slug shouldBe ("TODO") + } + + // to test the property `state` - The state of the project. running Running halted Halted deleted Deleted + should("test state") { + // uncomment below to test the property + //modelInstance.state shouldBe ("TODO") + } + + // to test the property `corsAdmin` + should("test corsAdmin") { + // uncomment below to test the property + //modelInstance.corsAdmin shouldBe ("TODO") + } + + // to test the property `corsPublic` + should("test corsPublic") { + // uncomment below to test the property + //modelInstance.corsPublic shouldBe ("TODO") + } + + // to test the property `workspaceId` + should("test workspaceId") { + // uncomment below to test the property + //modelInstance.workspaceId shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/QuotaUsageTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/QuotaUsageTest.kt new file mode 100644 index 00000000000..d47f9b558d2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/QuotaUsageTest.kt @@ -0,0 +1,71 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.QuotaUsage + +class QuotaUsageTest : ShouldSpec() { + init { + // uncomment below to create an instance of QuotaUsage + //val modelInstance = QuotaUsage() + + // to test the property `additionalPrice` - The additional price per unit in cents. + should("test additionalPrice") { + // uncomment below to test the property + //modelInstance.additionalPrice shouldBe ("TODO") + } + + // to test the property `canUseMore` + should("test canUseMore") { + // uncomment below to test the property + //modelInstance.canUseMore shouldBe ("TODO") + } + + // to test the property `feature` - production_projects ProductionProjects staging_projects StagingProjects development_projects DevelopmentProjects daily_active_users DailyActiveUsers custom_domains CustomDomains event_streams EventStreams event_stream_events EventStreamEvents sla SLA collaborator_seats CollaboratorSeats edge_cache EdgeCache branding_themes BrandingThemes zendesk_support ZendeskSupport project_metrics ProjectMetrics project_metrics_time_window ProjectMetricsTimeWindow project_metrics_events_history ProjectMetricsEventsHistory organizations Organizations rop_grant ResourceOwnerPasswordGrant concierge_onboarding ConciergeOnboarding credit Credit data_location_global DataLocationGlobal data_location_us DataLocationUS data_location_asiane DataLocationAsiaNorthEast m2m_token_issuance M2MTokenIssuance permission_checks PermissionChecks captcha Captcha data_location_regional DataLocationRegional Required Features rate_limit_tier RateLimitTier session_rate_limit_tier RateLimitTierSessions identities_list_rate_limit_tier RateLimitTierIdentitiesList permission_checks_rate_limit_tier RateLimitTierPermissionChecks oauth2_introspect_rate_limit_tier RateLimitTierOAuth2Introspect + should("test feature") { + // uncomment below to test the property + //modelInstance.feature shouldBe ("TODO") + } + + // to test the property `featureAvailable` + should("test featureAvailable") { + // uncomment below to test the property + //modelInstance.featureAvailable shouldBe ("TODO") + } + + // to test the property `included` + should("test included") { + // uncomment below to test the property + //modelInstance.included shouldBe ("TODO") + } + + // to test the property `isUnlimited` + should("test isUnlimited") { + // uncomment below to test the property + //modelInstance.isUnlimited shouldBe ("TODO") + } + + // to test the property `used` + should("test used") { + // uncomment below to test the property + //modelInstance.used shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RFC6749ErrorJsonTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RFC6749ErrorJsonTest.kt new file mode 100644 index 00000000000..a9349344e7f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RFC6749ErrorJsonTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.RFC6749ErrorJson + +class RFC6749ErrorJsonTest : ShouldSpec() { + init { + // uncomment below to create an instance of RFC6749ErrorJson + //val modelInstance = RFC6749ErrorJson() + + // to test the property `error` + should("test error") { + // uncomment below to test the property + //modelInstance.error shouldBe ("TODO") + } + + // to test the property `errorDebug` + should("test errorDebug") { + // uncomment below to test the property + //modelInstance.errorDebug shouldBe ("TODO") + } + + // to test the property `errorDescription` + should("test errorDescription") { + // uncomment below to test the property + //modelInstance.errorDescription shouldBe ("TODO") + } + + // to test the property `errorHint` + should("test errorHint") { + // uncomment below to test the property + //modelInstance.errorHint shouldBe ("TODO") + } + + // to test the property `statusCode` + should("test statusCode") { + // uncomment below to test the property + //modelInstance.statusCode shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryCodeForIdentityTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryCodeForIdentityTest.kt new file mode 100644 index 00000000000..38e86a3a80b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryCodeForIdentityTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.RecoveryCodeForIdentity + +class RecoveryCodeForIdentityTest : ShouldSpec() { + init { + // uncomment below to create an instance of RecoveryCodeForIdentity + //val modelInstance = RecoveryCodeForIdentity() + + // to test the property `recoveryCode` - RecoveryCode is the code that can be used to recover the account + should("test recoveryCode") { + // uncomment below to test the property + //modelInstance.recoveryCode shouldBe ("TODO") + } + + // to test the property `recoveryLink` - RecoveryLink with flow This link opens the recovery UI with an empty `code` field. + should("test recoveryLink") { + // uncomment below to test the property + //modelInstance.recoveryLink shouldBe ("TODO") + } + + // to test the property `expiresAt` - Expires At is the timestamp of when the recovery flow expires The timestamp when the recovery code expires. + should("test expiresAt") { + // uncomment below to test the property + //modelInstance.expiresAt shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryFlowStateTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryFlowStateTest.kt new file mode 100644 index 00000000000..54ae56c4893 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryFlowStateTest.kt @@ -0,0 +1,29 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.RecoveryFlowState + +class RecoveryFlowStateTest : ShouldSpec() { + init { + // uncomment below to create an instance of RecoveryFlowState + //val modelInstance = RecoveryFlowState() + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryFlowTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryFlowTest.kt new file mode 100644 index 00000000000..3883f2ef99e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryFlowTest.kt @@ -0,0 +1,97 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.RecoveryFlow +import sh.ory.client-kotlin-multiplatform.models.ContinueWith +import sh.ory.client-kotlin-multiplatform.models.UiContainer + +class RecoveryFlowTest : ShouldSpec() { + init { + // uncomment below to create an instance of RecoveryFlow + //val modelInstance = RecoveryFlow() + + // to test the property `expiresAt` - ExpiresAt is the time (UTC) when the request expires. If the user still wishes to update the setting, a new request has to be initiated. + should("test expiresAt") { + // uncomment below to test the property + //modelInstance.expiresAt shouldBe ("TODO") + } + + // to test the property `id` - ID represents the request's unique ID. When performing the recovery flow, this represents the id in the recovery ui's query parameter: http://?request= + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `issuedAt` - IssuedAt is the time (UTC) when the request occurred. + should("test issuedAt") { + // uncomment below to test the property + //modelInstance.issuedAt shouldBe ("TODO") + } + + // to test the property `requestUrl` - RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. + should("test requestUrl") { + // uncomment below to test the property + //modelInstance.requestUrl shouldBe ("TODO") + } + + // to test the property `state` - State represents the state of this request: choose_method: ask the user to choose a method (e.g. recover account via email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed. + should("test state") { + // uncomment below to test the property + //modelInstance.state shouldBe ("TODO") + } + + // to test the property `type` - The flow type can either be `api` or `browser`. + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `ui` + should("test ui") { + // uncomment below to test the property + //modelInstance.ui shouldBe ("TODO") + } + + // to test the property `active` - Active, if set, contains the recovery method that is being used. It is initially not set. + should("test active") { + // uncomment below to test the property + //modelInstance.active shouldBe ("TODO") + } + + // to test the property `continueWith` - Contains possible actions that could follow this flow + should("test continueWith") { + // uncomment below to test the property + //modelInstance.continueWith shouldBe ("TODO") + } + + // to test the property `returnTo` - ReturnTo contains the requested return_to URL. + should("test returnTo") { + // uncomment below to test the property + //modelInstance.returnTo shouldBe ("TODO") + } + + // to test the property `transientPayload` - TransientPayload is used to pass data from the recovery flow to hooks and email templates + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryIdentityAddressTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryIdentityAddressTest.kt new file mode 100644 index 00000000000..0d0467059e6 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryIdentityAddressTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.RecoveryIdentityAddress + +class RecoveryIdentityAddressTest : ShouldSpec() { + init { + // uncomment below to create an instance of RecoveryIdentityAddress + //val modelInstance = RecoveryIdentityAddress() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property ``value`` + should("test `value`") { + // uncomment below to test the property + //modelInstance.`value` shouldBe ("TODO") + } + + // to test the property `via` + should("test via") { + // uncomment below to test the property + //modelInstance.via shouldBe ("TODO") + } + + // to test the property `createdAt` - CreatedAt is a helper struct field for gobuffalo.pop. + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `updatedAt` - UpdatedAt is a helper struct field for gobuffalo.pop. + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryLinkForIdentityTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryLinkForIdentityTest.kt new file mode 100644 index 00000000000..c42bad81d40 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RecoveryLinkForIdentityTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.RecoveryLinkForIdentity + +class RecoveryLinkForIdentityTest : ShouldSpec() { + init { + // uncomment below to create an instance of RecoveryLinkForIdentity + //val modelInstance = RecoveryLinkForIdentity() + + // to test the property `recoveryLink` - Recovery Link This link can be used to recover the account. + should("test recoveryLink") { + // uncomment below to test the property + //modelInstance.recoveryLink shouldBe ("TODO") + } + + // to test the property `expiresAt` - Recovery Link Expires At The timestamp when the recovery link expires. + should("test expiresAt") { + // uncomment below to test the property + //modelInstance.expiresAt shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RegistrationFlowStateTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RegistrationFlowStateTest.kt new file mode 100644 index 00000000000..ba2f9cfa81b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RegistrationFlowStateTest.kt @@ -0,0 +1,29 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.RegistrationFlowState + +class RegistrationFlowStateTest : ShouldSpec() { + init { + // uncomment below to create an instance of RegistrationFlowState + //val modelInstance = RegistrationFlowState() + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RegistrationFlowTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RegistrationFlowTest.kt new file mode 100644 index 00000000000..ffb4408b388 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RegistrationFlowTest.kt @@ -0,0 +1,115 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.RegistrationFlow +import sh.ory.client-kotlin-multiplatform.models.OAuth2LoginRequest +import sh.ory.client-kotlin-multiplatform.models.UiContainer + +class RegistrationFlowTest : ShouldSpec() { + init { + // uncomment below to create an instance of RegistrationFlow + //val modelInstance = RegistrationFlow() + + // to test the property `expiresAt` - ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. + should("test expiresAt") { + // uncomment below to test the property + //modelInstance.expiresAt shouldBe ("TODO") + } + + // to test the property `id` - ID represents the flow's unique ID. When performing the registration flow, this represents the id in the registration ui's query parameter: http:///?flow= + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `issuedAt` - IssuedAt is the time (UTC) when the flow occurred. + should("test issuedAt") { + // uncomment below to test the property + //modelInstance.issuedAt shouldBe ("TODO") + } + + // to test the property `requestUrl` - RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. + should("test requestUrl") { + // uncomment below to test the property + //modelInstance.requestUrl shouldBe ("TODO") + } + + // to test the property `state` - State represents the state of this request: choose_method: ask the user to choose a method (e.g. registration with email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the registration challenge was passed. + should("test state") { + // uncomment below to test the property + //modelInstance.state shouldBe ("TODO") + } + + // to test the property `type` - The flow type can either be `api` or `browser`. + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `ui` + should("test ui") { + // uncomment below to test the property + //modelInstance.ui shouldBe ("TODO") + } + + // to test the property `active` - Active, if set, contains the registration method that is being used. It is initially not set. password CredentialsTypePassword oidc CredentialsTypeOIDC totp CredentialsTypeTOTP lookup_secret CredentialsTypeLookup webauthn CredentialsTypeWebAuthn code CredentialsTypeCodeAuth passkey CredentialsTypePasskey profile CredentialsTypeProfile link_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself. code_recovery CredentialsTypeRecoveryCode + should("test active") { + // uncomment below to test the property + //modelInstance.active shouldBe ("TODO") + } + + // to test the property `oauth2LoginChallenge` - Ory OAuth 2.0 Login Challenge. This value is set using the `login_challenge` query parameter of the registration and login endpoints. If set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider. + should("test oauth2LoginChallenge") { + // uncomment below to test the property + //modelInstance.oauth2LoginChallenge shouldBe ("TODO") + } + + // to test the property `oauth2LoginRequest` + should("test oauth2LoginRequest") { + // uncomment below to test the property + //modelInstance.oauth2LoginRequest shouldBe ("TODO") + } + + // to test the property `organizationId` + should("test organizationId") { + // uncomment below to test the property + //modelInstance.organizationId shouldBe ("TODO") + } + + // to test the property `returnTo` - ReturnTo contains the requested return_to URL. + should("test returnTo") { + // uncomment below to test the property + //modelInstance.returnTo shouldBe ("TODO") + } + + // to test the property `sessionTokenExchangeCode` - SessionTokenExchangeCode holds the secret code that the client can use to retrieve a session token after the flow has been completed. This is only set if the client has requested a session token exchange code, and if the flow is of type \"api\", and only on creating the flow. + should("test sessionTokenExchangeCode") { + // uncomment below to test the property + //modelInstance.sessionTokenExchangeCode shouldBe ("TODO") + } + + // to test the property `transientPayload` - TransientPayload is used to pass data from the registration to a webhook + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RejectOAuth2RequestTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RejectOAuth2RequestTest.kt new file mode 100644 index 00000000000..018faaab383 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RejectOAuth2RequestTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.RejectOAuth2Request + +class RejectOAuth2RequestTest : ShouldSpec() { + init { + // uncomment below to create an instance of RejectOAuth2Request + //val modelInstance = RejectOAuth2Request() + + // to test the property `error` - The error should follow the OAuth2 error format (e.g. `invalid_request`, `login_required`). Defaults to `request_denied`. + should("test error") { + // uncomment below to test the property + //modelInstance.error shouldBe ("TODO") + } + + // to test the property `errorDebug` - Debug contains information to help resolve the problem as a developer. Usually not exposed to the public but only in the server logs. + should("test errorDebug") { + // uncomment below to test the property + //modelInstance.errorDebug shouldBe ("TODO") + } + + // to test the property `errorDescription` - Description of the error in a human readable format. + should("test errorDescription") { + // uncomment below to test the property + //modelInstance.errorDescription shouldBe ("TODO") + } + + // to test the property `errorHint` - Hint to help resolve the error. + should("test errorHint") { + // uncomment below to test the property + //modelInstance.errorHint shouldBe ("TODO") + } + + // to test the property `statusCode` - Represents the HTTP status code of the error (e.g. 401 or 403) Defaults to 400 + should("test statusCode") { + // uncomment below to test the property + //modelInstance.statusCode shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationQueryTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationQueryTest.kt new file mode 100644 index 00000000000..9378ab3413c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationQueryTest.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.RelationQuery +import sh.ory.client-kotlin-multiplatform.models.SubjectSet + +class RelationQueryTest : ShouldSpec() { + init { + // uncomment below to create an instance of RelationQuery + //val modelInstance = RelationQuery() + + // to test the property `namespace` - Namespace to query + should("test namespace") { + // uncomment below to test the property + //modelInstance.namespace shouldBe ("TODO") + } + + // to test the property ``object`` - Object to query + should("test `object`") { + // uncomment below to test the property + //modelInstance.`object` shouldBe ("TODO") + } + + // to test the property `relation` - Relation to query + should("test relation") { + // uncomment below to test the property + //modelInstance.relation shouldBe ("TODO") + } + + // to test the property `subjectId` - SubjectID to query Either SubjectSet or SubjectID can be provided. + should("test subjectId") { + // uncomment below to test the property + //modelInstance.subjectId shouldBe ("TODO") + } + + // to test the property `subjectSet` + should("test subjectSet") { + // uncomment below to test the property + //modelInstance.subjectSet shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipNamespacesTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipNamespacesTest.kt new file mode 100644 index 00000000000..1acb7f185ba --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipNamespacesTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.RelationshipNamespaces +import sh.ory.client-kotlin-multiplatform.models.Namespace + +class RelationshipNamespacesTest : ShouldSpec() { + init { + // uncomment below to create an instance of RelationshipNamespaces + //val modelInstance = RelationshipNamespaces() + + // to test the property `namespaces` + should("test namespaces") { + // uncomment below to test the property + //modelInstance.namespaces shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipPatchTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipPatchTest.kt new file mode 100644 index 00000000000..63c5fc4b4cb --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipPatchTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.RelationshipPatch +import sh.ory.client-kotlin-multiplatform.models.Relationship + +class RelationshipPatchTest : ShouldSpec() { + init { + // uncomment below to create an instance of RelationshipPatch + //val modelInstance = RelationshipPatch() + + // to test the property `action` + should("test action") { + // uncomment below to test the property + //modelInstance.action shouldBe ("TODO") + } + + // to test the property `relationTuple` + should("test relationTuple") { + // uncomment below to test the property + //modelInstance.relationTuple shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipTest.kt new file mode 100644 index 00000000000..8e6bae77606 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipTest.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.Relationship +import sh.ory.client-kotlin-multiplatform.models.SubjectSet + +class RelationshipTest : ShouldSpec() { + init { + // uncomment below to create an instance of Relationship + //val modelInstance = Relationship() + + // to test the property `namespace` - Namespace of the Relation Tuple + should("test namespace") { + // uncomment below to test the property + //modelInstance.namespace shouldBe ("TODO") + } + + // to test the property ``object`` - Object of the Relation Tuple + should("test `object`") { + // uncomment below to test the property + //modelInstance.`object` shouldBe ("TODO") + } + + // to test the property `relation` - Relation of the Relation Tuple + should("test relation") { + // uncomment below to test the property + //modelInstance.relation shouldBe ("TODO") + } + + // to test the property `subjectId` - SubjectID of the Relation Tuple Either SubjectSet or SubjectID can be provided. + should("test subjectId") { + // uncomment below to test the property + //modelInstance.subjectId shouldBe ("TODO") + } + + // to test the property `subjectSet` + should("test subjectSet") { + // uncomment below to test the property + //modelInstance.subjectSet shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipsTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipsTest.kt new file mode 100644 index 00000000000..b5f3f254755 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/RelationshipsTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.Relationships +import sh.ory.client-kotlin-multiplatform.models.Relationship + +class RelationshipsTest : ShouldSpec() { + init { + // uncomment below to create an instance of Relationships + //val modelInstance = Relationships() + + // to test the property `nextPageToken` - The opaque token to provide in a subsequent request to get the next page. It is the empty string iff this is the last page. + should("test nextPageToken") { + // uncomment below to test the property + //modelInstance.nextPageToken shouldBe ("TODO") + } + + // to test the property `relationTuples` + should("test relationTuples") { + // uncomment below to test the property + //modelInstance.relationTuples shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SchemaPatchTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SchemaPatchTest.kt new file mode 100644 index 00000000000..17391902741 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SchemaPatchTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.SchemaPatch + +class SchemaPatchTest : ShouldSpec() { + init { + // uncomment below to create an instance of SchemaPatch + //val modelInstance = SchemaPatch() + + // to test the property ``data`` - The json schema + should("test `data`") { + // uncomment below to test the property + //modelInstance.`data` shouldBe ("TODO") + } + + // to test the property `name` - The user defined schema name + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SelfServiceFlowExpiredErrorTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SelfServiceFlowExpiredErrorTest.kt new file mode 100644 index 00000000000..c81e37a62b5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SelfServiceFlowExpiredErrorTest.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.SelfServiceFlowExpiredError +import sh.ory.client-kotlin-multiplatform.models.GenericError + +class SelfServiceFlowExpiredErrorTest : ShouldSpec() { + init { + // uncomment below to create an instance of SelfServiceFlowExpiredError + //val modelInstance = SelfServiceFlowExpiredError() + + // to test the property `error` + should("test error") { + // uncomment below to test the property + //modelInstance.error shouldBe ("TODO") + } + + // to test the property `expiredAt` - When the flow has expired + should("test expiredAt") { + // uncomment below to test the property + //modelInstance.expiredAt shouldBe ("TODO") + } + + // to test the property `since` - A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years. + should("test since") { + // uncomment below to test the property + //modelInstance.since shouldBe ("TODO") + } + + // to test the property `useFlowId` - The flow ID that should be used for the new flow as it contains the correct messages. + should("test useFlowId") { + // uncomment below to test the property + //modelInstance.useFlowId shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionActivityDatapointTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionActivityDatapointTest.kt new file mode 100644 index 00000000000..fa1cc21a72e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionActivityDatapointTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.SessionActivityDatapoint + +class SessionActivityDatapointTest : ShouldSpec() { + init { + // uncomment below to create an instance of SessionActivityDatapoint + //val modelInstance = SessionActivityDatapoint() + + // to test the property `country` - Country of the events + should("test country") { + // uncomment below to test the property + //modelInstance.country shouldBe ("TODO") + } + + // to test the property `failed` - Number of events that failed in the given timeframe + should("test failed") { + // uncomment below to test the property + //modelInstance.failed shouldBe ("TODO") + } + + // to test the property `succeeded` - Number of events that succeeded in the given timeframe + should("test succeeded") { + // uncomment below to test the property + //modelInstance.succeeded shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionAuthenticationMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionAuthenticationMethodTest.kt new file mode 100644 index 00000000000..c62d1c741e1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionAuthenticationMethodTest.kt @@ -0,0 +1,60 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.SessionAuthenticationMethod +import sh.ory.client-kotlin-multiplatform.models.AuthenticatorAssuranceLevel + +class SessionAuthenticationMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of SessionAuthenticationMethod + //val modelInstance = SessionAuthenticationMethod() + + // to test the property `aal` + should("test aal") { + // uncomment below to test the property + //modelInstance.aal shouldBe ("TODO") + } + + // to test the property `completedAt` - When the authentication challenge was completed. + should("test completedAt") { + // uncomment below to test the property + //modelInstance.completedAt shouldBe ("TODO") + } + + // to test the property `method` + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `organization` - The Organization id used for authentication + should("test organization") { + // uncomment below to test the property + //modelInstance.organization shouldBe ("TODO") + } + + // to test the property `provider` - OIDC or SAML provider id used for authentication + should("test provider") { + // uncomment below to test the property + //modelInstance.provider shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionDeviceTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionDeviceTest.kt new file mode 100644 index 00000000000..1bf5347a29a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionDeviceTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.SessionDevice + +class SessionDeviceTest : ShouldSpec() { + init { + // uncomment below to create an instance of SessionDevice + //val modelInstance = SessionDevice() + + // to test the property `id` - Device record ID + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `ipAddress` - IPAddress of the client + should("test ipAddress") { + // uncomment below to test the property + //modelInstance.ipAddress shouldBe ("TODO") + } + + // to test the property `location` - Geo Location corresponding to the IP Address + should("test location") { + // uncomment below to test the property + //modelInstance.location shouldBe ("TODO") + } + + // to test the property `userAgent` - UserAgent of the client + should("test userAgent") { + // uncomment below to test the property + //modelInstance.userAgent shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionTest.kt new file mode 100644 index 00000000000..40b3a48a70b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SessionTest.kt @@ -0,0 +1,93 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.Session +import sh.ory.client-kotlin-multiplatform.models.AuthenticatorAssuranceLevel +import sh.ory.client-kotlin-multiplatform.models.Identity +import sh.ory.client-kotlin-multiplatform.models.SessionAuthenticationMethod +import sh.ory.client-kotlin-multiplatform.models.SessionDevice + +class SessionTest : ShouldSpec() { + init { + // uncomment below to create an instance of Session + //val modelInstance = Session() + + // to test the property `id` - Session ID + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `active` - Active state. If false the session is no longer active. + should("test active") { + // uncomment below to test the property + //modelInstance.active shouldBe ("TODO") + } + + // to test the property `authenticatedAt` - The Session Authentication Timestamp When this session was authenticated at. If multi-factor authentication was used this is the time when the last factor was authenticated (e.g. the TOTP code challenge was completed). + should("test authenticatedAt") { + // uncomment below to test the property + //modelInstance.authenticatedAt shouldBe ("TODO") + } + + // to test the property `authenticationMethods` - A list of authenticators which were used to authenticate the session. + should("test authenticationMethods") { + // uncomment below to test the property + //modelInstance.authenticationMethods shouldBe ("TODO") + } + + // to test the property `authenticatorAssuranceLevel` + should("test authenticatorAssuranceLevel") { + // uncomment below to test the property + //modelInstance.authenticatorAssuranceLevel shouldBe ("TODO") + } + + // to test the property `devices` - Devices has history of all endpoints where the session was used + should("test devices") { + // uncomment below to test the property + //modelInstance.devices shouldBe ("TODO") + } + + // to test the property `expiresAt` - The Session Expiry When this session expires at. + should("test expiresAt") { + // uncomment below to test the property + //modelInstance.expiresAt shouldBe ("TODO") + } + + // to test the property `identity` + should("test identity") { + // uncomment below to test the property + //modelInstance.identity shouldBe ("TODO") + } + + // to test the property `issuedAt` - The Session Issuance Timestamp When this session was issued at. Usually equal or close to `authenticated_at`. + should("test issuedAt") { + // uncomment below to test the property + //modelInstance.issuedAt shouldBe ("TODO") + } + + // to test the property `tokenized` - Tokenized is the tokenized (e.g. JWT) version of the session. It is only set when the `tokenize` query parameter was set to a valid tokenize template during calls to `/session/whoami`. + should("test tokenized") { + // uncomment below to test the property + //modelInstance.tokenized shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetActiveProjectInConsoleBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetActiveProjectInConsoleBodyTest.kt new file mode 100644 index 00000000000..04022b38f9a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetActiveProjectInConsoleBodyTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.SetActiveProjectInConsoleBody + +class SetActiveProjectInConsoleBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of SetActiveProjectInConsoleBody + //val modelInstance = SetActiveProjectInConsoleBody() + + // to test the property `projectId` - Project ID The Project ID you want to set active. format: uuid + should("test projectId") { + // uncomment below to test the property + //modelInstance.projectId shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetCustomDomainBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetCustomDomainBodyTest.kt new file mode 100644 index 00000000000..de02df82627 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetCustomDomainBodyTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.SetCustomDomainBody + +class SetCustomDomainBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of SetCustomDomainBody + //val modelInstance = SetCustomDomainBody() + + // to test the property `cookieDomain` - The domain where cookies will be set. Has to be a parent domain of the custom hostname to work. + should("test cookieDomain") { + // uncomment below to test the property + //modelInstance.cookieDomain shouldBe ("TODO") + } + + // to test the property `corsAllowedOrigins` - CORS Allowed origins for the custom hostname. + should("test corsAllowedOrigins") { + // uncomment below to test the property + //modelInstance.corsAllowedOrigins shouldBe ("TODO") + } + + // to test the property `corsEnabled` - CORS Enabled for the custom hostname. + should("test corsEnabled") { + // uncomment below to test the property + //modelInstance.corsEnabled shouldBe ("TODO") + } + + // to test the property `customUiBaseUrl` - The custom UI base URL where the UI will be exposed. + should("test customUiBaseUrl") { + // uncomment below to test the property + //modelInstance.customUiBaseUrl shouldBe ("TODO") + } + + // to test the property `hostname` - The custom hostname where the API will be exposed. + should("test hostname") { + // uncomment below to test the property + //modelInstance.hostname shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetEventStreamBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetEventStreamBodyTest.kt new file mode 100644 index 00000000000..b2355e86dd7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetEventStreamBodyTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.SetEventStreamBody + +class SetEventStreamBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of SetEventStreamBody + //val modelInstance = SetEventStreamBody() + + // to test the property `roleArn` - The AWS IAM role ARN to assume when publishing to the SNS topic. + should("test roleArn") { + // uncomment below to test the property + //modelInstance.roleArn shouldBe ("TODO") + } + + // to test the property `topicArn` - The AWS SNS topic ARN. + should("test topicArn") { + // uncomment below to test the property + //modelInstance.topicArn shouldBe ("TODO") + } + + // to test the property `type` - The type of the event stream (AWS SNS, GCP Pub/Sub, etc). + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetProjectBrandingThemeBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetProjectBrandingThemeBodyTest.kt new file mode 100644 index 00000000000..96578ed63cb --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetProjectBrandingThemeBodyTest.kt @@ -0,0 +1,66 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.SetProjectBrandingThemeBody +import sh.ory.client-kotlin-multiplatform.models.ProjectBrandingColors + +class SetProjectBrandingThemeBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of SetProjectBrandingThemeBody + //val modelInstance = SetProjectBrandingThemeBody() + + // to test the property `faviconType` - Favicon Type + should("test faviconType") { + // uncomment below to test the property + //modelInstance.faviconType shouldBe ("TODO") + } + + // to test the property `faviconUrl` - Favicon URL + should("test faviconUrl") { + // uncomment below to test the property + //modelInstance.faviconUrl shouldBe ("TODO") + } + + // to test the property `logoType` - Logo type + should("test logoType") { + // uncomment below to test the property + //modelInstance.logoType shouldBe ("TODO") + } + + // to test the property `logoUrl` - Logo URL + should("test logoUrl") { + // uncomment below to test the property + //modelInstance.logoUrl shouldBe ("TODO") + } + + // to test the property `name` - Branding name + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `theme` + should("test theme") { + // uncomment below to test the property + //modelInstance.theme shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetProjectTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetProjectTest.kt new file mode 100644 index 00000000000..5b85dcfa6a1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SetProjectTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.SetProject +import sh.ory.client-kotlin-multiplatform.models.ProjectCors +import sh.ory.client-kotlin-multiplatform.models.ProjectServices + +class SetProjectTest : ShouldSpec() { + init { + // uncomment below to create an instance of SetProject + //val modelInstance = SetProject() + + // to test the property `corsAdmin` + should("test corsAdmin") { + // uncomment below to test the property + //modelInstance.corsAdmin shouldBe ("TODO") + } + + // to test the property `corsPublic` + should("test corsPublic") { + // uncomment below to test the property + //modelInstance.corsPublic shouldBe ("TODO") + } + + // to test the property `name` - The name of the project. + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `services` + should("test services") { + // uncomment below to test the property + //modelInstance.services shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SettingsFlowStateTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SettingsFlowStateTest.kt new file mode 100644 index 00000000000..eac19c23a31 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SettingsFlowStateTest.kt @@ -0,0 +1,29 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.SettingsFlowState + +class SettingsFlowStateTest : ShouldSpec() { + init { + // uncomment below to create an instance of SettingsFlowState + //val modelInstance = SettingsFlowState() + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SettingsFlowTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SettingsFlowTest.kt new file mode 100644 index 00000000000..70c351be881 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SettingsFlowTest.kt @@ -0,0 +1,104 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.SettingsFlow +import sh.ory.client-kotlin-multiplatform.models.ContinueWith +import sh.ory.client-kotlin-multiplatform.models.Identity +import sh.ory.client-kotlin-multiplatform.models.UiContainer + +class SettingsFlowTest : ShouldSpec() { + init { + // uncomment below to create an instance of SettingsFlow + //val modelInstance = SettingsFlow() + + // to test the property `expiresAt` - ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to update the setting, a new flow has to be initiated. + should("test expiresAt") { + // uncomment below to test the property + //modelInstance.expiresAt shouldBe ("TODO") + } + + // to test the property `id` - ID represents the flow's unique ID. When performing the settings flow, this represents the id in the settings ui's query parameter: http://?flow= + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `identity` + should("test identity") { + // uncomment below to test the property + //modelInstance.identity shouldBe ("TODO") + } + + // to test the property `issuedAt` - IssuedAt is the time (UTC) when the flow occurred. + should("test issuedAt") { + // uncomment below to test the property + //modelInstance.issuedAt shouldBe ("TODO") + } + + // to test the property `requestUrl` - RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. + should("test requestUrl") { + // uncomment below to test the property + //modelInstance.requestUrl shouldBe ("TODO") + } + + // to test the property `state` - State represents the state of this flow. It knows two states: show_form: No user data has been collected, or it is invalid, and thus the form should be shown. success: Indicates that the settings flow has been updated successfully with the provided data. Done will stay true when repeatedly checking. If set to true, done will revert back to false only when a flow with invalid (e.g. \"please use a valid phone number\") data was sent. + should("test state") { + // uncomment below to test the property + //modelInstance.state shouldBe ("TODO") + } + + // to test the property `type` - The flow type can either be `api` or `browser`. + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `ui` + should("test ui") { + // uncomment below to test the property + //modelInstance.ui shouldBe ("TODO") + } + + // to test the property `active` - Active, if set, contains the registration method that is being used. It is initially not set. + should("test active") { + // uncomment below to test the property + //modelInstance.active shouldBe ("TODO") + } + + // to test the property `continueWith` - Contains a list of actions, that could follow this flow It can, for example, contain a reference to the verification flow, created as part of the user's registration. + should("test continueWith") { + // uncomment below to test the property + //modelInstance.continueWith shouldBe ("TODO") + } + + // to test the property `returnTo` - ReturnTo contains the requested return_to URL. + should("test returnTo") { + // uncomment below to test the property + //modelInstance.returnTo shouldBe ("TODO") + } + + // to test the property `transientPayload` - TransientPayload is used to pass data from the settings flow to hooks and email templates + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SourcePositionTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SourcePositionTest.kt new file mode 100644 index 00000000000..493225dda72 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SourcePositionTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.SourcePosition + +class SourcePositionTest : ShouldSpec() { + init { + // uncomment below to create an instance of SourcePosition + //val modelInstance = SourcePosition() + + // to test the property `line` + should("test line") { + // uncomment below to test the property + //modelInstance.line shouldBe ("TODO") + } + + // to test the property `column` + should("test column") { + // uncomment below to test the property + //modelInstance.column shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SubjectSetTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SubjectSetTest.kt new file mode 100644 index 00000000000..13d85340964 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SubjectSetTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.SubjectSet + +class SubjectSetTest : ShouldSpec() { + init { + // uncomment below to create an instance of SubjectSet + //val modelInstance = SubjectSet() + + // to test the property `namespace` - Namespace of the Subject Set + should("test namespace") { + // uncomment below to test the property + //modelInstance.namespace shouldBe ("TODO") + } + + // to test the property ``object`` - Object of the Subject Set + should("test `object`") { + // uncomment below to test the property + //modelInstance.`object` shouldBe ("TODO") + } + + // to test the property `relation` - Relation of the Subject Set + should("test relation") { + // uncomment below to test the property + //modelInstance.relation shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SubscriptionTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SubscriptionTest.kt new file mode 100644 index 00000000000..69ad419e21a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SubscriptionTest.kt @@ -0,0 +1,120 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.Subscription +import sh.ory.client-kotlin-multiplatform.models.PlanDetails + +class SubscriptionTest : ShouldSpec() { + init { + // uncomment below to create an instance of Subscription + //val modelInstance = Subscription() + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `currency` - The currency of the subscription. To change this, a new subscription must be created. usd USD eur Euro + should("test currency") { + // uncomment below to test the property + //modelInstance.currency shouldBe ("TODO") + } + + // to test the property `currentInterval` - The currently active interval of the subscription monthly Monthly yearly Yearly + should("test currentInterval") { + // uncomment below to test the property + //modelInstance.currentInterval shouldBe ("TODO") + } + + // to test the property `currentPlan` - The currently active plan of the subscription + should("test currentPlan") { + // uncomment below to test the property + //modelInstance.currentPlan shouldBe ("TODO") + } + + // to test the property `customerId` - The ID of the stripe customer + should("test customerId") { + // uncomment below to test the property + //modelInstance.customerId shouldBe ("TODO") + } + + // to test the property `id` - The ID of the subscription + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `intervalChangesTo` + should("test intervalChangesTo") { + // uncomment below to test the property + //modelInstance.intervalChangesTo shouldBe ("TODO") + } + + // to test the property `payedUntil` - Until when the subscription is payed + should("test payedUntil") { + // uncomment below to test the property + //modelInstance.payedUntil shouldBe ("TODO") + } + + // to test the property `planChangesTo` + should("test planChangesTo") { + // uncomment below to test the property + //modelInstance.planChangesTo shouldBe ("TODO") + } + + // to test the property `status` - For `collection_method=charge_automatically` a subscription moves into `incomplete` if the initial payment attempt fails. A subscription in this status can only have metadata and default_source updated. Once the first invoice is paid, the subscription moves into an `active` status. If the first invoice is not paid within 23 hours, the subscription transitions to `incomplete_expired`. This is a terminal status, the open invoice will be voided and no further invoices will be generated. A subscription that is currently in a trial period is `trialing` and moves to `active` when the trial period is over. A subscription can only enter a `paused` status [when a trial ends without a payment method](https://stripe.com/billing/subscriptions/trials#create-free-trials-without-payment). A `paused` subscription doesn't generate invoices and can be resumed after your customer adds their payment method. The `paused` status is different from [pausing collection](https://stripe.com/billing/subscriptions/pause-payment), which still generates invoices and leaves the subscription's status unchanged. If subscription `collection_method=charge_automatically`, it becomes `past_due` when payment is required but cannot be paid (due to failed payment or awaiting additional user actions). Once Stripe has exhausted all payment retry attempts, the subscription will become `canceled` or `unpaid` (depending on your subscriptions settings). If subscription `collection_method=send_invoice` it becomes `past_due` when its invoice is not paid by the due date, and `canceled` or `unpaid` if it is still not paid by an additional deadline after that. Note that when a subscription has a status of `unpaid`, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices. + should("test status") { + // uncomment below to test the property + //modelInstance.status shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `currentPlanDetails` + should("test currentPlanDetails") { + // uncomment below to test the property + //modelInstance.currentPlanDetails shouldBe ("TODO") + } + + // to test the property `ongoingStripeCheckoutId` + should("test ongoingStripeCheckoutId") { + // uncomment below to test the property + //modelInstance.ongoingStripeCheckoutId shouldBe ("TODO") + } + + // to test the property `planChangesAt` + should("test planChangesAt") { + // uncomment below to test the property + //modelInstance.planChangesAt shouldBe ("TODO") + } + + // to test the property `stripeCheckoutExpiresAt` + should("test stripeCheckoutExpiresAt") { + // uncomment below to test the property + //modelInstance.stripeCheckoutExpiresAt shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulCodeExchangeResponseTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulCodeExchangeResponseTest.kt new file mode 100644 index 00000000000..2592a40cf0c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulCodeExchangeResponseTest.kt @@ -0,0 +1,42 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.SuccessfulCodeExchangeResponse +import sh.ory.client-kotlin-multiplatform.models.Session + +class SuccessfulCodeExchangeResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of SuccessfulCodeExchangeResponse + //val modelInstance = SuccessfulCodeExchangeResponse() + + // to test the property `session` + should("test session") { + // uncomment below to test the property + //modelInstance.session shouldBe ("TODO") + } + + // to test the property `sessionToken` - The Session Token A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! + should("test sessionToken") { + // uncomment below to test the property + //modelInstance.sessionToken shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulNativeLoginTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulNativeLoginTest.kt new file mode 100644 index 00000000000..fe4a06a41ac --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulNativeLoginTest.kt @@ -0,0 +1,49 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.SuccessfulNativeLogin +import sh.ory.client-kotlin-multiplatform.models.ContinueWith +import sh.ory.client-kotlin-multiplatform.models.Session + +class SuccessfulNativeLoginTest : ShouldSpec() { + init { + // uncomment below to create an instance of SuccessfulNativeLogin + //val modelInstance = SuccessfulNativeLogin() + + // to test the property `session` + should("test session") { + // uncomment below to test the property + //modelInstance.session shouldBe ("TODO") + } + + // to test the property `continueWith` - Contains a list of actions, that could follow this flow It can, for example, this will contain a reference to the verification flow, created as part of the user's registration or the token of the session. + should("test continueWith") { + // uncomment below to test the property + //modelInstance.continueWith shouldBe ("TODO") + } + + // to test the property `sessionToken` - The Session Token A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! + should("test sessionToken") { + // uncomment below to test the property + //modelInstance.sessionToken shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulNativeRegistrationTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulNativeRegistrationTest.kt new file mode 100644 index 00000000000..47a6d97b8ad --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulNativeRegistrationTest.kt @@ -0,0 +1,56 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.SuccessfulNativeRegistration +import sh.ory.client-kotlin-multiplatform.models.ContinueWith +import sh.ory.client-kotlin-multiplatform.models.Identity +import sh.ory.client-kotlin-multiplatform.models.Session + +class SuccessfulNativeRegistrationTest : ShouldSpec() { + init { + // uncomment below to create an instance of SuccessfulNativeRegistration + //val modelInstance = SuccessfulNativeRegistration() + + // to test the property `identity` + should("test identity") { + // uncomment below to test the property + //modelInstance.identity shouldBe ("TODO") + } + + // to test the property `continueWith` - Contains a list of actions, that could follow this flow It can, for example, this will contain a reference to the verification flow, created as part of the user's registration or the token of the session. + should("test continueWith") { + // uncomment below to test the property + //modelInstance.continueWith shouldBe ("TODO") + } + + // to test the property `session` + should("test session") { + // uncomment below to test the property + //modelInstance.session shouldBe ("TODO") + } + + // to test the property `sessionToken` - The Session Token This field is only set when the session hook is configured as a post-registration hook. A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header: Authorization: bearer ${session-token} The session token is only issued for API flows, not for Browser flows! + should("test sessionToken") { + // uncomment below to test the property + //modelInstance.sessionToken shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulProjectUpdateTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulProjectUpdateTest.kt new file mode 100644 index 00000000000..d38dfd44901 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/SuccessfulProjectUpdateTest.kt @@ -0,0 +1,43 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.SuccessfulProjectUpdate +import sh.ory.client-kotlin-multiplatform.models.Project +import sh.ory.client-kotlin-multiplatform.models.Warning + +class SuccessfulProjectUpdateTest : ShouldSpec() { + init { + // uncomment below to create an instance of SuccessfulProjectUpdate + //val modelInstance = SuccessfulProjectUpdate() + + // to test the property `project` + should("test project") { + // uncomment below to test the property + //modelInstance.project shouldBe ("TODO") + } + + // to test the property `warnings` - Import Warnings Not all configuration items can be imported to the Ory Network. For example, setting the port does not make sense because the Ory Network provides the runtime and networking. This field contains warnings where configuration keys were found but can not be imported. These keys will be ignored by the Ory Network. This field will help you understand why certain configuration keys might not be respected! + should("test warnings") { + // uncomment below to test the property + //modelInstance.warnings shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TaxLineItemTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TaxLineItemTest.kt new file mode 100644 index 00000000000..f1e26cc474c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TaxLineItemTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.TaxLineItem + +class TaxLineItemTest : ShouldSpec() { + init { + // uncomment below to create an instance of TaxLineItem + //val modelInstance = TaxLineItem() + + // to test the property `amountInCent` + should("test amountInCent") { + // uncomment below to test the property + //modelInstance.amountInCent shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TimeIntervalTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TimeIntervalTest.kt new file mode 100644 index 00000000000..6300f3b3c5b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TimeIntervalTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.TimeInterval + +class TimeIntervalTest : ShouldSpec() { + init { + // uncomment below to create an instance of TimeInterval + //val modelInstance = TimeInterval() + + // to test the property `end` - The end of the time period. + should("test end") { + // uncomment below to test the property + //modelInstance.end shouldBe ("TODO") + } + + // to test the property `start` - The start of the time period. + should("test start") { + // uncomment below to test the property + //modelInstance.start shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationHeadersTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationHeadersTest.kt new file mode 100644 index 00000000000..d5d5f051898 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationHeadersTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.TokenPaginationHeaders + +class TokenPaginationHeadersTest : ShouldSpec() { + init { + // uncomment below to create an instance of TokenPaginationHeaders + //val modelInstance = TokenPaginationHeaders() + + // to test the property `link` - The link header contains pagination links. For details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination). in: header + should("test link") { + // uncomment below to test the property + //modelInstance.link shouldBe ("TODO") + } + + // to test the property `xTotalCount` - The total number of clients. in: header + should("test xTotalCount") { + // uncomment below to test the property + //modelInstance.xTotalCount shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationRequestParametersTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationRequestParametersTest.kt new file mode 100644 index 00000000000..2444694e510 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationRequestParametersTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.TokenPaginationRequestParameters + +class TokenPaginationRequestParametersTest : ShouldSpec() { + init { + // uncomment below to create an instance of TokenPaginationRequestParameters + //val modelInstance = TokenPaginationRequestParameters() + + // to test the property `pageSize` - Items per Page 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). + should("test pageSize") { + // uncomment below to test the property + //modelInstance.pageSize shouldBe ("TODO") + } + + // to test the property `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). + should("test pageToken") { + // uncomment below to test the property + //modelInstance.pageToken shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationResponseHeadersTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationResponseHeadersTest.kt new file mode 100644 index 00000000000..b7859c4fab2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationResponseHeadersTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.TokenPaginationResponseHeaders + +class TokenPaginationResponseHeadersTest : ShouldSpec() { + init { + // uncomment below to create an instance of TokenPaginationResponseHeaders + //val modelInstance = TokenPaginationResponseHeaders() + + // to test the property `link` - The Link HTTP Header The `Link` header contains a comma-delimited list of links to the following pages: first: The first page of results. next: The next page of results. prev: The previous page of results. last: The last page of results. Pages are omitted if they do not exist. For example, if there is no next page, the `next` link is omitted. Examples: ; rel=\"first\",; rel=\"next\",; rel=\"prev\",; rel=\"last\" + should("test link") { + // uncomment below to test the property + //modelInstance.link shouldBe ("TODO") + } + + // to test the property `xTotalCount` - The X-Total-Count HTTP Header The `X-Total-Count` header contains the total number of items in the collection. + should("test xTotalCount") { + // uncomment below to test the property + //modelInstance.xTotalCount shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationTest.kt new file mode 100644 index 00000000000..c23cda748be --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TokenPaginationTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.TokenPagination + +class TokenPaginationTest : ShouldSpec() { + init { + // uncomment below to create an instance of TokenPagination + //val modelInstance = TokenPagination() + + // to test the property `pageSize` - Items per page 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). + should("test pageSize") { + // uncomment below to test the property + //modelInstance.pageSize shouldBe ("TODO") + } + + // to test the property `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). + should("test pageToken") { + // uncomment below to test the property + //modelInstance.pageToken shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustOAuth2JwtGrantIssuerTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustOAuth2JwtGrantIssuerTest.kt new file mode 100644 index 00000000000..af770541e34 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustOAuth2JwtGrantIssuerTest.kt @@ -0,0 +1,66 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.TrustOAuth2JwtGrantIssuer +import sh.ory.client-kotlin-multiplatform.models.JsonWebKey + +class TrustOAuth2JwtGrantIssuerTest : ShouldSpec() { + init { + // uncomment below to create an instance of TrustOAuth2JwtGrantIssuer + //val modelInstance = TrustOAuth2JwtGrantIssuer() + + // to test the property `expiresAt` - The \"expires_at\" indicates, when grant will expire, so we will reject assertion from \"issuer\" targeting \"subject\". + should("test expiresAt") { + // uncomment below to test the property + //modelInstance.expiresAt shouldBe ("TODO") + } + + // to test the property `issuer` - The \"issuer\" identifies the principal that issued the JWT assertion (same as \"iss\" claim in JWT). + should("test issuer") { + // uncomment below to test the property + //modelInstance.issuer shouldBe ("TODO") + } + + // to test the property `jwk` + should("test jwk") { + // uncomment below to test the property + //modelInstance.jwk shouldBe ("TODO") + } + + // to test the property `scope` - The \"scope\" contains list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) + should("test scope") { + // uncomment below to test the property + //modelInstance.scope shouldBe ("TODO") + } + + // to test the property `allowAnySubject` - The \"allow_any_subject\" indicates that the issuer is allowed to have any principal as the subject of the JWT. + should("test allowAnySubject") { + // uncomment below to test the property + //modelInstance.allowAnySubject shouldBe ("TODO") + } + + // to test the property `subject` - The \"subject\" identifies the principal that is the subject of the JWT. + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustedOAuth2JwtGrantIssuerTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustedOAuth2JwtGrantIssuerTest.kt new file mode 100644 index 00000000000..aee3d1e4e00 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustedOAuth2JwtGrantIssuerTest.kt @@ -0,0 +1,78 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.TrustedOAuth2JwtGrantIssuer +import sh.ory.client-kotlin-multiplatform.models.TrustedOAuth2JwtGrantJsonWebKey + +class TrustedOAuth2JwtGrantIssuerTest : ShouldSpec() { + init { + // uncomment below to create an instance of TrustedOAuth2JwtGrantIssuer + //val modelInstance = TrustedOAuth2JwtGrantIssuer() + + // to test the property `allowAnySubject` - The \"allow_any_subject\" indicates that the issuer is allowed to have any principal as the subject of the JWT. + should("test allowAnySubject") { + // uncomment below to test the property + //modelInstance.allowAnySubject shouldBe ("TODO") + } + + // to test the property `createdAt` - The \"created_at\" indicates, when grant was created. + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `expiresAt` - The \"expires_at\" indicates, when grant will expire, so we will reject assertion from \"issuer\" targeting \"subject\". + should("test expiresAt") { + // uncomment below to test the property + //modelInstance.expiresAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `issuer` - The \"issuer\" identifies the principal that issued the JWT assertion (same as \"iss\" claim in JWT). + should("test issuer") { + // uncomment below to test the property + //modelInstance.issuer shouldBe ("TODO") + } + + // to test the property `publicKey` + should("test publicKey") { + // uncomment below to test the property + //modelInstance.publicKey shouldBe ("TODO") + } + + // to test the property `scope` - The \"scope\" contains list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) + should("test scope") { + // uncomment below to test the property + //modelInstance.scope shouldBe ("TODO") + } + + // to test the property `subject` - The \"subject\" identifies the principal that is the subject of the JWT. + should("test subject") { + // uncomment below to test the property + //modelInstance.subject shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustedOAuth2JwtGrantJsonWebKeyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustedOAuth2JwtGrantJsonWebKeyTest.kt new file mode 100644 index 00000000000..c4ad3a34f2d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/TrustedOAuth2JwtGrantJsonWebKeyTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.TrustedOAuth2JwtGrantJsonWebKey + +class TrustedOAuth2JwtGrantJsonWebKeyTest : ShouldSpec() { + init { + // uncomment below to create an instance of TrustedOAuth2JwtGrantJsonWebKey + //val modelInstance = TrustedOAuth2JwtGrantJsonWebKey() + + // to test the property `kid` - The \"key_id\" is key unique identifier (same as kid header in jws/jwt). + should("test kid") { + // uncomment below to test the property + //modelInstance.kid shouldBe ("TODO") + } + + // to test the property `set` - The \"set\" is basically a name for a group(set) of keys. Will be the same as \"issuer\" in grant. + should("test set") { + // uncomment below to test the property + //modelInstance.set shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiContainerTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiContainerTest.kt new file mode 100644 index 00000000000..0ef01b20f31 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiContainerTest.kt @@ -0,0 +1,55 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UiContainer +import sh.ory.client-kotlin-multiplatform.models.UiNode +import sh.ory.client-kotlin-multiplatform.models.UiText + +class UiContainerTest : ShouldSpec() { + init { + // uncomment below to create an instance of UiContainer + //val modelInstance = UiContainer() + + // to test the property `action` - Action should be used as the form action URL ``. + should("test action") { + // uncomment below to test the property + //modelInstance.action shouldBe ("TODO") + } + + // to test the property `method` - Method is the form method (e.g. POST) + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `nodes` + should("test nodes") { + // uncomment below to test the property + //modelInstance.nodes shouldBe ("TODO") + } + + // to test the property `messages` + should("test messages") { + // uncomment below to test the property + //modelInstance.messages shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeAnchorAttributesTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeAnchorAttributesTest.kt new file mode 100644 index 00000000000..ffb0a8a01a5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeAnchorAttributesTest.kt @@ -0,0 +1,54 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UiNodeAnchorAttributes +import sh.ory.client-kotlin-multiplatform.models.UiText + +class UiNodeAnchorAttributesTest : ShouldSpec() { + init { + // uncomment below to create an instance of UiNodeAnchorAttributes + //val modelInstance = UiNodeAnchorAttributes() + + // to test the property `href` - The link's href (destination) URL. format: uri + should("test href") { + // uncomment below to test the property + //modelInstance.href shouldBe ("TODO") + } + + // to test the property `id` - A unique identifier + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `nodeType` - NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"a\". text Text input Input img Image a Anchor script Script + should("test nodeType") { + // uncomment below to test the property + //modelInstance.nodeType shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeAttributesTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeAttributesTest.kt new file mode 100644 index 00000000000..8f249ee4df7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeAttributesTest.kt @@ -0,0 +1,191 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UiNodeAttributes +import sh.ory.client-kotlin-multiplatform.models.UiNodeAnchorAttributes +import sh.ory.client-kotlin-multiplatform.models.UiNodeImageAttributes +import sh.ory.client-kotlin-multiplatform.models.UiNodeInputAttributes +import sh.ory.client-kotlin-multiplatform.models.UiNodeScriptAttributes +import sh.ory.client-kotlin-multiplatform.models.UiNodeTextAttributes +import sh.ory.client-kotlin-multiplatform.models.UiText + +class UiNodeAttributesTest : ShouldSpec() { + init { + // uncomment below to create an instance of UiNodeAttributes + //val modelInstance = UiNodeAttributes() + + // to test the property `disabled` - Sets the input's disabled field to true or false. + should("test disabled") { + // uncomment below to test the property + //modelInstance.disabled shouldBe ("TODO") + } + + // to test the property `name` - The input's element name. + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `nodeType` - NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script + should("test nodeType") { + // uncomment below to test the property + //modelInstance.nodeType shouldBe ("TODO") + } + + // to test the property `type` - The script MIME type + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `id` - A unique identifier + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `text` + should("test text") { + // uncomment below to test the property + //modelInstance.text shouldBe ("TODO") + } + + // to test the property `height` - Height of the image + should("test height") { + // uncomment below to test the property + //modelInstance.height shouldBe ("TODO") + } + + // to test the property `src` - The script source + should("test src") { + // uncomment below to test the property + //modelInstance.src shouldBe ("TODO") + } + + // to test the property `width` - Width of the image + should("test width") { + // uncomment below to test the property + //modelInstance.width shouldBe ("TODO") + } + + // to test the property `href` - The link's href (destination) URL. format: uri + should("test href") { + // uncomment below to test the property + //modelInstance.href shouldBe ("TODO") + } + + // to test the property `title` + should("test title") { + // uncomment below to test the property + //modelInstance.title shouldBe ("TODO") + } + + // to test the property `async` - The script async type + should("test async") { + // uncomment below to test the property + //modelInstance.async shouldBe ("TODO") + } + + // to test the property `crossorigin` - The script cross origin policy + should("test crossorigin") { + // uncomment below to test the property + //modelInstance.crossorigin shouldBe ("TODO") + } + + // to test the property `integrity` - The script's integrity hash + should("test integrity") { + // uncomment below to test the property + //modelInstance.integrity shouldBe ("TODO") + } + + // to test the property `nonce` - Nonce for CSP A nonce you may want to use to improve your Content Security Policy. You do not have to use this value but if you want to improve your CSP policies you may use it. You can also choose to use your own nonce value! + should("test nonce") { + // uncomment below to test the property + //modelInstance.nonce shouldBe ("TODO") + } + + // to test the property `referrerpolicy` - The script referrer policy + should("test referrerpolicy") { + // uncomment below to test the property + //modelInstance.referrerpolicy shouldBe ("TODO") + } + + // to test the property `autocomplete` - The autocomplete attribute for the input. email InputAttributeAutocompleteEmail tel InputAttributeAutocompleteTel url InputAttributeAutocompleteUrl current-password InputAttributeAutocompleteCurrentPassword new-password InputAttributeAutocompleteNewPassword one-time-code InputAttributeAutocompleteOneTimeCode + should("test autocomplete") { + // uncomment below to test the property + //modelInstance.autocomplete shouldBe ("TODO") + } + + // to test the property `label` + should("test label") { + // uncomment below to test the property + //modelInstance.label shouldBe ("TODO") + } + + // to test the property `maxlength` - MaxLength may contain the input's maximum length. + should("test maxlength") { + // uncomment below to test the property + //modelInstance.maxlength shouldBe ("TODO") + } + + // to test the property `onclick` - OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn. Deprecated: Using OnClick requires the use of eval() which is a security risk. Use OnClickTrigger instead. + should("test onclick") { + // uncomment below to test the property + //modelInstance.onclick shouldBe ("TODO") + } + + // to test the property `onclickTrigger` - OnClickTrigger may contain a WebAuthn trigger which should be executed on click. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration + should("test onclickTrigger") { + // uncomment below to test the property + //modelInstance.onclickTrigger shouldBe ("TODO") + } + + // to test the property `onload` - OnLoad may contain javascript which should be executed on load. This is primarily used for WebAuthn. Deprecated: Using OnLoad requires the use of eval() which is a security risk. Use OnLoadTrigger instead. + should("test onload") { + // uncomment below to test the property + //modelInstance.onload shouldBe ("TODO") + } + + // to test the property `onloadTrigger` - OnLoadTrigger may contain a WebAuthn trigger which should be executed on load. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration + should("test onloadTrigger") { + // uncomment below to test the property + //modelInstance.onloadTrigger shouldBe ("TODO") + } + + // to test the property `pattern` - The input's pattern. + should("test pattern") { + // uncomment below to test the property + //modelInstance.pattern shouldBe ("TODO") + } + + // to test the property `required` - Mark this input field as required. + should("test required") { + // uncomment below to test the property + //modelInstance.required shouldBe ("TODO") + } + + // to test the property ``value`` - The input's value. + should("test `value`") { + // uncomment below to test the property + //modelInstance.`value` shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeImageAttributesTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeImageAttributesTest.kt new file mode 100644 index 00000000000..84c3f85a35a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeImageAttributesTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UiNodeImageAttributes + +class UiNodeImageAttributesTest : ShouldSpec() { + init { + // uncomment below to create an instance of UiNodeImageAttributes + //val modelInstance = UiNodeImageAttributes() + + // to test the property `height` - Height of the image + should("test height") { + // uncomment below to test the property + //modelInstance.height shouldBe ("TODO") + } + + // to test the property `id` - A unique identifier + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `nodeType` - NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\". text Text input Input img Image a Anchor script Script + should("test nodeType") { + // uncomment below to test the property + //modelInstance.nodeType shouldBe ("TODO") + } + + // to test the property `src` - The image's source URL. format: uri + should("test src") { + // uncomment below to test the property + //modelInstance.src shouldBe ("TODO") + } + + // to test the property `width` - Width of the image + should("test width") { + // uncomment below to test the property + //modelInstance.width shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeInputAttributesTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeInputAttributesTest.kt new file mode 100644 index 00000000000..5d013efcab5 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeInputAttributesTest.kt @@ -0,0 +1,114 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UiNodeInputAttributes +import sh.ory.client-kotlin-multiplatform.models.UiText + +class UiNodeInputAttributesTest : ShouldSpec() { + init { + // uncomment below to create an instance of UiNodeInputAttributes + //val modelInstance = UiNodeInputAttributes() + + // to test the property `disabled` - Sets the input's disabled field to true or false. + should("test disabled") { + // uncomment below to test the property + //modelInstance.disabled shouldBe ("TODO") + } + + // to test the property `name` - The input's element name. + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `nodeType` - NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\". text Text input Input img Image a Anchor script Script + should("test nodeType") { + // uncomment below to test the property + //modelInstance.nodeType shouldBe ("TODO") + } + + // to test the property `type` - The input's element type. text InputAttributeTypeText password InputAttributeTypePassword number InputAttributeTypeNumber checkbox InputAttributeTypeCheckbox hidden InputAttributeTypeHidden email InputAttributeTypeEmail tel InputAttributeTypeTel submit InputAttributeTypeSubmit button InputAttributeTypeButton datetime-local InputAttributeTypeDateTimeLocal date InputAttributeTypeDate url InputAttributeTypeURI + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `autocomplete` - The autocomplete attribute for the input. email InputAttributeAutocompleteEmail tel InputAttributeAutocompleteTel url InputAttributeAutocompleteUrl current-password InputAttributeAutocompleteCurrentPassword new-password InputAttributeAutocompleteNewPassword one-time-code InputAttributeAutocompleteOneTimeCode + should("test autocomplete") { + // uncomment below to test the property + //modelInstance.autocomplete shouldBe ("TODO") + } + + // to test the property `label` + should("test label") { + // uncomment below to test the property + //modelInstance.label shouldBe ("TODO") + } + + // to test the property `maxlength` - MaxLength may contain the input's maximum length. + should("test maxlength") { + // uncomment below to test the property + //modelInstance.maxlength shouldBe ("TODO") + } + + // to test the property `onclick` - OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn. Deprecated: Using OnClick requires the use of eval() which is a security risk. Use OnClickTrigger instead. + should("test onclick") { + // uncomment below to test the property + //modelInstance.onclick shouldBe ("TODO") + } + + // to test the property `onclickTrigger` - OnClickTrigger may contain a WebAuthn trigger which should be executed on click. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration + should("test onclickTrigger") { + // uncomment below to test the property + //modelInstance.onclickTrigger shouldBe ("TODO") + } + + // to test the property `onload` - OnLoad may contain javascript which should be executed on load. This is primarily used for WebAuthn. Deprecated: Using OnLoad requires the use of eval() which is a security risk. Use OnLoadTrigger instead. + should("test onload") { + // uncomment below to test the property + //modelInstance.onload shouldBe ("TODO") + } + + // to test the property `onloadTrigger` - OnLoadTrigger may contain a WebAuthn trigger which should be executed on load. The trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login. oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration oryWebAuthnLogin WebAuthnTriggersWebAuthnLogin oryPasskeyLogin WebAuthnTriggersPasskeyLogin oryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit oryPasskeyRegistration WebAuthnTriggersPasskeyRegistration oryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration + should("test onloadTrigger") { + // uncomment below to test the property + //modelInstance.onloadTrigger shouldBe ("TODO") + } + + // to test the property `pattern` - The input's pattern. + should("test pattern") { + // uncomment below to test the property + //modelInstance.pattern shouldBe ("TODO") + } + + // to test the property `required` - Mark this input field as required. + should("test required") { + // uncomment below to test the property + //modelInstance.required shouldBe ("TODO") + } + + // to test the property ``value`` - The input's value. + should("test `value`") { + // uncomment below to test the property + //modelInstance.`value` shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeMetaTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeMetaTest.kt new file mode 100644 index 00000000000..771c9e71f91 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeMetaTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UiNodeMeta +import sh.ory.client-kotlin-multiplatform.models.UiText + +class UiNodeMetaTest : ShouldSpec() { + init { + // uncomment below to create an instance of UiNodeMeta + //val modelInstance = UiNodeMeta() + + // to test the property `label` + should("test label") { + // uncomment below to test the property + //modelInstance.label shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeScriptAttributesTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeScriptAttributesTest.kt new file mode 100644 index 00000000000..7088164ccd9 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeScriptAttributesTest.kt @@ -0,0 +1,83 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UiNodeScriptAttributes + +class UiNodeScriptAttributesTest : ShouldSpec() { + init { + // uncomment below to create an instance of UiNodeScriptAttributes + //val modelInstance = UiNodeScriptAttributes() + + // to test the property `async` - The script async type + should("test async") { + // uncomment below to test the property + //modelInstance.async shouldBe ("TODO") + } + + // to test the property `crossorigin` - The script cross origin policy + should("test crossorigin") { + // uncomment below to test the property + //modelInstance.crossorigin shouldBe ("TODO") + } + + // to test the property `id` - A unique identifier + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `integrity` - The script's integrity hash + should("test integrity") { + // uncomment below to test the property + //modelInstance.integrity shouldBe ("TODO") + } + + // to test the property `nodeType` - NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\". text Text input Input img Image a Anchor script Script + should("test nodeType") { + // uncomment below to test the property + //modelInstance.nodeType shouldBe ("TODO") + } + + // to test the property `nonce` - Nonce for CSP A nonce you may want to use to improve your Content Security Policy. You do not have to use this value but if you want to improve your CSP policies you may use it. You can also choose to use your own nonce value! + should("test nonce") { + // uncomment below to test the property + //modelInstance.nonce shouldBe ("TODO") + } + + // to test the property `referrerpolicy` - The script referrer policy + should("test referrerpolicy") { + // uncomment below to test the property + //modelInstance.referrerpolicy shouldBe ("TODO") + } + + // to test the property `src` - The script source + should("test src") { + // uncomment below to test the property + //modelInstance.src shouldBe ("TODO") + } + + // to test the property `type` - The script MIME type + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeTest.kt new file mode 100644 index 00000000000..66df334d37a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeTest.kt @@ -0,0 +1,62 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UiNode +import sh.ory.client-kotlin-multiplatform.models.UiNodeAttributes +import sh.ory.client-kotlin-multiplatform.models.UiNodeMeta +import sh.ory.client-kotlin-multiplatform.models.UiText + +class UiNodeTest : ShouldSpec() { + init { + // uncomment below to create an instance of UiNode + //val modelInstance = UiNode() + + // to test the property `attributes` + should("test attributes") { + // uncomment below to test the property + //modelInstance.attributes shouldBe ("TODO") + } + + // to test the property `group` - Group specifies which group (e.g. password authenticator) this node belongs to. default DefaultGroup password PasswordGroup oidc OpenIDConnectGroup profile ProfileGroup link LinkGroup code CodeGroup totp TOTPGroup lookup_secret LookupGroup webauthn WebAuthnGroup passkey PasskeyGroup identifier_first IdentifierFirstGroup + should("test group") { + // uncomment below to test the property + //modelInstance.group shouldBe ("TODO") + } + + // to test the property `messages` + should("test messages") { + // uncomment below to test the property + //modelInstance.messages shouldBe ("TODO") + } + + // to test the property `meta` + should("test meta") { + // uncomment below to test the property + //modelInstance.meta shouldBe ("TODO") + } + + // to test the property `type` - The node's type text Text input Input img Image a Anchor script Script + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeTextAttributesTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeTextAttributesTest.kt new file mode 100644 index 00000000000..d1cd6fa57af --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiNodeTextAttributesTest.kt @@ -0,0 +1,48 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UiNodeTextAttributes +import sh.ory.client-kotlin-multiplatform.models.UiText + +class UiNodeTextAttributesTest : ShouldSpec() { + init { + // uncomment below to create an instance of UiNodeTextAttributes + //val modelInstance = UiNodeTextAttributes() + + // to test the property `id` - A unique identifier + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `nodeType` - NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"text\". text Text input Input img Image a Anchor script Script + should("test nodeType") { + // uncomment below to test the property + //modelInstance.nodeType shouldBe ("TODO") + } + + // to test the property `text` + should("test text") { + // uncomment below to test the property + //modelInstance.text shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiTextTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiTextTest.kt new file mode 100644 index 00000000000..b7aa473ffd1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UiTextTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UiText + +class UiTextTest : ShouldSpec() { + init { + // uncomment below to create an instance of UiText + //val modelInstance = UiText() + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `text` - The message text. Written in american english. + should("test text") { + // uncomment below to test the property + //modelInstance.text shouldBe ("TODO") + } + + // to test the property `type` - The message type. info Info error Error success Success + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `context` - The message's context. Useful when customizing messages. + should("test context") { + // uncomment below to test the property + //modelInstance.context shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateIdentityBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateIdentityBodyTest.kt new file mode 100644 index 00000000000..1b45300d13f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateIdentityBodyTest.kt @@ -0,0 +1,66 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateIdentityBody +import sh.ory.client-kotlin-multiplatform.models.IdentityWithCredentials + +class UpdateIdentityBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateIdentityBody + //val modelInstance = UpdateIdentityBody() + + // to test the property `schemaId` - SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. If set will update the Identity's SchemaID. + should("test schemaId") { + // uncomment below to test the property + //modelInstance.schemaId shouldBe ("TODO") + } + + // to test the property `state` - State is the identity's state. active StateActive inactive StateInactive + should("test state") { + // uncomment below to test the property + //modelInstance.state shouldBe ("TODO") + } + + // to test the property `traits` - Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_id`. + should("test traits") { + // uncomment below to test the property + //modelInstance.traits shouldBe ("TODO") + } + + // to test the property `credentials` + should("test credentials") { + // uncomment below to test the property + //modelInstance.credentials shouldBe ("TODO") + } + + // to test the property `metadataAdmin` - Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/`. + should("test metadataAdmin") { + // uncomment below to test the property + //modelInstance.metadataAdmin shouldBe ("TODO") + } + + // to test the property `metadataPublic` - Store metadata about the identity which the identity itself can see when calling for example the session endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field. + should("test metadataPublic") { + // uncomment below to test the property + //modelInstance.metadataPublic shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowBodyTest.kt new file mode 100644 index 00000000000..8ef6f9aaa22 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowBodyTest.kt @@ -0,0 +1,145 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowBody +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithCodeMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithIdentifierFirstMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithLookupSecretMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithOidcMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithPasskeyMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithPasswordMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithTotpMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithWebAuthnMethod + +class UpdateLoginFlowBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateLoginFlowBody + //val modelInstance = UpdateLoginFlowBody() + + // to test the property `csrfToken` - Sending the anti-csrf token is only required for browser login flows. + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `identifier` - Identifier is the email or username of the user trying to log in. + should("test identifier") { + // uncomment below to test the property + //modelInstance.identifier shouldBe ("TODO") + } + + // to test the property `method` - Method should be set to \"password\" when logging in using the identifier and password strategy. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `password` - The user's password. + should("test password") { + // uncomment below to test the property + //modelInstance.password shouldBe ("TODO") + } + + // to test the property `provider` - The provider to register with + should("test provider") { + // uncomment below to test the property + //modelInstance.provider shouldBe ("TODO") + } + + // to test the property `totpCode` - The TOTP code. + should("test totpCode") { + // uncomment below to test the property + //modelInstance.totpCode shouldBe ("TODO") + } + + // to test the property `lookupSecret` - The lookup secret. + should("test lookupSecret") { + // uncomment below to test the property + //modelInstance.lookupSecret shouldBe ("TODO") + } + + // to test the property `passwordIdentifier` - Identifier is the email or username of the user trying to log in. This field is deprecated! + should("test passwordIdentifier") { + // uncomment below to test the property + //modelInstance.passwordIdentifier shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + // to test the property `idToken` - IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple Google + should("test idToken") { + // uncomment below to test the property + //modelInstance.idToken shouldBe ("TODO") + } + + // to test the property `idTokenNonce` - IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and required. + should("test idTokenNonce") { + // uncomment below to test the property + //modelInstance.idTokenNonce shouldBe ("TODO") + } + + // to test the property `traits` - The identity traits. This is a placeholder for the registration flow. + should("test traits") { + // uncomment below to test the property + //modelInstance.traits shouldBe ("TODO") + } + + // to test the property `upstreamParameters` - UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. + should("test upstreamParameters") { + // uncomment below to test the property + //modelInstance.upstreamParameters shouldBe ("TODO") + } + + // to test the property `webauthnLogin` - Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + should("test webauthnLogin") { + // uncomment below to test the property + //modelInstance.webauthnLogin shouldBe ("TODO") + } + + // to test the property `address` - Address is the address to send the code to, in case that there are multiple addresses. This field is only used in two-factor flows and is ineffective for passwordless flows. + should("test address") { + // uncomment below to test the property + //modelInstance.address shouldBe ("TODO") + } + + // to test the property `code` - Code is the 6 digits code sent to the user + should("test code") { + // uncomment below to test the property + //modelInstance.code shouldBe ("TODO") + } + + // to test the property `resend` - Resend is set when the user wants to resend the code + should("test resend") { + // uncomment below to test the property + //modelInstance.resend shouldBe ("TODO") + } + + // to test the property `passkeyLogin` - Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + should("test passkeyLogin") { + // uncomment below to test the property + //modelInstance.passkeyLogin shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithCodeMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithCodeMethodTest.kt new file mode 100644 index 00000000000..284a95dc0f7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithCodeMethodTest.kt @@ -0,0 +1,71 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithCodeMethod + +class UpdateLoginFlowWithCodeMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateLoginFlowWithCodeMethod + //val modelInstance = UpdateLoginFlowWithCodeMethod() + + // to test the property `csrfToken` - CSRFToken is the anti-CSRF token + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `method` - Method should be set to \"code\" when logging in using the code strategy. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `address` - Address is the address to send the code to, in case that there are multiple addresses. This field is only used in two-factor flows and is ineffective for passwordless flows. + should("test address") { + // uncomment below to test the property + //modelInstance.address shouldBe ("TODO") + } + + // to test the property `code` - Code is the 6 digits code sent to the user + should("test code") { + // uncomment below to test the property + //modelInstance.code shouldBe ("TODO") + } + + // to test the property `identifier` - Identifier is the code identifier The identifier requires that the user has already completed the registration or settings with code flow. + should("test identifier") { + // uncomment below to test the property + //modelInstance.identifier shouldBe ("TODO") + } + + // to test the property `resend` - Resend is set when the user wants to resend the code + should("test resend") { + // uncomment below to test the property + //modelInstance.resend shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithIdentifierFirstMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithIdentifierFirstMethodTest.kt new file mode 100644 index 00000000000..16849848fed --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithIdentifierFirstMethodTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithIdentifierFirstMethod + +class UpdateLoginFlowWithIdentifierFirstMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateLoginFlowWithIdentifierFirstMethod + //val modelInstance = UpdateLoginFlowWithIdentifierFirstMethod() + + // to test the property `identifier` - Identifier is the email or username of the user trying to log in. + should("test identifier") { + // uncomment below to test the property + //modelInstance.identifier shouldBe ("TODO") + } + + // to test the property `method` - Method should be set to \"password\" when logging in using the identifier and password strategy. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `csrfToken` - Sending the anti-csrf token is only required for browser login flows. + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithLookupSecretMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithLookupSecretMethodTest.kt new file mode 100644 index 00000000000..57d5849fddc --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithLookupSecretMethodTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithLookupSecretMethod + +class UpdateLoginFlowWithLookupSecretMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateLoginFlowWithLookupSecretMethod + //val modelInstance = UpdateLoginFlowWithLookupSecretMethod() + + // to test the property `lookupSecret` - The lookup secret. + should("test lookupSecret") { + // uncomment below to test the property + //modelInstance.lookupSecret shouldBe ("TODO") + } + + // to test the property `method` - Method should be set to \"lookup_secret\" when logging in using the lookup_secret strategy. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `csrfToken` - Sending the anti-csrf token is only required for browser login flows. + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithOidcMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithOidcMethodTest.kt new file mode 100644 index 00000000000..f069d4f67d7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithOidcMethodTest.kt @@ -0,0 +1,77 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithOidcMethod + +class UpdateLoginFlowWithOidcMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateLoginFlowWithOidcMethod + //val modelInstance = UpdateLoginFlowWithOidcMethod() + + // to test the property `method` - Method to use This field must be set to `oidc` when using the oidc method. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `provider` - The provider to register with + should("test provider") { + // uncomment below to test the property + //modelInstance.provider shouldBe ("TODO") + } + + // to test the property `csrfToken` - The CSRF Token + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `idToken` - IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple Google + should("test idToken") { + // uncomment below to test the property + //modelInstance.idToken shouldBe ("TODO") + } + + // to test the property `idTokenNonce` - IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and required. + should("test idTokenNonce") { + // uncomment below to test the property + //modelInstance.idTokenNonce shouldBe ("TODO") + } + + // to test the property `traits` - The identity traits. This is a placeholder for the registration flow. + should("test traits") { + // uncomment below to test the property + //modelInstance.traits shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + // to test the property `upstreamParameters` - UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. + should("test upstreamParameters") { + // uncomment below to test the property + //modelInstance.upstreamParameters shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithPasskeyMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithPasskeyMethodTest.kt new file mode 100644 index 00000000000..bfd8c8d8178 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithPasskeyMethodTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithPasskeyMethod + +class UpdateLoginFlowWithPasskeyMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateLoginFlowWithPasskeyMethod + //val modelInstance = UpdateLoginFlowWithPasskeyMethod() + + // to test the property `method` - Method should be set to \"passkey\" when logging in using the Passkey strategy. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `csrfToken` - Sending the anti-csrf token is only required for browser login flows. + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `passkeyLogin` - Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + should("test passkeyLogin") { + // uncomment below to test the property + //modelInstance.passkeyLogin shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithPasswordMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithPasswordMethodTest.kt new file mode 100644 index 00000000000..fe4d0d46fa8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithPasswordMethodTest.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithPasswordMethod + +class UpdateLoginFlowWithPasswordMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateLoginFlowWithPasswordMethod + //val modelInstance = UpdateLoginFlowWithPasswordMethod() + + // to test the property `identifier` - Identifier is the email or username of the user trying to log in. + should("test identifier") { + // uncomment below to test the property + //modelInstance.identifier shouldBe ("TODO") + } + + // to test the property `method` - Method should be set to \"password\" when logging in using the identifier and password strategy. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `password` - The user's password. + should("test password") { + // uncomment below to test the property + //modelInstance.password shouldBe ("TODO") + } + + // to test the property `csrfToken` - Sending the anti-csrf token is only required for browser login flows. + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `passwordIdentifier` - Identifier is the email or username of the user trying to log in. This field is deprecated! + should("test passwordIdentifier") { + // uncomment below to test the property + //modelInstance.passwordIdentifier shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithTotpMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithTotpMethodTest.kt new file mode 100644 index 00000000000..e948f2bd6bd --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithTotpMethodTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithTotpMethod + +class UpdateLoginFlowWithTotpMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateLoginFlowWithTotpMethod + //val modelInstance = UpdateLoginFlowWithTotpMethod() + + // to test the property `method` - Method should be set to \"totp\" when logging in using the TOTP strategy. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `totpCode` - The TOTP code. + should("test totpCode") { + // uncomment below to test the property + //modelInstance.totpCode shouldBe ("TODO") + } + + // to test the property `csrfToken` - Sending the anti-csrf token is only required for browser login flows. + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithWebAuthnMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithWebAuthnMethodTest.kt new file mode 100644 index 00000000000..d51e84b026d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateLoginFlowWithWebAuthnMethodTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateLoginFlowWithWebAuthnMethod + +class UpdateLoginFlowWithWebAuthnMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateLoginFlowWithWebAuthnMethod + //val modelInstance = UpdateLoginFlowWithWebAuthnMethod() + + // to test the property `identifier` - Identifier is the email or username of the user trying to log in. + should("test identifier") { + // uncomment below to test the property + //modelInstance.identifier shouldBe ("TODO") + } + + // to test the property `method` - Method should be set to \"webAuthn\" when logging in using the WebAuthn strategy. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `csrfToken` - Sending the anti-csrf token is only required for browser login flows. + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + // to test the property `webauthnLogin` - Login a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + should("test webauthnLogin") { + // uncomment below to test the property + //modelInstance.webauthnLogin shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowBodyTest.kt new file mode 100644 index 00000000000..944ab9ebf2a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowBodyTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateRecoveryFlowBody +import sh.ory.client-kotlin-multiplatform.models.UpdateRecoveryFlowWithCodeMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateRecoveryFlowWithLinkMethod + +class UpdateRecoveryFlowBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateRecoveryFlowBody + //val modelInstance = UpdateRecoveryFlowBody() + + // to test the property `email` - The email address of the account to recover If the email belongs to a valid account, a recovery email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#attempted-recovery-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `method` - Method is the method that should be used for this recovery flow Allowed values are `link` and `code`. link RecoveryStrategyLink code RecoveryStrategyCode + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `csrfToken` - Sending the anti-csrf token is only required for browser login flows. + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + // to test the property `code` - Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. + should("test code") { + // uncomment below to test the property + //modelInstance.code shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowWithCodeMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowWithCodeMethodTest.kt new file mode 100644 index 00000000000..121e7ea2b4f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowWithCodeMethodTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateRecoveryFlowWithCodeMethod + +class UpdateRecoveryFlowWithCodeMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateRecoveryFlowWithCodeMethod + //val modelInstance = UpdateRecoveryFlowWithCodeMethod() + + // to test the property `method` - Method is the method that should be used for this recovery flow Allowed values are `link` and `code`. link RecoveryStrategyLink code RecoveryStrategyCode + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `code` - Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. + should("test code") { + // uncomment below to test the property + //modelInstance.code shouldBe ("TODO") + } + + // to test the property `csrfToken` - Sending the anti-csrf token is only required for browser login flows. + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `email` - The email address of the account to recover If the email belongs to a valid account, a recovery email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#attempted-recovery-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowWithLinkMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowWithLinkMethodTest.kt new file mode 100644 index 00000000000..41f9d5163e4 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRecoveryFlowWithLinkMethodTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateRecoveryFlowWithLinkMethod + +class UpdateRecoveryFlowWithLinkMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateRecoveryFlowWithLinkMethod + //val modelInstance = UpdateRecoveryFlowWithLinkMethod() + + // to test the property `email` - Email to Recover Needs to be set when initiating the flow. If the email is a registered recovery email, a recovery link will be sent. If the email is not known, a email with details on what happened will be sent instead. format: email + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `method` - Method is the method that should be used for this recovery flow Allowed values are `link` and `code` link RecoveryStrategyLink code RecoveryStrategyCode + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `csrfToken` - Sending the anti-csrf token is only required for browser login flows. + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowBodyTest.kt new file mode 100644 index 00000000000..eeed31f8a4d --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowBodyTest.kt @@ -0,0 +1,125 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowBody +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithCodeMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithOidcMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithPasskeyMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithPasswordMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithProfileMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithWebAuthnMethod + +class UpdateRegistrationFlowBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateRegistrationFlowBody + //val modelInstance = UpdateRegistrationFlowBody() + + // to test the property `method` - Method Should be set to profile when trying to update a profile. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `password` - Password to sign the user up with + should("test password") { + // uncomment below to test the property + //modelInstance.password shouldBe ("TODO") + } + + // to test the property `traits` - Traits The identity's traits. + should("test traits") { + // uncomment below to test the property + //modelInstance.traits shouldBe ("TODO") + } + + // to test the property `provider` - The provider to register with + should("test provider") { + // uncomment below to test the property + //modelInstance.provider shouldBe ("TODO") + } + + // to test the property `csrfToken` - The Anti-CSRF Token This token is only required when performing browser flows. + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + // to test the property `idToken` - IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple Google + should("test idToken") { + // uncomment below to test the property + //modelInstance.idToken shouldBe ("TODO") + } + + // to test the property `idTokenNonce` - IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and is required. + should("test idTokenNonce") { + // uncomment below to test the property + //modelInstance.idTokenNonce shouldBe ("TODO") + } + + // to test the property `upstreamParameters` - UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. + should("test upstreamParameters") { + // uncomment below to test the property + //modelInstance.upstreamParameters shouldBe ("TODO") + } + + // to test the property `webauthnRegister` - Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + should("test webauthnRegister") { + // uncomment below to test the property + //modelInstance.webauthnRegister shouldBe ("TODO") + } + + // to test the property `webauthnRegisterDisplayname` - Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. + should("test webauthnRegisterDisplayname") { + // uncomment below to test the property + //modelInstance.webauthnRegisterDisplayname shouldBe ("TODO") + } + + // to test the property `code` - The OTP Code sent to the user + should("test code") { + // uncomment below to test the property + //modelInstance.code shouldBe ("TODO") + } + + // to test the property `resend` - Resend restarts the flow with a new code + should("test resend") { + // uncomment below to test the property + //modelInstance.resend shouldBe ("TODO") + } + + // to test the property `passkeyRegister` - Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + should("test passkeyRegister") { + // uncomment below to test the property + //modelInstance.passkeyRegister shouldBe ("TODO") + } + + // to test the property `screen` - Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious + should("test screen") { + // uncomment below to test the property + //modelInstance.screen shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithCodeMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithCodeMethodTest.kt new file mode 100644 index 00000000000..775fd9ad89f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithCodeMethodTest.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithCodeMethod + +class UpdateRegistrationFlowWithCodeMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateRegistrationFlowWithCodeMethod + //val modelInstance = UpdateRegistrationFlowWithCodeMethod() + + // to test the property `method` - Method to use This field must be set to `code` when using the code method. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `traits` - The identity's traits + should("test traits") { + // uncomment below to test the property + //modelInstance.traits shouldBe ("TODO") + } + + // to test the property `code` - The OTP Code sent to the user + should("test code") { + // uncomment below to test the property + //modelInstance.code shouldBe ("TODO") + } + + // to test the property `csrfToken` - The CSRF Token + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `resend` - Resend restarts the flow with a new code + should("test resend") { + // uncomment below to test the property + //modelInstance.resend shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithOidcMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithOidcMethodTest.kt new file mode 100644 index 00000000000..9fc2458f13f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithOidcMethodTest.kt @@ -0,0 +1,77 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithOidcMethod + +class UpdateRegistrationFlowWithOidcMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateRegistrationFlowWithOidcMethod + //val modelInstance = UpdateRegistrationFlowWithOidcMethod() + + // to test the property `method` - Method to use This field must be set to `oidc` when using the oidc method. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `provider` - The provider to register with + should("test provider") { + // uncomment below to test the property + //modelInstance.provider shouldBe ("TODO") + } + + // to test the property `csrfToken` - The CSRF Token + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `idToken` - IDToken is an optional id token provided by an OIDC provider If submitted, it is verified using the OIDC provider's public key set and the claims are used to populate the OIDC credentials of the identity. If the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use the `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken. Supported providers are Apple Google + should("test idToken") { + // uncomment below to test the property + //modelInstance.idToken shouldBe ("TODO") + } + + // to test the property `idTokenNonce` - IDTokenNonce is the nonce, used when generating the IDToken. If the provider supports nonce validation, the nonce will be validated against this value and is required. + should("test idTokenNonce") { + // uncomment below to test the property + //modelInstance.idTokenNonce shouldBe ("TODO") + } + + // to test the property `traits` - The identity traits + should("test traits") { + // uncomment below to test the property + //modelInstance.traits shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + // to test the property `upstreamParameters` - UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. + should("test upstreamParameters") { + // uncomment below to test the property + //modelInstance.upstreamParameters shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithPasskeyMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithPasskeyMethodTest.kt new file mode 100644 index 00000000000..d078350ff06 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithPasskeyMethodTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithPasskeyMethod + +class UpdateRegistrationFlowWithPasskeyMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateRegistrationFlowWithPasskeyMethod + //val modelInstance = UpdateRegistrationFlowWithPasskeyMethod() + + // to test the property `method` - Method Should be set to \"passkey\" when trying to add, update, or remove a Passkey. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `traits` - The identity's traits + should("test traits") { + // uncomment below to test the property + //modelInstance.traits shouldBe ("TODO") + } + + // to test the property `csrfToken` - CSRFToken is the anti-CSRF token + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `passkeyRegister` - Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + should("test passkeyRegister") { + // uncomment below to test the property + //modelInstance.passkeyRegister shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithPasswordMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithPasswordMethodTest.kt new file mode 100644 index 00000000000..fcfd6485755 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithPasswordMethodTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithPasswordMethod + +class UpdateRegistrationFlowWithPasswordMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateRegistrationFlowWithPasswordMethod + //val modelInstance = UpdateRegistrationFlowWithPasswordMethod() + + // to test the property `method` - Method to use This field must be set to `password` when using the password method. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `password` - Password to sign the user up with + should("test password") { + // uncomment below to test the property + //modelInstance.password shouldBe ("TODO") + } + + // to test the property `traits` - The identity's traits + should("test traits") { + // uncomment below to test the property + //modelInstance.traits shouldBe ("TODO") + } + + // to test the property `csrfToken` - The CSRF Token + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithProfileMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithProfileMethodTest.kt new file mode 100644 index 00000000000..c40fbdefe7e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithProfileMethodTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithProfileMethod + +class UpdateRegistrationFlowWithProfileMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateRegistrationFlowWithProfileMethod + //val modelInstance = UpdateRegistrationFlowWithProfileMethod() + + // to test the property `method` - Method Should be set to profile when trying to update a profile. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `traits` - Traits The identity's traits. + should("test traits") { + // uncomment below to test the property + //modelInstance.traits shouldBe ("TODO") + } + + // to test the property `csrfToken` - The Anti-CSRF Token This token is only required when performing browser flows. + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `screen` - Screen requests navigation to a previous screen. This must be set to credential-selection to go back to the credential selection screen. credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential previous RegistrationScreenPrevious + should("test screen") { + // uncomment below to test the property + //modelInstance.screen shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithWebAuthnMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithWebAuthnMethodTest.kt new file mode 100644 index 00000000000..3a0fbf8f912 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateRegistrationFlowWithWebAuthnMethodTest.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateRegistrationFlowWithWebAuthnMethod + +class UpdateRegistrationFlowWithWebAuthnMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateRegistrationFlowWithWebAuthnMethod + //val modelInstance = UpdateRegistrationFlowWithWebAuthnMethod() + + // to test the property `method` - Method Should be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `traits` - The identity's traits + should("test traits") { + // uncomment below to test the property + //modelInstance.traits shouldBe ("TODO") + } + + // to test the property `csrfToken` - CSRFToken is the anti-CSRF token + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + // to test the property `webauthnRegister` - Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + should("test webauthnRegister") { + // uncomment below to test the property + //modelInstance.webauthnRegister shouldBe ("TODO") + } + + // to test the property `webauthnRegisterDisplayname` - Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. + should("test webauthnRegisterDisplayname") { + // uncomment below to test the property + //modelInstance.webauthnRegisterDisplayname shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowBodyTest.kt new file mode 100644 index 00000000000..29ceb93c4ba --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowBodyTest.kt @@ -0,0 +1,156 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowBody +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithLookupMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithOidcMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithPasskeyMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithPasswordMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithProfileMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithTotpMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithWebAuthnMethod + +class UpdateSettingsFlowBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateSettingsFlowBody + //val modelInstance = UpdateSettingsFlowBody() + + // to test the property `method` - Method Should be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `password` - Password is the updated password + should("test password") { + // uncomment below to test the property + //modelInstance.password shouldBe ("TODO") + } + + // to test the property `traits` - The identity's traits in: body + should("test traits") { + // uncomment below to test the property + //modelInstance.traits shouldBe ("TODO") + } + + // to test the property `csrfToken` - CSRFToken is the anti-CSRF token + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + // to test the property `flow` - Flow ID is the flow's ID. in: query + should("test flow") { + // uncomment below to test the property + //modelInstance.flow shouldBe ("TODO") + } + + // to test the property `link` - Link this provider Either this or `unlink` must be set. type: string in: body + should("test link") { + // uncomment below to test the property + //modelInstance.link shouldBe ("TODO") + } + + // to test the property `unlink` - Unlink this provider Either this or `link` must be set. type: string in: body + should("test unlink") { + // uncomment below to test the property + //modelInstance.unlink shouldBe ("TODO") + } + + // to test the property `upstreamParameters` - UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. + should("test upstreamParameters") { + // uncomment below to test the property + //modelInstance.upstreamParameters shouldBe ("TODO") + } + + // to test the property `totpCode` - ValidationTOTP must contain a valid TOTP based on the + should("test totpCode") { + // uncomment below to test the property + //modelInstance.totpCode shouldBe ("TODO") + } + + // to test the property `totpUnlink` - UnlinkTOTP if true will remove the TOTP pairing, effectively removing the credential. This can be used to set up a new TOTP device. + should("test totpUnlink") { + // uncomment below to test the property + //modelInstance.totpUnlink shouldBe ("TODO") + } + + // to test the property `webauthnRegister` - Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + should("test webauthnRegister") { + // uncomment below to test the property + //modelInstance.webauthnRegister shouldBe ("TODO") + } + + // to test the property `webauthnRegisterDisplayname` - Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. + should("test webauthnRegisterDisplayname") { + // uncomment below to test the property + //modelInstance.webauthnRegisterDisplayname shouldBe ("TODO") + } + + // to test the property `webauthnRemove` - Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + should("test webauthnRemove") { + // uncomment below to test the property + //modelInstance.webauthnRemove shouldBe ("TODO") + } + + // to test the property `lookupSecretConfirm` - If set to true will save the regenerated lookup secrets + should("test lookupSecretConfirm") { + // uncomment below to test the property + //modelInstance.lookupSecretConfirm shouldBe ("TODO") + } + + // to test the property `lookupSecretDisable` - Disables this method if true. + should("test lookupSecretDisable") { + // uncomment below to test the property + //modelInstance.lookupSecretDisable shouldBe ("TODO") + } + + // to test the property `lookupSecretRegenerate` - If set to true will regenerate the lookup secrets + should("test lookupSecretRegenerate") { + // uncomment below to test the property + //modelInstance.lookupSecretRegenerate shouldBe ("TODO") + } + + // to test the property `lookupSecretReveal` - If set to true will reveal the lookup secrets + should("test lookupSecretReveal") { + // uncomment below to test the property + //modelInstance.lookupSecretReveal shouldBe ("TODO") + } + + // to test the property `passkeyRemove` - Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + should("test passkeyRemove") { + // uncomment below to test the property + //modelInstance.passkeyRemove shouldBe ("TODO") + } + + // to test the property `passkeySettingsRegister` - Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + should("test passkeySettingsRegister") { + // uncomment below to test the property + //modelInstance.passkeySettingsRegister shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithLookupMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithLookupMethodTest.kt new file mode 100644 index 00000000000..bc0cf190afe --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithLookupMethodTest.kt @@ -0,0 +1,71 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithLookupMethod + +class UpdateSettingsFlowWithLookupMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateSettingsFlowWithLookupMethod + //val modelInstance = UpdateSettingsFlowWithLookupMethod() + + // to test the property `method` - Method Should be set to \"lookup\" when trying to add, update, or remove a lookup pairing. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `csrfToken` - CSRFToken is the anti-CSRF token + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `lookupSecretConfirm` - If set to true will save the regenerated lookup secrets + should("test lookupSecretConfirm") { + // uncomment below to test the property + //modelInstance.lookupSecretConfirm shouldBe ("TODO") + } + + // to test the property `lookupSecretDisable` - Disables this method if true. + should("test lookupSecretDisable") { + // uncomment below to test the property + //modelInstance.lookupSecretDisable shouldBe ("TODO") + } + + // to test the property `lookupSecretRegenerate` - If set to true will regenerate the lookup secrets + should("test lookupSecretRegenerate") { + // uncomment below to test the property + //modelInstance.lookupSecretRegenerate shouldBe ("TODO") + } + + // to test the property `lookupSecretReveal` - If set to true will reveal the lookup secrets + should("test lookupSecretReveal") { + // uncomment below to test the property + //modelInstance.lookupSecretReveal shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithOidcMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithOidcMethodTest.kt new file mode 100644 index 00000000000..ee3ea03e05f --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithOidcMethodTest.kt @@ -0,0 +1,71 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithOidcMethod + +class UpdateSettingsFlowWithOidcMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateSettingsFlowWithOidcMethod + //val modelInstance = UpdateSettingsFlowWithOidcMethod() + + // to test the property `method` - Method Should be set to profile when trying to update a profile. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `flow` - Flow ID is the flow's ID. in: query + should("test flow") { + // uncomment below to test the property + //modelInstance.flow shouldBe ("TODO") + } + + // to test the property `link` - Link this provider Either this or `unlink` must be set. type: string in: body + should("test link") { + // uncomment below to test the property + //modelInstance.link shouldBe ("TODO") + } + + // to test the property `traits` - The identity's traits in: body + should("test traits") { + // uncomment below to test the property + //modelInstance.traits shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + // to test the property `unlink` - Unlink this provider Either this or `link` must be set. type: string in: body + should("test unlink") { + // uncomment below to test the property + //modelInstance.unlink shouldBe ("TODO") + } + + // to test the property `upstreamParameters` - UpstreamParameters are the parameters that are passed to the upstream identity provider. These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: `login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session. `hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`. `prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`. + should("test upstreamParameters") { + // uncomment below to test the property + //modelInstance.upstreamParameters shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithPasskeyMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithPasskeyMethodTest.kt new file mode 100644 index 00000000000..7add747d06c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithPasskeyMethodTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithPasskeyMethod + +class UpdateSettingsFlowWithPasskeyMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateSettingsFlowWithPasskeyMethod + //val modelInstance = UpdateSettingsFlowWithPasskeyMethod() + + // to test the property `method` - Method Should be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `csrfToken` - CSRFToken is the anti-CSRF token + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `passkeyRemove` - Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + should("test passkeyRemove") { + // uncomment below to test the property + //modelInstance.passkeyRemove shouldBe ("TODO") + } + + // to test the property `passkeySettingsRegister` - Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + should("test passkeySettingsRegister") { + // uncomment below to test the property + //modelInstance.passkeySettingsRegister shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithPasswordMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithPasswordMethodTest.kt new file mode 100644 index 00000000000..16bf4f592f2 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithPasswordMethodTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithPasswordMethod + +class UpdateSettingsFlowWithPasswordMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateSettingsFlowWithPasswordMethod + //val modelInstance = UpdateSettingsFlowWithPasswordMethod() + + // to test the property `method` - Method Should be set to password when trying to update a password. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `password` - Password is the updated password + should("test password") { + // uncomment below to test the property + //modelInstance.password shouldBe ("TODO") + } + + // to test the property `csrfToken` - CSRFToken is the anti-CSRF token + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithProfileMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithProfileMethodTest.kt new file mode 100644 index 00000000000..1146db47345 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithProfileMethodTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithProfileMethod + +class UpdateSettingsFlowWithProfileMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateSettingsFlowWithProfileMethod + //val modelInstance = UpdateSettingsFlowWithProfileMethod() + + // to test the property `method` - Method Should be set to profile when trying to update a profile. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `traits` - Traits The identity's traits. + should("test traits") { + // uncomment below to test the property + //modelInstance.traits shouldBe ("TODO") + } + + // to test the property `csrfToken` - The Anti-CSRF Token This token is only required when performing browser flows. + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithTotpMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithTotpMethodTest.kt new file mode 100644 index 00000000000..7f3684f9f88 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithTotpMethodTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithTotpMethod + +class UpdateSettingsFlowWithTotpMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateSettingsFlowWithTotpMethod + //val modelInstance = UpdateSettingsFlowWithTotpMethod() + + // to test the property `method` - Method Should be set to \"totp\" when trying to add, update, or remove a totp pairing. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `csrfToken` - CSRFToken is the anti-CSRF token + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `totpCode` - ValidationTOTP must contain a valid TOTP based on the + should("test totpCode") { + // uncomment below to test the property + //modelInstance.totpCode shouldBe ("TODO") + } + + // to test the property `totpUnlink` - UnlinkTOTP if true will remove the TOTP pairing, effectively removing the credential. This can be used to set up a new TOTP device. + should("test totpUnlink") { + // uncomment below to test the property + //modelInstance.totpUnlink shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithWebAuthnMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithWebAuthnMethodTest.kt new file mode 100644 index 00000000000..e346f7123f7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSettingsFlowWithWebAuthnMethodTest.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateSettingsFlowWithWebAuthnMethod + +class UpdateSettingsFlowWithWebAuthnMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateSettingsFlowWithWebAuthnMethod + //val modelInstance = UpdateSettingsFlowWithWebAuthnMethod() + + // to test the property `method` - Method Should be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing. + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `csrfToken` - CSRFToken is the anti-CSRF token + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + // to test the property `webauthnRegister` - Register a WebAuthn Security Key It is expected that the JSON returned by the WebAuthn registration process is included here. + should("test webauthnRegister") { + // uncomment below to test the property + //modelInstance.webauthnRegister shouldBe ("TODO") + } + + // to test the property `webauthnRegisterDisplayname` - Name of the WebAuthn Security Key to be Added A human-readable name for the security key which will be added. + should("test webauthnRegisterDisplayname") { + // uncomment below to test the property + //modelInstance.webauthnRegisterDisplayname shouldBe ("TODO") + } + + // to test the property `webauthnRemove` - Remove a WebAuthn Security Key This must contain the ID of the WebAuthN connection. + should("test webauthnRemove") { + // uncomment below to test the property + //modelInstance.webauthnRemove shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSubscriptionBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSubscriptionBodyTest.kt new file mode 100644 index 00000000000..816e2af3dba --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateSubscriptionBodyTest.kt @@ -0,0 +1,47 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateSubscriptionBody + +class UpdateSubscriptionBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateSubscriptionBody + //val modelInstance = UpdateSubscriptionBody() + + // to test the property `interval` - monthly Monthly yearly Yearly + should("test interval") { + // uncomment below to test the property + //modelInstance.interval shouldBe ("TODO") + } + + // to test the property `plan` + should("test plan") { + // uncomment below to test the property + //modelInstance.plan shouldBe ("TODO") + } + + // to test the property `returnTo` + should("test returnTo") { + // uncomment below to test the property + //modelInstance.returnTo shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowBodyTest.kt new file mode 100644 index 00000000000..634cc2254ca --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowBodyTest.kt @@ -0,0 +1,61 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateVerificationFlowBody +import sh.ory.client-kotlin-multiplatform.models.UpdateVerificationFlowWithCodeMethod +import sh.ory.client-kotlin-multiplatform.models.UpdateVerificationFlowWithLinkMethod + +class UpdateVerificationFlowBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateVerificationFlowBody + //val modelInstance = UpdateVerificationFlowBody() + + // to test the property `email` - The email address to verify If the email belongs to a valid account, a verifiation email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `method` - Method is the method that should be used for this verification flow Allowed values are `link` and `code`. link VerificationStrategyLink code VerificationStrategyCode + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `csrfToken` - Sending the anti-csrf token is only required for browser login flows. + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + // to test the property `code` - Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. + should("test code") { + // uncomment below to test the property + //modelInstance.code shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowWithCodeMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowWithCodeMethodTest.kt new file mode 100644 index 00000000000..1e27714943e --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowWithCodeMethodTest.kt @@ -0,0 +1,59 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateVerificationFlowWithCodeMethod + +class UpdateVerificationFlowWithCodeMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateVerificationFlowWithCodeMethod + //val modelInstance = UpdateVerificationFlowWithCodeMethod() + + // to test the property `method` - Method is the method that should be used for this verification flow Allowed values are `link` and `code`. link VerificationStrategyLink code VerificationStrategyCode + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `code` - Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. + should("test code") { + // uncomment below to test the property + //modelInstance.code shouldBe ("TODO") + } + + // to test the property `csrfToken` - Sending the anti-csrf token is only required for browser login flows. + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `email` - The email address to verify If the email belongs to a valid account, a verifiation email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowWithLinkMethodTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowWithLinkMethodTest.kt new file mode 100644 index 00000000000..9f911c744bb --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateVerificationFlowWithLinkMethodTest.kt @@ -0,0 +1,53 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateVerificationFlowWithLinkMethod + +class UpdateVerificationFlowWithLinkMethodTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateVerificationFlowWithLinkMethod + //val modelInstance = UpdateVerificationFlowWithLinkMethod() + + // to test the property `email` - Email to Verify Needs to be set when initiating the flow. If the email is a registered verification email, a verification link will be sent. If the email is not known, a email with details on what happened will be sent instead. format: email + should("test email") { + // uncomment below to test the property + //modelInstance.email shouldBe ("TODO") + } + + // to test the property `method` - Method is the method that should be used for this verification flow Allowed values are `link` and `code` link VerificationStrategyLink code VerificationStrategyCode + should("test method") { + // uncomment below to test the property + //modelInstance.method shouldBe ("TODO") + } + + // to test the property `csrfToken` - Sending the anti-csrf token is only required for browser login flows. + should("test csrfToken") { + // uncomment below to test the property + //modelInstance.csrfToken shouldBe ("TODO") + } + + // to test the property `transientPayload` - Transient data to pass along to any webhooks + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateWorkspaceBodyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateWorkspaceBodyTest.kt new file mode 100644 index 00000000000..7554787e83a --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UpdateWorkspaceBodyTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.UpdateWorkspaceBody + +class UpdateWorkspaceBodyTest : ShouldSpec() { + init { + // uncomment below to create an instance of UpdateWorkspaceBody + //val modelInstance = UpdateWorkspaceBody() + + // to test the property `name` - The name of the workspace. + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UsageTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UsageTest.kt new file mode 100644 index 00000000000..31fc0116442 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/UsageTest.kt @@ -0,0 +1,36 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.Usage +import sh.ory.client-kotlin-multiplatform.models.GenericUsage + +class UsageTest : ShouldSpec() { + init { + // uncomment below to create an instance of Usage + //val modelInstance = Usage() + + // to test the property `genericUsage` + should("test genericUsage") { + // uncomment below to test the property + //modelInstance.genericUsage shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialPrimingResponseTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialPrimingResponseTest.kt new file mode 100644 index 00000000000..a00b12d217b --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialPrimingResponseTest.kt @@ -0,0 +1,77 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.VerifiableCredentialPrimingResponse + +class VerifiableCredentialPrimingResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of VerifiableCredentialPrimingResponse + //val modelInstance = VerifiableCredentialPrimingResponse() + + // to test the property `cNonce` + should("test cNonce") { + // uncomment below to test the property + //modelInstance.cNonce shouldBe ("TODO") + } + + // to test the property `cNonceExpiresIn` + should("test cNonceExpiresIn") { + // uncomment below to test the property + //modelInstance.cNonceExpiresIn shouldBe ("TODO") + } + + // to test the property `error` + should("test error") { + // uncomment below to test the property + //modelInstance.error shouldBe ("TODO") + } + + // to test the property `errorDebug` + should("test errorDebug") { + // uncomment below to test the property + //modelInstance.errorDebug shouldBe ("TODO") + } + + // to test the property `errorDescription` + should("test errorDescription") { + // uncomment below to test the property + //modelInstance.errorDescription shouldBe ("TODO") + } + + // to test the property `errorHint` + should("test errorHint") { + // uncomment below to test the property + //modelInstance.errorHint shouldBe ("TODO") + } + + // to test the property `format` + should("test format") { + // uncomment below to test the property + //modelInstance.format shouldBe ("TODO") + } + + // to test the property `statusCode` + should("test statusCode") { + // uncomment below to test the property + //modelInstance.statusCode shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialProofTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialProofTest.kt new file mode 100644 index 00000000000..a3fdeb09fc1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialProofTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.VerifiableCredentialProof + +class VerifiableCredentialProofTest : ShouldSpec() { + init { + // uncomment below to create an instance of VerifiableCredentialProof + //val modelInstance = VerifiableCredentialProof() + + // to test the property `jwt` + should("test jwt") { + // uncomment below to test the property + //modelInstance.jwt shouldBe ("TODO") + } + + // to test the property `proofType` + should("test proofType") { + // uncomment below to test the property + //modelInstance.proofType shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialResponseTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialResponseTest.kt new file mode 100644 index 00000000000..564d236d451 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableCredentialResponseTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.VerifiableCredentialResponse + +class VerifiableCredentialResponseTest : ShouldSpec() { + init { + // uncomment below to create an instance of VerifiableCredentialResponse + //val modelInstance = VerifiableCredentialResponse() + + // to test the property `credentialDraft00` + should("test credentialDraft00") { + // uncomment below to test the property + //modelInstance.credentialDraft00 shouldBe ("TODO") + } + + // to test the property `format` + should("test format") { + // uncomment below to test the property + //modelInstance.format shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableIdentityAddressTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableIdentityAddressTest.kt new file mode 100644 index 00000000000..8da2df0abef --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerifiableIdentityAddressTest.kt @@ -0,0 +1,77 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.VerifiableIdentityAddress + +class VerifiableIdentityAddressTest : ShouldSpec() { + init { + // uncomment below to create an instance of VerifiableIdentityAddress + //val modelInstance = VerifiableIdentityAddress() + + // to test the property `status` - VerifiableAddressStatus must not exceed 16 characters as that is the limitation in the SQL Schema + should("test status") { + // uncomment below to test the property + //modelInstance.status shouldBe ("TODO") + } + + // to test the property ``value`` - The address value example foo@user.com + should("test `value`") { + // uncomment below to test the property + //modelInstance.`value` shouldBe ("TODO") + } + + // to test the property `verified` - Indicates if the address has already been verified + should("test verified") { + // uncomment below to test the property + //modelInstance.verified shouldBe ("TODO") + } + + // to test the property `via` - The delivery method + should("test via") { + // uncomment below to test the property + //modelInstance.via shouldBe ("TODO") + } + + // to test the property `createdAt` - When this entry was created + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` - The ID + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `updatedAt` - When this entry was last updated + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `verifiedAt` + should("test verifiedAt") { + // uncomment below to test the property + //modelInstance.verifiedAt shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerificationFlowStateTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerificationFlowStateTest.kt new file mode 100644 index 00000000000..e66efcd66d3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerificationFlowStateTest.kt @@ -0,0 +1,29 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.VerificationFlowState + +class VerificationFlowStateTest : ShouldSpec() { + init { + // uncomment below to create an instance of VerificationFlowState + //val modelInstance = VerificationFlowState() + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerificationFlowTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerificationFlowTest.kt new file mode 100644 index 00000000000..da6d2a1caf8 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VerificationFlowTest.kt @@ -0,0 +1,90 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.VerificationFlow +import sh.ory.client-kotlin-multiplatform.models.UiContainer + +class VerificationFlowTest : ShouldSpec() { + init { + // uncomment below to create an instance of VerificationFlow + //val modelInstance = VerificationFlow() + + // to test the property `id` - ID represents the request's unique ID. When performing the verification flow, this represents the id in the verify ui's query parameter: http://?request= type: string format: uuid + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `state` - State represents the state of this request: choose_method: ask the user to choose a method (e.g. verify your email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the verification challenge was passed. + should("test state") { + // uncomment below to test the property + //modelInstance.state shouldBe ("TODO") + } + + // to test the property `type` - The flow type can either be `api` or `browser`. + should("test type") { + // uncomment below to test the property + //modelInstance.type shouldBe ("TODO") + } + + // to test the property `ui` + should("test ui") { + // uncomment below to test the property + //modelInstance.ui shouldBe ("TODO") + } + + // to test the property `active` - Active, if set, contains the registration method that is being used. It is initially not set. + should("test active") { + // uncomment below to test the property + //modelInstance.active shouldBe ("TODO") + } + + // to test the property `expiresAt` - ExpiresAt is the time (UTC) when the request expires. If the user still wishes to verify the address, a new request has to be initiated. + should("test expiresAt") { + // uncomment below to test the property + //modelInstance.expiresAt shouldBe ("TODO") + } + + // to test the property `issuedAt` - IssuedAt is the time (UTC) when the request occurred. + should("test issuedAt") { + // uncomment below to test the property + //modelInstance.issuedAt shouldBe ("TODO") + } + + // to test the property `requestUrl` - RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example. + should("test requestUrl") { + // uncomment below to test the property + //modelInstance.requestUrl shouldBe ("TODO") + } + + // to test the property `returnTo` - ReturnTo contains the requested return_to URL. + should("test returnTo") { + // uncomment below to test the property + //modelInstance.returnTo shouldBe ("TODO") + } + + // to test the property `transientPayload` - TransientPayload is used to pass data from the verification flow to hooks and email templates + should("test transientPayload") { + // uncomment below to test the property + //modelInstance.transientPayload shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VersionTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VersionTest.kt new file mode 100644 index 00000000000..a00c3940d8c --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/VersionTest.kt @@ -0,0 +1,35 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.Version + +class VersionTest : ShouldSpec() { + init { + // uncomment below to create an instance of Version + //val modelInstance = Version() + + // to test the property `version` - Version is the service's version. + should("test version") { + // uncomment below to test the property + //modelInstance.version shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/WarningTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/WarningTest.kt new file mode 100644 index 00000000000..b08a8596bd1 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/WarningTest.kt @@ -0,0 +1,41 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.Warning + +class WarningTest : ShouldSpec() { + init { + // uncomment below to create an instance of Warning + //val modelInstance = Warning() + + // to test the property `code` + should("test code") { + // uncomment below to test the property + //modelInstance.code shouldBe ("TODO") + } + + // to test the property `message` + should("test message") { + // uncomment below to test the property + //modelInstance.message shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/WorkspaceApiKeyTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/WorkspaceApiKeyTest.kt new file mode 100644 index 00000000000..c2f34d341c3 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/WorkspaceApiKeyTest.kt @@ -0,0 +1,77 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.WorkspaceApiKey + +class WorkspaceApiKeyTest : ShouldSpec() { + init { + // uncomment below to create an instance of WorkspaceApiKey + //val modelInstance = WorkspaceApiKey() + + // to test the property `id` - The key's ID. + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` - The API key's Name Set this to help you remember, for example, where you use the API key. + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `ownerId` - The key's owner + should("test ownerId") { + // uncomment below to test the property + //modelInstance.ownerId shouldBe ("TODO") + } + + // to test the property `createdAt` - The API key's creation date + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `expiresAt` + should("test expiresAt") { + // uncomment below to test the property + //modelInstance.expiresAt shouldBe ("TODO") + } + + // to test the property `updatedAt` - The API key's last update date + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property ``value`` - The key's value + should("test `value`") { + // uncomment below to test the property + //modelInstance.`value` shouldBe ("TODO") + } + + // to test the property `workspaceId` - The API key's workspace ID + should("test workspaceId") { + // uncomment below to test the property + //modelInstance.workspaceId shouldBe ("TODO") + } + + } +} diff --git a/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/WorkspaceTest.kt b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/WorkspaceTest.kt new file mode 100644 index 00000000000..b59f3d6c7d7 --- /dev/null +++ b/clients/client/kotlin-multiplatform/src/test/kotlin/sh/ory/client-kotlin-multiplatform/models/WorkspaceTest.kt @@ -0,0 +1,65 @@ +/** + * + * Please note: + * This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * Do not edit this file manually. + * + */ + +@file:Suppress( + "ArrayInDataClass", + "EnumEntryName", + "RemoveRedundantQualifierName", + "UnusedImport" +) + +package sh.ory.client-kotlin-multiplatform.models + +import io.kotlintest.shouldBe +import io.kotlintest.specs.ShouldSpec + +import sh.ory.client-kotlin-multiplatform.models.Workspace + +class WorkspaceTest : ShouldSpec() { + init { + // uncomment below to create an instance of Workspace + //val modelInstance = Workspace() + + // to test the property `createdAt` + should("test createdAt") { + // uncomment below to test the property + //modelInstance.createdAt shouldBe ("TODO") + } + + // to test the property `id` + should("test id") { + // uncomment below to test the property + //modelInstance.id shouldBe ("TODO") + } + + // to test the property `name` + should("test name") { + // uncomment below to test the property + //modelInstance.name shouldBe ("TODO") + } + + // to test the property `updatedAt` + should("test updatedAt") { + // uncomment below to test the property + //modelInstance.updatedAt shouldBe ("TODO") + } + + // to test the property `subscriptionId` + should("test subscriptionId") { + // uncomment below to test the property + //modelInstance.subscriptionId shouldBe ("TODO") + } + + // to test the property `subscriptionPlan` + should("test subscriptionPlan") { + // uncomment below to test the property + //modelInstance.subscriptionPlan shouldBe ("TODO") + } + + } +} diff --git a/clients/client/php/lib/Model/AccountExperienceThemeVariables.php b/clients/client/php/lib/Model/AccountExperienceThemeVariables.php new file mode 100644 index 00000000000..b747f3fe64a --- /dev/null +++ b/clients/client/php/lib/Model/AccountExperienceThemeVariables.php @@ -0,0 +1,3470 @@ + + */ +class AccountExperienceThemeVariables implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'accountExperienceThemeVariables'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'accent' => 'string', + 'bgDefault' => 'string', + 'borderRadiusBranding' => 'string', + 'borderRadiusButtons' => 'string', + 'borderRadiusCards' => 'string', + 'borderRadiusForms' => 'string', + 'borderRadiusGeneral' => 'string', + 'buttonPrimaryBgDefault' => 'string', + 'buttonPrimaryBgDisabled' => 'string', + 'buttonPrimaryBgHover' => 'string', + 'buttonPrimaryBorderDefault' => 'string', + 'buttonPrimaryBorderDisabled' => 'string', + 'buttonPrimaryBorderHover' => 'string', + 'buttonPrimaryFgDefault' => 'string', + 'buttonPrimaryFgDisabled' => 'string', + 'buttonPrimaryFgHover' => 'string', + 'buttonSecondaryBgDefault' => 'string', + 'buttonSecondaryBgDisabled' => 'string', + 'buttonSecondaryBgHover' => 'string', + 'buttonSecondaryBorderDefault' => 'string', + 'buttonSecondaryBorderDisabled' => 'string', + 'buttonSecondaryBorderHover' => 'string', + 'buttonSecondaryFgDefault' => 'string', + 'buttonSecondaryFgDisabled' => 'string', + 'buttonSecondaryFgHover' => 'string', + 'buttonSocialBgDefault' => 'string', + 'buttonSocialBgDisabled' => 'string', + 'buttonSocialBgHover' => 'string', + 'buttonSocialBgProvider' => 'string', + 'buttonSocialBorderDefault' => 'string', + 'buttonSocialBorderDisabled' => 'string', + 'buttonSocialBorderHover' => 'string', + 'buttonSocialBorderProvider' => 'string', + 'buttonSocialFgDefault' => 'string', + 'buttonSocialFgDisabled' => 'string', + 'buttonSocialFgHover' => 'string', + 'buttonSocialFgProvider' => 'string', + 'createdAt' => '\DateTime', + 'dialogBgDefault' => 'string', + 'dialogBgSubtle' => 'string', + 'dialogBorderDefault' => 'string', + 'dialogFgDefault' => 'string', + 'dialogFgMute' => 'string', + 'dialogFgSubtle' => 'string', + 'formsBgDefault' => 'string', + 'formsBgDisabled' => 'string', + 'formsBgHover' => 'string', + 'formsBorderDefault' => 'string', + 'formsBorderDisabled' => 'string', + 'formsBorderError' => 'string', + 'formsBorderFocus' => 'string', + 'formsBorderHover' => 'string', + 'formsBorderSuccess' => 'string', + 'formsBorderWarn' => 'string', + 'formsCheckboxBgChecked' => 'string', + 'formsCheckboxBgDefault' => 'string', + 'formsCheckboxBorderChecked' => 'string', + 'formsCheckboxBorderDefault' => 'string', + 'formsCheckboxFgChecked' => 'string', + 'formsCheckboxFgDefault' => 'string', + 'formsFgDefault' => 'string', + 'formsFgError' => 'string', + 'formsFgMute' => 'string', + 'formsFgSubtle' => 'string', + 'formsFgSuccess' => 'string', + 'formsFgWarn' => 'string', + 'formsRadioBgChecked' => 'string', + 'formsRadioBgDefault' => 'string', + 'formsRadioBorderChecked' => 'string', + 'formsRadioBorderDefault' => 'string', + 'formsRadioFgChecked' => 'string', + 'formsRadioFgDefault' => 'string', + 'formsToggleBgChecked' => 'string', + 'formsToggleBgDefault' => 'string', + 'formsToggleBorderChecked' => 'string', + 'formsToggleBorderDefault' => 'string', + 'formsToggleFgChecked' => 'string', + 'formsToggleFgDefault' => 'string', + 'id' => 'string', + 'linksLinkDefault' => 'string', + 'linksLinkDisabled' => 'string', + 'linksLinkHover' => 'string', + 'linksLinkInvertedDefault' => 'string', + 'linksLinkInvertedHover' => 'string', + 'linksLinkMuteDefault' => 'string', + 'linksLinkMuteHover' => 'string', + 'syntaxSyntax' => 'string', + 'syntaxSyntaxKey' => 'string', + 'syntaxSyntaxNum' => 'string', + 'syntaxSyntaxValue' => 'string', + 'updatedAt' => '\DateTime' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'accent' => null, + 'bgDefault' => null, + 'borderRadiusBranding' => null, + 'borderRadiusButtons' => null, + 'borderRadiusCards' => null, + 'borderRadiusForms' => null, + 'borderRadiusGeneral' => null, + 'buttonPrimaryBgDefault' => null, + 'buttonPrimaryBgDisabled' => null, + 'buttonPrimaryBgHover' => null, + 'buttonPrimaryBorderDefault' => null, + 'buttonPrimaryBorderDisabled' => null, + 'buttonPrimaryBorderHover' => null, + 'buttonPrimaryFgDefault' => null, + 'buttonPrimaryFgDisabled' => null, + 'buttonPrimaryFgHover' => null, + 'buttonSecondaryBgDefault' => null, + 'buttonSecondaryBgDisabled' => null, + 'buttonSecondaryBgHover' => null, + 'buttonSecondaryBorderDefault' => null, + 'buttonSecondaryBorderDisabled' => null, + 'buttonSecondaryBorderHover' => null, + 'buttonSecondaryFgDefault' => null, + 'buttonSecondaryFgDisabled' => null, + 'buttonSecondaryFgHover' => null, + 'buttonSocialBgDefault' => null, + 'buttonSocialBgDisabled' => null, + 'buttonSocialBgHover' => null, + 'buttonSocialBgProvider' => null, + 'buttonSocialBorderDefault' => null, + 'buttonSocialBorderDisabled' => null, + 'buttonSocialBorderHover' => null, + 'buttonSocialBorderProvider' => null, + 'buttonSocialFgDefault' => null, + 'buttonSocialFgDisabled' => null, + 'buttonSocialFgHover' => null, + 'buttonSocialFgProvider' => null, + 'createdAt' => 'date-time', + 'dialogBgDefault' => null, + 'dialogBgSubtle' => null, + 'dialogBorderDefault' => null, + 'dialogFgDefault' => null, + 'dialogFgMute' => null, + 'dialogFgSubtle' => null, + 'formsBgDefault' => null, + 'formsBgDisabled' => null, + 'formsBgHover' => null, + 'formsBorderDefault' => null, + 'formsBorderDisabled' => null, + 'formsBorderError' => null, + 'formsBorderFocus' => null, + 'formsBorderHover' => null, + 'formsBorderSuccess' => null, + 'formsBorderWarn' => null, + 'formsCheckboxBgChecked' => null, + 'formsCheckboxBgDefault' => null, + 'formsCheckboxBorderChecked' => null, + 'formsCheckboxBorderDefault' => null, + 'formsCheckboxFgChecked' => null, + 'formsCheckboxFgDefault' => null, + 'formsFgDefault' => null, + 'formsFgError' => null, + 'formsFgMute' => null, + 'formsFgSubtle' => null, + 'formsFgSuccess' => null, + 'formsFgWarn' => null, + 'formsRadioBgChecked' => null, + 'formsRadioBgDefault' => null, + 'formsRadioBorderChecked' => null, + 'formsRadioBorderDefault' => null, + 'formsRadioFgChecked' => null, + 'formsRadioFgDefault' => null, + 'formsToggleBgChecked' => null, + 'formsToggleBgDefault' => null, + 'formsToggleBorderChecked' => null, + 'formsToggleBorderDefault' => null, + 'formsToggleFgChecked' => null, + 'formsToggleFgDefault' => null, + 'id' => 'uuid', + 'linksLinkDefault' => null, + 'linksLinkDisabled' => null, + 'linksLinkHover' => null, + 'linksLinkInvertedDefault' => null, + 'linksLinkInvertedHover' => null, + 'linksLinkMuteDefault' => null, + 'linksLinkMuteHover' => null, + 'syntaxSyntax' => null, + 'syntaxSyntaxKey' => null, + 'syntaxSyntaxNum' => null, + 'syntaxSyntaxValue' => null, + 'updatedAt' => 'date-time' + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'accent' => false, + 'bgDefault' => false, + 'borderRadiusBranding' => false, + 'borderRadiusButtons' => false, + 'borderRadiusCards' => false, + 'borderRadiusForms' => false, + 'borderRadiusGeneral' => false, + 'buttonPrimaryBgDefault' => false, + 'buttonPrimaryBgDisabled' => false, + 'buttonPrimaryBgHover' => false, + 'buttonPrimaryBorderDefault' => false, + 'buttonPrimaryBorderDisabled' => false, + 'buttonPrimaryBorderHover' => false, + 'buttonPrimaryFgDefault' => false, + 'buttonPrimaryFgDisabled' => false, + 'buttonPrimaryFgHover' => false, + 'buttonSecondaryBgDefault' => false, + 'buttonSecondaryBgDisabled' => false, + 'buttonSecondaryBgHover' => false, + 'buttonSecondaryBorderDefault' => false, + 'buttonSecondaryBorderDisabled' => false, + 'buttonSecondaryBorderHover' => false, + 'buttonSecondaryFgDefault' => false, + 'buttonSecondaryFgDisabled' => false, + 'buttonSecondaryFgHover' => false, + 'buttonSocialBgDefault' => false, + 'buttonSocialBgDisabled' => false, + 'buttonSocialBgHover' => false, + 'buttonSocialBgProvider' => false, + 'buttonSocialBorderDefault' => false, + 'buttonSocialBorderDisabled' => false, + 'buttonSocialBorderHover' => false, + 'buttonSocialBorderProvider' => false, + 'buttonSocialFgDefault' => false, + 'buttonSocialFgDisabled' => false, + 'buttonSocialFgHover' => false, + 'buttonSocialFgProvider' => false, + 'createdAt' => false, + 'dialogBgDefault' => false, + 'dialogBgSubtle' => false, + 'dialogBorderDefault' => false, + 'dialogFgDefault' => false, + 'dialogFgMute' => false, + 'dialogFgSubtle' => false, + 'formsBgDefault' => false, + 'formsBgDisabled' => false, + 'formsBgHover' => false, + 'formsBorderDefault' => false, + 'formsBorderDisabled' => false, + 'formsBorderError' => false, + 'formsBorderFocus' => false, + 'formsBorderHover' => false, + 'formsBorderSuccess' => false, + 'formsBorderWarn' => false, + 'formsCheckboxBgChecked' => false, + 'formsCheckboxBgDefault' => false, + 'formsCheckboxBorderChecked' => false, + 'formsCheckboxBorderDefault' => false, + 'formsCheckboxFgChecked' => false, + 'formsCheckboxFgDefault' => false, + 'formsFgDefault' => false, + 'formsFgError' => false, + 'formsFgMute' => false, + 'formsFgSubtle' => false, + 'formsFgSuccess' => false, + 'formsFgWarn' => false, + 'formsRadioBgChecked' => false, + 'formsRadioBgDefault' => false, + 'formsRadioBorderChecked' => false, + 'formsRadioBorderDefault' => false, + 'formsRadioFgChecked' => false, + 'formsRadioFgDefault' => false, + 'formsToggleBgChecked' => false, + 'formsToggleBgDefault' => false, + 'formsToggleBorderChecked' => false, + 'formsToggleBorderDefault' => false, + 'formsToggleFgChecked' => false, + 'formsToggleFgDefault' => false, + 'id' => false, + 'linksLinkDefault' => false, + 'linksLinkDisabled' => false, + 'linksLinkHover' => false, + 'linksLinkInvertedDefault' => false, + 'linksLinkInvertedHover' => false, + 'linksLinkMuteDefault' => false, + 'linksLinkMuteHover' => false, + 'syntaxSyntax' => false, + 'syntaxSyntaxKey' => false, + 'syntaxSyntaxNum' => false, + 'syntaxSyntaxValue' => false, + 'updatedAt' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'accent' => 'accent', + 'bgDefault' => 'bg-default', + 'borderRadiusBranding' => 'border-radius-branding', + 'borderRadiusButtons' => 'border-radius-buttons', + 'borderRadiusCards' => 'border-radius-cards', + 'borderRadiusForms' => 'border-radius-forms', + 'borderRadiusGeneral' => 'border-radius-general', + 'buttonPrimaryBgDefault' => 'button-primary-bg-default', + 'buttonPrimaryBgDisabled' => 'button-primary-bg-disabled', + 'buttonPrimaryBgHover' => 'button-primary-bg-hover', + 'buttonPrimaryBorderDefault' => 'button-primary-border-default', + 'buttonPrimaryBorderDisabled' => 'button-primary-border-disabled', + 'buttonPrimaryBorderHover' => 'button-primary-border-hover', + 'buttonPrimaryFgDefault' => 'button-primary-fg-default', + 'buttonPrimaryFgDisabled' => 'button-primary-fg-disabled', + 'buttonPrimaryFgHover' => 'button-primary-fg-hover', + 'buttonSecondaryBgDefault' => 'button-secondary-bg-default', + 'buttonSecondaryBgDisabled' => 'button-secondary-bg-disabled', + 'buttonSecondaryBgHover' => 'button-secondary-bg-hover', + 'buttonSecondaryBorderDefault' => 'button-secondary-border-default', + 'buttonSecondaryBorderDisabled' => 'button-secondary-border-disabled', + 'buttonSecondaryBorderHover' => 'button-secondary-border-hover', + 'buttonSecondaryFgDefault' => 'button-secondary-fg-default', + 'buttonSecondaryFgDisabled' => 'button-secondary-fg-disabled', + 'buttonSecondaryFgHover' => 'button-secondary-fg-hover', + 'buttonSocialBgDefault' => 'button-social-bg-default', + 'buttonSocialBgDisabled' => 'button-social-bg-disabled', + 'buttonSocialBgHover' => 'button-social-bg-hover', + 'buttonSocialBgProvider' => 'button-social-bg-provider', + 'buttonSocialBorderDefault' => 'button-social-border-default', + 'buttonSocialBorderDisabled' => 'button-social-border-disabled', + 'buttonSocialBorderHover' => 'button-social-border-hover', + 'buttonSocialBorderProvider' => 'button-social-border-provider', + 'buttonSocialFgDefault' => 'button-social-fg-default', + 'buttonSocialFgDisabled' => 'button-social-fg-disabled', + 'buttonSocialFgHover' => 'button-social-fg-hover', + 'buttonSocialFgProvider' => 'button-social-fg-provider', + 'createdAt' => 'created_at', + 'dialogBgDefault' => 'dialog-bg-default', + 'dialogBgSubtle' => 'dialog-bg-subtle', + 'dialogBorderDefault' => 'dialog-border-default', + 'dialogFgDefault' => 'dialog-fg-default', + 'dialogFgMute' => 'dialog-fg-mute', + 'dialogFgSubtle' => 'dialog-fg-subtle', + 'formsBgDefault' => 'forms-bg-default', + 'formsBgDisabled' => 'forms-bg-disabled', + 'formsBgHover' => 'forms-bg-hover', + 'formsBorderDefault' => 'forms-border-default', + 'formsBorderDisabled' => 'forms-border-disabled', + 'formsBorderError' => 'forms-border-error', + 'formsBorderFocus' => 'forms-border-focus', + 'formsBorderHover' => 'forms-border-hover', + 'formsBorderSuccess' => 'forms-border-success', + 'formsBorderWarn' => 'forms-border-warn', + 'formsCheckboxBgChecked' => 'forms-checkbox-bg-checked', + 'formsCheckboxBgDefault' => 'forms-checkbox-bg-default', + 'formsCheckboxBorderChecked' => 'forms-checkbox-border-checked', + 'formsCheckboxBorderDefault' => 'forms-checkbox-border-default', + 'formsCheckboxFgChecked' => 'forms-checkbox-fg-checked', + 'formsCheckboxFgDefault' => 'forms-checkbox-fg-default', + 'formsFgDefault' => 'forms-fg-default', + 'formsFgError' => 'forms-fg-error', + 'formsFgMute' => 'forms-fg-mute', + 'formsFgSubtle' => 'forms-fg-subtle', + 'formsFgSuccess' => 'forms-fg-success', + 'formsFgWarn' => 'forms-fg-warn', + 'formsRadioBgChecked' => 'forms-radio-bg-checked', + 'formsRadioBgDefault' => 'forms-radio-bg-default', + 'formsRadioBorderChecked' => 'forms-radio-border-checked', + 'formsRadioBorderDefault' => 'forms-radio-border-default', + 'formsRadioFgChecked' => 'forms-radio-fg-checked', + 'formsRadioFgDefault' => 'forms-radio-fg-default', + 'formsToggleBgChecked' => 'forms-toggle-bg-checked', + 'formsToggleBgDefault' => 'forms-toggle-bg-default', + 'formsToggleBorderChecked' => 'forms-toggle-border-checked', + 'formsToggleBorderDefault' => 'forms-toggle-border-default', + 'formsToggleFgChecked' => 'forms-toggle-fg-checked', + 'formsToggleFgDefault' => 'forms-toggle-fg-default', + 'id' => 'id', + 'linksLinkDefault' => 'links-link-default', + 'linksLinkDisabled' => 'links-link-disabled', + 'linksLinkHover' => 'links-link-hover', + 'linksLinkInvertedDefault' => 'links-link-inverted-default', + 'linksLinkInvertedHover' => 'links-link-inverted-hover', + 'linksLinkMuteDefault' => 'links-link-mute-default', + 'linksLinkMuteHover' => 'links-link-mute-hover', + 'syntaxSyntax' => 'syntax-syntax', + 'syntaxSyntaxKey' => 'syntax-syntax-key', + 'syntaxSyntaxNum' => 'syntax-syntax-num', + 'syntaxSyntaxValue' => 'syntax-syntax-value', + 'updatedAt' => 'updated_at' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'accent' => 'setAccent', + 'bgDefault' => 'setBgDefault', + 'borderRadiusBranding' => 'setBorderRadiusBranding', + 'borderRadiusButtons' => 'setBorderRadiusButtons', + 'borderRadiusCards' => 'setBorderRadiusCards', + 'borderRadiusForms' => 'setBorderRadiusForms', + 'borderRadiusGeneral' => 'setBorderRadiusGeneral', + 'buttonPrimaryBgDefault' => 'setButtonPrimaryBgDefault', + 'buttonPrimaryBgDisabled' => 'setButtonPrimaryBgDisabled', + 'buttonPrimaryBgHover' => 'setButtonPrimaryBgHover', + 'buttonPrimaryBorderDefault' => 'setButtonPrimaryBorderDefault', + 'buttonPrimaryBorderDisabled' => 'setButtonPrimaryBorderDisabled', + 'buttonPrimaryBorderHover' => 'setButtonPrimaryBorderHover', + 'buttonPrimaryFgDefault' => 'setButtonPrimaryFgDefault', + 'buttonPrimaryFgDisabled' => 'setButtonPrimaryFgDisabled', + 'buttonPrimaryFgHover' => 'setButtonPrimaryFgHover', + 'buttonSecondaryBgDefault' => 'setButtonSecondaryBgDefault', + 'buttonSecondaryBgDisabled' => 'setButtonSecondaryBgDisabled', + 'buttonSecondaryBgHover' => 'setButtonSecondaryBgHover', + 'buttonSecondaryBorderDefault' => 'setButtonSecondaryBorderDefault', + 'buttonSecondaryBorderDisabled' => 'setButtonSecondaryBorderDisabled', + 'buttonSecondaryBorderHover' => 'setButtonSecondaryBorderHover', + 'buttonSecondaryFgDefault' => 'setButtonSecondaryFgDefault', + 'buttonSecondaryFgDisabled' => 'setButtonSecondaryFgDisabled', + 'buttonSecondaryFgHover' => 'setButtonSecondaryFgHover', + 'buttonSocialBgDefault' => 'setButtonSocialBgDefault', + 'buttonSocialBgDisabled' => 'setButtonSocialBgDisabled', + 'buttonSocialBgHover' => 'setButtonSocialBgHover', + 'buttonSocialBgProvider' => 'setButtonSocialBgProvider', + 'buttonSocialBorderDefault' => 'setButtonSocialBorderDefault', + 'buttonSocialBorderDisabled' => 'setButtonSocialBorderDisabled', + 'buttonSocialBorderHover' => 'setButtonSocialBorderHover', + 'buttonSocialBorderProvider' => 'setButtonSocialBorderProvider', + 'buttonSocialFgDefault' => 'setButtonSocialFgDefault', + 'buttonSocialFgDisabled' => 'setButtonSocialFgDisabled', + 'buttonSocialFgHover' => 'setButtonSocialFgHover', + 'buttonSocialFgProvider' => 'setButtonSocialFgProvider', + 'createdAt' => 'setCreatedAt', + 'dialogBgDefault' => 'setDialogBgDefault', + 'dialogBgSubtle' => 'setDialogBgSubtle', + 'dialogBorderDefault' => 'setDialogBorderDefault', + 'dialogFgDefault' => 'setDialogFgDefault', + 'dialogFgMute' => 'setDialogFgMute', + 'dialogFgSubtle' => 'setDialogFgSubtle', + 'formsBgDefault' => 'setFormsBgDefault', + 'formsBgDisabled' => 'setFormsBgDisabled', + 'formsBgHover' => 'setFormsBgHover', + 'formsBorderDefault' => 'setFormsBorderDefault', + 'formsBorderDisabled' => 'setFormsBorderDisabled', + 'formsBorderError' => 'setFormsBorderError', + 'formsBorderFocus' => 'setFormsBorderFocus', + 'formsBorderHover' => 'setFormsBorderHover', + 'formsBorderSuccess' => 'setFormsBorderSuccess', + 'formsBorderWarn' => 'setFormsBorderWarn', + 'formsCheckboxBgChecked' => 'setFormsCheckboxBgChecked', + 'formsCheckboxBgDefault' => 'setFormsCheckboxBgDefault', + 'formsCheckboxBorderChecked' => 'setFormsCheckboxBorderChecked', + 'formsCheckboxBorderDefault' => 'setFormsCheckboxBorderDefault', + 'formsCheckboxFgChecked' => 'setFormsCheckboxFgChecked', + 'formsCheckboxFgDefault' => 'setFormsCheckboxFgDefault', + 'formsFgDefault' => 'setFormsFgDefault', + 'formsFgError' => 'setFormsFgError', + 'formsFgMute' => 'setFormsFgMute', + 'formsFgSubtle' => 'setFormsFgSubtle', + 'formsFgSuccess' => 'setFormsFgSuccess', + 'formsFgWarn' => 'setFormsFgWarn', + 'formsRadioBgChecked' => 'setFormsRadioBgChecked', + 'formsRadioBgDefault' => 'setFormsRadioBgDefault', + 'formsRadioBorderChecked' => 'setFormsRadioBorderChecked', + 'formsRadioBorderDefault' => 'setFormsRadioBorderDefault', + 'formsRadioFgChecked' => 'setFormsRadioFgChecked', + 'formsRadioFgDefault' => 'setFormsRadioFgDefault', + 'formsToggleBgChecked' => 'setFormsToggleBgChecked', + 'formsToggleBgDefault' => 'setFormsToggleBgDefault', + 'formsToggleBorderChecked' => 'setFormsToggleBorderChecked', + 'formsToggleBorderDefault' => 'setFormsToggleBorderDefault', + 'formsToggleFgChecked' => 'setFormsToggleFgChecked', + 'formsToggleFgDefault' => 'setFormsToggleFgDefault', + 'id' => 'setId', + 'linksLinkDefault' => 'setLinksLinkDefault', + 'linksLinkDisabled' => 'setLinksLinkDisabled', + 'linksLinkHover' => 'setLinksLinkHover', + 'linksLinkInvertedDefault' => 'setLinksLinkInvertedDefault', + 'linksLinkInvertedHover' => 'setLinksLinkInvertedHover', + 'linksLinkMuteDefault' => 'setLinksLinkMuteDefault', + 'linksLinkMuteHover' => 'setLinksLinkMuteHover', + 'syntaxSyntax' => 'setSyntaxSyntax', + 'syntaxSyntaxKey' => 'setSyntaxSyntaxKey', + 'syntaxSyntaxNum' => 'setSyntaxSyntaxNum', + 'syntaxSyntaxValue' => 'setSyntaxSyntaxValue', + 'updatedAt' => 'setUpdatedAt' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'accent' => 'getAccent', + 'bgDefault' => 'getBgDefault', + 'borderRadiusBranding' => 'getBorderRadiusBranding', + 'borderRadiusButtons' => 'getBorderRadiusButtons', + 'borderRadiusCards' => 'getBorderRadiusCards', + 'borderRadiusForms' => 'getBorderRadiusForms', + 'borderRadiusGeneral' => 'getBorderRadiusGeneral', + 'buttonPrimaryBgDefault' => 'getButtonPrimaryBgDefault', + 'buttonPrimaryBgDisabled' => 'getButtonPrimaryBgDisabled', + 'buttonPrimaryBgHover' => 'getButtonPrimaryBgHover', + 'buttonPrimaryBorderDefault' => 'getButtonPrimaryBorderDefault', + 'buttonPrimaryBorderDisabled' => 'getButtonPrimaryBorderDisabled', + 'buttonPrimaryBorderHover' => 'getButtonPrimaryBorderHover', + 'buttonPrimaryFgDefault' => 'getButtonPrimaryFgDefault', + 'buttonPrimaryFgDisabled' => 'getButtonPrimaryFgDisabled', + 'buttonPrimaryFgHover' => 'getButtonPrimaryFgHover', + 'buttonSecondaryBgDefault' => 'getButtonSecondaryBgDefault', + 'buttonSecondaryBgDisabled' => 'getButtonSecondaryBgDisabled', + 'buttonSecondaryBgHover' => 'getButtonSecondaryBgHover', + 'buttonSecondaryBorderDefault' => 'getButtonSecondaryBorderDefault', + 'buttonSecondaryBorderDisabled' => 'getButtonSecondaryBorderDisabled', + 'buttonSecondaryBorderHover' => 'getButtonSecondaryBorderHover', + 'buttonSecondaryFgDefault' => 'getButtonSecondaryFgDefault', + 'buttonSecondaryFgDisabled' => 'getButtonSecondaryFgDisabled', + 'buttonSecondaryFgHover' => 'getButtonSecondaryFgHover', + 'buttonSocialBgDefault' => 'getButtonSocialBgDefault', + 'buttonSocialBgDisabled' => 'getButtonSocialBgDisabled', + 'buttonSocialBgHover' => 'getButtonSocialBgHover', + 'buttonSocialBgProvider' => 'getButtonSocialBgProvider', + 'buttonSocialBorderDefault' => 'getButtonSocialBorderDefault', + 'buttonSocialBorderDisabled' => 'getButtonSocialBorderDisabled', + 'buttonSocialBorderHover' => 'getButtonSocialBorderHover', + 'buttonSocialBorderProvider' => 'getButtonSocialBorderProvider', + 'buttonSocialFgDefault' => 'getButtonSocialFgDefault', + 'buttonSocialFgDisabled' => 'getButtonSocialFgDisabled', + 'buttonSocialFgHover' => 'getButtonSocialFgHover', + 'buttonSocialFgProvider' => 'getButtonSocialFgProvider', + 'createdAt' => 'getCreatedAt', + 'dialogBgDefault' => 'getDialogBgDefault', + 'dialogBgSubtle' => 'getDialogBgSubtle', + 'dialogBorderDefault' => 'getDialogBorderDefault', + 'dialogFgDefault' => 'getDialogFgDefault', + 'dialogFgMute' => 'getDialogFgMute', + 'dialogFgSubtle' => 'getDialogFgSubtle', + 'formsBgDefault' => 'getFormsBgDefault', + 'formsBgDisabled' => 'getFormsBgDisabled', + 'formsBgHover' => 'getFormsBgHover', + 'formsBorderDefault' => 'getFormsBorderDefault', + 'formsBorderDisabled' => 'getFormsBorderDisabled', + 'formsBorderError' => 'getFormsBorderError', + 'formsBorderFocus' => 'getFormsBorderFocus', + 'formsBorderHover' => 'getFormsBorderHover', + 'formsBorderSuccess' => 'getFormsBorderSuccess', + 'formsBorderWarn' => 'getFormsBorderWarn', + 'formsCheckboxBgChecked' => 'getFormsCheckboxBgChecked', + 'formsCheckboxBgDefault' => 'getFormsCheckboxBgDefault', + 'formsCheckboxBorderChecked' => 'getFormsCheckboxBorderChecked', + 'formsCheckboxBorderDefault' => 'getFormsCheckboxBorderDefault', + 'formsCheckboxFgChecked' => 'getFormsCheckboxFgChecked', + 'formsCheckboxFgDefault' => 'getFormsCheckboxFgDefault', + 'formsFgDefault' => 'getFormsFgDefault', + 'formsFgError' => 'getFormsFgError', + 'formsFgMute' => 'getFormsFgMute', + 'formsFgSubtle' => 'getFormsFgSubtle', + 'formsFgSuccess' => 'getFormsFgSuccess', + 'formsFgWarn' => 'getFormsFgWarn', + 'formsRadioBgChecked' => 'getFormsRadioBgChecked', + 'formsRadioBgDefault' => 'getFormsRadioBgDefault', + 'formsRadioBorderChecked' => 'getFormsRadioBorderChecked', + 'formsRadioBorderDefault' => 'getFormsRadioBorderDefault', + 'formsRadioFgChecked' => 'getFormsRadioFgChecked', + 'formsRadioFgDefault' => 'getFormsRadioFgDefault', + 'formsToggleBgChecked' => 'getFormsToggleBgChecked', + 'formsToggleBgDefault' => 'getFormsToggleBgDefault', + 'formsToggleBorderChecked' => 'getFormsToggleBorderChecked', + 'formsToggleBorderDefault' => 'getFormsToggleBorderDefault', + 'formsToggleFgChecked' => 'getFormsToggleFgChecked', + 'formsToggleFgDefault' => 'getFormsToggleFgDefault', + 'id' => 'getId', + 'linksLinkDefault' => 'getLinksLinkDefault', + 'linksLinkDisabled' => 'getLinksLinkDisabled', + 'linksLinkHover' => 'getLinksLinkHover', + 'linksLinkInvertedDefault' => 'getLinksLinkInvertedDefault', + 'linksLinkInvertedHover' => 'getLinksLinkInvertedHover', + 'linksLinkMuteDefault' => 'getLinksLinkMuteDefault', + 'linksLinkMuteHover' => 'getLinksLinkMuteHover', + 'syntaxSyntax' => 'getSyntaxSyntax', + 'syntaxSyntaxKey' => 'getSyntaxSyntaxKey', + 'syntaxSyntaxNum' => 'getSyntaxSyntaxNum', + 'syntaxSyntaxValue' => 'getSyntaxSyntaxValue', + 'updatedAt' => 'getUpdatedAt' + ]; + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @return array + */ + public static function attributeMap() + { + return self::$attributeMap; + } + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @return array + */ + public static function setters() + { + return self::$setters; + } + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @return array + */ + public static function getters() + { + return self::$getters; + } + + /** + * The original name of the model. + * + * @return string + */ + public function getModelName() + { + return self::$openAPIModelName; + } + + + /** + * Associative array for storing property values + * + * @var mixed[] + */ + protected $container = []; + + /** + * Constructor + * + * @param mixed[] $data Associated array of property values + * initializing the model + */ + public function __construct(array $data = null) + { + $this->setIfExists('accent', $data ?? [], null); + $this->setIfExists('bgDefault', $data ?? [], null); + $this->setIfExists('borderRadiusBranding', $data ?? [], null); + $this->setIfExists('borderRadiusButtons', $data ?? [], null); + $this->setIfExists('borderRadiusCards', $data ?? [], null); + $this->setIfExists('borderRadiusForms', $data ?? [], null); + $this->setIfExists('borderRadiusGeneral', $data ?? [], null); + $this->setIfExists('buttonPrimaryBgDefault', $data ?? [], null); + $this->setIfExists('buttonPrimaryBgDisabled', $data ?? [], null); + $this->setIfExists('buttonPrimaryBgHover', $data ?? [], null); + $this->setIfExists('buttonPrimaryBorderDefault', $data ?? [], null); + $this->setIfExists('buttonPrimaryBorderDisabled', $data ?? [], null); + $this->setIfExists('buttonPrimaryBorderHover', $data ?? [], null); + $this->setIfExists('buttonPrimaryFgDefault', $data ?? [], null); + $this->setIfExists('buttonPrimaryFgDisabled', $data ?? [], null); + $this->setIfExists('buttonPrimaryFgHover', $data ?? [], null); + $this->setIfExists('buttonSecondaryBgDefault', $data ?? [], null); + $this->setIfExists('buttonSecondaryBgDisabled', $data ?? [], null); + $this->setIfExists('buttonSecondaryBgHover', $data ?? [], null); + $this->setIfExists('buttonSecondaryBorderDefault', $data ?? [], null); + $this->setIfExists('buttonSecondaryBorderDisabled', $data ?? [], null); + $this->setIfExists('buttonSecondaryBorderHover', $data ?? [], null); + $this->setIfExists('buttonSecondaryFgDefault', $data ?? [], null); + $this->setIfExists('buttonSecondaryFgDisabled', $data ?? [], null); + $this->setIfExists('buttonSecondaryFgHover', $data ?? [], null); + $this->setIfExists('buttonSocialBgDefault', $data ?? [], null); + $this->setIfExists('buttonSocialBgDisabled', $data ?? [], null); + $this->setIfExists('buttonSocialBgHover', $data ?? [], null); + $this->setIfExists('buttonSocialBgProvider', $data ?? [], null); + $this->setIfExists('buttonSocialBorderDefault', $data ?? [], null); + $this->setIfExists('buttonSocialBorderDisabled', $data ?? [], null); + $this->setIfExists('buttonSocialBorderHover', $data ?? [], null); + $this->setIfExists('buttonSocialBorderProvider', $data ?? [], null); + $this->setIfExists('buttonSocialFgDefault', $data ?? [], null); + $this->setIfExists('buttonSocialFgDisabled', $data ?? [], null); + $this->setIfExists('buttonSocialFgHover', $data ?? [], null); + $this->setIfExists('buttonSocialFgProvider', $data ?? [], null); + $this->setIfExists('createdAt', $data ?? [], null); + $this->setIfExists('dialogBgDefault', $data ?? [], null); + $this->setIfExists('dialogBgSubtle', $data ?? [], null); + $this->setIfExists('dialogBorderDefault', $data ?? [], null); + $this->setIfExists('dialogFgDefault', $data ?? [], null); + $this->setIfExists('dialogFgMute', $data ?? [], null); + $this->setIfExists('dialogFgSubtle', $data ?? [], null); + $this->setIfExists('formsBgDefault', $data ?? [], null); + $this->setIfExists('formsBgDisabled', $data ?? [], null); + $this->setIfExists('formsBgHover', $data ?? [], null); + $this->setIfExists('formsBorderDefault', $data ?? [], null); + $this->setIfExists('formsBorderDisabled', $data ?? [], null); + $this->setIfExists('formsBorderError', $data ?? [], null); + $this->setIfExists('formsBorderFocus', $data ?? [], null); + $this->setIfExists('formsBorderHover', $data ?? [], null); + $this->setIfExists('formsBorderSuccess', $data ?? [], null); + $this->setIfExists('formsBorderWarn', $data ?? [], null); + $this->setIfExists('formsCheckboxBgChecked', $data ?? [], null); + $this->setIfExists('formsCheckboxBgDefault', $data ?? [], null); + $this->setIfExists('formsCheckboxBorderChecked', $data ?? [], null); + $this->setIfExists('formsCheckboxBorderDefault', $data ?? [], null); + $this->setIfExists('formsCheckboxFgChecked', $data ?? [], null); + $this->setIfExists('formsCheckboxFgDefault', $data ?? [], null); + $this->setIfExists('formsFgDefault', $data ?? [], null); + $this->setIfExists('formsFgError', $data ?? [], null); + $this->setIfExists('formsFgMute', $data ?? [], null); + $this->setIfExists('formsFgSubtle', $data ?? [], null); + $this->setIfExists('formsFgSuccess', $data ?? [], null); + $this->setIfExists('formsFgWarn', $data ?? [], null); + $this->setIfExists('formsRadioBgChecked', $data ?? [], null); + $this->setIfExists('formsRadioBgDefault', $data ?? [], null); + $this->setIfExists('formsRadioBorderChecked', $data ?? [], null); + $this->setIfExists('formsRadioBorderDefault', $data ?? [], null); + $this->setIfExists('formsRadioFgChecked', $data ?? [], null); + $this->setIfExists('formsRadioFgDefault', $data ?? [], null); + $this->setIfExists('formsToggleBgChecked', $data ?? [], null); + $this->setIfExists('formsToggleBgDefault', $data ?? [], null); + $this->setIfExists('formsToggleBorderChecked', $data ?? [], null); + $this->setIfExists('formsToggleBorderDefault', $data ?? [], null); + $this->setIfExists('formsToggleFgChecked', $data ?? [], null); + $this->setIfExists('formsToggleFgDefault', $data ?? [], null); + $this->setIfExists('id', $data ?? [], null); + $this->setIfExists('linksLinkDefault', $data ?? [], null); + $this->setIfExists('linksLinkDisabled', $data ?? [], null); + $this->setIfExists('linksLinkHover', $data ?? [], null); + $this->setIfExists('linksLinkInvertedDefault', $data ?? [], null); + $this->setIfExists('linksLinkInvertedHover', $data ?? [], null); + $this->setIfExists('linksLinkMuteDefault', $data ?? [], null); + $this->setIfExists('linksLinkMuteHover', $data ?? [], null); + $this->setIfExists('syntaxSyntax', $data ?? [], null); + $this->setIfExists('syntaxSyntaxKey', $data ?? [], null); + $this->setIfExists('syntaxSyntaxNum', $data ?? [], null); + $this->setIfExists('syntaxSyntaxValue', $data ?? [], null); + $this->setIfExists('updatedAt', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + return $invalidProperties; + } + + /** + * Validate all the properties in the model + * return true if all passed + * + * @return bool True if all properties are valid + */ + public function valid() + { + return count($this->listInvalidProperties()) === 0; + } + + + /** + * Gets accent + * + * @return string|null + */ + public function getAccent() + { + return $this->container['accent']; + } + + /** + * Sets accent + * + * @param string|null $accent accent + * + * @return self + */ + public function setAccent($accent) + { + if (is_null($accent)) { + throw new \InvalidArgumentException('non-nullable accent cannot be null'); + } + $this->container['accent'] = $accent; + + return $this; + } + + /** + * Gets bgDefault + * + * @return string|null + */ + public function getBgDefault() + { + return $this->container['bgDefault']; + } + + /** + * Sets bgDefault + * + * @param string|null $bgDefault bgDefault + * + * @return self + */ + public function setBgDefault($bgDefault) + { + if (is_null($bgDefault)) { + throw new \InvalidArgumentException('non-nullable bgDefault cannot be null'); + } + $this->container['bgDefault'] = $bgDefault; + + return $this; + } + + /** + * Gets borderRadiusBranding + * + * @return string|null + */ + public function getBorderRadiusBranding() + { + return $this->container['borderRadiusBranding']; + } + + /** + * Sets borderRadiusBranding + * + * @param string|null $borderRadiusBranding borderRadiusBranding + * + * @return self + */ + public function setBorderRadiusBranding($borderRadiusBranding) + { + if (is_null($borderRadiusBranding)) { + throw new \InvalidArgumentException('non-nullable borderRadiusBranding cannot be null'); + } + $this->container['borderRadiusBranding'] = $borderRadiusBranding; + + return $this; + } + + /** + * Gets borderRadiusButtons + * + * @return string|null + */ + public function getBorderRadiusButtons() + { + return $this->container['borderRadiusButtons']; + } + + /** + * Sets borderRadiusButtons + * + * @param string|null $borderRadiusButtons borderRadiusButtons + * + * @return self + */ + public function setBorderRadiusButtons($borderRadiusButtons) + { + if (is_null($borderRadiusButtons)) { + throw new \InvalidArgumentException('non-nullable borderRadiusButtons cannot be null'); + } + $this->container['borderRadiusButtons'] = $borderRadiusButtons; + + return $this; + } + + /** + * Gets borderRadiusCards + * + * @return string|null + */ + public function getBorderRadiusCards() + { + return $this->container['borderRadiusCards']; + } + + /** + * Sets borderRadiusCards + * + * @param string|null $borderRadiusCards borderRadiusCards + * + * @return self + */ + public function setBorderRadiusCards($borderRadiusCards) + { + if (is_null($borderRadiusCards)) { + throw new \InvalidArgumentException('non-nullable borderRadiusCards cannot be null'); + } + $this->container['borderRadiusCards'] = $borderRadiusCards; + + return $this; + } + + /** + * Gets borderRadiusForms + * + * @return string|null + */ + public function getBorderRadiusForms() + { + return $this->container['borderRadiusForms']; + } + + /** + * Sets borderRadiusForms + * + * @param string|null $borderRadiusForms borderRadiusForms + * + * @return self + */ + public function setBorderRadiusForms($borderRadiusForms) + { + if (is_null($borderRadiusForms)) { + throw new \InvalidArgumentException('non-nullable borderRadiusForms cannot be null'); + } + $this->container['borderRadiusForms'] = $borderRadiusForms; + + return $this; + } + + /** + * Gets borderRadiusGeneral + * + * @return string|null + */ + public function getBorderRadiusGeneral() + { + return $this->container['borderRadiusGeneral']; + } + + /** + * Sets borderRadiusGeneral + * + * @param string|null $borderRadiusGeneral borderRadiusGeneral + * + * @return self + */ + public function setBorderRadiusGeneral($borderRadiusGeneral) + { + if (is_null($borderRadiusGeneral)) { + throw new \InvalidArgumentException('non-nullable borderRadiusGeneral cannot be null'); + } + $this->container['borderRadiusGeneral'] = $borderRadiusGeneral; + + return $this; + } + + /** + * Gets buttonPrimaryBgDefault + * + * @return string|null + */ + public function getButtonPrimaryBgDefault() + { + return $this->container['buttonPrimaryBgDefault']; + } + + /** + * Sets buttonPrimaryBgDefault + * + * @param string|null $buttonPrimaryBgDefault buttonPrimaryBgDefault + * + * @return self + */ + public function setButtonPrimaryBgDefault($buttonPrimaryBgDefault) + { + if (is_null($buttonPrimaryBgDefault)) { + throw new \InvalidArgumentException('non-nullable buttonPrimaryBgDefault cannot be null'); + } + $this->container['buttonPrimaryBgDefault'] = $buttonPrimaryBgDefault; + + return $this; + } + + /** + * Gets buttonPrimaryBgDisabled + * + * @return string|null + */ + public function getButtonPrimaryBgDisabled() + { + return $this->container['buttonPrimaryBgDisabled']; + } + + /** + * Sets buttonPrimaryBgDisabled + * + * @param string|null $buttonPrimaryBgDisabled buttonPrimaryBgDisabled + * + * @return self + */ + public function setButtonPrimaryBgDisabled($buttonPrimaryBgDisabled) + { + if (is_null($buttonPrimaryBgDisabled)) { + throw new \InvalidArgumentException('non-nullable buttonPrimaryBgDisabled cannot be null'); + } + $this->container['buttonPrimaryBgDisabled'] = $buttonPrimaryBgDisabled; + + return $this; + } + + /** + * Gets buttonPrimaryBgHover + * + * @return string|null + */ + public function getButtonPrimaryBgHover() + { + return $this->container['buttonPrimaryBgHover']; + } + + /** + * Sets buttonPrimaryBgHover + * + * @param string|null $buttonPrimaryBgHover buttonPrimaryBgHover + * + * @return self + */ + public function setButtonPrimaryBgHover($buttonPrimaryBgHover) + { + if (is_null($buttonPrimaryBgHover)) { + throw new \InvalidArgumentException('non-nullable buttonPrimaryBgHover cannot be null'); + } + $this->container['buttonPrimaryBgHover'] = $buttonPrimaryBgHover; + + return $this; + } + + /** + * Gets buttonPrimaryBorderDefault + * + * @return string|null + */ + public function getButtonPrimaryBorderDefault() + { + return $this->container['buttonPrimaryBorderDefault']; + } + + /** + * Sets buttonPrimaryBorderDefault + * + * @param string|null $buttonPrimaryBorderDefault buttonPrimaryBorderDefault + * + * @return self + */ + public function setButtonPrimaryBorderDefault($buttonPrimaryBorderDefault) + { + if (is_null($buttonPrimaryBorderDefault)) { + throw new \InvalidArgumentException('non-nullable buttonPrimaryBorderDefault cannot be null'); + } + $this->container['buttonPrimaryBorderDefault'] = $buttonPrimaryBorderDefault; + + return $this; + } + + /** + * Gets buttonPrimaryBorderDisabled + * + * @return string|null + */ + public function getButtonPrimaryBorderDisabled() + { + return $this->container['buttonPrimaryBorderDisabled']; + } + + /** + * Sets buttonPrimaryBorderDisabled + * + * @param string|null $buttonPrimaryBorderDisabled buttonPrimaryBorderDisabled + * + * @return self + */ + public function setButtonPrimaryBorderDisabled($buttonPrimaryBorderDisabled) + { + if (is_null($buttonPrimaryBorderDisabled)) { + throw new \InvalidArgumentException('non-nullable buttonPrimaryBorderDisabled cannot be null'); + } + $this->container['buttonPrimaryBorderDisabled'] = $buttonPrimaryBorderDisabled; + + return $this; + } + + /** + * Gets buttonPrimaryBorderHover + * + * @return string|null + */ + public function getButtonPrimaryBorderHover() + { + return $this->container['buttonPrimaryBorderHover']; + } + + /** + * Sets buttonPrimaryBorderHover + * + * @param string|null $buttonPrimaryBorderHover buttonPrimaryBorderHover + * + * @return self + */ + public function setButtonPrimaryBorderHover($buttonPrimaryBorderHover) + { + if (is_null($buttonPrimaryBorderHover)) { + throw new \InvalidArgumentException('non-nullable buttonPrimaryBorderHover cannot be null'); + } + $this->container['buttonPrimaryBorderHover'] = $buttonPrimaryBorderHover; + + return $this; + } + + /** + * Gets buttonPrimaryFgDefault + * + * @return string|null + */ + public function getButtonPrimaryFgDefault() + { + return $this->container['buttonPrimaryFgDefault']; + } + + /** + * Sets buttonPrimaryFgDefault + * + * @param string|null $buttonPrimaryFgDefault buttonPrimaryFgDefault + * + * @return self + */ + public function setButtonPrimaryFgDefault($buttonPrimaryFgDefault) + { + if (is_null($buttonPrimaryFgDefault)) { + throw new \InvalidArgumentException('non-nullable buttonPrimaryFgDefault cannot be null'); + } + $this->container['buttonPrimaryFgDefault'] = $buttonPrimaryFgDefault; + + return $this; + } + + /** + * Gets buttonPrimaryFgDisabled + * + * @return string|null + */ + public function getButtonPrimaryFgDisabled() + { + return $this->container['buttonPrimaryFgDisabled']; + } + + /** + * Sets buttonPrimaryFgDisabled + * + * @param string|null $buttonPrimaryFgDisabled buttonPrimaryFgDisabled + * + * @return self + */ + public function setButtonPrimaryFgDisabled($buttonPrimaryFgDisabled) + { + if (is_null($buttonPrimaryFgDisabled)) { + throw new \InvalidArgumentException('non-nullable buttonPrimaryFgDisabled cannot be null'); + } + $this->container['buttonPrimaryFgDisabled'] = $buttonPrimaryFgDisabled; + + return $this; + } + + /** + * Gets buttonPrimaryFgHover + * + * @return string|null + */ + public function getButtonPrimaryFgHover() + { + return $this->container['buttonPrimaryFgHover']; + } + + /** + * Sets buttonPrimaryFgHover + * + * @param string|null $buttonPrimaryFgHover buttonPrimaryFgHover + * + * @return self + */ + public function setButtonPrimaryFgHover($buttonPrimaryFgHover) + { + if (is_null($buttonPrimaryFgHover)) { + throw new \InvalidArgumentException('non-nullable buttonPrimaryFgHover cannot be null'); + } + $this->container['buttonPrimaryFgHover'] = $buttonPrimaryFgHover; + + return $this; + } + + /** + * Gets buttonSecondaryBgDefault + * + * @return string|null + */ + public function getButtonSecondaryBgDefault() + { + return $this->container['buttonSecondaryBgDefault']; + } + + /** + * Sets buttonSecondaryBgDefault + * + * @param string|null $buttonSecondaryBgDefault buttonSecondaryBgDefault + * + * @return self + */ + public function setButtonSecondaryBgDefault($buttonSecondaryBgDefault) + { + if (is_null($buttonSecondaryBgDefault)) { + throw new \InvalidArgumentException('non-nullable buttonSecondaryBgDefault cannot be null'); + } + $this->container['buttonSecondaryBgDefault'] = $buttonSecondaryBgDefault; + + return $this; + } + + /** + * Gets buttonSecondaryBgDisabled + * + * @return string|null + */ + public function getButtonSecondaryBgDisabled() + { + return $this->container['buttonSecondaryBgDisabled']; + } + + /** + * Sets buttonSecondaryBgDisabled + * + * @param string|null $buttonSecondaryBgDisabled buttonSecondaryBgDisabled + * + * @return self + */ + public function setButtonSecondaryBgDisabled($buttonSecondaryBgDisabled) + { + if (is_null($buttonSecondaryBgDisabled)) { + throw new \InvalidArgumentException('non-nullable buttonSecondaryBgDisabled cannot be null'); + } + $this->container['buttonSecondaryBgDisabled'] = $buttonSecondaryBgDisabled; + + return $this; + } + + /** + * Gets buttonSecondaryBgHover + * + * @return string|null + */ + public function getButtonSecondaryBgHover() + { + return $this->container['buttonSecondaryBgHover']; + } + + /** + * Sets buttonSecondaryBgHover + * + * @param string|null $buttonSecondaryBgHover buttonSecondaryBgHover + * + * @return self + */ + public function setButtonSecondaryBgHover($buttonSecondaryBgHover) + { + if (is_null($buttonSecondaryBgHover)) { + throw new \InvalidArgumentException('non-nullable buttonSecondaryBgHover cannot be null'); + } + $this->container['buttonSecondaryBgHover'] = $buttonSecondaryBgHover; + + return $this; + } + + /** + * Gets buttonSecondaryBorderDefault + * + * @return string|null + */ + public function getButtonSecondaryBorderDefault() + { + return $this->container['buttonSecondaryBorderDefault']; + } + + /** + * Sets buttonSecondaryBorderDefault + * + * @param string|null $buttonSecondaryBorderDefault buttonSecondaryBorderDefault + * + * @return self + */ + public function setButtonSecondaryBorderDefault($buttonSecondaryBorderDefault) + { + if (is_null($buttonSecondaryBorderDefault)) { + throw new \InvalidArgumentException('non-nullable buttonSecondaryBorderDefault cannot be null'); + } + $this->container['buttonSecondaryBorderDefault'] = $buttonSecondaryBorderDefault; + + return $this; + } + + /** + * Gets buttonSecondaryBorderDisabled + * + * @return string|null + */ + public function getButtonSecondaryBorderDisabled() + { + return $this->container['buttonSecondaryBorderDisabled']; + } + + /** + * Sets buttonSecondaryBorderDisabled + * + * @param string|null $buttonSecondaryBorderDisabled buttonSecondaryBorderDisabled + * + * @return self + */ + public function setButtonSecondaryBorderDisabled($buttonSecondaryBorderDisabled) + { + if (is_null($buttonSecondaryBorderDisabled)) { + throw new \InvalidArgumentException('non-nullable buttonSecondaryBorderDisabled cannot be null'); + } + $this->container['buttonSecondaryBorderDisabled'] = $buttonSecondaryBorderDisabled; + + return $this; + } + + /** + * Gets buttonSecondaryBorderHover + * + * @return string|null + */ + public function getButtonSecondaryBorderHover() + { + return $this->container['buttonSecondaryBorderHover']; + } + + /** + * Sets buttonSecondaryBorderHover + * + * @param string|null $buttonSecondaryBorderHover buttonSecondaryBorderHover + * + * @return self + */ + public function setButtonSecondaryBorderHover($buttonSecondaryBorderHover) + { + if (is_null($buttonSecondaryBorderHover)) { + throw new \InvalidArgumentException('non-nullable buttonSecondaryBorderHover cannot be null'); + } + $this->container['buttonSecondaryBorderHover'] = $buttonSecondaryBorderHover; + + return $this; + } + + /** + * Gets buttonSecondaryFgDefault + * + * @return string|null + */ + public function getButtonSecondaryFgDefault() + { + return $this->container['buttonSecondaryFgDefault']; + } + + /** + * Sets buttonSecondaryFgDefault + * + * @param string|null $buttonSecondaryFgDefault buttonSecondaryFgDefault + * + * @return self + */ + public function setButtonSecondaryFgDefault($buttonSecondaryFgDefault) + { + if (is_null($buttonSecondaryFgDefault)) { + throw new \InvalidArgumentException('non-nullable buttonSecondaryFgDefault cannot be null'); + } + $this->container['buttonSecondaryFgDefault'] = $buttonSecondaryFgDefault; + + return $this; + } + + /** + * Gets buttonSecondaryFgDisabled + * + * @return string|null + */ + public function getButtonSecondaryFgDisabled() + { + return $this->container['buttonSecondaryFgDisabled']; + } + + /** + * Sets buttonSecondaryFgDisabled + * + * @param string|null $buttonSecondaryFgDisabled buttonSecondaryFgDisabled + * + * @return self + */ + public function setButtonSecondaryFgDisabled($buttonSecondaryFgDisabled) + { + if (is_null($buttonSecondaryFgDisabled)) { + throw new \InvalidArgumentException('non-nullable buttonSecondaryFgDisabled cannot be null'); + } + $this->container['buttonSecondaryFgDisabled'] = $buttonSecondaryFgDisabled; + + return $this; + } + + /** + * Gets buttonSecondaryFgHover + * + * @return string|null + */ + public function getButtonSecondaryFgHover() + { + return $this->container['buttonSecondaryFgHover']; + } + + /** + * Sets buttonSecondaryFgHover + * + * @param string|null $buttonSecondaryFgHover buttonSecondaryFgHover + * + * @return self + */ + public function setButtonSecondaryFgHover($buttonSecondaryFgHover) + { + if (is_null($buttonSecondaryFgHover)) { + throw new \InvalidArgumentException('non-nullable buttonSecondaryFgHover cannot be null'); + } + $this->container['buttonSecondaryFgHover'] = $buttonSecondaryFgHover; + + return $this; + } + + /** + * Gets buttonSocialBgDefault + * + * @return string|null + */ + public function getButtonSocialBgDefault() + { + return $this->container['buttonSocialBgDefault']; + } + + /** + * Sets buttonSocialBgDefault + * + * @param string|null $buttonSocialBgDefault buttonSocialBgDefault + * + * @return self + */ + public function setButtonSocialBgDefault($buttonSocialBgDefault) + { + if (is_null($buttonSocialBgDefault)) { + throw new \InvalidArgumentException('non-nullable buttonSocialBgDefault cannot be null'); + } + $this->container['buttonSocialBgDefault'] = $buttonSocialBgDefault; + + return $this; + } + + /** + * Gets buttonSocialBgDisabled + * + * @return string|null + */ + public function getButtonSocialBgDisabled() + { + return $this->container['buttonSocialBgDisabled']; + } + + /** + * Sets buttonSocialBgDisabled + * + * @param string|null $buttonSocialBgDisabled buttonSocialBgDisabled + * + * @return self + */ + public function setButtonSocialBgDisabled($buttonSocialBgDisabled) + { + if (is_null($buttonSocialBgDisabled)) { + throw new \InvalidArgumentException('non-nullable buttonSocialBgDisabled cannot be null'); + } + $this->container['buttonSocialBgDisabled'] = $buttonSocialBgDisabled; + + return $this; + } + + /** + * Gets buttonSocialBgHover + * + * @return string|null + */ + public function getButtonSocialBgHover() + { + return $this->container['buttonSocialBgHover']; + } + + /** + * Sets buttonSocialBgHover + * + * @param string|null $buttonSocialBgHover buttonSocialBgHover + * + * @return self + */ + public function setButtonSocialBgHover($buttonSocialBgHover) + { + if (is_null($buttonSocialBgHover)) { + throw new \InvalidArgumentException('non-nullable buttonSocialBgHover cannot be null'); + } + $this->container['buttonSocialBgHover'] = $buttonSocialBgHover; + + return $this; + } + + /** + * Gets buttonSocialBgProvider + * + * @return string|null + */ + public function getButtonSocialBgProvider() + { + return $this->container['buttonSocialBgProvider']; + } + + /** + * Sets buttonSocialBgProvider + * + * @param string|null $buttonSocialBgProvider buttonSocialBgProvider + * + * @return self + */ + public function setButtonSocialBgProvider($buttonSocialBgProvider) + { + if (is_null($buttonSocialBgProvider)) { + throw new \InvalidArgumentException('non-nullable buttonSocialBgProvider cannot be null'); + } + $this->container['buttonSocialBgProvider'] = $buttonSocialBgProvider; + + return $this; + } + + /** + * Gets buttonSocialBorderDefault + * + * @return string|null + */ + public function getButtonSocialBorderDefault() + { + return $this->container['buttonSocialBorderDefault']; + } + + /** + * Sets buttonSocialBorderDefault + * + * @param string|null $buttonSocialBorderDefault buttonSocialBorderDefault + * + * @return self + */ + public function setButtonSocialBorderDefault($buttonSocialBorderDefault) + { + if (is_null($buttonSocialBorderDefault)) { + throw new \InvalidArgumentException('non-nullable buttonSocialBorderDefault cannot be null'); + } + $this->container['buttonSocialBorderDefault'] = $buttonSocialBorderDefault; + + return $this; + } + + /** + * Gets buttonSocialBorderDisabled + * + * @return string|null + */ + public function getButtonSocialBorderDisabled() + { + return $this->container['buttonSocialBorderDisabled']; + } + + /** + * Sets buttonSocialBorderDisabled + * + * @param string|null $buttonSocialBorderDisabled buttonSocialBorderDisabled + * + * @return self + */ + public function setButtonSocialBorderDisabled($buttonSocialBorderDisabled) + { + if (is_null($buttonSocialBorderDisabled)) { + throw new \InvalidArgumentException('non-nullable buttonSocialBorderDisabled cannot be null'); + } + $this->container['buttonSocialBorderDisabled'] = $buttonSocialBorderDisabled; + + return $this; + } + + /** + * Gets buttonSocialBorderHover + * + * @return string|null + */ + public function getButtonSocialBorderHover() + { + return $this->container['buttonSocialBorderHover']; + } + + /** + * Sets buttonSocialBorderHover + * + * @param string|null $buttonSocialBorderHover buttonSocialBorderHover + * + * @return self + */ + public function setButtonSocialBorderHover($buttonSocialBorderHover) + { + if (is_null($buttonSocialBorderHover)) { + throw new \InvalidArgumentException('non-nullable buttonSocialBorderHover cannot be null'); + } + $this->container['buttonSocialBorderHover'] = $buttonSocialBorderHover; + + return $this; + } + + /** + * Gets buttonSocialBorderProvider + * + * @return string|null + */ + public function getButtonSocialBorderProvider() + { + return $this->container['buttonSocialBorderProvider']; + } + + /** + * Sets buttonSocialBorderProvider + * + * @param string|null $buttonSocialBorderProvider buttonSocialBorderProvider + * + * @return self + */ + public function setButtonSocialBorderProvider($buttonSocialBorderProvider) + { + if (is_null($buttonSocialBorderProvider)) { + throw new \InvalidArgumentException('non-nullable buttonSocialBorderProvider cannot be null'); + } + $this->container['buttonSocialBorderProvider'] = $buttonSocialBorderProvider; + + return $this; + } + + /** + * Gets buttonSocialFgDefault + * + * @return string|null + */ + public function getButtonSocialFgDefault() + { + return $this->container['buttonSocialFgDefault']; + } + + /** + * Sets buttonSocialFgDefault + * + * @param string|null $buttonSocialFgDefault buttonSocialFgDefault + * + * @return self + */ + public function setButtonSocialFgDefault($buttonSocialFgDefault) + { + if (is_null($buttonSocialFgDefault)) { + throw new \InvalidArgumentException('non-nullable buttonSocialFgDefault cannot be null'); + } + $this->container['buttonSocialFgDefault'] = $buttonSocialFgDefault; + + return $this; + } + + /** + * Gets buttonSocialFgDisabled + * + * @return string|null + */ + public function getButtonSocialFgDisabled() + { + return $this->container['buttonSocialFgDisabled']; + } + + /** + * Sets buttonSocialFgDisabled + * + * @param string|null $buttonSocialFgDisabled buttonSocialFgDisabled + * + * @return self + */ + public function setButtonSocialFgDisabled($buttonSocialFgDisabled) + { + if (is_null($buttonSocialFgDisabled)) { + throw new \InvalidArgumentException('non-nullable buttonSocialFgDisabled cannot be null'); + } + $this->container['buttonSocialFgDisabled'] = $buttonSocialFgDisabled; + + return $this; + } + + /** + * Gets buttonSocialFgHover + * + * @return string|null + */ + public function getButtonSocialFgHover() + { + return $this->container['buttonSocialFgHover']; + } + + /** + * Sets buttonSocialFgHover + * + * @param string|null $buttonSocialFgHover buttonSocialFgHover + * + * @return self + */ + public function setButtonSocialFgHover($buttonSocialFgHover) + { + if (is_null($buttonSocialFgHover)) { + throw new \InvalidArgumentException('non-nullable buttonSocialFgHover cannot be null'); + } + $this->container['buttonSocialFgHover'] = $buttonSocialFgHover; + + return $this; + } + + /** + * Gets buttonSocialFgProvider + * + * @return string|null + */ + public function getButtonSocialFgProvider() + { + return $this->container['buttonSocialFgProvider']; + } + + /** + * Sets buttonSocialFgProvider + * + * @param string|null $buttonSocialFgProvider buttonSocialFgProvider + * + * @return self + */ + public function setButtonSocialFgProvider($buttonSocialFgProvider) + { + if (is_null($buttonSocialFgProvider)) { + throw new \InvalidArgumentException('non-nullable buttonSocialFgProvider cannot be null'); + } + $this->container['buttonSocialFgProvider'] = $buttonSocialFgProvider; + + return $this; + } + + /** + * Gets createdAt + * + * @return \DateTime|null + */ + public function getCreatedAt() + { + return $this->container['createdAt']; + } + + /** + * Sets createdAt + * + * @param \DateTime|null $createdAt createdAt + * + * @return self + */ + public function setCreatedAt($createdAt) + { + if (is_null($createdAt)) { + throw new \InvalidArgumentException('non-nullable createdAt cannot be null'); + } + $this->container['createdAt'] = $createdAt; + + return $this; + } + + /** + * Gets dialogBgDefault + * + * @return string|null + */ + public function getDialogBgDefault() + { + return $this->container['dialogBgDefault']; + } + + /** + * Sets dialogBgDefault + * + * @param string|null $dialogBgDefault dialogBgDefault + * + * @return self + */ + public function setDialogBgDefault($dialogBgDefault) + { + if (is_null($dialogBgDefault)) { + throw new \InvalidArgumentException('non-nullable dialogBgDefault cannot be null'); + } + $this->container['dialogBgDefault'] = $dialogBgDefault; + + return $this; + } + + /** + * Gets dialogBgSubtle + * + * @return string|null + */ + public function getDialogBgSubtle() + { + return $this->container['dialogBgSubtle']; + } + + /** + * Sets dialogBgSubtle + * + * @param string|null $dialogBgSubtle dialogBgSubtle + * + * @return self + */ + public function setDialogBgSubtle($dialogBgSubtle) + { + if (is_null($dialogBgSubtle)) { + throw new \InvalidArgumentException('non-nullable dialogBgSubtle cannot be null'); + } + $this->container['dialogBgSubtle'] = $dialogBgSubtle; + + return $this; + } + + /** + * Gets dialogBorderDefault + * + * @return string|null + */ + public function getDialogBorderDefault() + { + return $this->container['dialogBorderDefault']; + } + + /** + * Sets dialogBorderDefault + * + * @param string|null $dialogBorderDefault dialogBorderDefault + * + * @return self + */ + public function setDialogBorderDefault($dialogBorderDefault) + { + if (is_null($dialogBorderDefault)) { + throw new \InvalidArgumentException('non-nullable dialogBorderDefault cannot be null'); + } + $this->container['dialogBorderDefault'] = $dialogBorderDefault; + + return $this; + } + + /** + * Gets dialogFgDefault + * + * @return string|null + */ + public function getDialogFgDefault() + { + return $this->container['dialogFgDefault']; + } + + /** + * Sets dialogFgDefault + * + * @param string|null $dialogFgDefault dialogFgDefault + * + * @return self + */ + public function setDialogFgDefault($dialogFgDefault) + { + if (is_null($dialogFgDefault)) { + throw new \InvalidArgumentException('non-nullable dialogFgDefault cannot be null'); + } + $this->container['dialogFgDefault'] = $dialogFgDefault; + + return $this; + } + + /** + * Gets dialogFgMute + * + * @return string|null + */ + public function getDialogFgMute() + { + return $this->container['dialogFgMute']; + } + + /** + * Sets dialogFgMute + * + * @param string|null $dialogFgMute dialogFgMute + * + * @return self + */ + public function setDialogFgMute($dialogFgMute) + { + if (is_null($dialogFgMute)) { + throw new \InvalidArgumentException('non-nullable dialogFgMute cannot be null'); + } + $this->container['dialogFgMute'] = $dialogFgMute; + + return $this; + } + + /** + * Gets dialogFgSubtle + * + * @return string|null + */ + public function getDialogFgSubtle() + { + return $this->container['dialogFgSubtle']; + } + + /** + * Sets dialogFgSubtle + * + * @param string|null $dialogFgSubtle dialogFgSubtle + * + * @return self + */ + public function setDialogFgSubtle($dialogFgSubtle) + { + if (is_null($dialogFgSubtle)) { + throw new \InvalidArgumentException('non-nullable dialogFgSubtle cannot be null'); + } + $this->container['dialogFgSubtle'] = $dialogFgSubtle; + + return $this; + } + + /** + * Gets formsBgDefault + * + * @return string|null + */ + public function getFormsBgDefault() + { + return $this->container['formsBgDefault']; + } + + /** + * Sets formsBgDefault + * + * @param string|null $formsBgDefault formsBgDefault + * + * @return self + */ + public function setFormsBgDefault($formsBgDefault) + { + if (is_null($formsBgDefault)) { + throw new \InvalidArgumentException('non-nullable formsBgDefault cannot be null'); + } + $this->container['formsBgDefault'] = $formsBgDefault; + + return $this; + } + + /** + * Gets formsBgDisabled + * + * @return string|null + */ + public function getFormsBgDisabled() + { + return $this->container['formsBgDisabled']; + } + + /** + * Sets formsBgDisabled + * + * @param string|null $formsBgDisabled formsBgDisabled + * + * @return self + */ + public function setFormsBgDisabled($formsBgDisabled) + { + if (is_null($formsBgDisabled)) { + throw new \InvalidArgumentException('non-nullable formsBgDisabled cannot be null'); + } + $this->container['formsBgDisabled'] = $formsBgDisabled; + + return $this; + } + + /** + * Gets formsBgHover + * + * @return string|null + */ + public function getFormsBgHover() + { + return $this->container['formsBgHover']; + } + + /** + * Sets formsBgHover + * + * @param string|null $formsBgHover formsBgHover + * + * @return self + */ + public function setFormsBgHover($formsBgHover) + { + if (is_null($formsBgHover)) { + throw new \InvalidArgumentException('non-nullable formsBgHover cannot be null'); + } + $this->container['formsBgHover'] = $formsBgHover; + + return $this; + } + + /** + * Gets formsBorderDefault + * + * @return string|null + */ + public function getFormsBorderDefault() + { + return $this->container['formsBorderDefault']; + } + + /** + * Sets formsBorderDefault + * + * @param string|null $formsBorderDefault formsBorderDefault + * + * @return self + */ + public function setFormsBorderDefault($formsBorderDefault) + { + if (is_null($formsBorderDefault)) { + throw new \InvalidArgumentException('non-nullable formsBorderDefault cannot be null'); + } + $this->container['formsBorderDefault'] = $formsBorderDefault; + + return $this; + } + + /** + * Gets formsBorderDisabled + * + * @return string|null + */ + public function getFormsBorderDisabled() + { + return $this->container['formsBorderDisabled']; + } + + /** + * Sets formsBorderDisabled + * + * @param string|null $formsBorderDisabled formsBorderDisabled + * + * @return self + */ + public function setFormsBorderDisabled($formsBorderDisabled) + { + if (is_null($formsBorderDisabled)) { + throw new \InvalidArgumentException('non-nullable formsBorderDisabled cannot be null'); + } + $this->container['formsBorderDisabled'] = $formsBorderDisabled; + + return $this; + } + + /** + * Gets formsBorderError + * + * @return string|null + */ + public function getFormsBorderError() + { + return $this->container['formsBorderError']; + } + + /** + * Sets formsBorderError + * + * @param string|null $formsBorderError formsBorderError + * + * @return self + */ + public function setFormsBorderError($formsBorderError) + { + if (is_null($formsBorderError)) { + throw new \InvalidArgumentException('non-nullable formsBorderError cannot be null'); + } + $this->container['formsBorderError'] = $formsBorderError; + + return $this; + } + + /** + * Gets formsBorderFocus + * + * @return string|null + */ + public function getFormsBorderFocus() + { + return $this->container['formsBorderFocus']; + } + + /** + * Sets formsBorderFocus + * + * @param string|null $formsBorderFocus formsBorderFocus + * + * @return self + */ + public function setFormsBorderFocus($formsBorderFocus) + { + if (is_null($formsBorderFocus)) { + throw new \InvalidArgumentException('non-nullable formsBorderFocus cannot be null'); + } + $this->container['formsBorderFocus'] = $formsBorderFocus; + + return $this; + } + + /** + * Gets formsBorderHover + * + * @return string|null + */ + public function getFormsBorderHover() + { + return $this->container['formsBorderHover']; + } + + /** + * Sets formsBorderHover + * + * @param string|null $formsBorderHover formsBorderHover + * + * @return self + */ + public function setFormsBorderHover($formsBorderHover) + { + if (is_null($formsBorderHover)) { + throw new \InvalidArgumentException('non-nullable formsBorderHover cannot be null'); + } + $this->container['formsBorderHover'] = $formsBorderHover; + + return $this; + } + + /** + * Gets formsBorderSuccess + * + * @return string|null + */ + public function getFormsBorderSuccess() + { + return $this->container['formsBorderSuccess']; + } + + /** + * Sets formsBorderSuccess + * + * @param string|null $formsBorderSuccess formsBorderSuccess + * + * @return self + */ + public function setFormsBorderSuccess($formsBorderSuccess) + { + if (is_null($formsBorderSuccess)) { + throw new \InvalidArgumentException('non-nullable formsBorderSuccess cannot be null'); + } + $this->container['formsBorderSuccess'] = $formsBorderSuccess; + + return $this; + } + + /** + * Gets formsBorderWarn + * + * @return string|null + */ + public function getFormsBorderWarn() + { + return $this->container['formsBorderWarn']; + } + + /** + * Sets formsBorderWarn + * + * @param string|null $formsBorderWarn formsBorderWarn + * + * @return self + */ + public function setFormsBorderWarn($formsBorderWarn) + { + if (is_null($formsBorderWarn)) { + throw new \InvalidArgumentException('non-nullable formsBorderWarn cannot be null'); + } + $this->container['formsBorderWarn'] = $formsBorderWarn; + + return $this; + } + + /** + * Gets formsCheckboxBgChecked + * + * @return string|null + */ + public function getFormsCheckboxBgChecked() + { + return $this->container['formsCheckboxBgChecked']; + } + + /** + * Sets formsCheckboxBgChecked + * + * @param string|null $formsCheckboxBgChecked formsCheckboxBgChecked + * + * @return self + */ + public function setFormsCheckboxBgChecked($formsCheckboxBgChecked) + { + if (is_null($formsCheckboxBgChecked)) { + throw new \InvalidArgumentException('non-nullable formsCheckboxBgChecked cannot be null'); + } + $this->container['formsCheckboxBgChecked'] = $formsCheckboxBgChecked; + + return $this; + } + + /** + * Gets formsCheckboxBgDefault + * + * @return string|null + */ + public function getFormsCheckboxBgDefault() + { + return $this->container['formsCheckboxBgDefault']; + } + + /** + * Sets formsCheckboxBgDefault + * + * @param string|null $formsCheckboxBgDefault formsCheckboxBgDefault + * + * @return self + */ + public function setFormsCheckboxBgDefault($formsCheckboxBgDefault) + { + if (is_null($formsCheckboxBgDefault)) { + throw new \InvalidArgumentException('non-nullable formsCheckboxBgDefault cannot be null'); + } + $this->container['formsCheckboxBgDefault'] = $formsCheckboxBgDefault; + + return $this; + } + + /** + * Gets formsCheckboxBorderChecked + * + * @return string|null + */ + public function getFormsCheckboxBorderChecked() + { + return $this->container['formsCheckboxBorderChecked']; + } + + /** + * Sets formsCheckboxBorderChecked + * + * @param string|null $formsCheckboxBorderChecked formsCheckboxBorderChecked + * + * @return self + */ + public function setFormsCheckboxBorderChecked($formsCheckboxBorderChecked) + { + if (is_null($formsCheckboxBorderChecked)) { + throw new \InvalidArgumentException('non-nullable formsCheckboxBorderChecked cannot be null'); + } + $this->container['formsCheckboxBorderChecked'] = $formsCheckboxBorderChecked; + + return $this; + } + + /** + * Gets formsCheckboxBorderDefault + * + * @return string|null + */ + public function getFormsCheckboxBorderDefault() + { + return $this->container['formsCheckboxBorderDefault']; + } + + /** + * Sets formsCheckboxBorderDefault + * + * @param string|null $formsCheckboxBorderDefault formsCheckboxBorderDefault + * + * @return self + */ + public function setFormsCheckboxBorderDefault($formsCheckboxBorderDefault) + { + if (is_null($formsCheckboxBorderDefault)) { + throw new \InvalidArgumentException('non-nullable formsCheckboxBorderDefault cannot be null'); + } + $this->container['formsCheckboxBorderDefault'] = $formsCheckboxBorderDefault; + + return $this; + } + + /** + * Gets formsCheckboxFgChecked + * + * @return string|null + */ + public function getFormsCheckboxFgChecked() + { + return $this->container['formsCheckboxFgChecked']; + } + + /** + * Sets formsCheckboxFgChecked + * + * @param string|null $formsCheckboxFgChecked formsCheckboxFgChecked + * + * @return self + */ + public function setFormsCheckboxFgChecked($formsCheckboxFgChecked) + { + if (is_null($formsCheckboxFgChecked)) { + throw new \InvalidArgumentException('non-nullable formsCheckboxFgChecked cannot be null'); + } + $this->container['formsCheckboxFgChecked'] = $formsCheckboxFgChecked; + + return $this; + } + + /** + * Gets formsCheckboxFgDefault + * + * @return string|null + */ + public function getFormsCheckboxFgDefault() + { + return $this->container['formsCheckboxFgDefault']; + } + + /** + * Sets formsCheckboxFgDefault + * + * @param string|null $formsCheckboxFgDefault formsCheckboxFgDefault + * + * @return self + */ + public function setFormsCheckboxFgDefault($formsCheckboxFgDefault) + { + if (is_null($formsCheckboxFgDefault)) { + throw new \InvalidArgumentException('non-nullable formsCheckboxFgDefault cannot be null'); + } + $this->container['formsCheckboxFgDefault'] = $formsCheckboxFgDefault; + + return $this; + } + + /** + * Gets formsFgDefault + * + * @return string|null + */ + public function getFormsFgDefault() + { + return $this->container['formsFgDefault']; + } + + /** + * Sets formsFgDefault + * + * @param string|null $formsFgDefault formsFgDefault + * + * @return self + */ + public function setFormsFgDefault($formsFgDefault) + { + if (is_null($formsFgDefault)) { + throw new \InvalidArgumentException('non-nullable formsFgDefault cannot be null'); + } + $this->container['formsFgDefault'] = $formsFgDefault; + + return $this; + } + + /** + * Gets formsFgError + * + * @return string|null + */ + public function getFormsFgError() + { + return $this->container['formsFgError']; + } + + /** + * Sets formsFgError + * + * @param string|null $formsFgError formsFgError + * + * @return self + */ + public function setFormsFgError($formsFgError) + { + if (is_null($formsFgError)) { + throw new \InvalidArgumentException('non-nullable formsFgError cannot be null'); + } + $this->container['formsFgError'] = $formsFgError; + + return $this; + } + + /** + * Gets formsFgMute + * + * @return string|null + */ + public function getFormsFgMute() + { + return $this->container['formsFgMute']; + } + + /** + * Sets formsFgMute + * + * @param string|null $formsFgMute formsFgMute + * + * @return self + */ + public function setFormsFgMute($formsFgMute) + { + if (is_null($formsFgMute)) { + throw new \InvalidArgumentException('non-nullable formsFgMute cannot be null'); + } + $this->container['formsFgMute'] = $formsFgMute; + + return $this; + } + + /** + * Gets formsFgSubtle + * + * @return string|null + */ + public function getFormsFgSubtle() + { + return $this->container['formsFgSubtle']; + } + + /** + * Sets formsFgSubtle + * + * @param string|null $formsFgSubtle formsFgSubtle + * + * @return self + */ + public function setFormsFgSubtle($formsFgSubtle) + { + if (is_null($formsFgSubtle)) { + throw new \InvalidArgumentException('non-nullable formsFgSubtle cannot be null'); + } + $this->container['formsFgSubtle'] = $formsFgSubtle; + + return $this; + } + + /** + * Gets formsFgSuccess + * + * @return string|null + */ + public function getFormsFgSuccess() + { + return $this->container['formsFgSuccess']; + } + + /** + * Sets formsFgSuccess + * + * @param string|null $formsFgSuccess formsFgSuccess + * + * @return self + */ + public function setFormsFgSuccess($formsFgSuccess) + { + if (is_null($formsFgSuccess)) { + throw new \InvalidArgumentException('non-nullable formsFgSuccess cannot be null'); + } + $this->container['formsFgSuccess'] = $formsFgSuccess; + + return $this; + } + + /** + * Gets formsFgWarn + * + * @return string|null + */ + public function getFormsFgWarn() + { + return $this->container['formsFgWarn']; + } + + /** + * Sets formsFgWarn + * + * @param string|null $formsFgWarn formsFgWarn + * + * @return self + */ + public function setFormsFgWarn($formsFgWarn) + { + if (is_null($formsFgWarn)) { + throw new \InvalidArgumentException('non-nullable formsFgWarn cannot be null'); + } + $this->container['formsFgWarn'] = $formsFgWarn; + + return $this; + } + + /** + * Gets formsRadioBgChecked + * + * @return string|null + */ + public function getFormsRadioBgChecked() + { + return $this->container['formsRadioBgChecked']; + } + + /** + * Sets formsRadioBgChecked + * + * @param string|null $formsRadioBgChecked formsRadioBgChecked + * + * @return self + */ + public function setFormsRadioBgChecked($formsRadioBgChecked) + { + if (is_null($formsRadioBgChecked)) { + throw new \InvalidArgumentException('non-nullable formsRadioBgChecked cannot be null'); + } + $this->container['formsRadioBgChecked'] = $formsRadioBgChecked; + + return $this; + } + + /** + * Gets formsRadioBgDefault + * + * @return string|null + */ + public function getFormsRadioBgDefault() + { + return $this->container['formsRadioBgDefault']; + } + + /** + * Sets formsRadioBgDefault + * + * @param string|null $formsRadioBgDefault formsRadioBgDefault + * + * @return self + */ + public function setFormsRadioBgDefault($formsRadioBgDefault) + { + if (is_null($formsRadioBgDefault)) { + throw new \InvalidArgumentException('non-nullable formsRadioBgDefault cannot be null'); + } + $this->container['formsRadioBgDefault'] = $formsRadioBgDefault; + + return $this; + } + + /** + * Gets formsRadioBorderChecked + * + * @return string|null + */ + public function getFormsRadioBorderChecked() + { + return $this->container['formsRadioBorderChecked']; + } + + /** + * Sets formsRadioBorderChecked + * + * @param string|null $formsRadioBorderChecked formsRadioBorderChecked + * + * @return self + */ + public function setFormsRadioBorderChecked($formsRadioBorderChecked) + { + if (is_null($formsRadioBorderChecked)) { + throw new \InvalidArgumentException('non-nullable formsRadioBorderChecked cannot be null'); + } + $this->container['formsRadioBorderChecked'] = $formsRadioBorderChecked; + + return $this; + } + + /** + * Gets formsRadioBorderDefault + * + * @return string|null + */ + public function getFormsRadioBorderDefault() + { + return $this->container['formsRadioBorderDefault']; + } + + /** + * Sets formsRadioBorderDefault + * + * @param string|null $formsRadioBorderDefault formsRadioBorderDefault + * + * @return self + */ + public function setFormsRadioBorderDefault($formsRadioBorderDefault) + { + if (is_null($formsRadioBorderDefault)) { + throw new \InvalidArgumentException('non-nullable formsRadioBorderDefault cannot be null'); + } + $this->container['formsRadioBorderDefault'] = $formsRadioBorderDefault; + + return $this; + } + + /** + * Gets formsRadioFgChecked + * + * @return string|null + */ + public function getFormsRadioFgChecked() + { + return $this->container['formsRadioFgChecked']; + } + + /** + * Sets formsRadioFgChecked + * + * @param string|null $formsRadioFgChecked formsRadioFgChecked + * + * @return self + */ + public function setFormsRadioFgChecked($formsRadioFgChecked) + { + if (is_null($formsRadioFgChecked)) { + throw new \InvalidArgumentException('non-nullable formsRadioFgChecked cannot be null'); + } + $this->container['formsRadioFgChecked'] = $formsRadioFgChecked; + + return $this; + } + + /** + * Gets formsRadioFgDefault + * + * @return string|null + */ + public function getFormsRadioFgDefault() + { + return $this->container['formsRadioFgDefault']; + } + + /** + * Sets formsRadioFgDefault + * + * @param string|null $formsRadioFgDefault formsRadioFgDefault + * + * @return self + */ + public function setFormsRadioFgDefault($formsRadioFgDefault) + { + if (is_null($formsRadioFgDefault)) { + throw new \InvalidArgumentException('non-nullable formsRadioFgDefault cannot be null'); + } + $this->container['formsRadioFgDefault'] = $formsRadioFgDefault; + + return $this; + } + + /** + * Gets formsToggleBgChecked + * + * @return string|null + */ + public function getFormsToggleBgChecked() + { + return $this->container['formsToggleBgChecked']; + } + + /** + * Sets formsToggleBgChecked + * + * @param string|null $formsToggleBgChecked formsToggleBgChecked + * + * @return self + */ + public function setFormsToggleBgChecked($formsToggleBgChecked) + { + if (is_null($formsToggleBgChecked)) { + throw new \InvalidArgumentException('non-nullable formsToggleBgChecked cannot be null'); + } + $this->container['formsToggleBgChecked'] = $formsToggleBgChecked; + + return $this; + } + + /** + * Gets formsToggleBgDefault + * + * @return string|null + */ + public function getFormsToggleBgDefault() + { + return $this->container['formsToggleBgDefault']; + } + + /** + * Sets formsToggleBgDefault + * + * @param string|null $formsToggleBgDefault formsToggleBgDefault + * + * @return self + */ + public function setFormsToggleBgDefault($formsToggleBgDefault) + { + if (is_null($formsToggleBgDefault)) { + throw new \InvalidArgumentException('non-nullable formsToggleBgDefault cannot be null'); + } + $this->container['formsToggleBgDefault'] = $formsToggleBgDefault; + + return $this; + } + + /** + * Gets formsToggleBorderChecked + * + * @return string|null + */ + public function getFormsToggleBorderChecked() + { + return $this->container['formsToggleBorderChecked']; + } + + /** + * Sets formsToggleBorderChecked + * + * @param string|null $formsToggleBorderChecked formsToggleBorderChecked + * + * @return self + */ + public function setFormsToggleBorderChecked($formsToggleBorderChecked) + { + if (is_null($formsToggleBorderChecked)) { + throw new \InvalidArgumentException('non-nullable formsToggleBorderChecked cannot be null'); + } + $this->container['formsToggleBorderChecked'] = $formsToggleBorderChecked; + + return $this; + } + + /** + * Gets formsToggleBorderDefault + * + * @return string|null + */ + public function getFormsToggleBorderDefault() + { + return $this->container['formsToggleBorderDefault']; + } + + /** + * Sets formsToggleBorderDefault + * + * @param string|null $formsToggleBorderDefault formsToggleBorderDefault + * + * @return self + */ + public function setFormsToggleBorderDefault($formsToggleBorderDefault) + { + if (is_null($formsToggleBorderDefault)) { + throw new \InvalidArgumentException('non-nullable formsToggleBorderDefault cannot be null'); + } + $this->container['formsToggleBorderDefault'] = $formsToggleBorderDefault; + + return $this; + } + + /** + * Gets formsToggleFgChecked + * + * @return string|null + */ + public function getFormsToggleFgChecked() + { + return $this->container['formsToggleFgChecked']; + } + + /** + * Sets formsToggleFgChecked + * + * @param string|null $formsToggleFgChecked formsToggleFgChecked + * + * @return self + */ + public function setFormsToggleFgChecked($formsToggleFgChecked) + { + if (is_null($formsToggleFgChecked)) { + throw new \InvalidArgumentException('non-nullable formsToggleFgChecked cannot be null'); + } + $this->container['formsToggleFgChecked'] = $formsToggleFgChecked; + + return $this; + } + + /** + * Gets formsToggleFgDefault + * + * @return string|null + */ + public function getFormsToggleFgDefault() + { + return $this->container['formsToggleFgDefault']; + } + + /** + * Sets formsToggleFgDefault + * + * @param string|null $formsToggleFgDefault formsToggleFgDefault + * + * @return self + */ + public function setFormsToggleFgDefault($formsToggleFgDefault) + { + if (is_null($formsToggleFgDefault)) { + throw new \InvalidArgumentException('non-nullable formsToggleFgDefault cannot be null'); + } + $this->container['formsToggleFgDefault'] = $formsToggleFgDefault; + + return $this; + } + + /** + * Gets id + * + * @return string|null + */ + public function getId() + { + return $this->container['id']; + } + + /** + * Sets id + * + * @param string|null $id id + * + * @return self + */ + public function setId($id) + { + if (is_null($id)) { + throw new \InvalidArgumentException('non-nullable id cannot be null'); + } + $this->container['id'] = $id; + + return $this; + } + + /** + * Gets linksLinkDefault + * + * @return string|null + */ + public function getLinksLinkDefault() + { + return $this->container['linksLinkDefault']; + } + + /** + * Sets linksLinkDefault + * + * @param string|null $linksLinkDefault linksLinkDefault + * + * @return self + */ + public function setLinksLinkDefault($linksLinkDefault) + { + if (is_null($linksLinkDefault)) { + throw new \InvalidArgumentException('non-nullable linksLinkDefault cannot be null'); + } + $this->container['linksLinkDefault'] = $linksLinkDefault; + + return $this; + } + + /** + * Gets linksLinkDisabled + * + * @return string|null + */ + public function getLinksLinkDisabled() + { + return $this->container['linksLinkDisabled']; + } + + /** + * Sets linksLinkDisabled + * + * @param string|null $linksLinkDisabled linksLinkDisabled + * + * @return self + */ + public function setLinksLinkDisabled($linksLinkDisabled) + { + if (is_null($linksLinkDisabled)) { + throw new \InvalidArgumentException('non-nullable linksLinkDisabled cannot be null'); + } + $this->container['linksLinkDisabled'] = $linksLinkDisabled; + + return $this; + } + + /** + * Gets linksLinkHover + * + * @return string|null + */ + public function getLinksLinkHover() + { + return $this->container['linksLinkHover']; + } + + /** + * Sets linksLinkHover + * + * @param string|null $linksLinkHover linksLinkHover + * + * @return self + */ + public function setLinksLinkHover($linksLinkHover) + { + if (is_null($linksLinkHover)) { + throw new \InvalidArgumentException('non-nullable linksLinkHover cannot be null'); + } + $this->container['linksLinkHover'] = $linksLinkHover; + + return $this; + } + + /** + * Gets linksLinkInvertedDefault + * + * @return string|null + */ + public function getLinksLinkInvertedDefault() + { + return $this->container['linksLinkInvertedDefault']; + } + + /** + * Sets linksLinkInvertedDefault + * + * @param string|null $linksLinkInvertedDefault linksLinkInvertedDefault + * + * @return self + */ + public function setLinksLinkInvertedDefault($linksLinkInvertedDefault) + { + if (is_null($linksLinkInvertedDefault)) { + throw new \InvalidArgumentException('non-nullable linksLinkInvertedDefault cannot be null'); + } + $this->container['linksLinkInvertedDefault'] = $linksLinkInvertedDefault; + + return $this; + } + + /** + * Gets linksLinkInvertedHover + * + * @return string|null + */ + public function getLinksLinkInvertedHover() + { + return $this->container['linksLinkInvertedHover']; + } + + /** + * Sets linksLinkInvertedHover + * + * @param string|null $linksLinkInvertedHover linksLinkInvertedHover + * + * @return self + */ + public function setLinksLinkInvertedHover($linksLinkInvertedHover) + { + if (is_null($linksLinkInvertedHover)) { + throw new \InvalidArgumentException('non-nullable linksLinkInvertedHover cannot be null'); + } + $this->container['linksLinkInvertedHover'] = $linksLinkInvertedHover; + + return $this; + } + + /** + * Gets linksLinkMuteDefault + * + * @return string|null + */ + public function getLinksLinkMuteDefault() + { + return $this->container['linksLinkMuteDefault']; + } + + /** + * Sets linksLinkMuteDefault + * + * @param string|null $linksLinkMuteDefault linksLinkMuteDefault + * + * @return self + */ + public function setLinksLinkMuteDefault($linksLinkMuteDefault) + { + if (is_null($linksLinkMuteDefault)) { + throw new \InvalidArgumentException('non-nullable linksLinkMuteDefault cannot be null'); + } + $this->container['linksLinkMuteDefault'] = $linksLinkMuteDefault; + + return $this; + } + + /** + * Gets linksLinkMuteHover + * + * @return string|null + */ + public function getLinksLinkMuteHover() + { + return $this->container['linksLinkMuteHover']; + } + + /** + * Sets linksLinkMuteHover + * + * @param string|null $linksLinkMuteHover linksLinkMuteHover + * + * @return self + */ + public function setLinksLinkMuteHover($linksLinkMuteHover) + { + if (is_null($linksLinkMuteHover)) { + throw new \InvalidArgumentException('non-nullable linksLinkMuteHover cannot be null'); + } + $this->container['linksLinkMuteHover'] = $linksLinkMuteHover; + + return $this; + } + + /** + * Gets syntaxSyntax + * + * @return string|null + */ + public function getSyntaxSyntax() + { + return $this->container['syntaxSyntax']; + } + + /** + * Sets syntaxSyntax + * + * @param string|null $syntaxSyntax syntaxSyntax + * + * @return self + */ + public function setSyntaxSyntax($syntaxSyntax) + { + if (is_null($syntaxSyntax)) { + throw new \InvalidArgumentException('non-nullable syntaxSyntax cannot be null'); + } + $this->container['syntaxSyntax'] = $syntaxSyntax; + + return $this; + } + + /** + * Gets syntaxSyntaxKey + * + * @return string|null + */ + public function getSyntaxSyntaxKey() + { + return $this->container['syntaxSyntaxKey']; + } + + /** + * Sets syntaxSyntaxKey + * + * @param string|null $syntaxSyntaxKey syntaxSyntaxKey + * + * @return self + */ + public function setSyntaxSyntaxKey($syntaxSyntaxKey) + { + if (is_null($syntaxSyntaxKey)) { + throw new \InvalidArgumentException('non-nullable syntaxSyntaxKey cannot be null'); + } + $this->container['syntaxSyntaxKey'] = $syntaxSyntaxKey; + + return $this; + } + + /** + * Gets syntaxSyntaxNum + * + * @return string|null + */ + public function getSyntaxSyntaxNum() + { + return $this->container['syntaxSyntaxNum']; + } + + /** + * Sets syntaxSyntaxNum + * + * @param string|null $syntaxSyntaxNum syntaxSyntaxNum + * + * @return self + */ + public function setSyntaxSyntaxNum($syntaxSyntaxNum) + { + if (is_null($syntaxSyntaxNum)) { + throw new \InvalidArgumentException('non-nullable syntaxSyntaxNum cannot be null'); + } + $this->container['syntaxSyntaxNum'] = $syntaxSyntaxNum; + + return $this; + } + + /** + * Gets syntaxSyntaxValue + * + * @return string|null + */ + public function getSyntaxSyntaxValue() + { + return $this->container['syntaxSyntaxValue']; + } + + /** + * Sets syntaxSyntaxValue + * + * @param string|null $syntaxSyntaxValue syntaxSyntaxValue + * + * @return self + */ + public function setSyntaxSyntaxValue($syntaxSyntaxValue) + { + if (is_null($syntaxSyntaxValue)) { + throw new \InvalidArgumentException('non-nullable syntaxSyntaxValue cannot be null'); + } + $this->container['syntaxSyntaxValue'] = $syntaxSyntaxValue; + + return $this; + } + + /** + * Gets updatedAt + * + * @return \DateTime|null + */ + public function getUpdatedAt() + { + return $this->container['updatedAt']; + } + + /** + * Sets updatedAt + * + * @param \DateTime|null $updatedAt updatedAt + * + * @return self + */ + public function setUpdatedAt($updatedAt) + { + if (is_null($updatedAt)) { + throw new \InvalidArgumentException('non-nullable updatedAt cannot be null'); + } + $this->container['updatedAt'] = $updatedAt; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } +} + + diff --git a/clients/client/php/test/Model/AccountExperienceThemeVariablesTest.php b/clients/client/php/test/Model/AccountExperienceThemeVariablesTest.php new file mode 100644 index 00000000000..77696ec939d --- /dev/null +++ b/clients/client/php/test/Model/AccountExperienceThemeVariablesTest.php @@ -0,0 +1,901 @@ + str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AccountExperienceThemeVariables from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + * Fields in `self.additional_properties` are added to the output dict. + """ + excluded_fields: Set[str] = set([ + "additional_properties", + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # puts key-value pairs in additional_properties in the top level + if self.additional_properties is not None: + for _key, _value in self.additional_properties.items(): + _dict[_key] = _value + + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AccountExperienceThemeVariables from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "accent": obj.get("accent"), + "bg-default": obj.get("bg-default"), + "border-radius-branding": obj.get("border-radius-branding"), + "border-radius-buttons": obj.get("border-radius-buttons"), + "border-radius-cards": obj.get("border-radius-cards"), + "border-radius-forms": obj.get("border-radius-forms"), + "border-radius-general": obj.get("border-radius-general"), + "button-primary-bg-default": obj.get("button-primary-bg-default"), + "button-primary-bg-disabled": obj.get("button-primary-bg-disabled"), + "button-primary-bg-hover": obj.get("button-primary-bg-hover"), + "button-primary-border-default": obj.get("button-primary-border-default"), + "button-primary-border-disabled": obj.get("button-primary-border-disabled"), + "button-primary-border-hover": obj.get("button-primary-border-hover"), + "button-primary-fg-default": obj.get("button-primary-fg-default"), + "button-primary-fg-disabled": obj.get("button-primary-fg-disabled"), + "button-primary-fg-hover": obj.get("button-primary-fg-hover"), + "button-secondary-bg-default": obj.get("button-secondary-bg-default"), + "button-secondary-bg-disabled": obj.get("button-secondary-bg-disabled"), + "button-secondary-bg-hover": obj.get("button-secondary-bg-hover"), + "button-secondary-border-default": obj.get("button-secondary-border-default"), + "button-secondary-border-disabled": obj.get("button-secondary-border-disabled"), + "button-secondary-border-hover": obj.get("button-secondary-border-hover"), + "button-secondary-fg-default": obj.get("button-secondary-fg-default"), + "button-secondary-fg-disabled": obj.get("button-secondary-fg-disabled"), + "button-secondary-fg-hover": obj.get("button-secondary-fg-hover"), + "button-social-bg-default": obj.get("button-social-bg-default"), + "button-social-bg-disabled": obj.get("button-social-bg-disabled"), + "button-social-bg-hover": obj.get("button-social-bg-hover"), + "button-social-bg-provider": obj.get("button-social-bg-provider"), + "button-social-border-default": obj.get("button-social-border-default"), + "button-social-border-disabled": obj.get("button-social-border-disabled"), + "button-social-border-hover": obj.get("button-social-border-hover"), + "button-social-border-provider": obj.get("button-social-border-provider"), + "button-social-fg-default": obj.get("button-social-fg-default"), + "button-social-fg-disabled": obj.get("button-social-fg-disabled"), + "button-social-fg-hover": obj.get("button-social-fg-hover"), + "button-social-fg-provider": obj.get("button-social-fg-provider"), + "created_at": obj.get("created_at"), + "dialog-bg-default": obj.get("dialog-bg-default"), + "dialog-bg-subtle": obj.get("dialog-bg-subtle"), + "dialog-border-default": obj.get("dialog-border-default"), + "dialog-fg-default": obj.get("dialog-fg-default"), + "dialog-fg-mute": obj.get("dialog-fg-mute"), + "dialog-fg-subtle": obj.get("dialog-fg-subtle"), + "forms-bg-default": obj.get("forms-bg-default"), + "forms-bg-disabled": obj.get("forms-bg-disabled"), + "forms-bg-hover": obj.get("forms-bg-hover"), + "forms-border-default": obj.get("forms-border-default"), + "forms-border-disabled": obj.get("forms-border-disabled"), + "forms-border-error": obj.get("forms-border-error"), + "forms-border-focus": obj.get("forms-border-focus"), + "forms-border-hover": obj.get("forms-border-hover"), + "forms-border-success": obj.get("forms-border-success"), + "forms-border-warn": obj.get("forms-border-warn"), + "forms-checkbox-bg-checked": obj.get("forms-checkbox-bg-checked"), + "forms-checkbox-bg-default": obj.get("forms-checkbox-bg-default"), + "forms-checkbox-border-checked": obj.get("forms-checkbox-border-checked"), + "forms-checkbox-border-default": obj.get("forms-checkbox-border-default"), + "forms-checkbox-fg-checked": obj.get("forms-checkbox-fg-checked"), + "forms-checkbox-fg-default": obj.get("forms-checkbox-fg-default"), + "forms-fg-default": obj.get("forms-fg-default"), + "forms-fg-error": obj.get("forms-fg-error"), + "forms-fg-mute": obj.get("forms-fg-mute"), + "forms-fg-subtle": obj.get("forms-fg-subtle"), + "forms-fg-success": obj.get("forms-fg-success"), + "forms-fg-warn": obj.get("forms-fg-warn"), + "forms-radio-bg-checked": obj.get("forms-radio-bg-checked"), + "forms-radio-bg-default": obj.get("forms-radio-bg-default"), + "forms-radio-border-checked": obj.get("forms-radio-border-checked"), + "forms-radio-border-default": obj.get("forms-radio-border-default"), + "forms-radio-fg-checked": obj.get("forms-radio-fg-checked"), + "forms-radio-fg-default": obj.get("forms-radio-fg-default"), + "forms-toggle-bg-checked": obj.get("forms-toggle-bg-checked"), + "forms-toggle-bg-default": obj.get("forms-toggle-bg-default"), + "forms-toggle-border-checked": obj.get("forms-toggle-border-checked"), + "forms-toggle-border-default": obj.get("forms-toggle-border-default"), + "forms-toggle-fg-checked": obj.get("forms-toggle-fg-checked"), + "forms-toggle-fg-default": obj.get("forms-toggle-fg-default"), + "id": obj.get("id"), + "links-link-default": obj.get("links-link-default"), + "links-link-disabled": obj.get("links-link-disabled"), + "links-link-hover": obj.get("links-link-hover"), + "links-link-inverted-default": obj.get("links-link-inverted-default"), + "links-link-inverted-hover": obj.get("links-link-inverted-hover"), + "links-link-mute-default": obj.get("links-link-mute-default"), + "links-link-mute-hover": obj.get("links-link-mute-hover"), + "syntax-syntax": obj.get("syntax-syntax"), + "syntax-syntax-key": obj.get("syntax-syntax-key"), + "syntax-syntax-num": obj.get("syntax-syntax-num"), + "syntax-syntax-value": obj.get("syntax-syntax-value"), + "updated_at": obj.get("updated_at") + }) + # store additional fields in additional_properties + for _key in obj.keys(): + if _key not in cls.__properties: + _obj.additional_properties[_key] = obj.get(_key) + + return _obj + + diff --git a/clients/client/python/test/test_account_experience_theme_variables.py b/clients/client/python/test/test_account_experience_theme_variables.py new file mode 100644 index 00000000000..e0de06b40ca --- /dev/null +++ b/clients/client/python/test/test_account_experience_theme_variables.py @@ -0,0 +1,142 @@ +# coding: utf-8 + +""" + Ory APIs + + # 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) | + + The version of the OpenAPI document: v1.15.11 + Contact: support@ory.sh + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from ory_client.models.account_experience_theme_variables import AccountExperienceThemeVariables + +class TestAccountExperienceThemeVariables(unittest.TestCase): + """AccountExperienceThemeVariables unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AccountExperienceThemeVariables: + """Test AccountExperienceThemeVariables + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `AccountExperienceThemeVariables` + """ + model = AccountExperienceThemeVariables() + if include_optional: + return AccountExperienceThemeVariables( + accent = '', + bg_default = '', + border_radius_branding = '', + border_radius_buttons = '', + border_radius_cards = '', + border_radius_forms = '', + border_radius_general = '', + button_primary_bg_default = '', + button_primary_bg_disabled = '', + button_primary_bg_hover = '', + button_primary_border_default = '', + button_primary_border_disabled = '', + button_primary_border_hover = '', + button_primary_fg_default = '', + button_primary_fg_disabled = '', + button_primary_fg_hover = '', + button_secondary_bg_default = '', + button_secondary_bg_disabled = '', + button_secondary_bg_hover = '', + button_secondary_border_default = '', + button_secondary_border_disabled = '', + button_secondary_border_hover = '', + button_secondary_fg_default = '', + button_secondary_fg_disabled = '', + button_secondary_fg_hover = '', + button_social_bg_default = '', + button_social_bg_disabled = '', + button_social_bg_hover = '', + button_social_bg_provider = '', + button_social_border_default = '', + button_social_border_disabled = '', + button_social_border_hover = '', + button_social_border_provider = '', + button_social_fg_default = '', + button_social_fg_disabled = '', + button_social_fg_hover = '', + button_social_fg_provider = '', + created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + dialog_bg_default = '', + dialog_bg_subtle = '', + dialog_border_default = '', + dialog_fg_default = '', + dialog_fg_mute = '', + dialog_fg_subtle = '', + forms_bg_default = '', + forms_bg_disabled = '', + forms_bg_hover = '', + forms_border_default = '', + forms_border_disabled = '', + forms_border_error = '', + forms_border_focus = '', + forms_border_hover = '', + forms_border_success = '', + forms_border_warn = '', + forms_checkbox_bg_checked = '', + forms_checkbox_bg_default = '', + forms_checkbox_border_checked = '', + forms_checkbox_border_default = '', + forms_checkbox_fg_checked = '', + forms_checkbox_fg_default = '', + forms_fg_default = '', + forms_fg_error = '', + forms_fg_mute = '', + forms_fg_subtle = '', + forms_fg_success = '', + forms_fg_warn = '', + forms_radio_bg_checked = '', + forms_radio_bg_default = '', + forms_radio_border_checked = '', + forms_radio_border_default = '', + forms_radio_fg_checked = '', + forms_radio_fg_default = '', + forms_toggle_bg_checked = '', + forms_toggle_bg_default = '', + forms_toggle_border_checked = '', + forms_toggle_border_default = '', + forms_toggle_fg_checked = '', + forms_toggle_fg_default = '', + id = '', + links_link_default = '', + links_link_disabled = '', + links_link_hover = '', + links_link_inverted_default = '', + links_link_inverted_hover = '', + links_link_mute_default = '', + links_link_mute_hover = '', + syntax_syntax = '', + syntax_syntax_key = '', + syntax_syntax_num = '', + syntax_syntax_value = '', + updated_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + ) + else: + return AccountExperienceThemeVariables( + ) + """ + + def testAccountExperienceThemeVariables(self): + """Test AccountExperienceThemeVariables""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/clients/client/python/test/test_o_auth2_consent_session_expires_at.py b/clients/client/python/test/test_o_auth2_consent_session_expires_at.py new file mode 100644 index 00000000000..4a02166fdab --- /dev/null +++ b/clients/client/python/test/test_o_auth2_consent_session_expires_at.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Ory APIs + + # 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) | + + The version of the OpenAPI document: v1.15.11 + Contact: support@ory.sh + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from ory_client.models.o_auth2_consent_session_expires_at import OAuth2ConsentSessionExpiresAt + +class TestOAuth2ConsentSessionExpiresAt(unittest.TestCase): + """OAuth2ConsentSessionExpiresAt unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> OAuth2ConsentSessionExpiresAt: + """Test OAuth2ConsentSessionExpiresAt + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `OAuth2ConsentSessionExpiresAt` + """ + model = OAuth2ConsentSessionExpiresAt() + if include_optional: + return OAuth2ConsentSessionExpiresAt( + access_token = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + authorize_code = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + id_token = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + par_context = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + refresh_token = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + ) + else: + return OAuth2ConsentSessionExpiresAt( + ) + """ + + def testOAuth2ConsentSessionExpiresAt(self): + """Test OAuth2ConsentSessionExpiresAt""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/clients/client/ruby/lib/ory-client/models/account_experience_theme_variables.rb b/clients/client/ruby/lib/ory-client/models/account_experience_theme_variables.rb new file mode 100644 index 00000000000..8aeb5d492f7 --- /dev/null +++ b/clients/client/ruby/lib/ory-client/models/account_experience_theme_variables.rb @@ -0,0 +1,1024 @@ +=begin +#Ory APIs + +## 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) | + +The version of the OpenAPI document: v1.15.11 +Contact: support@ory.sh +Generated by: https://openapi-generator.tech +Generator version: 7.7.0 + +=end + +require 'date' +require 'time' + +module OryClient + class AccountExperienceThemeVariables + attr_accessor :accent + + attr_accessor :bg_default + + attr_accessor :border_radius_branding + + attr_accessor :border_radius_buttons + + attr_accessor :border_radius_cards + + attr_accessor :border_radius_forms + + attr_accessor :border_radius_general + + attr_accessor :button_primary_bg_default + + attr_accessor :button_primary_bg_disabled + + attr_accessor :button_primary_bg_hover + + attr_accessor :button_primary_border_default + + attr_accessor :button_primary_border_disabled + + attr_accessor :button_primary_border_hover + + attr_accessor :button_primary_fg_default + + attr_accessor :button_primary_fg_disabled + + attr_accessor :button_primary_fg_hover + + attr_accessor :button_secondary_bg_default + + attr_accessor :button_secondary_bg_disabled + + attr_accessor :button_secondary_bg_hover + + attr_accessor :button_secondary_border_default + + attr_accessor :button_secondary_border_disabled + + attr_accessor :button_secondary_border_hover + + attr_accessor :button_secondary_fg_default + + attr_accessor :button_secondary_fg_disabled + + attr_accessor :button_secondary_fg_hover + + attr_accessor :button_social_bg_default + + attr_accessor :button_social_bg_disabled + + attr_accessor :button_social_bg_hover + + attr_accessor :button_social_bg_provider + + attr_accessor :button_social_border_default + + attr_accessor :button_social_border_disabled + + attr_accessor :button_social_border_hover + + attr_accessor :button_social_border_provider + + attr_accessor :button_social_fg_default + + attr_accessor :button_social_fg_disabled + + attr_accessor :button_social_fg_hover + + attr_accessor :button_social_fg_provider + + attr_accessor :created_at + + attr_accessor :dialog_bg_default + + attr_accessor :dialog_bg_subtle + + attr_accessor :dialog_border_default + + attr_accessor :dialog_fg_default + + attr_accessor :dialog_fg_mute + + attr_accessor :dialog_fg_subtle + + attr_accessor :forms_bg_default + + attr_accessor :forms_bg_disabled + + attr_accessor :forms_bg_hover + + attr_accessor :forms_border_default + + attr_accessor :forms_border_disabled + + attr_accessor :forms_border_error + + attr_accessor :forms_border_focus + + attr_accessor :forms_border_hover + + attr_accessor :forms_border_success + + attr_accessor :forms_border_warn + + attr_accessor :forms_checkbox_bg_checked + + attr_accessor :forms_checkbox_bg_default + + attr_accessor :forms_checkbox_border_checked + + attr_accessor :forms_checkbox_border_default + + attr_accessor :forms_checkbox_fg_checked + + attr_accessor :forms_checkbox_fg_default + + attr_accessor :forms_fg_default + + attr_accessor :forms_fg_error + + attr_accessor :forms_fg_mute + + attr_accessor :forms_fg_subtle + + attr_accessor :forms_fg_success + + attr_accessor :forms_fg_warn + + attr_accessor :forms_radio_bg_checked + + attr_accessor :forms_radio_bg_default + + attr_accessor :forms_radio_border_checked + + attr_accessor :forms_radio_border_default + + attr_accessor :forms_radio_fg_checked + + attr_accessor :forms_radio_fg_default + + attr_accessor :forms_toggle_bg_checked + + attr_accessor :forms_toggle_bg_default + + attr_accessor :forms_toggle_border_checked + + attr_accessor :forms_toggle_border_default + + attr_accessor :forms_toggle_fg_checked + + attr_accessor :forms_toggle_fg_default + + attr_accessor :id + + attr_accessor :links_link_default + + attr_accessor :links_link_disabled + + attr_accessor :links_link_hover + + attr_accessor :links_link_inverted_default + + attr_accessor :links_link_inverted_hover + + attr_accessor :links_link_mute_default + + attr_accessor :links_link_mute_hover + + attr_accessor :syntax_syntax + + attr_accessor :syntax_syntax_key + + attr_accessor :syntax_syntax_num + + attr_accessor :syntax_syntax_value + + attr_accessor :updated_at + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'accent' => :'accent', + :'bg_default' => :'bg-default', + :'border_radius_branding' => :'border-radius-branding', + :'border_radius_buttons' => :'border-radius-buttons', + :'border_radius_cards' => :'border-radius-cards', + :'border_radius_forms' => :'border-radius-forms', + :'border_radius_general' => :'border-radius-general', + :'button_primary_bg_default' => :'button-primary-bg-default', + :'button_primary_bg_disabled' => :'button-primary-bg-disabled', + :'button_primary_bg_hover' => :'button-primary-bg-hover', + :'button_primary_border_default' => :'button-primary-border-default', + :'button_primary_border_disabled' => :'button-primary-border-disabled', + :'button_primary_border_hover' => :'button-primary-border-hover', + :'button_primary_fg_default' => :'button-primary-fg-default', + :'button_primary_fg_disabled' => :'button-primary-fg-disabled', + :'button_primary_fg_hover' => :'button-primary-fg-hover', + :'button_secondary_bg_default' => :'button-secondary-bg-default', + :'button_secondary_bg_disabled' => :'button-secondary-bg-disabled', + :'button_secondary_bg_hover' => :'button-secondary-bg-hover', + :'button_secondary_border_default' => :'button-secondary-border-default', + :'button_secondary_border_disabled' => :'button-secondary-border-disabled', + :'button_secondary_border_hover' => :'button-secondary-border-hover', + :'button_secondary_fg_default' => :'button-secondary-fg-default', + :'button_secondary_fg_disabled' => :'button-secondary-fg-disabled', + :'button_secondary_fg_hover' => :'button-secondary-fg-hover', + :'button_social_bg_default' => :'button-social-bg-default', + :'button_social_bg_disabled' => :'button-social-bg-disabled', + :'button_social_bg_hover' => :'button-social-bg-hover', + :'button_social_bg_provider' => :'button-social-bg-provider', + :'button_social_border_default' => :'button-social-border-default', + :'button_social_border_disabled' => :'button-social-border-disabled', + :'button_social_border_hover' => :'button-social-border-hover', + :'button_social_border_provider' => :'button-social-border-provider', + :'button_social_fg_default' => :'button-social-fg-default', + :'button_social_fg_disabled' => :'button-social-fg-disabled', + :'button_social_fg_hover' => :'button-social-fg-hover', + :'button_social_fg_provider' => :'button-social-fg-provider', + :'created_at' => :'created_at', + :'dialog_bg_default' => :'dialog-bg-default', + :'dialog_bg_subtle' => :'dialog-bg-subtle', + :'dialog_border_default' => :'dialog-border-default', + :'dialog_fg_default' => :'dialog-fg-default', + :'dialog_fg_mute' => :'dialog-fg-mute', + :'dialog_fg_subtle' => :'dialog-fg-subtle', + :'forms_bg_default' => :'forms-bg-default', + :'forms_bg_disabled' => :'forms-bg-disabled', + :'forms_bg_hover' => :'forms-bg-hover', + :'forms_border_default' => :'forms-border-default', + :'forms_border_disabled' => :'forms-border-disabled', + :'forms_border_error' => :'forms-border-error', + :'forms_border_focus' => :'forms-border-focus', + :'forms_border_hover' => :'forms-border-hover', + :'forms_border_success' => :'forms-border-success', + :'forms_border_warn' => :'forms-border-warn', + :'forms_checkbox_bg_checked' => :'forms-checkbox-bg-checked', + :'forms_checkbox_bg_default' => :'forms-checkbox-bg-default', + :'forms_checkbox_border_checked' => :'forms-checkbox-border-checked', + :'forms_checkbox_border_default' => :'forms-checkbox-border-default', + :'forms_checkbox_fg_checked' => :'forms-checkbox-fg-checked', + :'forms_checkbox_fg_default' => :'forms-checkbox-fg-default', + :'forms_fg_default' => :'forms-fg-default', + :'forms_fg_error' => :'forms-fg-error', + :'forms_fg_mute' => :'forms-fg-mute', + :'forms_fg_subtle' => :'forms-fg-subtle', + :'forms_fg_success' => :'forms-fg-success', + :'forms_fg_warn' => :'forms-fg-warn', + :'forms_radio_bg_checked' => :'forms-radio-bg-checked', + :'forms_radio_bg_default' => :'forms-radio-bg-default', + :'forms_radio_border_checked' => :'forms-radio-border-checked', + :'forms_radio_border_default' => :'forms-radio-border-default', + :'forms_radio_fg_checked' => :'forms-radio-fg-checked', + :'forms_radio_fg_default' => :'forms-radio-fg-default', + :'forms_toggle_bg_checked' => :'forms-toggle-bg-checked', + :'forms_toggle_bg_default' => :'forms-toggle-bg-default', + :'forms_toggle_border_checked' => :'forms-toggle-border-checked', + :'forms_toggle_border_default' => :'forms-toggle-border-default', + :'forms_toggle_fg_checked' => :'forms-toggle-fg-checked', + :'forms_toggle_fg_default' => :'forms-toggle-fg-default', + :'id' => :'id', + :'links_link_default' => :'links-link-default', + :'links_link_disabled' => :'links-link-disabled', + :'links_link_hover' => :'links-link-hover', + :'links_link_inverted_default' => :'links-link-inverted-default', + :'links_link_inverted_hover' => :'links-link-inverted-hover', + :'links_link_mute_default' => :'links-link-mute-default', + :'links_link_mute_hover' => :'links-link-mute-hover', + :'syntax_syntax' => :'syntax-syntax', + :'syntax_syntax_key' => :'syntax-syntax-key', + :'syntax_syntax_num' => :'syntax-syntax-num', + :'syntax_syntax_value' => :'syntax-syntax-value', + :'updated_at' => :'updated_at' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'accent' => :'String', + :'bg_default' => :'String', + :'border_radius_branding' => :'String', + :'border_radius_buttons' => :'String', + :'border_radius_cards' => :'String', + :'border_radius_forms' => :'String', + :'border_radius_general' => :'String', + :'button_primary_bg_default' => :'String', + :'button_primary_bg_disabled' => :'String', + :'button_primary_bg_hover' => :'String', + :'button_primary_border_default' => :'String', + :'button_primary_border_disabled' => :'String', + :'button_primary_border_hover' => :'String', + :'button_primary_fg_default' => :'String', + :'button_primary_fg_disabled' => :'String', + :'button_primary_fg_hover' => :'String', + :'button_secondary_bg_default' => :'String', + :'button_secondary_bg_disabled' => :'String', + :'button_secondary_bg_hover' => :'String', + :'button_secondary_border_default' => :'String', + :'button_secondary_border_disabled' => :'String', + :'button_secondary_border_hover' => :'String', + :'button_secondary_fg_default' => :'String', + :'button_secondary_fg_disabled' => :'String', + :'button_secondary_fg_hover' => :'String', + :'button_social_bg_default' => :'String', + :'button_social_bg_disabled' => :'String', + :'button_social_bg_hover' => :'String', + :'button_social_bg_provider' => :'String', + :'button_social_border_default' => :'String', + :'button_social_border_disabled' => :'String', + :'button_social_border_hover' => :'String', + :'button_social_border_provider' => :'String', + :'button_social_fg_default' => :'String', + :'button_social_fg_disabled' => :'String', + :'button_social_fg_hover' => :'String', + :'button_social_fg_provider' => :'String', + :'created_at' => :'Time', + :'dialog_bg_default' => :'String', + :'dialog_bg_subtle' => :'String', + :'dialog_border_default' => :'String', + :'dialog_fg_default' => :'String', + :'dialog_fg_mute' => :'String', + :'dialog_fg_subtle' => :'String', + :'forms_bg_default' => :'String', + :'forms_bg_disabled' => :'String', + :'forms_bg_hover' => :'String', + :'forms_border_default' => :'String', + :'forms_border_disabled' => :'String', + :'forms_border_error' => :'String', + :'forms_border_focus' => :'String', + :'forms_border_hover' => :'String', + :'forms_border_success' => :'String', + :'forms_border_warn' => :'String', + :'forms_checkbox_bg_checked' => :'String', + :'forms_checkbox_bg_default' => :'String', + :'forms_checkbox_border_checked' => :'String', + :'forms_checkbox_border_default' => :'String', + :'forms_checkbox_fg_checked' => :'String', + :'forms_checkbox_fg_default' => :'String', + :'forms_fg_default' => :'String', + :'forms_fg_error' => :'String', + :'forms_fg_mute' => :'String', + :'forms_fg_subtle' => :'String', + :'forms_fg_success' => :'String', + :'forms_fg_warn' => :'String', + :'forms_radio_bg_checked' => :'String', + :'forms_radio_bg_default' => :'String', + :'forms_radio_border_checked' => :'String', + :'forms_radio_border_default' => :'String', + :'forms_radio_fg_checked' => :'String', + :'forms_radio_fg_default' => :'String', + :'forms_toggle_bg_checked' => :'String', + :'forms_toggle_bg_default' => :'String', + :'forms_toggle_border_checked' => :'String', + :'forms_toggle_border_default' => :'String', + :'forms_toggle_fg_checked' => :'String', + :'forms_toggle_fg_default' => :'String', + :'id' => :'String', + :'links_link_default' => :'String', + :'links_link_disabled' => :'String', + :'links_link_hover' => :'String', + :'links_link_inverted_default' => :'String', + :'links_link_inverted_hover' => :'String', + :'links_link_mute_default' => :'String', + :'links_link_mute_hover' => :'String', + :'syntax_syntax' => :'String', + :'syntax_syntax_key' => :'String', + :'syntax_syntax_num' => :'String', + :'syntax_syntax_value' => :'String', + :'updated_at' => :'Time' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::AccountExperienceThemeVariables` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::AccountExperienceThemeVariables`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'accent') + self.accent = attributes[:'accent'] + end + + if attributes.key?(:'bg_default') + self.bg_default = attributes[:'bg_default'] + end + + if attributes.key?(:'border_radius_branding') + self.border_radius_branding = attributes[:'border_radius_branding'] + end + + if attributes.key?(:'border_radius_buttons') + self.border_radius_buttons = attributes[:'border_radius_buttons'] + end + + if attributes.key?(:'border_radius_cards') + self.border_radius_cards = attributes[:'border_radius_cards'] + end + + if attributes.key?(:'border_radius_forms') + self.border_radius_forms = attributes[:'border_radius_forms'] + end + + if attributes.key?(:'border_radius_general') + self.border_radius_general = attributes[:'border_radius_general'] + end + + if attributes.key?(:'button_primary_bg_default') + self.button_primary_bg_default = attributes[:'button_primary_bg_default'] + end + + if attributes.key?(:'button_primary_bg_disabled') + self.button_primary_bg_disabled = attributes[:'button_primary_bg_disabled'] + end + + if attributes.key?(:'button_primary_bg_hover') + self.button_primary_bg_hover = attributes[:'button_primary_bg_hover'] + end + + if attributes.key?(:'button_primary_border_default') + self.button_primary_border_default = attributes[:'button_primary_border_default'] + end + + if attributes.key?(:'button_primary_border_disabled') + self.button_primary_border_disabled = attributes[:'button_primary_border_disabled'] + end + + if attributes.key?(:'button_primary_border_hover') + self.button_primary_border_hover = attributes[:'button_primary_border_hover'] + end + + if attributes.key?(:'button_primary_fg_default') + self.button_primary_fg_default = attributes[:'button_primary_fg_default'] + end + + if attributes.key?(:'button_primary_fg_disabled') + self.button_primary_fg_disabled = attributes[:'button_primary_fg_disabled'] + end + + if attributes.key?(:'button_primary_fg_hover') + self.button_primary_fg_hover = attributes[:'button_primary_fg_hover'] + end + + if attributes.key?(:'button_secondary_bg_default') + self.button_secondary_bg_default = attributes[:'button_secondary_bg_default'] + end + + if attributes.key?(:'button_secondary_bg_disabled') + self.button_secondary_bg_disabled = attributes[:'button_secondary_bg_disabled'] + end + + if attributes.key?(:'button_secondary_bg_hover') + self.button_secondary_bg_hover = attributes[:'button_secondary_bg_hover'] + end + + if attributes.key?(:'button_secondary_border_default') + self.button_secondary_border_default = attributes[:'button_secondary_border_default'] + end + + if attributes.key?(:'button_secondary_border_disabled') + self.button_secondary_border_disabled = attributes[:'button_secondary_border_disabled'] + end + + if attributes.key?(:'button_secondary_border_hover') + self.button_secondary_border_hover = attributes[:'button_secondary_border_hover'] + end + + if attributes.key?(:'button_secondary_fg_default') + self.button_secondary_fg_default = attributes[:'button_secondary_fg_default'] + end + + if attributes.key?(:'button_secondary_fg_disabled') + self.button_secondary_fg_disabled = attributes[:'button_secondary_fg_disabled'] + end + + if attributes.key?(:'button_secondary_fg_hover') + self.button_secondary_fg_hover = attributes[:'button_secondary_fg_hover'] + end + + if attributes.key?(:'button_social_bg_default') + self.button_social_bg_default = attributes[:'button_social_bg_default'] + end + + if attributes.key?(:'button_social_bg_disabled') + self.button_social_bg_disabled = attributes[:'button_social_bg_disabled'] + end + + if attributes.key?(:'button_social_bg_hover') + self.button_social_bg_hover = attributes[:'button_social_bg_hover'] + end + + if attributes.key?(:'button_social_bg_provider') + self.button_social_bg_provider = attributes[:'button_social_bg_provider'] + end + + if attributes.key?(:'button_social_border_default') + self.button_social_border_default = attributes[:'button_social_border_default'] + end + + if attributes.key?(:'button_social_border_disabled') + self.button_social_border_disabled = attributes[:'button_social_border_disabled'] + end + + if attributes.key?(:'button_social_border_hover') + self.button_social_border_hover = attributes[:'button_social_border_hover'] + end + + if attributes.key?(:'button_social_border_provider') + self.button_social_border_provider = attributes[:'button_social_border_provider'] + end + + if attributes.key?(:'button_social_fg_default') + self.button_social_fg_default = attributes[:'button_social_fg_default'] + end + + if attributes.key?(:'button_social_fg_disabled') + self.button_social_fg_disabled = attributes[:'button_social_fg_disabled'] + end + + if attributes.key?(:'button_social_fg_hover') + self.button_social_fg_hover = attributes[:'button_social_fg_hover'] + end + + if attributes.key?(:'button_social_fg_provider') + self.button_social_fg_provider = attributes[:'button_social_fg_provider'] + end + + if attributes.key?(:'created_at') + self.created_at = attributes[:'created_at'] + end + + if attributes.key?(:'dialog_bg_default') + self.dialog_bg_default = attributes[:'dialog_bg_default'] + end + + if attributes.key?(:'dialog_bg_subtle') + self.dialog_bg_subtle = attributes[:'dialog_bg_subtle'] + end + + if attributes.key?(:'dialog_border_default') + self.dialog_border_default = attributes[:'dialog_border_default'] + end + + if attributes.key?(:'dialog_fg_default') + self.dialog_fg_default = attributes[:'dialog_fg_default'] + end + + if attributes.key?(:'dialog_fg_mute') + self.dialog_fg_mute = attributes[:'dialog_fg_mute'] + end + + if attributes.key?(:'dialog_fg_subtle') + self.dialog_fg_subtle = attributes[:'dialog_fg_subtle'] + end + + if attributes.key?(:'forms_bg_default') + self.forms_bg_default = attributes[:'forms_bg_default'] + end + + if attributes.key?(:'forms_bg_disabled') + self.forms_bg_disabled = attributes[:'forms_bg_disabled'] + end + + if attributes.key?(:'forms_bg_hover') + self.forms_bg_hover = attributes[:'forms_bg_hover'] + end + + if attributes.key?(:'forms_border_default') + self.forms_border_default = attributes[:'forms_border_default'] + end + + if attributes.key?(:'forms_border_disabled') + self.forms_border_disabled = attributes[:'forms_border_disabled'] + end + + if attributes.key?(:'forms_border_error') + self.forms_border_error = attributes[:'forms_border_error'] + end + + if attributes.key?(:'forms_border_focus') + self.forms_border_focus = attributes[:'forms_border_focus'] + end + + if attributes.key?(:'forms_border_hover') + self.forms_border_hover = attributes[:'forms_border_hover'] + end + + if attributes.key?(:'forms_border_success') + self.forms_border_success = attributes[:'forms_border_success'] + end + + if attributes.key?(:'forms_border_warn') + self.forms_border_warn = attributes[:'forms_border_warn'] + end + + if attributes.key?(:'forms_checkbox_bg_checked') + self.forms_checkbox_bg_checked = attributes[:'forms_checkbox_bg_checked'] + end + + if attributes.key?(:'forms_checkbox_bg_default') + self.forms_checkbox_bg_default = attributes[:'forms_checkbox_bg_default'] + end + + if attributes.key?(:'forms_checkbox_border_checked') + self.forms_checkbox_border_checked = attributes[:'forms_checkbox_border_checked'] + end + + if attributes.key?(:'forms_checkbox_border_default') + self.forms_checkbox_border_default = attributes[:'forms_checkbox_border_default'] + end + + if attributes.key?(:'forms_checkbox_fg_checked') + self.forms_checkbox_fg_checked = attributes[:'forms_checkbox_fg_checked'] + end + + if attributes.key?(:'forms_checkbox_fg_default') + self.forms_checkbox_fg_default = attributes[:'forms_checkbox_fg_default'] + end + + if attributes.key?(:'forms_fg_default') + self.forms_fg_default = attributes[:'forms_fg_default'] + end + + if attributes.key?(:'forms_fg_error') + self.forms_fg_error = attributes[:'forms_fg_error'] + end + + if attributes.key?(:'forms_fg_mute') + self.forms_fg_mute = attributes[:'forms_fg_mute'] + end + + if attributes.key?(:'forms_fg_subtle') + self.forms_fg_subtle = attributes[:'forms_fg_subtle'] + end + + if attributes.key?(:'forms_fg_success') + self.forms_fg_success = attributes[:'forms_fg_success'] + end + + if attributes.key?(:'forms_fg_warn') + self.forms_fg_warn = attributes[:'forms_fg_warn'] + end + + if attributes.key?(:'forms_radio_bg_checked') + self.forms_radio_bg_checked = attributes[:'forms_radio_bg_checked'] + end + + if attributes.key?(:'forms_radio_bg_default') + self.forms_radio_bg_default = attributes[:'forms_radio_bg_default'] + end + + if attributes.key?(:'forms_radio_border_checked') + self.forms_radio_border_checked = attributes[:'forms_radio_border_checked'] + end + + if attributes.key?(:'forms_radio_border_default') + self.forms_radio_border_default = attributes[:'forms_radio_border_default'] + end + + if attributes.key?(:'forms_radio_fg_checked') + self.forms_radio_fg_checked = attributes[:'forms_radio_fg_checked'] + end + + if attributes.key?(:'forms_radio_fg_default') + self.forms_radio_fg_default = attributes[:'forms_radio_fg_default'] + end + + if attributes.key?(:'forms_toggle_bg_checked') + self.forms_toggle_bg_checked = attributes[:'forms_toggle_bg_checked'] + end + + if attributes.key?(:'forms_toggle_bg_default') + self.forms_toggle_bg_default = attributes[:'forms_toggle_bg_default'] + end + + if attributes.key?(:'forms_toggle_border_checked') + self.forms_toggle_border_checked = attributes[:'forms_toggle_border_checked'] + end + + if attributes.key?(:'forms_toggle_border_default') + self.forms_toggle_border_default = attributes[:'forms_toggle_border_default'] + end + + if attributes.key?(:'forms_toggle_fg_checked') + self.forms_toggle_fg_checked = attributes[:'forms_toggle_fg_checked'] + end + + if attributes.key?(:'forms_toggle_fg_default') + self.forms_toggle_fg_default = attributes[:'forms_toggle_fg_default'] + end + + if attributes.key?(:'id') + self.id = attributes[:'id'] + end + + if attributes.key?(:'links_link_default') + self.links_link_default = attributes[:'links_link_default'] + end + + if attributes.key?(:'links_link_disabled') + self.links_link_disabled = attributes[:'links_link_disabled'] + end + + if attributes.key?(:'links_link_hover') + self.links_link_hover = attributes[:'links_link_hover'] + end + + if attributes.key?(:'links_link_inverted_default') + self.links_link_inverted_default = attributes[:'links_link_inverted_default'] + end + + if attributes.key?(:'links_link_inverted_hover') + self.links_link_inverted_hover = attributes[:'links_link_inverted_hover'] + end + + if attributes.key?(:'links_link_mute_default') + self.links_link_mute_default = attributes[:'links_link_mute_default'] + end + + if attributes.key?(:'links_link_mute_hover') + self.links_link_mute_hover = attributes[:'links_link_mute_hover'] + end + + if attributes.key?(:'syntax_syntax') + self.syntax_syntax = attributes[:'syntax_syntax'] + end + + if attributes.key?(:'syntax_syntax_key') + self.syntax_syntax_key = attributes[:'syntax_syntax_key'] + end + + if attributes.key?(:'syntax_syntax_num') + self.syntax_syntax_num = attributes[:'syntax_syntax_num'] + end + + if attributes.key?(:'syntax_syntax_value') + self.syntax_syntax_value = attributes[:'syntax_syntax_value'] + end + + if attributes.key?(:'updated_at') + self.updated_at = attributes[:'updated_at'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + warn '[DEPRECATED] the `valid?` method is obsolete' + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + accent == o.accent && + bg_default == o.bg_default && + border_radius_branding == o.border_radius_branding && + border_radius_buttons == o.border_radius_buttons && + border_radius_cards == o.border_radius_cards && + border_radius_forms == o.border_radius_forms && + border_radius_general == o.border_radius_general && + button_primary_bg_default == o.button_primary_bg_default && + button_primary_bg_disabled == o.button_primary_bg_disabled && + button_primary_bg_hover == o.button_primary_bg_hover && + button_primary_border_default == o.button_primary_border_default && + button_primary_border_disabled == o.button_primary_border_disabled && + button_primary_border_hover == o.button_primary_border_hover && + button_primary_fg_default == o.button_primary_fg_default && + button_primary_fg_disabled == o.button_primary_fg_disabled && + button_primary_fg_hover == o.button_primary_fg_hover && + button_secondary_bg_default == o.button_secondary_bg_default && + button_secondary_bg_disabled == o.button_secondary_bg_disabled && + button_secondary_bg_hover == o.button_secondary_bg_hover && + button_secondary_border_default == o.button_secondary_border_default && + button_secondary_border_disabled == o.button_secondary_border_disabled && + button_secondary_border_hover == o.button_secondary_border_hover && + button_secondary_fg_default == o.button_secondary_fg_default && + button_secondary_fg_disabled == o.button_secondary_fg_disabled && + button_secondary_fg_hover == o.button_secondary_fg_hover && + button_social_bg_default == o.button_social_bg_default && + button_social_bg_disabled == o.button_social_bg_disabled && + button_social_bg_hover == o.button_social_bg_hover && + button_social_bg_provider == o.button_social_bg_provider && + button_social_border_default == o.button_social_border_default && + button_social_border_disabled == o.button_social_border_disabled && + button_social_border_hover == o.button_social_border_hover && + button_social_border_provider == o.button_social_border_provider && + button_social_fg_default == o.button_social_fg_default && + button_social_fg_disabled == o.button_social_fg_disabled && + button_social_fg_hover == o.button_social_fg_hover && + button_social_fg_provider == o.button_social_fg_provider && + created_at == o.created_at && + dialog_bg_default == o.dialog_bg_default && + dialog_bg_subtle == o.dialog_bg_subtle && + dialog_border_default == o.dialog_border_default && + dialog_fg_default == o.dialog_fg_default && + dialog_fg_mute == o.dialog_fg_mute && + dialog_fg_subtle == o.dialog_fg_subtle && + forms_bg_default == o.forms_bg_default && + forms_bg_disabled == o.forms_bg_disabled && + forms_bg_hover == o.forms_bg_hover && + forms_border_default == o.forms_border_default && + forms_border_disabled == o.forms_border_disabled && + forms_border_error == o.forms_border_error && + forms_border_focus == o.forms_border_focus && + forms_border_hover == o.forms_border_hover && + forms_border_success == o.forms_border_success && + forms_border_warn == o.forms_border_warn && + forms_checkbox_bg_checked == o.forms_checkbox_bg_checked && + forms_checkbox_bg_default == o.forms_checkbox_bg_default && + forms_checkbox_border_checked == o.forms_checkbox_border_checked && + forms_checkbox_border_default == o.forms_checkbox_border_default && + forms_checkbox_fg_checked == o.forms_checkbox_fg_checked && + forms_checkbox_fg_default == o.forms_checkbox_fg_default && + forms_fg_default == o.forms_fg_default && + forms_fg_error == o.forms_fg_error && + forms_fg_mute == o.forms_fg_mute && + forms_fg_subtle == o.forms_fg_subtle && + forms_fg_success == o.forms_fg_success && + forms_fg_warn == o.forms_fg_warn && + forms_radio_bg_checked == o.forms_radio_bg_checked && + forms_radio_bg_default == o.forms_radio_bg_default && + forms_radio_border_checked == o.forms_radio_border_checked && + forms_radio_border_default == o.forms_radio_border_default && + forms_radio_fg_checked == o.forms_radio_fg_checked && + forms_radio_fg_default == o.forms_radio_fg_default && + forms_toggle_bg_checked == o.forms_toggle_bg_checked && + forms_toggle_bg_default == o.forms_toggle_bg_default && + forms_toggle_border_checked == o.forms_toggle_border_checked && + forms_toggle_border_default == o.forms_toggle_border_default && + forms_toggle_fg_checked == o.forms_toggle_fg_checked && + forms_toggle_fg_default == o.forms_toggle_fg_default && + id == o.id && + links_link_default == o.links_link_default && + links_link_disabled == o.links_link_disabled && + links_link_hover == o.links_link_hover && + links_link_inverted_default == o.links_link_inverted_default && + links_link_inverted_hover == o.links_link_inverted_hover && + links_link_mute_default == o.links_link_mute_default && + links_link_mute_hover == o.links_link_mute_hover && + syntax_syntax == o.syntax_syntax && + syntax_syntax_key == o.syntax_syntax_key && + syntax_syntax_num == o.syntax_syntax_num && + syntax_syntax_value == o.syntax_syntax_value && + updated_at == o.updated_at + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [accent, bg_default, border_radius_branding, border_radius_buttons, border_radius_cards, border_radius_forms, border_radius_general, button_primary_bg_default, button_primary_bg_disabled, button_primary_bg_hover, button_primary_border_default, button_primary_border_disabled, button_primary_border_hover, button_primary_fg_default, button_primary_fg_disabled, button_primary_fg_hover, button_secondary_bg_default, button_secondary_bg_disabled, button_secondary_bg_hover, button_secondary_border_default, button_secondary_border_disabled, button_secondary_border_hover, button_secondary_fg_default, button_secondary_fg_disabled, button_secondary_fg_hover, button_social_bg_default, button_social_bg_disabled, button_social_bg_hover, button_social_bg_provider, button_social_border_default, button_social_border_disabled, button_social_border_hover, button_social_border_provider, button_social_fg_default, button_social_fg_disabled, button_social_fg_hover, button_social_fg_provider, created_at, dialog_bg_default, dialog_bg_subtle, dialog_border_default, dialog_fg_default, dialog_fg_mute, dialog_fg_subtle, forms_bg_default, forms_bg_disabled, forms_bg_hover, forms_border_default, forms_border_disabled, forms_border_error, forms_border_focus, forms_border_hover, forms_border_success, forms_border_warn, forms_checkbox_bg_checked, forms_checkbox_bg_default, forms_checkbox_border_checked, forms_checkbox_border_default, forms_checkbox_fg_checked, forms_checkbox_fg_default, forms_fg_default, forms_fg_error, forms_fg_mute, forms_fg_subtle, forms_fg_success, forms_fg_warn, forms_radio_bg_checked, forms_radio_bg_default, forms_radio_border_checked, forms_radio_border_default, forms_radio_fg_checked, forms_radio_fg_default, forms_toggle_bg_checked, forms_toggle_bg_default, forms_toggle_border_checked, forms_toggle_border_default, forms_toggle_fg_checked, forms_toggle_fg_default, id, links_link_default, links_link_disabled, links_link_hover, links_link_inverted_default, links_link_inverted_hover, links_link_mute_default, links_link_mute_hover, syntax_syntax, syntax_syntax_key, syntax_syntax_num, syntax_syntax_value, updated_at].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + transformed_hash = {} + openapi_types.each_pair do |key, type| + if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil? + transformed_hash["#{key}"] = nil + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[attribute_map[key]].is_a?(Array) + transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) } + end + elsif !attributes[attribute_map[key]].nil? + transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]]) + end + end + new(transformed_hash) + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def self._deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = OryClient.const_get(type) + klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/clients/client/ruby/lib/ory-client/models/set_active_project_in_console_body.rb b/clients/client/ruby/lib/ory-client/models/set_active_project_in_console_body.rb new file mode 100644 index 00000000000..cb242074846 --- /dev/null +++ b/clients/client/ruby/lib/ory-client/models/set_active_project_in_console_body.rb @@ -0,0 +1,223 @@ +=begin +#Ory APIs + +## 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) | + +The version of the OpenAPI document: v1.15.11 +Contact: support@ory.sh +Generated by: https://openapi-generator.tech +Generator version: 7.7.0 + +=end + +require 'date' +require 'time' + +module OryClient + # Set active project in the Ory Network Console Request Body + class SetActiveProjectInConsoleBody + # Project ID The Project ID you want to set active. format: uuid + attr_accessor :project_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'project_id' => :'project_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'project_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::SetActiveProjectInConsoleBody` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::SetActiveProjectInConsoleBody`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'project_id') + self.project_id = attributes[:'project_id'] + else + self.project_id = nil + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' + invalid_properties = Array.new + if @project_id.nil? + invalid_properties.push('invalid value for "project_id", project_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + warn '[DEPRECATED] the `valid?` method is obsolete' + return false if @project_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + project_id == o.project_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [project_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + transformed_hash = {} + openapi_types.each_pair do |key, type| + if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil? + transformed_hash["#{key}"] = nil + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[attribute_map[key]].is_a?(Array) + transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) } + end + elsif !attributes[attribute_map[key]].nil? + transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]]) + end + end + new(transformed_hash) + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def self._deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = OryClient.const_get(type) + klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/clients/client/rust/src/models/account_experience_theme_variables.rs b/clients/client/rust/src/models/account_experience_theme_variables.rs new file mode 100644 index 00000000000..9d76c565ce2 --- /dev/null +++ b/clients/client/rust/src/models/account_experience_theme_variables.rs @@ -0,0 +1,297 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct AccountExperienceThemeVariables { + #[serde(rename = "accent", skip_serializing_if = "Option::is_none")] + pub accent: Option, + #[serde(rename = "bg-default", skip_serializing_if = "Option::is_none")] + pub bg_default: Option, + #[serde(rename = "border-radius-branding", skip_serializing_if = "Option::is_none")] + pub border_radius_branding: Option, + #[serde(rename = "border-radius-buttons", skip_serializing_if = "Option::is_none")] + pub border_radius_buttons: Option, + #[serde(rename = "border-radius-cards", skip_serializing_if = "Option::is_none")] + pub border_radius_cards: Option, + #[serde(rename = "border-radius-forms", skip_serializing_if = "Option::is_none")] + pub border_radius_forms: Option, + #[serde(rename = "border-radius-general", skip_serializing_if = "Option::is_none")] + pub border_radius_general: Option, + #[serde(rename = "button-primary-bg-default", skip_serializing_if = "Option::is_none")] + pub button_primary_bg_default: Option, + #[serde(rename = "button-primary-bg-disabled", skip_serializing_if = "Option::is_none")] + pub button_primary_bg_disabled: Option, + #[serde(rename = "button-primary-bg-hover", skip_serializing_if = "Option::is_none")] + pub button_primary_bg_hover: Option, + #[serde(rename = "button-primary-border-default", skip_serializing_if = "Option::is_none")] + pub button_primary_border_default: Option, + #[serde(rename = "button-primary-border-disabled", skip_serializing_if = "Option::is_none")] + pub button_primary_border_disabled: Option, + #[serde(rename = "button-primary-border-hover", skip_serializing_if = "Option::is_none")] + pub button_primary_border_hover: Option, + #[serde(rename = "button-primary-fg-default", skip_serializing_if = "Option::is_none")] + pub button_primary_fg_default: Option, + #[serde(rename = "button-primary-fg-disabled", skip_serializing_if = "Option::is_none")] + pub button_primary_fg_disabled: Option, + #[serde(rename = "button-primary-fg-hover", skip_serializing_if = "Option::is_none")] + pub button_primary_fg_hover: Option, + #[serde(rename = "button-secondary-bg-default", skip_serializing_if = "Option::is_none")] + pub button_secondary_bg_default: Option, + #[serde(rename = "button-secondary-bg-disabled", skip_serializing_if = "Option::is_none")] + pub button_secondary_bg_disabled: Option, + #[serde(rename = "button-secondary-bg-hover", skip_serializing_if = "Option::is_none")] + pub button_secondary_bg_hover: Option, + #[serde(rename = "button-secondary-border-default", skip_serializing_if = "Option::is_none")] + pub button_secondary_border_default: Option, + #[serde(rename = "button-secondary-border-disabled", skip_serializing_if = "Option::is_none")] + pub button_secondary_border_disabled: Option, + #[serde(rename = "button-secondary-border-hover", skip_serializing_if = "Option::is_none")] + pub button_secondary_border_hover: Option, + #[serde(rename = "button-secondary-fg-default", skip_serializing_if = "Option::is_none")] + pub button_secondary_fg_default: Option, + #[serde(rename = "button-secondary-fg-disabled", skip_serializing_if = "Option::is_none")] + pub button_secondary_fg_disabled: Option, + #[serde(rename = "button-secondary-fg-hover", skip_serializing_if = "Option::is_none")] + pub button_secondary_fg_hover: Option, + #[serde(rename = "button-social-bg-default", skip_serializing_if = "Option::is_none")] + pub button_social_bg_default: Option, + #[serde(rename = "button-social-bg-disabled", skip_serializing_if = "Option::is_none")] + pub button_social_bg_disabled: Option, + #[serde(rename = "button-social-bg-hover", skip_serializing_if = "Option::is_none")] + pub button_social_bg_hover: Option, + #[serde(rename = "button-social-bg-provider", skip_serializing_if = "Option::is_none")] + pub button_social_bg_provider: Option, + #[serde(rename = "button-social-border-default", skip_serializing_if = "Option::is_none")] + pub button_social_border_default: Option, + #[serde(rename = "button-social-border-disabled", skip_serializing_if = "Option::is_none")] + pub button_social_border_disabled: Option, + #[serde(rename = "button-social-border-hover", skip_serializing_if = "Option::is_none")] + pub button_social_border_hover: Option, + #[serde(rename = "button-social-border-provider", skip_serializing_if = "Option::is_none")] + pub button_social_border_provider: Option, + #[serde(rename = "button-social-fg-default", skip_serializing_if = "Option::is_none")] + pub button_social_fg_default: Option, + #[serde(rename = "button-social-fg-disabled", skip_serializing_if = "Option::is_none")] + pub button_social_fg_disabled: Option, + #[serde(rename = "button-social-fg-hover", skip_serializing_if = "Option::is_none")] + pub button_social_fg_hover: Option, + #[serde(rename = "button-social-fg-provider", skip_serializing_if = "Option::is_none")] + pub button_social_fg_provider: Option, + #[serde(rename = "created_at", skip_serializing_if = "Option::is_none")] + pub created_at: Option, + #[serde(rename = "dialog-bg-default", skip_serializing_if = "Option::is_none")] + pub dialog_bg_default: Option, + #[serde(rename = "dialog-bg-subtle", skip_serializing_if = "Option::is_none")] + pub dialog_bg_subtle: Option, + #[serde(rename = "dialog-border-default", skip_serializing_if = "Option::is_none")] + pub dialog_border_default: Option, + #[serde(rename = "dialog-fg-default", skip_serializing_if = "Option::is_none")] + pub dialog_fg_default: Option, + #[serde(rename = "dialog-fg-mute", skip_serializing_if = "Option::is_none")] + pub dialog_fg_mute: Option, + #[serde(rename = "dialog-fg-subtle", skip_serializing_if = "Option::is_none")] + pub dialog_fg_subtle: Option, + #[serde(rename = "forms-bg-default", skip_serializing_if = "Option::is_none")] + pub forms_bg_default: Option, + #[serde(rename = "forms-bg-disabled", skip_serializing_if = "Option::is_none")] + pub forms_bg_disabled: Option, + #[serde(rename = "forms-bg-hover", skip_serializing_if = "Option::is_none")] + pub forms_bg_hover: Option, + #[serde(rename = "forms-border-default", skip_serializing_if = "Option::is_none")] + pub forms_border_default: Option, + #[serde(rename = "forms-border-disabled", skip_serializing_if = "Option::is_none")] + pub forms_border_disabled: Option, + #[serde(rename = "forms-border-error", skip_serializing_if = "Option::is_none")] + pub forms_border_error: Option, + #[serde(rename = "forms-border-focus", skip_serializing_if = "Option::is_none")] + pub forms_border_focus: Option, + #[serde(rename = "forms-border-hover", skip_serializing_if = "Option::is_none")] + pub forms_border_hover: Option, + #[serde(rename = "forms-border-success", skip_serializing_if = "Option::is_none")] + pub forms_border_success: Option, + #[serde(rename = "forms-border-warn", skip_serializing_if = "Option::is_none")] + pub forms_border_warn: Option, + #[serde(rename = "forms-checkbox-bg-checked", skip_serializing_if = "Option::is_none")] + pub forms_checkbox_bg_checked: Option, + #[serde(rename = "forms-checkbox-bg-default", skip_serializing_if = "Option::is_none")] + pub forms_checkbox_bg_default: Option, + #[serde(rename = "forms-checkbox-border-checked", skip_serializing_if = "Option::is_none")] + pub forms_checkbox_border_checked: Option, + #[serde(rename = "forms-checkbox-border-default", skip_serializing_if = "Option::is_none")] + pub forms_checkbox_border_default: Option, + #[serde(rename = "forms-checkbox-fg-checked", skip_serializing_if = "Option::is_none")] + pub forms_checkbox_fg_checked: Option, + #[serde(rename = "forms-checkbox-fg-default", skip_serializing_if = "Option::is_none")] + pub forms_checkbox_fg_default: Option, + #[serde(rename = "forms-fg-default", skip_serializing_if = "Option::is_none")] + pub forms_fg_default: Option, + #[serde(rename = "forms-fg-error", skip_serializing_if = "Option::is_none")] + pub forms_fg_error: Option, + #[serde(rename = "forms-fg-mute", skip_serializing_if = "Option::is_none")] + pub forms_fg_mute: Option, + #[serde(rename = "forms-fg-subtle", skip_serializing_if = "Option::is_none")] + pub forms_fg_subtle: Option, + #[serde(rename = "forms-fg-success", skip_serializing_if = "Option::is_none")] + pub forms_fg_success: Option, + #[serde(rename = "forms-fg-warn", skip_serializing_if = "Option::is_none")] + pub forms_fg_warn: Option, + #[serde(rename = "forms-radio-bg-checked", skip_serializing_if = "Option::is_none")] + pub forms_radio_bg_checked: Option, + #[serde(rename = "forms-radio-bg-default", skip_serializing_if = "Option::is_none")] + pub forms_radio_bg_default: Option, + #[serde(rename = "forms-radio-border-checked", skip_serializing_if = "Option::is_none")] + pub forms_radio_border_checked: Option, + #[serde(rename = "forms-radio-border-default", skip_serializing_if = "Option::is_none")] + pub forms_radio_border_default: Option, + #[serde(rename = "forms-radio-fg-checked", skip_serializing_if = "Option::is_none")] + pub forms_radio_fg_checked: Option, + #[serde(rename = "forms-radio-fg-default", skip_serializing_if = "Option::is_none")] + pub forms_radio_fg_default: Option, + #[serde(rename = "forms-toggle-bg-checked", skip_serializing_if = "Option::is_none")] + pub forms_toggle_bg_checked: Option, + #[serde(rename = "forms-toggle-bg-default", skip_serializing_if = "Option::is_none")] + pub forms_toggle_bg_default: Option, + #[serde(rename = "forms-toggle-border-checked", skip_serializing_if = "Option::is_none")] + pub forms_toggle_border_checked: Option, + #[serde(rename = "forms-toggle-border-default", skip_serializing_if = "Option::is_none")] + pub forms_toggle_border_default: Option, + #[serde(rename = "forms-toggle-fg-checked", skip_serializing_if = "Option::is_none")] + pub forms_toggle_fg_checked: Option, + #[serde(rename = "forms-toggle-fg-default", skip_serializing_if = "Option::is_none")] + pub forms_toggle_fg_default: Option, + #[serde(rename = "id", skip_serializing_if = "Option::is_none")] + pub id: Option, + #[serde(rename = "links-link-default", skip_serializing_if = "Option::is_none")] + pub links_link_default: Option, + #[serde(rename = "links-link-disabled", skip_serializing_if = "Option::is_none")] + pub links_link_disabled: Option, + #[serde(rename = "links-link-hover", skip_serializing_if = "Option::is_none")] + pub links_link_hover: Option, + #[serde(rename = "links-link-inverted-default", skip_serializing_if = "Option::is_none")] + pub links_link_inverted_default: Option, + #[serde(rename = "links-link-inverted-hover", skip_serializing_if = "Option::is_none")] + pub links_link_inverted_hover: Option, + #[serde(rename = "links-link-mute-default", skip_serializing_if = "Option::is_none")] + pub links_link_mute_default: Option, + #[serde(rename = "links-link-mute-hover", skip_serializing_if = "Option::is_none")] + pub links_link_mute_hover: Option, + #[serde(rename = "syntax-syntax", skip_serializing_if = "Option::is_none")] + pub syntax_syntax: Option, + #[serde(rename = "syntax-syntax-key", skip_serializing_if = "Option::is_none")] + pub syntax_syntax_key: Option, + #[serde(rename = "syntax-syntax-num", skip_serializing_if = "Option::is_none")] + pub syntax_syntax_num: Option, + #[serde(rename = "syntax-syntax-value", skip_serializing_if = "Option::is_none")] + pub syntax_syntax_value: Option, + #[serde(rename = "updated_at", skip_serializing_if = "Option::is_none")] + pub updated_at: Option, +} + +impl AccountExperienceThemeVariables { + pub fn new() -> AccountExperienceThemeVariables { + AccountExperienceThemeVariables { + accent: None, + bg_default: None, + border_radius_branding: None, + border_radius_buttons: None, + border_radius_cards: None, + border_radius_forms: None, + border_radius_general: None, + button_primary_bg_default: None, + button_primary_bg_disabled: None, + button_primary_bg_hover: None, + button_primary_border_default: None, + button_primary_border_disabled: None, + button_primary_border_hover: None, + button_primary_fg_default: None, + button_primary_fg_disabled: None, + button_primary_fg_hover: None, + button_secondary_bg_default: None, + button_secondary_bg_disabled: None, + button_secondary_bg_hover: None, + button_secondary_border_default: None, + button_secondary_border_disabled: None, + button_secondary_border_hover: None, + button_secondary_fg_default: None, + button_secondary_fg_disabled: None, + button_secondary_fg_hover: None, + button_social_bg_default: None, + button_social_bg_disabled: None, + button_social_bg_hover: None, + button_social_bg_provider: None, + button_social_border_default: None, + button_social_border_disabled: None, + button_social_border_hover: None, + button_social_border_provider: None, + button_social_fg_default: None, + button_social_fg_disabled: None, + button_social_fg_hover: None, + button_social_fg_provider: None, + created_at: None, + dialog_bg_default: None, + dialog_bg_subtle: None, + dialog_border_default: None, + dialog_fg_default: None, + dialog_fg_mute: None, + dialog_fg_subtle: None, + forms_bg_default: None, + forms_bg_disabled: None, + forms_bg_hover: None, + forms_border_default: None, + forms_border_disabled: None, + forms_border_error: None, + forms_border_focus: None, + forms_border_hover: None, + forms_border_success: None, + forms_border_warn: None, + forms_checkbox_bg_checked: None, + forms_checkbox_bg_default: None, + forms_checkbox_border_checked: None, + forms_checkbox_border_default: None, + forms_checkbox_fg_checked: None, + forms_checkbox_fg_default: None, + forms_fg_default: None, + forms_fg_error: None, + forms_fg_mute: None, + forms_fg_subtle: None, + forms_fg_success: None, + forms_fg_warn: None, + forms_radio_bg_checked: None, + forms_radio_bg_default: None, + forms_radio_border_checked: None, + forms_radio_border_default: None, + forms_radio_fg_checked: None, + forms_radio_fg_default: None, + forms_toggle_bg_checked: None, + forms_toggle_bg_default: None, + forms_toggle_border_checked: None, + forms_toggle_border_default: None, + forms_toggle_fg_checked: None, + forms_toggle_fg_default: None, + id: None, + links_link_default: None, + links_link_disabled: None, + links_link_hover: None, + links_link_inverted_default: None, + links_link_inverted_hover: None, + links_link_mute_default: None, + links_link_mute_hover: None, + syntax_syntax: None, + syntax_syntax_key: None, + syntax_syntax_num: None, + syntax_syntax_value: None, + updated_at: None, + } + } +} + diff --git a/clients/client/rust/src/models/set_active_project_in_console_body.rs b/clients/client/rust/src/models/set_active_project_in_console_body.rs new file mode 100644 index 00000000000..db2822ff991 --- /dev/null +++ b/clients/client/rust/src/models/set_active_project_in_console_body.rs @@ -0,0 +1,30 @@ +/* + * Ory APIs + * + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +/// SetActiveProjectInConsoleBody : Set active project in the Ory Network Console Request Body +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct SetActiveProjectInConsoleBody { + /// Project ID The Project ID you want to set active. format: uuid + #[serde(rename = "project_id")] + pub project_id: String, +} + +impl SetActiveProjectInConsoleBody { + /// Set active project in the Ory Network Console Request Body + pub fn new(project_id: String) -> SetActiveProjectInConsoleBody { + SetActiveProjectInConsoleBody { + project_id, + } + } +} + diff --git a/clients/client/typescript-fetch/src/models/AccountExperienceThemeVariables.ts b/clients/client/typescript-fetch/src/models/AccountExperienceThemeVariables.ts new file mode 100644 index 00000000000..18656dc0f76 --- /dev/null +++ b/clients/client/typescript-fetch/src/models/AccountExperienceThemeVariables.ts @@ -0,0 +1,780 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Ory APIs + * # 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) | + * + * The version of the OpenAPI document: v1.15.11 + * Contact: support@ory.sh + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { mapValues } from '../runtime'; +/** + * + * @export + * @interface AccountExperienceThemeVariables + */ +export interface AccountExperienceThemeVariables { + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + accent?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + bg_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + border_radius_branding?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + border_radius_buttons?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + border_radius_cards?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + border_radius_forms?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + border_radius_general?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_primary_bg_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_primary_bg_disabled?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_primary_bg_hover?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_primary_border_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_primary_border_disabled?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_primary_border_hover?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_primary_fg_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_primary_fg_disabled?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_primary_fg_hover?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_secondary_bg_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_secondary_bg_disabled?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_secondary_bg_hover?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_secondary_border_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_secondary_border_disabled?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_secondary_border_hover?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_secondary_fg_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_secondary_fg_disabled?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_secondary_fg_hover?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_social_bg_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_social_bg_disabled?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_social_bg_hover?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_social_bg_provider?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_social_border_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_social_border_disabled?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_social_border_hover?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_social_border_provider?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_social_fg_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_social_fg_disabled?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_social_fg_hover?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + button_social_fg_provider?: string; + /** + * + * @type {Date} + * @memberof AccountExperienceThemeVariables + */ + created_at?: Date; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + dialog_bg_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + dialog_bg_subtle?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + dialog_border_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + dialog_fg_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + dialog_fg_mute?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + dialog_fg_subtle?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_bg_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_bg_disabled?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_bg_hover?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_border_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_border_disabled?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_border_error?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_border_focus?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_border_hover?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_border_success?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_border_warn?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_checkbox_bg_checked?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_checkbox_bg_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_checkbox_border_checked?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_checkbox_border_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_checkbox_fg_checked?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_checkbox_fg_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_fg_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_fg_error?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_fg_mute?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_fg_subtle?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_fg_success?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_fg_warn?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_radio_bg_checked?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_radio_bg_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_radio_border_checked?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_radio_border_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_radio_fg_checked?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_radio_fg_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_toggle_bg_checked?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_toggle_bg_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_toggle_border_checked?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_toggle_border_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_toggle_fg_checked?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + forms_toggle_fg_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + id?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + links_link_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + links_link_disabled?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + links_link_hover?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + links_link_inverted_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + links_link_inverted_hover?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + links_link_mute_default?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + links_link_mute_hover?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + syntax_syntax?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + syntax_syntax_key?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + syntax_syntax_num?: string; + /** + * + * @type {string} + * @memberof AccountExperienceThemeVariables + */ + syntax_syntax_value?: string; + /** + * + * @type {Date} + * @memberof AccountExperienceThemeVariables + */ + updated_at?: Date; +} + +/** + * Check if a given object implements the AccountExperienceThemeVariables interface. + */ +export function instanceOfAccountExperienceThemeVariables(value: object): value is AccountExperienceThemeVariables { + return true; +} + +export function AccountExperienceThemeVariablesFromJSON(json: any): AccountExperienceThemeVariables { + return AccountExperienceThemeVariablesFromJSONTyped(json, false); +} + +export function AccountExperienceThemeVariablesFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountExperienceThemeVariables { + if (json == null) { + return json; + } + return { + + 'accent': json['accent'] == null ? undefined : json['accent'], + 'bg_default': json['bg-default'] == null ? undefined : json['bg-default'], + 'border_radius_branding': json['border-radius-branding'] == null ? undefined : json['border-radius-branding'], + 'border_radius_buttons': json['border-radius-buttons'] == null ? undefined : json['border-radius-buttons'], + 'border_radius_cards': json['border-radius-cards'] == null ? undefined : json['border-radius-cards'], + 'border_radius_forms': json['border-radius-forms'] == null ? undefined : json['border-radius-forms'], + 'border_radius_general': json['border-radius-general'] == null ? undefined : json['border-radius-general'], + 'button_primary_bg_default': json['button-primary-bg-default'] == null ? undefined : json['button-primary-bg-default'], + 'button_primary_bg_disabled': json['button-primary-bg-disabled'] == null ? undefined : json['button-primary-bg-disabled'], + 'button_primary_bg_hover': json['button-primary-bg-hover'] == null ? undefined : json['button-primary-bg-hover'], + 'button_primary_border_default': json['button-primary-border-default'] == null ? undefined : json['button-primary-border-default'], + 'button_primary_border_disabled': json['button-primary-border-disabled'] == null ? undefined : json['button-primary-border-disabled'], + 'button_primary_border_hover': json['button-primary-border-hover'] == null ? undefined : json['button-primary-border-hover'], + 'button_primary_fg_default': json['button-primary-fg-default'] == null ? undefined : json['button-primary-fg-default'], + 'button_primary_fg_disabled': json['button-primary-fg-disabled'] == null ? undefined : json['button-primary-fg-disabled'], + 'button_primary_fg_hover': json['button-primary-fg-hover'] == null ? undefined : json['button-primary-fg-hover'], + 'button_secondary_bg_default': json['button-secondary-bg-default'] == null ? undefined : json['button-secondary-bg-default'], + 'button_secondary_bg_disabled': json['button-secondary-bg-disabled'] == null ? undefined : json['button-secondary-bg-disabled'], + 'button_secondary_bg_hover': json['button-secondary-bg-hover'] == null ? undefined : json['button-secondary-bg-hover'], + 'button_secondary_border_default': json['button-secondary-border-default'] == null ? undefined : json['button-secondary-border-default'], + 'button_secondary_border_disabled': json['button-secondary-border-disabled'] == null ? undefined : json['button-secondary-border-disabled'], + 'button_secondary_border_hover': json['button-secondary-border-hover'] == null ? undefined : json['button-secondary-border-hover'], + 'button_secondary_fg_default': json['button-secondary-fg-default'] == null ? undefined : json['button-secondary-fg-default'], + 'button_secondary_fg_disabled': json['button-secondary-fg-disabled'] == null ? undefined : json['button-secondary-fg-disabled'], + 'button_secondary_fg_hover': json['button-secondary-fg-hover'] == null ? undefined : json['button-secondary-fg-hover'], + 'button_social_bg_default': json['button-social-bg-default'] == null ? undefined : json['button-social-bg-default'], + 'button_social_bg_disabled': json['button-social-bg-disabled'] == null ? undefined : json['button-social-bg-disabled'], + 'button_social_bg_hover': json['button-social-bg-hover'] == null ? undefined : json['button-social-bg-hover'], + 'button_social_bg_provider': json['button-social-bg-provider'] == null ? undefined : json['button-social-bg-provider'], + 'button_social_border_default': json['button-social-border-default'] == null ? undefined : json['button-social-border-default'], + 'button_social_border_disabled': json['button-social-border-disabled'] == null ? undefined : json['button-social-border-disabled'], + 'button_social_border_hover': json['button-social-border-hover'] == null ? undefined : json['button-social-border-hover'], + 'button_social_border_provider': json['button-social-border-provider'] == null ? undefined : json['button-social-border-provider'], + 'button_social_fg_default': json['button-social-fg-default'] == null ? undefined : json['button-social-fg-default'], + 'button_social_fg_disabled': json['button-social-fg-disabled'] == null ? undefined : json['button-social-fg-disabled'], + 'button_social_fg_hover': json['button-social-fg-hover'] == null ? undefined : json['button-social-fg-hover'], + 'button_social_fg_provider': json['button-social-fg-provider'] == null ? undefined : json['button-social-fg-provider'], + 'created_at': json['created_at'] == null ? undefined : (new Date(json['created_at'])), + 'dialog_bg_default': json['dialog-bg-default'] == null ? undefined : json['dialog-bg-default'], + 'dialog_bg_subtle': json['dialog-bg-subtle'] == null ? undefined : json['dialog-bg-subtle'], + 'dialog_border_default': json['dialog-border-default'] == null ? undefined : json['dialog-border-default'], + 'dialog_fg_default': json['dialog-fg-default'] == null ? undefined : json['dialog-fg-default'], + 'dialog_fg_mute': json['dialog-fg-mute'] == null ? undefined : json['dialog-fg-mute'], + 'dialog_fg_subtle': json['dialog-fg-subtle'] == null ? undefined : json['dialog-fg-subtle'], + 'forms_bg_default': json['forms-bg-default'] == null ? undefined : json['forms-bg-default'], + 'forms_bg_disabled': json['forms-bg-disabled'] == null ? undefined : json['forms-bg-disabled'], + 'forms_bg_hover': json['forms-bg-hover'] == null ? undefined : json['forms-bg-hover'], + 'forms_border_default': json['forms-border-default'] == null ? undefined : json['forms-border-default'], + 'forms_border_disabled': json['forms-border-disabled'] == null ? undefined : json['forms-border-disabled'], + 'forms_border_error': json['forms-border-error'] == null ? undefined : json['forms-border-error'], + 'forms_border_focus': json['forms-border-focus'] == null ? undefined : json['forms-border-focus'], + 'forms_border_hover': json['forms-border-hover'] == null ? undefined : json['forms-border-hover'], + 'forms_border_success': json['forms-border-success'] == null ? undefined : json['forms-border-success'], + 'forms_border_warn': json['forms-border-warn'] == null ? undefined : json['forms-border-warn'], + 'forms_checkbox_bg_checked': json['forms-checkbox-bg-checked'] == null ? undefined : json['forms-checkbox-bg-checked'], + 'forms_checkbox_bg_default': json['forms-checkbox-bg-default'] == null ? undefined : json['forms-checkbox-bg-default'], + 'forms_checkbox_border_checked': json['forms-checkbox-border-checked'] == null ? undefined : json['forms-checkbox-border-checked'], + 'forms_checkbox_border_default': json['forms-checkbox-border-default'] == null ? undefined : json['forms-checkbox-border-default'], + 'forms_checkbox_fg_checked': json['forms-checkbox-fg-checked'] == null ? undefined : json['forms-checkbox-fg-checked'], + 'forms_checkbox_fg_default': json['forms-checkbox-fg-default'] == null ? undefined : json['forms-checkbox-fg-default'], + 'forms_fg_default': json['forms-fg-default'] == null ? undefined : json['forms-fg-default'], + 'forms_fg_error': json['forms-fg-error'] == null ? undefined : json['forms-fg-error'], + 'forms_fg_mute': json['forms-fg-mute'] == null ? undefined : json['forms-fg-mute'], + 'forms_fg_subtle': json['forms-fg-subtle'] == null ? undefined : json['forms-fg-subtle'], + 'forms_fg_success': json['forms-fg-success'] == null ? undefined : json['forms-fg-success'], + 'forms_fg_warn': json['forms-fg-warn'] == null ? undefined : json['forms-fg-warn'], + 'forms_radio_bg_checked': json['forms-radio-bg-checked'] == null ? undefined : json['forms-radio-bg-checked'], + 'forms_radio_bg_default': json['forms-radio-bg-default'] == null ? undefined : json['forms-radio-bg-default'], + 'forms_radio_border_checked': json['forms-radio-border-checked'] == null ? undefined : json['forms-radio-border-checked'], + 'forms_radio_border_default': json['forms-radio-border-default'] == null ? undefined : json['forms-radio-border-default'], + 'forms_radio_fg_checked': json['forms-radio-fg-checked'] == null ? undefined : json['forms-radio-fg-checked'], + 'forms_radio_fg_default': json['forms-radio-fg-default'] == null ? undefined : json['forms-radio-fg-default'], + 'forms_toggle_bg_checked': json['forms-toggle-bg-checked'] == null ? undefined : json['forms-toggle-bg-checked'], + 'forms_toggle_bg_default': json['forms-toggle-bg-default'] == null ? undefined : json['forms-toggle-bg-default'], + 'forms_toggle_border_checked': json['forms-toggle-border-checked'] == null ? undefined : json['forms-toggle-border-checked'], + 'forms_toggle_border_default': json['forms-toggle-border-default'] == null ? undefined : json['forms-toggle-border-default'], + 'forms_toggle_fg_checked': json['forms-toggle-fg-checked'] == null ? undefined : json['forms-toggle-fg-checked'], + 'forms_toggle_fg_default': json['forms-toggle-fg-default'] == null ? undefined : json['forms-toggle-fg-default'], + 'id': json['id'] == null ? undefined : json['id'], + 'links_link_default': json['links-link-default'] == null ? undefined : json['links-link-default'], + 'links_link_disabled': json['links-link-disabled'] == null ? undefined : json['links-link-disabled'], + 'links_link_hover': json['links-link-hover'] == null ? undefined : json['links-link-hover'], + 'links_link_inverted_default': json['links-link-inverted-default'] == null ? undefined : json['links-link-inverted-default'], + 'links_link_inverted_hover': json['links-link-inverted-hover'] == null ? undefined : json['links-link-inverted-hover'], + 'links_link_mute_default': json['links-link-mute-default'] == null ? undefined : json['links-link-mute-default'], + 'links_link_mute_hover': json['links-link-mute-hover'] == null ? undefined : json['links-link-mute-hover'], + 'syntax_syntax': json['syntax-syntax'] == null ? undefined : json['syntax-syntax'], + 'syntax_syntax_key': json['syntax-syntax-key'] == null ? undefined : json['syntax-syntax-key'], + 'syntax_syntax_num': json['syntax-syntax-num'] == null ? undefined : json['syntax-syntax-num'], + 'syntax_syntax_value': json['syntax-syntax-value'] == null ? undefined : json['syntax-syntax-value'], + 'updated_at': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])), + }; +} + +export function AccountExperienceThemeVariablesToJSON(value?: AccountExperienceThemeVariables | null): any { + if (value == null) { + return value; + } + return { + + 'accent': value['accent'], + 'bg-default': value['bg_default'], + 'border-radius-branding': value['border_radius_branding'], + 'border-radius-buttons': value['border_radius_buttons'], + 'border-radius-cards': value['border_radius_cards'], + 'border-radius-forms': value['border_radius_forms'], + 'border-radius-general': value['border_radius_general'], + 'button-primary-bg-default': value['button_primary_bg_default'], + 'button-primary-bg-disabled': value['button_primary_bg_disabled'], + 'button-primary-bg-hover': value['button_primary_bg_hover'], + 'button-primary-border-default': value['button_primary_border_default'], + 'button-primary-border-disabled': value['button_primary_border_disabled'], + 'button-primary-border-hover': value['button_primary_border_hover'], + 'button-primary-fg-default': value['button_primary_fg_default'], + 'button-primary-fg-disabled': value['button_primary_fg_disabled'], + 'button-primary-fg-hover': value['button_primary_fg_hover'], + 'button-secondary-bg-default': value['button_secondary_bg_default'], + 'button-secondary-bg-disabled': value['button_secondary_bg_disabled'], + 'button-secondary-bg-hover': value['button_secondary_bg_hover'], + 'button-secondary-border-default': value['button_secondary_border_default'], + 'button-secondary-border-disabled': value['button_secondary_border_disabled'], + 'button-secondary-border-hover': value['button_secondary_border_hover'], + 'button-secondary-fg-default': value['button_secondary_fg_default'], + 'button-secondary-fg-disabled': value['button_secondary_fg_disabled'], + 'button-secondary-fg-hover': value['button_secondary_fg_hover'], + 'button-social-bg-default': value['button_social_bg_default'], + 'button-social-bg-disabled': value['button_social_bg_disabled'], + 'button-social-bg-hover': value['button_social_bg_hover'], + 'button-social-bg-provider': value['button_social_bg_provider'], + 'button-social-border-default': value['button_social_border_default'], + 'button-social-border-disabled': value['button_social_border_disabled'], + 'button-social-border-hover': value['button_social_border_hover'], + 'button-social-border-provider': value['button_social_border_provider'], + 'button-social-fg-default': value['button_social_fg_default'], + 'button-social-fg-disabled': value['button_social_fg_disabled'], + 'button-social-fg-hover': value['button_social_fg_hover'], + 'button-social-fg-provider': value['button_social_fg_provider'], + 'created_at': value['created_at'] == null ? undefined : ((value['created_at']).toISOString()), + 'dialog-bg-default': value['dialog_bg_default'], + 'dialog-bg-subtle': value['dialog_bg_subtle'], + 'dialog-border-default': value['dialog_border_default'], + 'dialog-fg-default': value['dialog_fg_default'], + 'dialog-fg-mute': value['dialog_fg_mute'], + 'dialog-fg-subtle': value['dialog_fg_subtle'], + 'forms-bg-default': value['forms_bg_default'], + 'forms-bg-disabled': value['forms_bg_disabled'], + 'forms-bg-hover': value['forms_bg_hover'], + 'forms-border-default': value['forms_border_default'], + 'forms-border-disabled': value['forms_border_disabled'], + 'forms-border-error': value['forms_border_error'], + 'forms-border-focus': value['forms_border_focus'], + 'forms-border-hover': value['forms_border_hover'], + 'forms-border-success': value['forms_border_success'], + 'forms-border-warn': value['forms_border_warn'], + 'forms-checkbox-bg-checked': value['forms_checkbox_bg_checked'], + 'forms-checkbox-bg-default': value['forms_checkbox_bg_default'], + 'forms-checkbox-border-checked': value['forms_checkbox_border_checked'], + 'forms-checkbox-border-default': value['forms_checkbox_border_default'], + 'forms-checkbox-fg-checked': value['forms_checkbox_fg_checked'], + 'forms-checkbox-fg-default': value['forms_checkbox_fg_default'], + 'forms-fg-default': value['forms_fg_default'], + 'forms-fg-error': value['forms_fg_error'], + 'forms-fg-mute': value['forms_fg_mute'], + 'forms-fg-subtle': value['forms_fg_subtle'], + 'forms-fg-success': value['forms_fg_success'], + 'forms-fg-warn': value['forms_fg_warn'], + 'forms-radio-bg-checked': value['forms_radio_bg_checked'], + 'forms-radio-bg-default': value['forms_radio_bg_default'], + 'forms-radio-border-checked': value['forms_radio_border_checked'], + 'forms-radio-border-default': value['forms_radio_border_default'], + 'forms-radio-fg-checked': value['forms_radio_fg_checked'], + 'forms-radio-fg-default': value['forms_radio_fg_default'], + 'forms-toggle-bg-checked': value['forms_toggle_bg_checked'], + 'forms-toggle-bg-default': value['forms_toggle_bg_default'], + 'forms-toggle-border-checked': value['forms_toggle_border_checked'], + 'forms-toggle-border-default': value['forms_toggle_border_default'], + 'forms-toggle-fg-checked': value['forms_toggle_fg_checked'], + 'forms-toggle-fg-default': value['forms_toggle_fg_default'], + 'id': value['id'], + 'links-link-default': value['links_link_default'], + 'links-link-disabled': value['links_link_disabled'], + 'links-link-hover': value['links_link_hover'], + 'links-link-inverted-default': value['links_link_inverted_default'], + 'links-link-inverted-hover': value['links_link_inverted_hover'], + 'links-link-mute-default': value['links_link_mute_default'], + 'links-link-mute-hover': value['links_link_mute_hover'], + 'syntax-syntax': value['syntax_syntax'], + 'syntax-syntax-key': value['syntax_syntax_key'], + 'syntax-syntax-num': value['syntax_syntax_num'], + 'syntax-syntax-value': value['syntax_syntax_value'], + 'updated_at': value['updated_at'] == null ? undefined : ((value['updated_at']).toISOString()), + }; +} + diff --git a/config/client/kotlin-multiplatform.yml b/config/client/kotlin-multiplatform.yml new file mode 100644 index 00000000000..e28aadfff7d --- /dev/null +++ b/config/client/kotlin-multiplatform.yml @@ -0,0 +1,11 @@ +packageName: ${KOTLIN_MULTIPLATFORM_PACKAGE_NAME} + +artifactId: ${KOTLIN_MULTIPLATFORM_ARTIFACT_ID} +artifactVersion: $VERSION +library: multiplatform +dateLibrary: kotlinx-datetime + +#disallowAdditionalPropertiesIfNotPresent: false +#enumClassPrefix: true +#useOneOfDiscriminatorLookup: true +#failOnUnknownProperties: false diff --git a/scripts/generate.sh b/scripts/generate.sh index b13a4807c97..31ac225addc 100755 --- a/scripts/generate.sh +++ b/scripts/generate.sh @@ -264,6 +264,25 @@ dart () { envsubst < "${dir}/CHANGELOG.md" | tee "${dir}/CHANGELOG.md" } +kotlin () { + echo "Generating Dart..." + + dir="clients/${PROJECT}/kotlin-multiplatform" + rm -rf "$dir" || true + mkdir -p "$dir" + + openapi-generator-cli version-manager set 7.10.0 + openapi-generator-cli generate -i "${SPEC_FILE}" \ + -g kotlin \ + -o "$dir" \ + --git-user-id ory \ + --git-repo-id sdk \ + --git-host github.com \ + -c ./config/client/kotlin-multiplatform.yml.proc.yml + + cp "LICENSE" "clients/${PROJECT}/kotlin-multiplatform" +} + rust () { echo "Generating Rust..." @@ -322,6 +341,8 @@ elixir () { cp "LICENSE" "clients/${PROJECT}/elixir" } +kotlin + elixir typescript typescript_fetch diff --git a/scripts/prep.sh b/scripts/prep.sh index e9aa74e1ea0..e7bacd0ba58 100755 --- a/scripts/prep.sh +++ b/scripts/prep.sh @@ -75,6 +75,7 @@ export DART_PUB_REPOSITORY="https://github.com/ory/sdk/tree/master/clients/${PRO export JAVA_GROUP_ID=sh.ory.$PROJECT export JAVA_ARTIFACT_ID=$PROJECT-client +export KOTLIN_MULTIPLATFORM_ARTIFACT_ID=$PROJECT-client-kotlin-multiplatform export COMPOSER_ALLOW_SUPERUSER=1 export PHP_PACKAGE_NAME="ory/${PROJECT}-client" @@ -107,6 +108,8 @@ if [ $project == "client" ]; then export JAVA_GROUP_ID=sh.ory export JAVA_ARTIFACT_ID=client + export KOTLIN_MULTIPLATFORM_ARTIFACT_ID="client-kotlin-multiplatform" + export KOTLIN_MULTIPLATFORM_PACKAGE_NAME="sh.ory.client-kotlin-multiplatform" export PHP_PACKAGE_NAME="ory/client" export PHP_INVOKER_PACKAGE="Ory\\Client" diff --git a/scripts/test.sh b/scripts/test.sh index 6f898d8b36e..ed39d8ffd71 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -101,6 +101,13 @@ elixir () { (cd "${dir}"; mix test) } +kotlin () { + echo "Testing Java..." + + dir="clients/${PROJECT}/kotlin-multiplatform" + (cd "$dir" && chmod +x gradlew && ./gradlew clean test) +} + elixir typescript typescript_fetch diff --git a/spec/client/v1.15.11.json b/spec/client/v1.15.11.json index 26ce67f3e54..7089dbca94a 100644 --- a/spec/client/v1.15.11.json +++ b/spec/client/v1.15.11.json @@ -1,20265 +1 @@ -{ - "components": { - "responses": { - "emptyResponse": { - "description": "Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is\ntypically 201." - }, - "errorOAuth2BadRequest": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "Bad Request Error Response" - }, - "errorOAuth2Default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "Default Error Response" - }, - "errorOAuth2NotFound": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "Not Found Error Response" - }, - "identitySchemas": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/identitySchemas" - } - } - }, - "description": "List Identity JSON Schemas Response" - }, - "listCourierMessages": { - "content": { - "application/json": { - "schema": { - "items": { - "$ref": "#/components/schemas/message" - }, - "type": "array" - } - } - }, - "description": "Paginated Courier Message List Response" - }, - "listIdentities": { - "content": { - "application/json": { - "schema": { - "items": { - "$ref": "#/components/schemas/identity" - }, - "type": "array" - } - } - }, - "description": "Paginated Identity List Response" - }, - "listIdentitySessions": { - "content": { - "application/json": { - "schema": { - "items": { - "$ref": "#/components/schemas/session" - }, - "type": "array" - } - } - }, - "description": "List Identity Sessions Response" - }, - "listMySessions": { - "content": { - "application/json": { - "schema": { - "items": { - "$ref": "#/components/schemas/session" - }, - "type": "array" - } - } - }, - "description": "List My Session Response" - }, - "listOAuth2Clients": { - "content": { - "application/json": { - "schema": { - "items": { - "$ref": "#/components/schemas/oAuth2Client" - }, - "type": "array" - } - } - }, - "description": "Paginated OAuth2 Client List Response" - }, - "listSessions": { - "content": { - "application/json": { - "schema": { - "items": { - "$ref": "#/components/schemas/session" - }, - "type": "array" - } - } - }, - "description": "Session List Response\n\nThe response given when listing sessions in an administrative context." - } - }, - "schemas": { - "AmountInCent": { - "format": "int64", - "type": "integer" - }, - "Attribute": { - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "AttributeFilter": { - "properties": { - "attribute": { - "type": "string" - }, - "condition": { - "enum": [ - "equals", - "not_equals", - "contains", - "not_contains", - "regex", - "not_regex", - "set", - "not_set" - ], - "type": "string", - "x-go-enum-desc": "equals ConditionEquals\nnot_equals ConditionNotEquals\ncontains ConditionContains\nnot_contains ConditionNotContains\nregex ConditionRegex\nnot_regex ConditionNotRegex\nset ConditionSet\nnot_set ConditionNotSet" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "AttributesCountDatapoint": { - "properties": { - "count": { - "description": "Count of the attribute value for given key", - "format": "int64", - "type": "integer" - }, - "name": { - "description": "Name of the attribute value for given key", - "type": "string" - } - }, - "required": [ - "name", - "count" - ], - "type": "object" - }, - "BillingPeriodBucket": { - "properties": { - "base_invoices": { - "$ref": "#/components/schemas/Invoices" - }, - "billing_period": { - "$ref": "#/components/schemas/TimeInterval" - }, - "usage_invoice": { - "$ref": "#/components/schemas/invoice" - } - }, - "type": "object" - }, - "CodeChannel": { - "type": "string" - }, - "CreateInviteResponse": { - "properties": { - "all_invites": { - "description": "A list of all invites for this resource", - "items": { - "$ref": "#/components/schemas/memberInvite" - }, - "type": "array" - }, - "created_invite": { - "$ref": "#/components/schemas/memberInvite" - } - }, - "required": [ - "created_invite", - "all_invites" - ], - "type": "object" - }, - "CreateProjectMemberInviteBody": { - "description": "Create Project MemberInvite Request Body", - "properties": { - "invitee_email": { - "description": "A email to invite", - "type": "string" - } - }, - "type": "object" - }, - "CreateProjectNormalizedPayload": { - "description": "Create project (normalized) request payload", - "properties": { - "created_at": { - "description": "The Project's Revision Creation Date", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "disable_account_experience_welcome_screen": { - "description": "Whether to disable the account experience welcome screen, which is hosted under `/ui/welcome`.", - "type": "boolean" - }, - "enable_ax_v2": { - "description": "Whether the new account experience is enabled and reachable.", - "type": "boolean" - }, - "environment": { - "description": "\nprod Production\nstage Staging\ndev Development", - "enum": [ - "prod", - "stage", - "dev" - ], - "type": "string", - "x-go-enum-desc": "prod Production\nstage Staging\ndev Development" - }, - "home_region": { - "description": "\neu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global", - "enum": [ - "eu-central", - "asia-northeast", - "us-east", - "us-west", - "us", - "global" - ], - "type": "string", - "x-go-enum-desc": "eu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global" - }, - "hydra_oauth2_allowed_top_level_claims": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "hydra_oauth2_client_credentials_default_grant_allowed_scope": { - "description": "Automatically grant authorized OAuth2 Scope in OAuth2 Client Credentials Flow.\n\nEach OAuth2 Client is allowed to request a predefined OAuth2 Scope (for example `read write`). If this option is enabled, the full\nscope is automatically granted when performing the OAuth2 Client Credentials flow.\n\nIf disabled, the OAuth2 Client has to request the scope in the OAuth2 request by providing the `scope` query parameter.\n\nSetting this option to true is common if you need compatibility with MITREid.\n\nThis governs the \"oauth2.client_credentials.default_grant_allowed_scope\" setting.", - "type": "boolean" - }, - "hydra_oauth2_exclude_not_before_claim": { - "description": "Set to true if you want to exclude claim `nbf (not before)` part of access token.\n\nThis governs the \"oauth2.exclude_not_before_claim\" setting.", - "type": "boolean" - }, - "hydra_oauth2_grant_jwt_iat_optional": { - "description": "Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523).\n\nIf set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration.\n\nThis governs the \"oauth2.grant.jwt.iat_optional\" setting.", - "type": "boolean" - }, - "hydra_oauth2_grant_jwt_jti_optional": { - "description": "Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523).\n\nIf set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration.\n\nThis governs the \"oauth2.grant.jwt.jti_optional\" setting.", - "type": "boolean" - }, - "hydra_oauth2_grant_jwt_max_ttl": { - "default": "720h", - "description": "Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be.\n\nThis feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied.\n\nUseful as a safety measure and recommended to keep below 720h.\n\nThis governs the \"oauth2.grant.jwt.max_ttl\" setting.", - "example": "30m", - "pattern": "^[0-9]+(ns|us|ms|s|m|h)$", - "type": "string" - }, - "hydra_oauth2_mirror_top_level_claims": { - "description": "Set to false if you don't want to mirror custom claims under 'ext'.\n\nThis governs the \"oauth2.mirror_top_level_claims\" setting.", - "type": "boolean" - }, - "hydra_oauth2_pkce_enforced": { - "description": "Configures whether PKCE should be enforced for all OAuth2 Clients.\n\nThis governs the \"oauth2.pkce.enforced\" setting.", - "type": "boolean" - }, - "hydra_oauth2_pkce_enforced_for_public_clients": { - "description": "Configures whether PKCE should be enforced for OAuth2 Clients without a client secret (public clients).\n\nThis governs the \"oauth2.pkce.enforced_for_public_clients\" setting.", - "type": "boolean" - }, - "hydra_oauth2_refresh_token_hook": { - "description": "Sets the Refresh Token Hook Endpoint. If set this endpoint will be called during the OAuth2 Token Refresh grant update the OAuth2 Access Token claims.\n\nThis governs the \"oauth2.refresh_token_hook\" setting.", - "type": "string" - }, - "hydra_oauth2_token_hook": { - "description": "Sets the token hook endpoint for all grant types. If set it will be called while providing token to customize claims.\n\nThis governs the \"oauth2.token_hook.url\" setting.", - "type": "string" - }, - "hydra_oidc_dynamic_client_registration_default_scope": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "hydra_oidc_dynamic_client_registration_enabled": { - "description": "Configures OpenID Connect Dynamic Client Registration.\n\nThis governs the \"oidc.dynamic_client_registration.enabled\" setting.", - "type": "boolean" - }, - "hydra_oidc_subject_identifiers_pairwise_salt": { - "description": "Configures OpenID Connect Discovery and overwrites the pairwise algorithm\n\nThis governs the \"oidc.subject_identifiers.pairwise_salt\" setting.", - "type": "string" - }, - "hydra_oidc_subject_identifiers_supported_types": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "hydra_secrets_cookie": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "hydra_secrets_system": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "hydra_serve_cookies_same_site_legacy_workaround": { - "description": "Configures the Ory Hydra Cookie Same Site Legacy Workaround\n\nThis governs the \"serve.cookies.same_site_legacy_workaround\" setting.", - "type": "boolean" - }, - "hydra_serve_cookies_same_site_mode": { - "description": "Configures the Ory Hydra Cookie Same Site Mode\n\nThis governs the \"serve.cookies.same_site_mode\" setting.", - "type": "string" - }, - "hydra_strategies_access_token": { - "default": "opaque", - "description": "Defines access token type\n\nThis governs the \"strategies.access_token\" setting.\nopaque Oauth2AccessTokenStrategyOpaque\njwt Oauth2AccessTokenStrategyJwt", - "enum": [ - "opaque", - "jwt" - ], - "type": "string", - "x-go-enum-desc": "opaque Oauth2AccessTokenStrategyOpaque\njwt Oauth2AccessTokenStrategyJwt" - }, - "hydra_strategies_jwt_scope_claim": { - "default": "list", - "description": "Define the claim to use as the scope in the access token.\n\nThis governs the \"strategies.jwt.scope_claim\" setting:\n\nlist: The scope claim is an array of strings named `scope`: `{ \"scope\": [\"read\", \"write\"] }`\nstring: The scope claim is a space delimited list of strings named `scp`: `{ \"scp\": \"read write\" }`\nboth: The scope claim is both a space delimited list and an array of strings named `scope` and `scp`: `{ \"scope\": [\"read\", \"write\"], \"scp\": \"read write\" }`\nlist OAuth2JWTScopeClaimList\nstring OAuth2JWTScopeClaimString\nboth OAuth2JWTScopeClaimBoth", - "enum": [ - "list", - "string", - "both" - ], - "type": "string", - "x-go-enum-desc": "list OAuth2JWTScopeClaimList\nstring OAuth2JWTScopeClaimString\nboth OAuth2JWTScopeClaimBoth" - }, - "hydra_strategies_scope": { - "default": "wildcard", - "description": "Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes\n\nThis governs the \"strategies.scope\" setting.\nexact Oauth2ScopeStrategyExact\nwildcard Oauth2ScopeStrategyWildcard", - "enum": [ - "exact", - "wildcard" - ], - "type": "string", - "x-go-enum-desc": "exact Oauth2ScopeStrategyExact\nwildcard Oauth2ScopeStrategyWildcard" - }, - "hydra_ttl_access_token": { - "default": "30m", - "description": "This governs the \"ttl.access_token\" setting.", - "example": "1h", - "pattern": "^[0-9]+(ns|us|ms|s|m|h)$", - "type": "string" - }, - "hydra_ttl_auth_code": { - "default": "720h", - "description": "Configures how long refresh tokens are valid.\n\nSet to -1 for refresh tokens to never expire. This is not recommended!\n\nThis governs the \"ttl.auth_code\" setting.", - "example": "30m", - "pattern": "^[0-9]+(ns|us|ms|s|m|h)$", - "type": "string" - }, - "hydra_ttl_id_token": { - "default": "30m", - "description": "This governs the \"ttl.id_token\" setting.", - "example": "1h", - "pattern": "^[0-9]+(ns|us|ms|s|m|h)$", - "type": "string" - }, - "hydra_ttl_login_consent_request": { - "default": "30m", - "description": "Configures how long a user login and consent flow may take.\n\nThis governs the \"ttl.login_consent_request\" setting.", - "example": "1h", - "pattern": "^[0-9]+(ns|us|ms|s|m|h)$", - "type": "string" - }, - "hydra_ttl_refresh_token": { - "default": "720h", - "description": "Configures how long refresh tokens are valid.\n\nSet to -1 for refresh tokens to never expire. This is not recommended!\n\nThis governs the \"ttl.refresh_token\" setting.", - "example": "30m", - "pattern": "^([0-9]+(ns|us|ms|s|m|h)|-1)$", - "type": "string" - }, - "hydra_urls_consent": { - "description": "Sets the OAuth2 Consent Endpoint URL of the OAuth2 User Login \u0026 Consent flow.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.consent\" setting.", - "type": "string" - }, - "hydra_urls_error": { - "description": "Sets the OAuth2 Error URL of the OAuth2 User Login \u0026 Consent flow.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.error\" setting.", - "type": "string" - }, - "hydra_urls_login": { - "description": "Sets the OAuth2 Login Endpoint URL of the OAuth2 User Login \u0026 Consent flow.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.login\" setting.", - "type": "string" - }, - "hydra_urls_logout": { - "description": "Sets the logout endpoint.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.logout\" setting.", - "type": "string" - }, - "hydra_urls_post_logout_redirect": { - "description": "When an OAuth2-related user agent requests to log out, they will be redirected to this url afterwards per default.\n\nDefaults to the Ory Account Experience in development and your application in production mode when a custom domain is connected.\n\nThis governs the \"urls.post_logout_redirect\" setting.", - "type": "string" - }, - "hydra_urls_registration": { - "description": "Sets the OAuth2 Registration Endpoint URL of the OAuth2 User Login \u0026 Consent flow.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.registration\" setting.", - "type": "string" - }, - "hydra_urls_self_issuer": { - "description": "This value will be used as the issuer in access and ID tokens. It must be specified and using HTTPS protocol, unless the development mode is enabled.\n\nOn the Ory Network it will be very rare that you want to modify this value. If left empty, it will default to the correct value for the Ory Network.\n\nThis governs the \"urls.self.issuer\" setting.", - "type": "string" - }, - "hydra_webfinger_jwks_broadcast_keys": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "hydra_webfinger_oidc_discovery_auth_url": { - "description": "Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL.\n\nThis governs the \"webfinger.oidc.discovery.auth_url\" setting.", - "type": "string" - }, - "hydra_webfinger_oidc_discovery_client_registration_url": { - "description": "Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint.\n\nThis governs the \"webfinger.oidc.discovery.client_registration_url\" setting.", - "type": "string" - }, - "hydra_webfinger_oidc_discovery_jwks_url": { - "description": "Configures OpenID Connect Discovery and overwrites the JWKS URL.\n\nThis governs the \"webfinger.oidc.discovery.jwks_url\" setting.", - "type": "string" - }, - "hydra_webfinger_oidc_discovery_supported_claims": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "hydra_webfinger_oidc_discovery_supported_scope": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "hydra_webfinger_oidc_discovery_token_url": { - "description": "Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL.\n\nThis governs the \"webfinger.oidc.discovery.token_url\" setting.", - "type": "string" - }, - "hydra_webfinger_oidc_discovery_userinfo_url": { - "description": "Configures OpenID Connect Discovery and overwrites userinfo endpoint to be advertised at the OpenID Connect Discovery endpoint /.well-known/openid-configuration. Defaults to Ory Hydra's userinfo endpoint at /userinfo. Set this value if you want to handle this endpoint yourself.\n\nThis governs the \"webfinger.oidc.discovery.userinfo_url\" setting.", - "type": "string" - }, - "id": { - "description": "The revision ID.", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "keto_namespace_configuration": { - "description": "The Revisions' Keto Namespace Configuration\n\nThe string is a URL pointing to an OPL file with the configuration.", - "type": "string" - }, - "keto_namespaces": { - "$ref": "#/components/schemas/KetoNamespaces" - }, - "kratos_cookies_same_site": { - "description": "Configures the Ory Kratos Cookie SameSite Attribute\n\nThis governs the \"cookies.same_site\" setting.", - "type": "string" - }, - "kratos_courier_channels": { - "$ref": "#/components/schemas/revisionCourierChannels" - }, - "kratos_courier_delivery_strategy": { - "default": "smtp", - "description": "The delivery strategy to use when sending emails\n\n`smtp`: Use SMTP server\n`http`: Use the built in HTTP client to send the email to some remote service", - "type": "string" - }, - "kratos_courier_http_request_config_auth_api_key_in": { - "description": "The location of the API key to use in the HTTP email sending service's authentication\n\n`header`: Send the key value pair as a header\n`cookie`: Send the key value pair as a cookie\nThis governs the \"courier.http.auth.config.in\" setting", - "type": "string" - }, - "kratos_courier_http_request_config_auth_api_key_name": { - "description": "The name of the API key to use in the HTTP email sending service's authentication\n\nThis governs the \"courier.http.auth.config.name\" setting", - "type": "string" - }, - "kratos_courier_http_request_config_auth_api_key_value": { - "description": "The value of the API key to use in the HTTP email sending service's authentication\n\nThis governs the \"courier.http.auth.config.value\" setting", - "type": "string" - }, - "kratos_courier_http_request_config_auth_basic_auth_password": { - "description": "The password to use for basic auth in the HTTP email sending service's authentication\n\nThis governs the \"courier.http.auth.config.password\" setting", - "type": "string" - }, - "kratos_courier_http_request_config_auth_basic_auth_user": { - "description": "The user to use for basic auth in the HTTP email sending service's authentication\n\nThis governs the \"courier.http.auth.config.user\" setting", - "type": "string" - }, - "kratos_courier_http_request_config_auth_type": { - "default": "empty (no authentication)", - "description": "The authentication type to use while contacting the remote HTTP email sending service\n\n`basic_auth`: Use Basic Authentication\n`api_key`: Use API Key Authentication in a header or cookie", - "type": "string" - }, - "kratos_courier_http_request_config_body": { - "description": "The Jsonnet template to generate the body to send to the remote HTTP email sending service\n\nShould be valid Jsonnet and base64 encoded\n\nThis governs the \"courier.http.body\" setting", - "type": "string" - }, - "kratos_courier_http_request_config_headers": { - "$ref": "#/components/schemas/nullJsonRawMessage" - }, - "kratos_courier_http_request_config_method": { - "default": "POST", - "description": "The http METHOD to use when calling the remote HTTP email sending service", - "type": "string" - }, - "kratos_courier_http_request_config_url": { - "description": "The URL of the remote HTTP email sending service\n\nThis governs the \"courier.http.url\" setting", - "type": "string" - }, - "kratos_courier_smtp_connection_uri": { - "description": "Configures the Ory Kratos SMTP Connection URI\n\nThis governs the \"courier.smtp.connection_uri\" setting.", - "type": "string" - }, - "kratos_courier_smtp_from_address": { - "description": "Configures the Ory Kratos SMTP From Address\n\nThis governs the \"courier.smtp.from_address\" setting.", - "type": "string" - }, - "kratos_courier_smtp_from_name": { - "description": "Configures the Ory Kratos SMTP From Name\n\nThis governs the \"courier.smtp.from_name\" setting.", - "type": "string" - }, - "kratos_courier_smtp_headers": { - "$ref": "#/components/schemas/nullJsonRawMessage" - }, - "kratos_courier_smtp_local_name": { - "description": "Configures the local_name to use in SMTP connections\n\nThis governs the \"courier.smtp.local_name\" setting.", - "type": "string" - }, - "kratos_courier_templates_login_code_valid_email_body_html": { - "description": "Configures the Ory Kratos Valid Login via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.login_code.valid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_login_code_valid_email_body_plaintext": { - "description": "Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.login_code.valid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_login_code_valid_email_subject": { - "description": "Configures the Ory Kratos Valid Login via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.login_code.valid.email.subject\" setting.", - "type": "string" - }, - "kratos_courier_templates_login_code_valid_sms_body_plaintext": { - "description": "Configures the Ory Kratos Valid Login via Code SMS plain text body\n\nThis governs the \"courier.smtp.templates.login_code.valid.sms.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_code_invalid_email_body_html": { - "description": "Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_code_invalid_email_body_plaintext": { - "description": "Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery_code.invalid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_code_invalid_email_subject": { - "description": "Configures the Ory Kratos Invalid Recovery via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_code_valid_email_body_html": { - "description": "Configures the Ory Kratos Valid Recovery via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.recovery_code.valid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_code_valid_email_body_plaintext": { - "description": "Configures the Ory Kratos Valid Recovery via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery_code.valid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_code_valid_email_subject": { - "description": "Configures the Ory Kratos Valid Recovery via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.recovery_code.valid.email.subject\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_invalid_email_body_html": { - "description": "Configures the Ory Kratos Invalid Recovery Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_invalid_email_body_plaintext": { - "description": "Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery.invalid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_invalid_email_subject": { - "description": "Configures the Ory Kratos Invalid Recovery Email Subject Template\n\nThis governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_valid_email_body_html": { - "description": "Configures the Ory Kratos Valid Recovery Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.recovery.valid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_valid_email_body_plaintext": { - "description": "Configures the Ory Kratos Valid Recovery Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_valid_email_subject": { - "description": "Configures the Ory Kratos Valid Recovery Email Subject Template\n\nThis governs the \"courier.smtp.templates.recovery.valid.email.subject\" setting.", - "type": "string" - }, - "kratos_courier_templates_registration_code_valid_email_body_html": { - "description": "Configures the Ory Kratos Valid Registration via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.registration_code.valid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_registration_code_valid_email_body_plaintext": { - "description": "Configures the Ory Kratos Valid Registration via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.registration_code.valid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_registration_code_valid_email_subject": { - "description": "Configures the Ory Kratos Valid Registration via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.registration_code.valid.email.subject\" setting.", - "type": "string" - }, - "kratos_courier_templates_registration_code_valid_sms_body_plaintext": { - "description": "Configures the Ory Kratos Valid Registration via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.registration_code.valid.sms.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_code_invalid_email_body_html": { - "description": "Configures the Ory Kratos Invalid Verification via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.verification_code.invalid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_code_invalid_email_body_plaintext": { - "description": "Configures the Ory Kratos Invalid Verification via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.verification_code.invalid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_code_invalid_email_subject": { - "description": "Configures the Ory Kratos Invalid Verification via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.verification_code.invalid.email.subject\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_code_valid_email_body_html": { - "description": "Configures the Ory Kratos Valid Verification via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.verification_code.valid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_code_valid_email_body_plaintext": { - "description": "Configures the Ory Kratos Valid Verification via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.verification_code.valid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_code_valid_email_subject": { - "description": "Configures the Ory Kratos Valid Verification via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.verification_code.valid.email.subject\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_code_valid_sms_body_plaintext": { - "description": "Configures the Ory Kratos Valid Verification via Code SMS Body Plaintext\n\nThis governs the \"courier.smtp.templates.verification_code.valid.sms.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_invalid_email_body_html": { - "description": "Configures the Ory Kratos Invalid Verification Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.verification.invalid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_invalid_email_body_plaintext": { - "description": "Configures the Ory Kratos Invalid Verification Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.verification.invalid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_invalid_email_subject": { - "description": "Configures the Ory Kratos Invalid Verification Email Subject Template\n\nThis governs the \"courier.smtp.templates.verification.invalid.email.subject\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_valid_email_body_html": { - "description": "Configures the Ory Kratos Valid Verification Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.verification.valid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_valid_email_body_plaintext": { - "description": "Configures the Ory Kratos Valid Verification Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.verification.valid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_valid_email_subject": { - "description": "Configures the Ory Kratos Valid Verification Email Subject Template\n\nThis governs the \"courier.smtp.templates.verification.valid.email.subject\" setting.", - "type": "string" - }, - "kratos_feature_flags_cacheable_sessions": { - "description": "Configures the Ory Kratos Session caching feature flag\n\nThis governs the \"feature_flags.cacheable_sessions\" setting.", - "type": "boolean" - }, - "kratos_feature_flags_cacheable_sessions_max_age": { - "description": "Configures the Ory Kratos Session caching max-age feature flag\n\nThis governs the \"feature_flags.cacheable_sessions_max_age\" setting.", - "type": "string" - }, - "kratos_feature_flags_faster_session_extend": { - "description": "Configures the Ory Kratos Faster Session Extend setting\n\nIf enabled allows faster session extension by skipping the session lookup and returning 201 instead of 200.\nDisabling this feature will be deprecated in the future.\n\nThis governs the \"feature_flags.faster_session_extend\" setting.", - "type": "boolean" - }, - "kratos_feature_flags_use_continue_with_transitions": { - "description": "Configures the Ory Kratos Session use_continue_with_transitions flag\n\nThis governs the \"feature_flags.use_continue_with_transitions\" setting.", - "type": "boolean" - }, - "kratos_identity_schemas": { - "$ref": "#/components/schemas/projectRevisionIdentitySchemas" - }, - "kratos_oauth2_provider_headers": { - "$ref": "#/components/schemas/nullJsonRawMessage" - }, - "kratos_oauth2_provider_override_return_to": { - "description": "Kratos OAuth2 Provider Override Return To\n\nEnabling this allows Kratos to set the return_to parameter automatically to the OAuth2 request URL on the login flow, allowing complex flows such as recovery to continue to the initial OAuth2 flow.", - "type": "boolean" - }, - "kratos_oauth2_provider_url": { - "description": "The Revisions' OAuth2 Provider Integration URL\n\nThis governs the \"oauth2_provider.url\" setting.", - "type": "string" - }, - "kratos_preview_default_read_consistency_level": { - "description": "Configures the default read consistency level for identity APIs\n\nThis governs the `preview.default_read_consistency_level` setting.\n\nThe read consistency level determines the consistency guarantee for reads:\n\nstrong (slow): The read is guaranteed to return the most recent data committed at the start of the read.\neventual (very fast): The result will return data that is about 4.8 seconds old.\n\nSetting the default consistency level to `eventual` may cause regressions in the future as we add consistency\ncontrols to more APIs. Currently, the following APIs will be affected by this setting:\n\n`GET /admin/identities`\n\nDefaults to \"strong\" for new and existing projects. This feature is in preview. Use with caution.", - "type": "string" - }, - "kratos_secrets_cipher": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "kratos_secrets_cookie": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "kratos_secrets_default": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "kratos_selfservice_allowed_return_urls": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "kratos_selfservice_default_browser_return_url": { - "description": "Configures the Ory Kratos Default Return URL\n\nThis governs the \"selfservice.allowed_return_urls\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_error_ui_url": { - "description": "Configures the Ory Kratos Error UI URL\n\nThis governs the \"selfservice.flows.error.ui_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_after_code_default_browser_return_url": { - "description": "Configures the Ory Kratos Login After Password Default Return URL\n\nThis governs the \"selfservice.flows.code.after.password.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_after_default_browser_return_url": { - "description": "Configures the Ory Kratos Login Default Return URL\n\nThis governs the \"selfservice.flows.login.after.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url": { - "description": "Configures the Ory Kratos Login After Password Default Return URL\n\nThis governs the \"selfservice.flows.lookup_secret.after.password.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_after_oidc_default_browser_return_url": { - "description": "Configures the Ory Kratos Login After OIDC Default Return URL\n\nThis governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_after_passkey_default_browser_return_url": { - "description": "Configures the Ory Kratos Login After Passkey Default Return URL\n\nThis governs the \"selfservice.flows.login.after.passkey.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_after_password_default_browser_return_url": { - "description": "Configures the Ory Kratos Login After Password Default Return URL\n\nThis governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_after_totp_default_browser_return_url": { - "description": "Configures the Ory Kratos Login After Password Default Return URL\n\nThis governs the \"selfservice.flows.totp.after.password.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_after_webauthn_default_browser_return_url": { - "description": "Configures the Ory Kratos Login After WebAuthn Default Return URL\n\nThis governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_lifespan": { - "description": "Configures the Ory Kratos Login Lifespan\n\nThis governs the \"selfservice.flows.login.lifespan\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_ui_url": { - "description": "Configures the Ory Kratos Login UI URL\n\nThis governs the \"selfservice.flows.login.ui_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_logout_after_default_browser_return_url": { - "description": "Configures the Ory Kratos Logout Default Return URL\n\nThis governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_recovery_after_default_browser_return_url": { - "description": "Configures the Ory Kratos Recovery Default Return URL\n\nThis governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_recovery_enabled": { - "description": "Configures the Ory Kratos Recovery Enabled Setting\n\nThis governs the \"selfservice.flows.recovery.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_flows_recovery_lifespan": { - "description": "Configures the Ory Kratos Recovery Lifespan\n\nThis governs the \"selfservice.flows.recovery.lifespan\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_recovery_notify_unknown_recipients": { - "description": "Configures whether to notify unknown recipients of a Ory Kratos recovery flow\n\nThis governs the \"selfservice.flows.recovery.notify_unknown_recipients\" setting.", - "type": "boolean" - }, - "kratos_selfservice_flows_recovery_ui_url": { - "description": "Configures the Ory Kratos Recovery UI URL\n\nThis governs the \"selfservice.flows.recovery.ui_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_recovery_use": { - "description": "Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\")\n\nThis governs the \"selfservice.flows.recovery.use\" setting.\nlink SelfServiceMessageVerificationStrategyLink\ncode SelfServiceMessageVerificationStrategyCode", - "enum": [ - "link", - "code" - ], - "type": "string", - "x-go-enum-desc": "link SelfServiceMessageVerificationStrategyLink\ncode SelfServiceMessageVerificationStrategyCode" - }, - "kratos_selfservice_flows_registration_after_code_default_browser_return_url": { - "description": "Configures the Ory Kratos Registration After Code Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.code.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_registration_after_default_browser_return_url": { - "description": "Configures the Ory Kratos Registration Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_registration_after_oidc_default_browser_return_url": { - "description": "Configures the Ory Kratos Registration After OIDC Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_registration_after_passkey_default_browser_return_url": { - "description": "Configures the Ory Kratos Registration After Passkey Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_registration_after_password_default_browser_return_url": { - "description": "Configures the Ory Kratos Registration After Password Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url": { - "description": "Configures the Ory Kratos Registration After Webauthn Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.webauthn.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_registration_enable_legacy_one_step": { - "description": "Disable two-step registration\n\nTwo-step registration is a significantly improved sign up flow and recommended\nwhen using more than one sign up methods. To revert to one-step registration,\nset this to `true`.\n\nThis governs the \"selfservice.flows.registration.enable_legacy_one_step\" setting.", - "type": "boolean" - }, - "kratos_selfservice_flows_registration_enabled": { - "description": "Configures the Whether Ory Kratos Registration is Enabled\n\nThis governs the \"selfservice.flows.registration.enabled\" setting.0", - "type": "boolean" - }, - "kratos_selfservice_flows_registration_lifespan": { - "description": "Configures the Ory Kratos Registration Lifespan\n\nThis governs the \"selfservice.flows.registration.lifespan\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_registration_login_hints": { - "description": "Configures the Ory Kratos Registration Login Hints\n\nShows helpful information when a user tries to sign up with a duplicate account.\n\nThis governs the \"selfservice.flows.registration.login_hints\" setting.", - "type": "boolean" - }, - "kratos_selfservice_flows_registration_ui_url": { - "description": "Configures the Ory Kratos Registration UI URL\n\nThis governs the \"selfservice.flows.registration.ui_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_after_default_browser_return_url": { - "description": "Configures the Ory Kratos Settings Default Return URL\n\nThis governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url": { - "description": "Configures the Ory Kratos Settings Default Return URL After Updating Lookup Secrets\n\nThis governs the \"selfservice.flows.settings.after.lookup_secret.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_after_oidc_default_browser_return_url": { - "description": "Configures the Ory Kratos Settings Default Return URL After Updating Social Sign In\n\nThis governs the \"selfservice.flows.settings.after.oidc.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_after_passkey_default_browser_return_url": { - "description": "Configures the Ory Kratos Settings Default Return URL After Updating Passkey\n\nThis governs the \"selfservice.flows.settings.after.passkey.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_after_password_default_browser_return_url": { - "description": "Configures the Ory Kratos Settings Default Return URL After Updating Passwords\n\nThis governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_after_profile_default_browser_return_url": { - "description": "Configures the Ory Kratos Settings Default Return URL After Updating Profiles\n\nThis governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_after_totp_default_browser_return_url": { - "description": "Configures the Ory Kratos Settings Default Return URL After Updating TOTP\n\nThis governs the \"selfservice.flows.settings.after.totp.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url": { - "description": "Configures the Ory Kratos Settings Default Return URL After Updating WebAuthn\n\nThis governs the \"selfservice.flows.settings.after.webauthn.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_lifespan": { - "description": "Configures the Ory Kratos Settings Lifespan\n\nThis governs the \"selfservice.flows.settings.lifespan\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_privileged_session_max_age": { - "description": "Configures the Ory Kratos Settings Privileged Session Max Age\n\nThis governs the \"selfservice.flows.settings.privileged_session_max_age\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_required_aal": { - "description": "Configures the Ory Kratos Settings Required AAL\n\nThis governs the \"selfservice.flows.settings.required_aal\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_ui_url": { - "description": "Configures the Ory Kratos Settings UI URL\n\nThis governs the \"selfservice.flows.settings.ui_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_verification_after_default_browser_return_url": { - "description": "Configures the Ory Kratos Verification Default Return URL\n\nThis governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_verification_enabled": { - "description": "Configures the Ory Kratos Verification Enabled Setting\n\nThis governs the \"selfservice.flows.verification.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_flows_verification_lifespan": { - "description": "Configures the Ory Kratos Verification Lifespan\n\nThis governs the \"selfservice.flows.verification.lifespan\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_verification_notify_unknown_recipients": { - "description": "Configures whether to notify unknown recipients of a Ory Kratos verification flow\n\nThis governs the \"selfservice.flows.verification.notify_unknown_recipients\" setting.", - "type": "boolean" - }, - "kratos_selfservice_flows_verification_ui_url": { - "description": "Configures the Ory Kratos Verification UI URL\n\nThis governs the \"selfservice.flows.verification.ui_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_verification_use": { - "description": "Configures the Ory Kratos Strategy to use for Verification\n\nThis governs the \"selfservice.flows.verification.use\" setting.\nlink SelfServiceMessageVerificationStrategyLink\ncode SelfServiceMessageVerificationStrategyCode", - "enum": [ - "link", - "code" - ], - "type": "string", - "x-go-enum-desc": "link SelfServiceMessageVerificationStrategyLink\ncode SelfServiceMessageVerificationStrategyCode" - }, - "kratos_selfservice_methods_code_config_lifespan": { - "description": "Configures the Ory Kratos Code Method's lifespan\n\nThis governs the \"selfservice.methods.code.config.lifespan\" setting.", - "type": "string" - }, - "kratos_selfservice_methods_code_config_missing_credential_fallback_enabled": { - "description": "Enables a fallback method required in certain legacy use cases.\n\nThis governs the \"selfservice.methods.code.config.missing_credential_fallback_enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_code_enabled": { - "description": "Configures whether Ory Kratos Code Method is enabled\n\nThis governs the \"selfservice.methods.code.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_code_mfa_enabled": { - "description": "Configures whether the code method can be used to fulfil MFA flows\n\nThis governs the \"selfservice.methods.code.mfa_enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_code_passwordless_enabled": { - "description": "Configures whether Ory Kratos Passwordless should use the Code Method\n\nThis governs the \"selfservice.methods.code.passwordless_enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_code_passwordless_login_fallback_enabled": { - "description": "This setting allows the code method to always login a user with code if they have registered with another authentication method such as password or social sign in.\n\nThis governs the \"selfservice.methods.code.passwordless_login_fallback_enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_link_config_base_url": { - "description": "Configures the Base URL which Recovery, Verification, and Login Links Point to\n\nIt is recommended to leave this value empty. It will be appropriately configured to the best matching domain\n(e.g. when using custom domains) automatically.\n\nThis governs the \"selfservice.methods.link.config.base_url\" setting.", - "type": "string" - }, - "kratos_selfservice_methods_link_config_lifespan": { - "description": "Configures the Ory Kratos Link Method's lifespan\n\nThis governs the \"selfservice.methods.link.config.lifespan\" setting.", - "type": "string" - }, - "kratos_selfservice_methods_link_enabled": { - "description": "Configures whether Ory Kratos Link Method is enabled\n\nThis governs the \"selfservice.methods.link.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_lookup_secret_enabled": { - "description": "Configures whether Ory Kratos TOTP Lookup Secret is enabled\n\nThis governs the \"selfservice.methods.lookup_secret.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_oidc_config_base_redirect_uri": { - "description": "Configures the Ory Kratos Third Party / OpenID Connect base redirect URI\n\nThis governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting.", - "type": "string" - }, - "kratos_selfservice_methods_oidc_config_providers": { - "$ref": "#/components/schemas/projectRevisionThirdPartyLoginProviders" - }, - "kratos_selfservice_methods_oidc_enabled": { - "description": "Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled\n\nThis governs the \"selfservice.methods.oidc.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_passkey_config_rp_display_name": { - "description": "Configures the Ory Kratos Passkey RP Display Name\n\nThis governs the \"selfservice.methods.passkey.config.rp.display_name\" setting.", - "type": "string" - }, - "kratos_selfservice_methods_passkey_config_rp_id": { - "description": "Configures the Ory Kratos Passkey RP ID\n\nThis governs the \"selfservice.methods.passkey.config.rp.id\" setting.", - "type": "string" - }, - "kratos_selfservice_methods_passkey_config_rp_origins": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "kratos_selfservice_methods_passkey_enabled": { - "description": "Configures whether Ory Kratos Passkey authentication is enabled\n\nThis governs the \"selfservice.methods.passkey.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_password_config_haveibeenpwned_enabled": { - "description": "Configures whether Ory Kratos Password HIBP Checks is enabled\n\nThis governs the \"selfservice.methods.password.config.haveibeenpwned_enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_password_config_identifier_similarity_check_enabled": { - "description": "Configures whether Ory Kratos Password should disable the similarity policy.\n\nThis governs the \"selfservice.methods.password.config.identifier_similarity_check_enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_password_config_ignore_network_errors": { - "description": "Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors\n\nThis governs the \"selfservice.methods.password.config.ignore_network_errors\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_password_config_max_breaches": { - "description": "Configures Ory Kratos Password Max Breaches Detection\n\nThis governs the \"selfservice.methods.password.config.max_breaches\" setting.", - "format": "int64", - "type": "integer" - }, - "kratos_selfservice_methods_password_config_min_password_length": { - "description": "Configures the minimum length of passwords.\n\nThis governs the \"selfservice.methods.password.config.min_password_length\" setting.", - "format": "int64", - "type": "integer" - }, - "kratos_selfservice_methods_password_enabled": { - "description": "Configures whether Ory Kratos Password Method is enabled\n\nThis governs the \"selfservice.methods.password.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_profile_enabled": { - "description": "Configures whether Ory Kratos Profile Method is enabled\n\nThis governs the \"selfservice.methods.profile.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_totp_config_issuer": { - "description": "Configures Ory Kratos TOTP Issuer\n\nThis governs the \"selfservice.methods.totp.config.issuer\" setting.", - "type": "string" - }, - "kratos_selfservice_methods_totp_enabled": { - "description": "Configures whether Ory Kratos TOTP Method is enabled\n\nThis governs the \"selfservice.methods.totp.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_webauthn_config_passwordless": { - "description": "Configures whether Ory Kratos Webauthn is used for passwordless flows\n\nThis governs the \"selfservice.methods.webauthn.config.passwordless\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_webauthn_config_rp_display_name": { - "description": "Configures the Ory Kratos Webauthn RP Display Name\n\nThis governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting.", - "type": "string" - }, - "kratos_selfservice_methods_webauthn_config_rp_icon": { - "description": "Configures the Ory Kratos Webauthn RP Icon\n\nThis governs the \"selfservice.methods.webauthn.config.rp.icon\" setting.\nDeprecated: This value will be ignored due to security considerations.", - "type": "string" - }, - "kratos_selfservice_methods_webauthn_config_rp_id": { - "description": "Configures the Ory Kratos Webauthn RP ID\n\nThis governs the \"selfservice.methods.webauthn.config.rp.id\" setting.", - "type": "string" - }, - "kratos_selfservice_methods_webauthn_config_rp_origins": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "kratos_selfservice_methods_webauthn_enabled": { - "description": "Configures whether Ory Kratos Webauthn is enabled\n\nThis governs the \"selfservice.methods.webauthn.enabled\" setting.", - "type": "boolean" - }, - "kratos_session_cookie_persistent": { - "description": "Configures the Ory Kratos Session Cookie Persistent Attribute\n\nThis governs the \"session.cookie.persistent\" setting.", - "type": "boolean" - }, - "kratos_session_cookie_same_site": { - "description": "Configures the Ory Kratos Session Cookie SameSite Attribute\n\nThis governs the \"session.cookie.same_site\" setting.", - "type": "string" - }, - "kratos_session_lifespan": { - "description": "Configures the Ory Kratos Session Lifespan\n\nThis governs the \"session.lifespan\" setting.", - "type": "string" - }, - "kratos_session_whoami_required_aal": { - "description": "Configures the Ory Kratos Session Whoami AAL requirement\n\nThis governs the \"session.whoami.required_aal\" setting.", - "type": "string" - }, - "kratos_session_whoami_tokenizer_templates": { - "$ref": "#/components/schemas/normalizedProjectRevisionTokenizerTemplates" - }, - "name": { - "description": "The project's name.", - "type": "string" - }, - "project_id": { - "description": "The Revision's Project ID", - "format": "uuid", - "type": "string" - }, - "project_revision_hooks": { - "$ref": "#/components/schemas/projectRevisionHooks" - }, - "serve_admin_cors_allowed_origins": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "serve_admin_cors_enabled": { - "description": "Enable CORS headers on all admin APIs\n\nThis governs the \"serve.admin.cors.enabled\" setting.", - "type": "boolean" - }, - "serve_public_cors_allowed_origins": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "serve_public_cors_enabled": { - "description": "Enable CORS headers on all public APIs\n\nThis governs the \"serve.public.cors.enabled\" setting.", - "type": "boolean" - }, - "strict_security": { - "description": "Whether the project should employ strict security measures. Setting this to true is recommended for going into production.", - "type": "boolean" - }, - "updated_at": { - "description": "Last Time Project's Revision was Updated", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "workspace_id": { - "format": "uuid", - "type": "string" - } - }, - "required": [ - "name", - "environment" - ], - "type": "object" - }, - "CreateSubscriptionCommon": { - "properties": { - "currency": { - "description": "\nusd USD\neur Euro", - "enum": [ - "usd", - "eur" - ], - "type": "string", - "x-go-enum-desc": "usd USD\neur Euro" - }, - "interval": { - "description": "\nmonthly Monthly\nyearly Yearly", - "enum": [ - "monthly", - "yearly" - ], - "type": "string", - "x-go-enum-desc": "monthly Monthly\nyearly Yearly" - }, - "plan": { - "type": "string" - }, - "return_to": { - "type": "string" - } - }, - "required": [ - "plan", - "interval" - ], - "type": "object" - }, - "CreateVerifiableCredentialRequestBody": { - "properties": { - "format": { - "type": "string" - }, - "proof": { - "$ref": "#/components/schemas/VerifiableCredentialProof" - }, - "types": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "title": "CreateVerifiableCredentialRequestBody contains the request body to request a verifiable credential.", - "type": "object" - }, - "CreateWorkspaceApiKeyBody": { - "properties": { - "expires_at": { - "$ref": "#/components/schemas/Time" - }, - "name": { - "description": "The API Key Name\n\nA descriptive name for the API key.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "CreateWorkspaceMemberInviteBody": { - "description": "Create Workspace Invite Request Body", - "properties": { - "invitee_email": { - "description": "A email to invite", - "type": "string" - }, - "role": { - "description": "The role the user will have in the workspace\nowner WorkspaceMemberRoleOwner\ndeveloper WorkspaceMemberRoleDeveloper", - "enum": [ - "owner", - "developer" - ], - "type": "string", - "x-go-enum-desc": "owner WorkspaceMemberRoleOwner\ndeveloper WorkspaceMemberRoleDeveloper" - } - }, - "required": [ - "invitee_email", - "role" - ], - "type": "object" - }, - "CustomHostnameStatus": { - "title": "CustomHostnameStatus is the enumeration of valid state values in the CustomHostnameSSL.", - "type": "string" - }, - "DefaultError": {}, - "Duration": { - "description": "A Duration represents the elapsed time between two instants\nas an int64 nanosecond count. The representation limits the\nlargest representable duration to approximately 290 years.", - "format": "int64", - "type": "integer" - }, - "GenericUsage": { - "properties": { - "additional_price": { - "$ref": "#/components/schemas/Money" - }, - "included_usage": { - "description": "IncludedUsage is the number of included items.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "included_usage", - "additional_price" - ], - "title": "GenericUsage is the generic usage type that can be used for any feature.", - "type": "object" - }, - "ID": { - "format": "int64", - "type": "integer" - }, - "InvoiceDataV1": { - "properties": { - "billing_period": { - "$ref": "#/components/schemas/TimeInterval" - }, - "currency": { - "description": "The currency of the invoice.", - "readOnly": true, - "type": "string" - }, - "deleted": { - "description": "Deleted is true if the invoice has been soft-deleted.", - "readOnly": true, - "type": "boolean" - }, - "items": { - "description": "The items that are part of this invoice.", - "items": { - "$ref": "#/components/schemas/LineItemV1" - }, - "readOnly": true, - "type": "array" - }, - "plan": { - "description": "The plan that this invoice is based on, in the format \"Name@version\".", - "readOnly": true, - "type": "string" - }, - "stripe_invoice_item": { - "type": "string" - }, - "stripe_invoice_status": { - "$ref": "#/components/schemas/InvoiceStatus" - }, - "stripe_link": { - "description": "An optional link to the invoice on Stripe.", - "readOnly": true, - "type": "string" - }, - "subtitle": { - "description": "The subtitle of the invoice.", - "readOnly": true, - "type": "string" - }, - "tax": { - "$ref": "#/components/schemas/TaxLineItem" - }, - "title": { - "description": "The title of the invoice.", - "readOnly": true, - "type": "string" - }, - "total_in_cent": { - "$ref": "#/components/schemas/AmountInCent" - } - }, - "required": [ - "title", - "currency", - "total_in_cent", - "billing_period", - "items" - ], - "type": "object" - }, - "InvoiceStatus": { - "description": "The status of the invoice, one of `draft`, `open`, `paid`, `uncollectible`, or `void`. [Learn more](https://stripe.com/docs/billing/invoices/workflow#workflow-overview)", - "type": "string" - }, - "Invoices": { - "items": { - "$ref": "#/components/schemas/invoice" - }, - "type": "array" - }, - "JSONRawMessage": { - "title": "JSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger.", - "type": "object" - }, - "KetoNamespace": { - "properties": { - "id": { - "format": "int64", - "type": "integer" - }, - "name": { - "type": "string" - } - }, - "type": "object" - }, - "KetoNamespaces": { - "items": { - "$ref": "#/components/schemas/KetoNamespace" - }, - "type": "array" - }, - "LineItemV1": { - "properties": { - "amount_in_cent": { - "$ref": "#/components/schemas/AmountInCent" - }, - "description": { - "type": "string" - }, - "items": { - "description": "Each line item can have sub-items to create a hierarchy.", - "items": { - "$ref": "#/components/schemas/LineItemV1" - }, - "type": "array" - }, - "quantity": { - "format": "int64", - "type": "integer" - }, - "title": { - "type": "string" - }, - "unit_price": { - "type": "string" - } - }, - "type": "object" - }, - "Money": { - "properties": { - "Cents": { - "format": "int64", - "type": "integer" - }, - "String": { - "type": "string" - }, - "Unit": { - "type": "string" - } - }, - "type": "object" - }, - "NormalizedProjectRevisionCourierChannel": { - "properties": { - "channel_id": { - "description": "The Channel's public ID", - "type": "string" - }, - "created_at": { - "description": "The creation date", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "request_config_auth_config_api_key_in": { - "description": "API key location\n\nCan either be \"header\" or \"query\"", - "example": "header", - "type": "string" - }, - "request_config_auth_config_api_key_name": { - "description": "API key name\n\nOnly used if the auth type is api_key", - "type": "string" - }, - "request_config_auth_config_api_key_value": { - "description": "API key value\n\nOnly used if the auth type is api_key", - "type": "string" - }, - "request_config_auth_config_basic_auth_password": { - "description": "Basic Auth Password\n\nOnly used if the auth type is basic_auth", - "type": "string" - }, - "request_config_auth_config_basic_auth_user": { - "description": "Basic Auth Username\n\nOnly used if the auth type is basic_auth", - "type": "string" - }, - "request_config_auth_type": { - "description": "HTTP Auth Method to use for the HTTP call\n\nCan either be basic_auth or api_key\nbasic_auth CourierChannelAuthTypeBasicAuth\napi_key CourierChannelAuthTypeApiKey", - "enum": [ - "basic_auth", - "api_key" - ], - "type": "string", - "x-go-enum-desc": "basic_auth CourierChannelAuthTypeBasicAuth\napi_key CourierChannelAuthTypeApiKey" - }, - "request_config_body": { - "description": "URI pointing to the JsonNet template used for HTTP body payload generation.", - "type": "string" - }, - "request_config_headers": { - "$ref": "#/components/schemas/nullJsonRawMessage" - }, - "request_config_method": { - "description": "The HTTP method to use (GET, POST, etc) for the HTTP call", - "example": "POST", - "type": "string" - }, - "request_config_url": { - "type": "string" - }, - "updated_at": { - "description": "Last upate time", - "format": "date-time", - "readOnly": true, - "type": "string" - } - }, - "required": [ - "channel_id", - "request_config_method", - "request_config_body" - ], - "type": "object" - }, - "NullBool": { - "nullable": true, - "type": "boolean" - }, - "NullDuration": { - "nullable": true, - "pattern": "^[0-9]+(ns|us|ms|s|m|h)$", - "type": "string" - }, - "NullInt": { - "nullable": true, - "type": "integer" - }, - "NullString": { - "nullable": true, - "type": "string" - }, - "NullTime": { - "format": "date-time", - "nullable": true, - "type": "string" - }, - "NullUUID": { - "format": "uuid4", - "nullable": true, - "type": "string" - }, - "OAuth2LoginChallengeParams": { - "type": "object" - }, - "OrganizationBody": { - "description": "Create B2B SSO Organization Request Body", - "properties": { - "domains": { - "description": "Domains contains the list of organization's domains.", - "items": { - "type": "string" - }, - "type": "array" - }, - "label": { - "description": "Label contains the organization's label.", - "type": "string" - } - }, - "type": "object" - }, - "ParseError": { - "properties": { - "end": { - "$ref": "#/components/schemas/SourcePosition" - }, - "message": { - "type": "string" - }, - "start": { - "$ref": "#/components/schemas/SourcePosition" - } - }, - "type": "object" - }, - "Plan": { - "properties": { - "name": { - "description": "Name is the name of the plan.", - "type": "string" - }, - "version": { - "description": "Version is the version of the plan. The combination of `name@version` must be unique.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "name", - "version" - ], - "type": "object" - }, - "PlanDetails": { - "properties": { - "base_fee_monthly": { - "description": "BaseFeeMonthly is the monthly base fee for the plan.", - "format": "int64", - "type": "integer" - }, - "base_fee_yearly": { - "description": "BaseFeeYearly is the yearly base fee for the plan.", - "format": "int64", - "type": "integer" - }, - "custom": { - "description": "Custom is true if the plan is custom. This means it will be hidden from the pricing page.", - "type": "boolean" - }, - "description": { - "description": "Description is the description of the plan.", - "type": "string" - }, - "features": { - "$ref": "#/components/schemas/PlanFeatures" - }, - "latest": { - "description": "Latest is true if the plan is the latest version of a plan and should be available for self-service usage.", - "type": "boolean" - }, - "name": { - "description": "Name is the name of the plan.", - "type": "string" - }, - "version": { - "description": "Version is the version of the plan. The combination of `name@version` must be unique.", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "name", - "version", - "description", - "custom", - "base_fee_monthly", - "base_fee_yearly", - "features" - ], - "type": "object" - }, - "PlanFeatures": { - "additionalProperties": { - "$ref": "#/components/schemas/GenericUsage" - }, - "title": "Features are the feature definitions included in the plan.", - "type": "object" - }, - "Pricing": { - "items": { - "$ref": "#/components/schemas/PlanDetails" - }, - "type": "array" - }, - "ProjectEventsDatapoint": { - "properties": { - "attributes": { - "description": "Event attributes with details", - "items": { - "$ref": "#/components/schemas/Attribute" - }, - "type": "array" - }, - "name": { - "description": "Name of the event", - "type": "string" - }, - "timestamp": { - "description": "Time of occurence", - "format": "date-time", - "type": "string" - } - }, - "required": [ - "name", - "timestamp", - "attributes" - ], - "type": "object" - }, - "RFC6749ErrorJson": { - "properties": { - "error": { - "type": "string" - }, - "error_debug": { - "type": "string" - }, - "error_description": { - "type": "string" - }, - "error_hint": { - "type": "string" - }, - "status_code": { - "format": "int64", - "type": "integer" - } - }, - "title": "RFC6749ErrorJson is a helper struct for JSON encoding/decoding of RFC6749Error.", - "type": "object" - }, - "RecoveryAddressType": { - "title": "RecoveryAddressType must not exceed 16 characters as that is the limitation in the SQL Schema.", - "type": "string" - }, - "SessionActivityDatapoint": { - "properties": { - "country": { - "description": "Country of the events", - "type": "string" - }, - "failed": { - "description": "Number of events that failed in the given timeframe", - "format": "int64", - "type": "integer" - }, - "succeeded": { - "description": "Number of events that succeeded in the given timeframe", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "succeeded", - "failed", - "country" - ], - "type": "object" - }, - "SourcePosition": { - "properties": { - "Line": { - "format": "int64", - "type": "integer" - }, - "column": { - "format": "int64", - "type": "integer" - } - }, - "type": "object" - }, - "String": { - "$ref": "#/components/schemas/NullString" - }, - "StringSliceJSONFormat": { - "items": { - "type": "string" - }, - "title": "StringSliceJSONFormat represents []string{} which is encoded to/from JSON for SQL storage.", - "type": "array" - }, - "SubscriptionStatus": { - "description": "For `collection_method=charge_automatically` a subscription moves into `incomplete` if the initial payment attempt fails. A subscription in this status can only have metadata and default_source updated. Once the first invoice is paid, the subscription moves into an `active` status. If the first invoice is not paid within 23 hours, the subscription transitions to `incomplete_expired`. This is a terminal status, the open invoice will be voided and no further invoices will be generated.\n\nA subscription that is currently in a trial period is `trialing` and moves to `active` when the trial period is over.\n\nA subscription can only enter a `paused` status [when a trial ends without a payment method](https://stripe.com/billing/subscriptions/trials#create-free-trials-without-payment). A `paused` subscription doesn't generate invoices and can be resumed after your customer adds their payment method. The `paused` status is different from [pausing collection](https://stripe.com/billing/subscriptions/pause-payment), which still generates invoices and leaves the subscription's status unchanged.\n\nIf subscription `collection_method=charge_automatically`, it becomes `past_due` when payment is required but cannot be paid (due to failed payment or awaiting additional user actions). Once Stripe has exhausted all payment retry attempts, the subscription will become `canceled` or `unpaid` (depending on your subscriptions settings).\n\nIf subscription `collection_method=send_invoice` it becomes `past_due` when its invoice is not paid by the due date, and `canceled` or `unpaid` if it is still not paid by an additional deadline after that. Note that when a subscription has a status of `unpaid`, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices.", - "title": "Possible values are `incomplete`, `incomplete_expired`, `trialing`, `active`, `past_due`, `canceled`, `unpaid`, or `paused`.", - "type": "string" - }, - "TaxLineItem": { - "properties": { - "amount_in_cent": { - "$ref": "#/components/schemas/AmountInCent" - }, - "title": { - "type": "string" - } - }, - "type": "object" - }, - "Time": { - "format": "date-time", - "type": "string" - }, - "TimeInterval": { - "properties": { - "end": { - "description": "The end of the time period.", - "format": "date-time", - "type": "string" - }, - "start": { - "description": "The start of the time period.", - "format": "date-time", - "type": "string" - } - }, - "required": [ - "start", - "end" - ], - "type": "object" - }, - "UUID": { - "format": "uuid4", - "type": "string" - }, - "Usage": { - "properties": { - "GenericUsage": { - "$ref": "#/components/schemas/GenericUsage" - } - }, - "type": "object" - }, - "VerifiableCredentialProof": { - "properties": { - "jwt": { - "type": "string" - }, - "proof_type": { - "type": "string" - } - }, - "title": "VerifiableCredentialProof contains the proof of a verifiable credential.", - "type": "object" - }, - "Warning": { - "properties": { - "code": { - "format": "int64", - "type": "integer" - }, - "message": { - "type": "string" - } - }, - "type": "object" - }, - "acceptOAuth2ConsentRequest": { - "properties": { - "context": { - "$ref": "#/components/schemas/JSONRawMessage" - }, - "grant_access_token_audience": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "grant_scope": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "handled_at": { - "$ref": "#/components/schemas/nullTime" - }, - "remember": { - "description": "Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same\nclient asks the same user for the same, or a subset of, scope.", - "type": "boolean" - }, - "remember_for": { - "description": "RememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the\nauthorization will be remembered indefinitely.", - "format": "int64", - "type": "integer" - }, - "session": { - "$ref": "#/components/schemas/acceptOAuth2ConsentRequestSession" - } - }, - "title": "The request payload used to accept a consent request.", - "type": "object" - }, - "acceptOAuth2ConsentRequestSession": { - "properties": { - "access_token": { - "description": "AccessToken sets session data for the access and refresh token, as well as any future tokens issued by the\nrefresh grant. Keep in mind that this data will be available to anyone performing OAuth 2.0 Challenge Introspection.\nIf only your services can perform OAuth 2.0 Challenge Introspection, this is usually fine. But if third parties\ncan access that endpoint as well, sensitive data from the session might be exposed to them. Use with care!" - }, - "id_token": { - "description": "IDToken sets session data for the OpenID Connect ID token. Keep in mind that the session'id payloads are readable\nby anyone that has access to the ID Challenge. Use with care!" - } - }, - "title": "Pass session data to a consent request.", - "type": "object" - }, - "acceptOAuth2LoginRequest": { - "properties": { - "acr": { - "description": "ACR sets the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it\nto express that, for example, a user authenticated using two factor authentication.", - "type": "string" - }, - "amr": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "context": { - "$ref": "#/components/schemas/JSONRawMessage" - }, - "extend_session_lifespan": { - "description": "Extend OAuth2 authentication session lifespan\n\nIf set to `true`, the OAuth2 authentication cookie lifespan is extended. This is for example useful if you want the user to be able to use `prompt=none` continuously.\n\nThis value can only be set to `true` if the user has an authentication, which is the case if the `skip` value is `true`.", - "type": "boolean" - }, - "force_subject_identifier": { - "description": "ForceSubjectIdentifier forces the \"pairwise\" user ID of the end-user that authenticated. The \"pairwise\" user ID refers to the\n(Pairwise Identifier Algorithm)[http://openid.net/specs/openid-connect-core-1_0.html#PairwiseAlg] of the OpenID\nConnect specification. It allows you to set an obfuscated subject (\"user\") identifier that is unique to the client.\n\nPlease note that this changes the user ID on endpoint /userinfo and sub claim of the ID Token. It does not change the\nsub claim in the OAuth 2.0 Introspection.\n\nPer default, ORY Hydra handles this value with its own algorithm. In case you want to set this yourself\nyou can use this field. Please note that setting this field has no effect if `pairwise` is not configured in\nORY Hydra or the OAuth 2.0 Client does not expect a pairwise identifier (set via `subject_type` key in the client's\nconfiguration).\n\nPlease also be aware that ORY Hydra is unable to properly compute this value during authentication. This implies\nthat you have to compute this value on every authentication process (probably depending on the client ID or some\nother unique value).\n\nIf you fail to compute the proper value, then authentication processes which have id_token_hint set might fail.", - "type": "string" - }, - "identity_provider_session_id": { - "description": "IdentityProviderSessionID is the session ID of the end-user that authenticated.\nIf specified, we will use this value to propagate the logout.", - "type": "string" - }, - "remember": { - "description": "Remember, if set to true, tells ORY Hydra to remember this user by telling the user agent (browser) to store\na cookie with authentication data. If the same user performs another OAuth 2.0 Authorization Request, he/she\nwill not be asked to log in again.", - "type": "boolean" - }, - "remember_for": { - "description": "RememberFor sets how long the authentication should be remembered for in seconds. If set to `0`, the\nauthorization will be remembered for the duration of the browser session (using a session cookie).", - "format": "int64", - "type": "integer" - }, - "subject": { - "description": "Subject is the user ID of the end-user that authenticated.", - "type": "string" - } - }, - "required": [ - "subject" - ], - "title": "HandledLoginRequest is the request payload used to accept a login request.", - "type": "object" - }, - "accountExperienceConfiguration": { - "properties": { - "account_experience_theme_stylesheet": { - "type": "string" - }, - "favicon_type": { - "type": "string" - }, - "favicon_url": { - "type": "string" - }, - "kratos_selfservice_default_browser_return_url": { - "type": "string" - }, - "kratos_selfservice_flows_recovery_enabled": { - "type": "boolean" - }, - "kratos_selfservice_flows_registration_enabled": { - "type": "boolean" - }, - "kratos_selfservice_flows_verification_enabled": { - "type": "boolean" - }, - "logo_url": { - "type": "string" - }, - "name": { - "type": "string" - }, - "organization_map": { - "additionalProperties": { - "type": "string" - }, - "type": "object" - } - }, - "type": "object" - }, - "accountExperienceThemeVariables": { - "properties": { - "accent": { - "type": "string" - }, - "bg-default": { - "type": "string" - }, - "border-radius-branding": { - "type": "string" - }, - "border-radius-buttons": { - "type": "string" - }, - "border-radius-cards": { - "type": "string" - }, - "border-radius-forms": { - "type": "string" - }, - "border-radius-general": { - "type": "string" - }, - "button-primary-bg-default": { - "type": "string" - }, - "button-primary-bg-disabled": { - "type": "string" - }, - "button-primary-bg-hover": { - "type": "string" - }, - "button-primary-border-default": { - "type": "string" - }, - "button-primary-border-disabled": { - "type": "string" - }, - "button-primary-border-hover": { - "type": "string" - }, - "button-primary-fg-default": { - "type": "string" - }, - "button-primary-fg-disabled": { - "type": "string" - }, - "button-primary-fg-hover": { - "type": "string" - }, - "button-secondary-bg-default": { - "type": "string" - }, - "button-secondary-bg-disabled": { - "type": "string" - }, - "button-secondary-bg-hover": { - "type": "string" - }, - "button-secondary-border-default": { - "type": "string" - }, - "button-secondary-border-disabled": { - "type": "string" - }, - "button-secondary-border-hover": { - "type": "string" - }, - "button-secondary-fg-default": { - "type": "string" - }, - "button-secondary-fg-disabled": { - "type": "string" - }, - "button-secondary-fg-hover": { - "type": "string" - }, - "button-social-bg-default": { - "type": "string" - }, - "button-social-bg-disabled": { - "type": "string" - }, - "button-social-bg-hover": { - "type": "string" - }, - "button-social-bg-provider": { - "type": "string" - }, - "button-social-border-default": { - "type": "string" - }, - "button-social-border-disabled": { - "type": "string" - }, - "button-social-border-hover": { - "type": "string" - }, - "button-social-border-provider": { - "type": "string" - }, - "button-social-fg-default": { - "type": "string" - }, - "button-social-fg-disabled": { - "type": "string" - }, - "button-social-fg-hover": { - "type": "string" - }, - "button-social-fg-provider": { - "type": "string" - }, - "created_at": { - "format": "date-time", - "type": "string" - }, - "dialog-bg-default": { - "type": "string" - }, - "dialog-bg-subtle": { - "type": "string" - }, - "dialog-border-default": { - "type": "string" - }, - "dialog-fg-default": { - "type": "string" - }, - "dialog-fg-mute": { - "type": "string" - }, - "dialog-fg-subtle": { - "type": "string" - }, - "forms-bg-default": { - "type": "string" - }, - "forms-bg-disabled": { - "type": "string" - }, - "forms-bg-hover": { - "type": "string" - }, - "forms-border-default": { - "type": "string" - }, - "forms-border-disabled": { - "type": "string" - }, - "forms-border-error": { - "type": "string" - }, - "forms-border-focus": { - "type": "string" - }, - "forms-border-hover": { - "type": "string" - }, - "forms-border-success": { - "type": "string" - }, - "forms-border-warn": { - "type": "string" - }, - "forms-checkbox-bg-checked": { - "type": "string" - }, - "forms-checkbox-bg-default": { - "type": "string" - }, - "forms-checkbox-border-checked": { - "type": "string" - }, - "forms-checkbox-border-default": { - "type": "string" - }, - "forms-checkbox-fg-checked": { - "type": "string" - }, - "forms-checkbox-fg-default": { - "type": "string" - }, - "forms-fg-default": { - "type": "string" - }, - "forms-fg-error": { - "type": "string" - }, - "forms-fg-mute": { - "type": "string" - }, - "forms-fg-subtle": { - "type": "string" - }, - "forms-fg-success": { - "type": "string" - }, - "forms-fg-warn": { - "type": "string" - }, - "forms-radio-bg-checked": { - "type": "string" - }, - "forms-radio-bg-default": { - "type": "string" - }, - "forms-radio-border-checked": { - "type": "string" - }, - "forms-radio-border-default": { - "type": "string" - }, - "forms-radio-fg-checked": { - "type": "string" - }, - "forms-radio-fg-default": { - "type": "string" - }, - "forms-toggle-bg-checked": { - "type": "string" - }, - "forms-toggle-bg-default": { - "type": "string" - }, - "forms-toggle-border-checked": { - "type": "string" - }, - "forms-toggle-border-default": { - "type": "string" - }, - "forms-toggle-fg-checked": { - "type": "string" - }, - "forms-toggle-fg-default": { - "type": "string" - }, - "id": { - "format": "uuid", - "type": "string" - }, - "links-link-default": { - "type": "string" - }, - "links-link-disabled": { - "type": "string" - }, - "links-link-hover": { - "type": "string" - }, - "links-link-inverted-default": { - "type": "string" - }, - "links-link-inverted-hover": { - "type": "string" - }, - "links-link-mute-default": { - "type": "string" - }, - "links-link-mute-hover": { - "type": "string" - }, - "syntax-syntax": { - "type": "string" - }, - "syntax-syntax-key": { - "type": "string" - }, - "syntax-syntax-num": { - "type": "string" - }, - "syntax-syntax-value": { - "type": "string" - }, - "updated_at": { - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "activeProjectInConsole": { - "description": "The Active Project ID", - "properties": { - "project_id": { - "description": "The Active Project ID\n\nformat: uuid", - "type": "string" - } - }, - "type": "object" - }, - "addProjectToWorkspaceBody": { - "properties": { - "environment": { - "description": "The environment of the project in the workspace. Can be one of \"prod\" or\n\"dev\". Note that the number of projects in the \"prod\" environment is limited\ndepending on the subscription.\nprod Production\nstage Staging\ndev Development", - "enum": [ - "prod", - "stage", - "dev" - ], - "type": "string", - "x-go-enum-desc": "prod Production\nstage Staging\ndev Development" - }, - "project_subscription": { - "description": "The action to take with the project subscription. Can be one of \"migrate\", and\n\"ignore\". \"migrate\" will migrate the project subscription to the workspace.\n\"ignore\" will ignore the project subscription.\nmigrate ProjectSubscriptionActionMigrate ProjectSubscriptionActionMigrate will migrate the project subscription to the workspace.\nignore ProjectSubscriptionActionIgnore ProjectSubscriptionActionIgnore will ignore the project subscription.", - "enum": [ - "migrate", - "ignore" - ], - "type": "string", - "x-go-enum-desc": "migrate ProjectSubscriptionActionMigrate ProjectSubscriptionActionMigrate will migrate the project subscription to the workspace.\nignore ProjectSubscriptionActionIgnore ProjectSubscriptionActionIgnore will ignore the project subscription." - } - }, - "required": [ - "project_subscription", - "environment" - ], - "title": "AddProjectToWorkspaceBody contains the options for migrating a project to a workspace.", - "type": "object" - }, - "authenticatorAssuranceLevel": { - "description": "The authenticator assurance level can be one of \"aal1\", \"aal2\", or \"aal3\". A higher number means that it is harder\nfor an attacker to compromise the account.\n\nGenerally, \"aal1\" implies that one authentication factor was used while AAL2 implies that two factors (e.g.\npassword + TOTP) have been used.\n\nTo learn more about these levels please head over to: https://www.ory.sh/kratos/docs/concepts/credentials", - "enum": [ - "aal0", - "aal1", - "aal2", - "aal3" - ], - "title": "Authenticator Assurance Level (AAL)", - "type": "string" - }, - "batchCheckPermissionBody": { - "description": "Batch Check Permission Body", - "properties": { - "tuples": { - "items": { - "$ref": "#/components/schemas/relationship" - }, - "type": "array" - } - }, - "type": "object" - }, - "batchCheckPermissionResult": { - "description": "Batch Check Permission Result", - "properties": { - "results": { - "description": "An array of check results. The order aligns with the input order.", - "items": { - "$ref": "#/components/schemas/checkPermissionResultWithError" - }, - "type": "array" - } - }, - "required": [ - "results" - ], - "type": "object" - }, - "batchPatchIdentitiesResponse": { - "description": "Patch identities response", - "properties": { - "identities": { - "description": "The patch responses for the individual identities.", - "items": { - "$ref": "#/components/schemas/identityPatchResponse" - }, - "type": "array" - } - }, - "type": "object" - }, - "checkOplSyntaxBody": { - "description": "Ory Permission Language Document", - "type": "string" - }, - "checkOplSyntaxResult": { - "properties": { - "errors": { - "description": "The list of syntax errors", - "items": { - "$ref": "#/components/schemas/ParseError" - }, - "type": "array" - } - }, - "title": "CheckOPLSyntaxResponse represents the response for an OPL syntax check request.", - "type": "object" - }, - "checkPermissionResult": { - "description": "The content of the allowed field is mirrored in the HTTP status code.", - "properties": { - "allowed": { - "description": "whether the relation tuple is allowed", - "type": "boolean" - } - }, - "required": [ - "allowed" - ], - "title": "Check Permission Result", - "type": "object" - }, - "checkPermissionResultWithError": { - "description": "Check Permission Result With Error", - "properties": { - "allowed": { - "description": "whether the relation tuple is allowed", - "type": "boolean" - }, - "error": { - "description": "any error generated while checking the relation tuple", - "type": "string" - } - }, - "required": [ - "allowed" - ], - "type": "object" - }, - "cloudAccount": { - "properties": { - "email": { - "type": "string" - }, - "email_verified": { - "type": "boolean" - }, - "id": { - "format": "uuid", - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "id", - "email", - "name", - "email_verified" - ], - "type": "object" - }, - "consistencyRequestParameters": { - "description": "Control API consistency guarantees", - "properties": { - "consistency": { - "description": "Read Consistency Level (preview)\n\nThe read consistency level determines the consistency guarantee for reads:\n\nstrong (slow): The read is guaranteed to return the most recent data committed at the start of the read.\neventual (very fast): The result will return data that is about 4.8 seconds old.\n\nThe default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with\n`ory patch project --replace '/previews/default_read_consistency_level=\"strong\"'`.\n\nSetting the default consistency level to `eventual` may cause regressions in the future as we add consistency\ncontrols to more APIs. Currently, the following APIs will be affected by this setting:\n\n`GET /admin/identities`\n\nThis feature is in preview and only available in Ory Network.\n ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level.\nstrong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level.\neventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.", - "enum": [ - "", - "strong", - "eventual" - ], - "type": "string", - "x-go-enum-desc": " ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level.\nstrong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level.\neventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps." - } - }, - "type": "object" - }, - "continueWith": { - "discriminator": { - "mapping": { - "redirect_browser_to": "#/components/schemas/continueWithRedirectBrowserTo", - "set_ory_session_token": "#/components/schemas/continueWithSetOrySessionToken", - "show_recovery_ui": "#/components/schemas/continueWithRecoveryUi", - "show_settings_ui": "#/components/schemas/continueWithSettingsUi", - "show_verification_ui": "#/components/schemas/continueWithVerificationUi" - }, - "propertyName": "action" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/continueWithVerificationUi" - }, - { - "$ref": "#/components/schemas/continueWithSetOrySessionToken" - }, - { - "$ref": "#/components/schemas/continueWithSettingsUi" - }, - { - "$ref": "#/components/schemas/continueWithRecoveryUi" - }, - { - "$ref": "#/components/schemas/continueWithRedirectBrowserTo" - } - ] - }, - "continueWithRecoveryUi": { - "description": "Indicates, that the UI flow could be continued by showing a recovery ui", - "properties": { - "action": { - "description": "Action will always be `show_recovery_ui`\nshow_recovery_ui ContinueWithActionShowRecoveryUIString", - "enum": [ - "show_recovery_ui" - ], - "type": "string", - "x-go-enum-desc": "show_recovery_ui ContinueWithActionShowRecoveryUIString" - }, - "flow": { - "$ref": "#/components/schemas/continueWithRecoveryUiFlow" - } - }, - "required": [ - "action", - "flow" - ], - "type": "object" - }, - "continueWithRecoveryUiFlow": { - "properties": { - "id": { - "description": "The ID of the recovery flow", - "format": "uuid", - "type": "string" - }, - "url": { - "description": "The URL of the recovery flow\n\nIf this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows.", - "type": "string" - } - }, - "required": [ - "id" - ], - "type": "object" - }, - "continueWithRedirectBrowserTo": { - "description": "Indicates, that the UI flow could be continued by showing a recovery ui", - "properties": { - "action": { - "description": "Action will always be `redirect_browser_to`\nredirect_browser_to ContinueWithActionRedirectBrowserToString", - "enum": [ - "redirect_browser_to" - ], - "type": "string", - "x-go-enum-desc": "redirect_browser_to ContinueWithActionRedirectBrowserToString" - }, - "redirect_browser_to": { - "description": "The URL to redirect the browser to", - "type": "string" - } - }, - "required": [ - "action", - "redirect_browser_to" - ], - "type": "object" - }, - "continueWithSetOrySessionToken": { - "description": "Indicates that a session was issued, and the application should use this token for authenticated requests", - "properties": { - "action": { - "description": "Action will always be `set_ory_session_token`\nset_ory_session_token ContinueWithActionSetOrySessionTokenString", - "enum": [ - "set_ory_session_token" - ], - "type": "string", - "x-go-enum-desc": "set_ory_session_token ContinueWithActionSetOrySessionTokenString" - }, - "ory_session_token": { - "description": "Token is the token of the session", - "type": "string" - } - }, - "required": [ - "action", - "ory_session_token" - ], - "type": "object" - }, - "continueWithSettingsUi": { - "description": "Indicates, that the UI flow could be continued by showing a settings ui", - "properties": { - "action": { - "description": "Action will always be `show_settings_ui`\nshow_settings_ui ContinueWithActionShowSettingsUIString", - "enum": [ - "show_settings_ui" - ], - "type": "string", - "x-go-enum-desc": "show_settings_ui ContinueWithActionShowSettingsUIString" - }, - "flow": { - "$ref": "#/components/schemas/continueWithSettingsUiFlow" - } - }, - "required": [ - "action", - "flow" - ], - "type": "object" - }, - "continueWithSettingsUiFlow": { - "properties": { - "id": { - "description": "The ID of the settings flow", - "format": "uuid", - "type": "string" - }, - "url": { - "description": "The URL of the settings flow\n\nIf this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows.", - "type": "string" - } - }, - "required": [ - "id" - ], - "type": "object" - }, - "continueWithVerificationUi": { - "description": "Indicates, that the UI flow could be continued by showing a verification ui", - "properties": { - "action": { - "description": "Action will always be `show_verification_ui`\nshow_verification_ui ContinueWithActionShowVerificationUIString", - "enum": [ - "show_verification_ui" - ], - "type": "string", - "x-go-enum-desc": "show_verification_ui ContinueWithActionShowVerificationUIString" - }, - "flow": { - "$ref": "#/components/schemas/continueWithVerificationUiFlow" - } - }, - "required": [ - "action", - "flow" - ], - "type": "object" - }, - "continueWithVerificationUiFlow": { - "properties": { - "id": { - "description": "The ID of the verification flow", - "format": "uuid", - "type": "string" - }, - "url": { - "description": "The URL of the verification flow\n\nIf this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows.", - "type": "string" - }, - "verifiable_address": { - "description": "The address that should be verified in this flow", - "type": "string" - } - }, - "required": [ - "id", - "verifiable_address" - ], - "type": "object" - }, - "courierMessageStatus": { - "description": "A Message's Status", - "enum": [ - "queued", - "sent", - "processing", - "abandoned" - ], - "type": "string" - }, - "courierMessageType": { - "description": "It can either be `email` or `phone`", - "enum": [ - "email", - "phone" - ], - "title": "A Message's Type", - "type": "string" - }, - "createCustomDomainBody": { - "description": "Create Custom Hostname Request Body", - "properties": { - "cookie_domain": { - "description": "The domain where cookies will be set. Has to be a parent domain of the custom hostname to work.", - "type": "string" - }, - "cors_allowed_origins": { - "description": "CORS Allowed origins for the custom hostname.", - "items": { - "type": "string" - }, - "type": "array" - }, - "cors_enabled": { - "description": "CORS Enabled for the custom hostname.", - "type": "boolean" - }, - "custom_ui_base_url": { - "description": "The base URL where the custom user interface will be exposed.", - "type": "string" - }, - "hostname": { - "description": "The custom hostname where the API will be exposed.", - "type": "string" - } - }, - "type": "object" - }, - "createEventStreamBody": { - "description": "Create Event Stream Request Body", - "properties": { - "role_arn": { - "description": "The AWS IAM role ARN to assume when publishing to the SNS topic.", - "type": "string" - }, - "topic_arn": { - "description": "The AWS SNS topic ARN.", - "type": "string" - }, - "type": { - "description": "The type of the event stream (AWS SNS, GCP Pub/Sub, etc).", - "enum": [ - "sns" - ], - "type": "string" - } - }, - "required": [ - "type", - "topic_arn", - "role_arn" - ], - "type": "object" - }, - "createIdentityBody": { - "description": "Create Identity Body", - "properties": { - "credentials": { - "$ref": "#/components/schemas/identityWithCredentials" - }, - "metadata_admin": { - "description": "Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/\u003cid\u003e`." - }, - "metadata_public": { - "description": "Store metadata about the identity which the identity itself can see when calling for example the\nsession endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field." - }, - "recovery_addresses": { - "description": "RecoveryAddresses contains all the addresses that can be used to recover an identity.\n\nUse this structure to import recovery addresses for an identity. Please keep in mind\nthat the address needs to be represented in the Identity Schema or this field will be overwritten\non the next identity update.", - "items": { - "$ref": "#/components/schemas/recoveryIdentityAddress" - }, - "type": "array" - }, - "schema_id": { - "description": "SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.", - "type": "string" - }, - "state": { - "description": "State is the identity's state.\nactive StateActive\ninactive StateInactive", - "enum": [ - "active", - "inactive" - ], - "type": "string", - "x-go-enum-desc": "active StateActive\ninactive StateInactive" - }, - "traits": { - "description": "Traits represent an identity's traits. The identity is able to create, modify, and delete traits\nin a self-service manner. The input will always be validated against the JSON Schema defined\nin `schema_url`.", - "type": "object" - }, - "verifiable_addresses": { - "description": "VerifiableAddresses contains all the addresses that can be verified by the user.\n\nUse this structure to import verified addresses for an identity. Please keep in mind\nthat the address needs to be represented in the Identity Schema or this field will be overwritten\non the next identity update.", - "items": { - "$ref": "#/components/schemas/verifiableIdentityAddress" - }, - "type": "array" - } - }, - "required": [ - "schema_id", - "traits" - ], - "type": "object" - }, - "createJsonWebKeySet": { - "description": "Create JSON Web Key Set Request Body", - "properties": { - "alg": { - "description": "JSON Web Key Algorithm\n\nThe algorithm to be used for creating the key. Supports `RS256`, `ES256`, `ES512`, `HS512`, and `HS256`.", - "type": "string" - }, - "kid": { - "description": "JSON Web Key ID\n\nThe Key ID of the key to be created.", - "type": "string" - }, - "use": { - "description": "JSON Web Key Use\n\nThe \"use\" (public key use) parameter identifies the intended use of\nthe public key. The \"use\" parameter is employed to indicate whether\na public key is used for encrypting data or verifying the signature\non data. Valid values are \"enc\" and \"sig\".", - "type": "string" - } - }, - "required": [ - "alg", - "use", - "kid" - ], - "type": "object" - }, - "createMemberInviteResponse": { - "$ref": "#/components/schemas/CreateInviteResponse" - }, - "createProjectBody": { - "description": "Create Project Request Body", - "properties": { - "environment": { - "description": "The environment of the project.\nprod Production\nstage Staging\ndev Development", - "enum": [ - "prod", - "stage", - "dev" - ], - "type": "string", - "x-go-enum-desc": "prod Production\nstage Staging\ndev Development" - }, - "home_region": { - "description": "Home Region\n\nThe home region of the project. This is the region where the project will be created.\neu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global", - "enum": [ - "eu-central", - "asia-northeast", - "us-east", - "us-west", - "us", - "global" - ], - "type": "string", - "x-go-enum-desc": "eu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global" - }, - "name": { - "description": "The name of the project to be created", - "type": "string" - }, - "workspace_id": { - "description": "The workspace to create the project in.", - "format": "uuid", - "type": "string" - } - }, - "required": [ - "name", - "environment" - ], - "type": "object" - }, - "createProjectBranding": { - "description": "Create a Project Branding", - "properties": { - "favicon_type": { - "type": "string" - }, - "favicon_url": { - "type": "string" - }, - "logo_type": { - "type": "string" - }, - "logo_url": { - "type": "string" - }, - "name": { - "type": "string" - }, - "theme": { - "$ref": "#/components/schemas/projectBrandingColors" - } - }, - "type": "object" - }, - "createRecoveryCodeForIdentityBody": { - "description": "Create Recovery Code for Identity Request Body", - "properties": { - "expires_in": { - "description": "Code Expires In\n\nThe recovery code will expire after that amount of time has passed. Defaults to the configuration value of\n`selfservice.methods.code.config.lifespan`.", - "pattern": "^([0-9]+(ns|us|ms|s|m|h))*$", - "type": "string" - }, - "flow_type": { - "$ref": "#/components/schemas/selfServiceFlowType" - }, - "identity_id": { - "description": "Identity to Recover\n\nThe identity's ID you wish to recover.", - "format": "uuid", - "type": "string" - } - }, - "required": [ - "identity_id" - ], - "type": "object" - }, - "createRecoveryLinkForIdentityBody": { - "description": "Create Recovery Link for Identity Request Body", - "properties": { - "expires_in": { - "description": "Link Expires In\n\nThe recovery link will expire after that amount of time has passed. Defaults to the configuration value of\n`selfservice.methods.code.config.lifespan`.", - "pattern": "^[0-9]+(ns|us|ms|s|m|h)$", - "type": "string" - }, - "identity_id": { - "description": "Identity to Recover\n\nThe identity's ID you wish to recover.", - "format": "uuid", - "type": "string" - } - }, - "required": [ - "identity_id" - ], - "type": "object" - }, - "createRelationshipBody": { - "description": "Create Relationship Request Body", - "properties": { - "namespace": { - "description": "Namespace to query", - "type": "string" - }, - "object": { - "description": "Object to query", - "type": "string" - }, - "relation": { - "description": "Relation to query", - "type": "string" - }, - "subject_id": { - "description": "SubjectID to query\n\nEither SubjectSet or SubjectID can be provided.", - "type": "string" - }, - "subject_set": { - "$ref": "#/components/schemas/subjectSet" - } - }, - "type": "object" - }, - "createSubscriptionBody": { - "properties": { - "currency": { - "description": "\nusd USD\neur Euro", - "enum": [ - "usd", - "eur" - ], - "type": "string", - "x-go-enum-desc": "usd USD\neur Euro" - }, - "interval": { - "description": "\nmonthly Monthly\nyearly Yearly", - "enum": [ - "monthly", - "yearly" - ], - "type": "string", - "x-go-enum-desc": "monthly Monthly\nyearly Yearly" - }, - "plan": { - "type": "string" - }, - "provision_first_project": { - "format": "uuid", - "type": "string" - }, - "return_to": { - "type": "string" - } - }, - "required": [ - "plan", - "interval", - "provision_first_project" - ], - "type": "object" - }, - "createWorkspaceBody": { - "properties": { - "name": { - "description": "The name of the workspace", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "createWorkspaceSubscriptionBody": { - "properties": { - "currency": { - "description": "\nusd USD\neur Euro", - "enum": [ - "usd", - "eur" - ], - "type": "string", - "x-go-enum-desc": "usd USD\neur Euro" - }, - "interval": { - "description": "\nmonthly Monthly\nyearly Yearly", - "enum": [ - "monthly", - "yearly" - ], - "type": "string", - "x-go-enum-desc": "monthly Monthly\nyearly Yearly" - }, - "plan": { - "type": "string" - }, - "return_to": { - "type": "string" - } - }, - "required": [ - "plan", - "interval" - ], - "type": "object" - }, - "credentialSupportedDraft00": { - "description": "Includes information about the supported verifiable credentials.", - "properties": { - "cryptographic_binding_methods_supported": { - "description": "OpenID Connect Verifiable Credentials Cryptographic Binding Methods Supported\n\nContains a list of cryptographic binding methods supported for signing the proof.", - "items": { - "type": "string" - }, - "type": "array" - }, - "cryptographic_suites_supported": { - "description": "OpenID Connect Verifiable Credentials Cryptographic Suites Supported\n\nContains a list of cryptographic suites methods supported for signing the proof.", - "items": { - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "OpenID Connect Verifiable Credentials Format\n\nContains the format that is supported by this authorization server.", - "type": "string" - }, - "types": { - "description": "OpenID Connect Verifiable Credentials Types\n\nContains the types of verifiable credentials supported.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "title": "Verifiable Credentials Metadata (Draft 00)", - "type": "object" - }, - "customDomain": { - "description": "Custom Hostname", - "properties": { - "cookie_domain": { - "type": "string" - }, - "cors_allowed_origins": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "cors_enabled": { - "type": "boolean" - }, - "created_at": { - "format": "date-time", - "type": "string" - }, - "custom_ui_base_url": { - "type": "string" - }, - "hostname": { - "type": "string" - }, - "id": { - "format": "uuid", - "type": "string" - }, - "ssl_status": { - "enum": [ - "initializing", - "pending_validation", - "deleted", - "pending_issuance", - "pending_deployment", - "pending_deletion", - "pending_expiration", - "expired", - "active", - "initializing_timed_out", - "validation_timed_out", - "issuance_timed_out", - "deployment_timed_out", - "deletion_timed_out", - "pending_cleanup", - "staging_deployment", - "staging_active", - "deactivating", - "inactive", - "backup_issued", - "holding_deployment", - "" - ], - "type": "string", - "x-go-enum-desc": "initializing initializing\npending_validation pending_validation\ndeleted deleted\npending_issuance pending_issuance\npending_deployment pending_deployment\npending_deletion pending_deletion\npending_expiration pending_expiration\nexpired expired\nactive active\ninitializing_timed_out initializing_timed_out\nvalidation_timed_out validation_timed_out\nissuance_timed_out issuance_timed_out\ndeployment_timed_out deployment_timed_out\ndeletion_timed_out deletion_timed_out\npending_cleanup pending_cleanup\nstaging_deployment staging_deployment\nstaging_active staging_active\ndeactivating deactivating\ninactive inactive\nbackup_issued backup_issued\nholding_deployment holding_deployment\n unknown Cloudflare sometimes returns an empty string." - }, - "updated_at": { - "format": "date-time", - "type": "string" - }, - "verification_errors": { - "items": { - "type": "string" - }, - "type": "array" - }, - "verification_status": { - "$ref": "#/components/schemas/CustomHostnameStatus" - } - }, - "type": "object" - }, - "deleteMySessionsCount": { - "description": "Deleted Session Count", - "properties": { - "count": { - "description": "The number of sessions that were revoked.", - "format": "int64", - "type": "integer" - } - }, - "type": "object" - }, - "emailTemplateData": { - "description": "Contains the data of the email template, including the subject and body in HTML and plaintext variants", - "properties": { - "body": { - "$ref": "#/components/schemas/emailTemplateDataBody" - }, - "subject": { - "type": "string" - } - }, - "required": [ - "body", - "subject" - ], - "type": "object" - }, - "emailTemplateDataBody": { - "properties": { - "html": { - "type": "string" - }, - "plaintext": { - "type": "string" - } - }, - "required": [ - "html", - "plaintext" - ], - "type": "object" - }, - "errorAuthenticatorAssuranceLevelNotSatisfied": { - "properties": { - "error": { - "$ref": "#/components/schemas/genericError" - }, - "redirect_browser_to": { - "description": "Points to where to redirect the user to next.", - "type": "string" - } - }, - "title": "Is returned when an active session was found but the requested AAL is not satisfied.", - "type": "object" - }, - "errorBrowserLocationChangeRequired": { - "properties": { - "error": { - "$ref": "#/components/schemas/errorGeneric" - }, - "redirect_browser_to": { - "description": "Points to where to redirect the user to next.", - "type": "string" - } - }, - "title": "Is sent when a flow requires a browser to change its location.", - "type": "object" - }, - "errorFlowReplaced": { - "description": "Is sent when a flow is replaced by a different flow of the same class", - "properties": { - "error": { - "$ref": "#/components/schemas/genericError" - }, - "use_flow_id": { - "description": "The flow ID that should be used for the new flow as it contains the correct messages.", - "format": "uuid", - "type": "string" - } - }, - "type": "object" - }, - "errorGeneric": { - "description": "The standard Ory JSON API error format.", - "properties": { - "error": { - "$ref": "#/components/schemas/genericErrorContent" - } - }, - "required": [ - "error" - ], - "title": "JSON API Error Response", - "type": "object" - }, - "errorOAuth2": { - "description": "Error", - "properties": { - "error": { - "description": "Error", - "type": "string" - }, - "error_debug": { - "description": "Error Debug Information\n\nOnly available in dev mode.", - "type": "string" - }, - "error_description": { - "description": "Error Description", - "type": "string" - }, - "error_hint": { - "description": "Error Hint\n\nHelps the user identify the error cause.", - "example": "The redirect URL is not allowed.", - "type": "string" - }, - "status_code": { - "description": "HTTP Status Code", - "example": 401, - "format": "int64", - "type": "integer" - } - }, - "type": "object" - }, - "eventStream": { - "description": "Event Stream", - "properties": { - "created_at": { - "format": "date-time", - "type": "string" - }, - "id": { - "format": "uuid", - "type": "string" - }, - "role_arn": { - "type": "string" - }, - "topic_arn": { - "type": "string" - }, - "type": { - "type": "string" - }, - "updated_at": { - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "expandedPermissionTree": { - "properties": { - "children": { - "description": "The children of the node, possibly none.", - "items": { - "$ref": "#/components/schemas/expandedPermissionTree" - }, - "type": "array" - }, - "tuple": { - "$ref": "#/components/schemas/relationship" - }, - "type": { - "description": "The type of the node.\nunion TreeNodeUnion\nexclusion TreeNodeExclusion\nintersection TreeNodeIntersection\nleaf TreeNodeLeaf\ntuple_to_subject_set TreeNodeTupleToSubjectSet\ncomputed_subject_set TreeNodeComputedSubjectSet\nnot TreeNodeNot\nunspecified TreeNodeUnspecified", - "enum": [ - "union", - "exclusion", - "intersection", - "leaf", - "tuple_to_subject_set", - "computed_subject_set", - "not", - "unspecified" - ], - "type": "string", - "x-go-enum-desc": "union TreeNodeUnion\nexclusion TreeNodeExclusion\nintersection TreeNodeIntersection\nleaf TreeNodeLeaf\ntuple_to_subject_set TreeNodeTupleToSubjectSet\ncomputed_subject_set TreeNodeComputedSubjectSet\nnot TreeNodeNot\nunspecified TreeNodeUnspecified" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "falsyNullBool": { - "description": "It JSON decodes to false if null.", - "title": "FalsyNullBool represents a bool that may be null.", - "type": "boolean" - }, - "flowError": { - "properties": { - "created_at": { - "description": "CreatedAt is a helper struct field for gobuffalo.pop.", - "format": "date-time", - "type": "string" - }, - "error": { - "type": "object" - }, - "id": { - "description": "ID of the error container.", - "format": "uuid", - "type": "string" - }, - "updated_at": { - "description": "UpdatedAt is a helper struct field for gobuffalo.pop.", - "format": "date-time", - "type": "string" - } - }, - "required": [ - "id" - ], - "type": "object" - }, - "genericError": { - "description": "Error responses are sent when an error (e.g. unauthorized, bad request, ...) occurred.", - "properties": { - "code": { - "description": "The status code", - "example": 404, - "format": "int64", - "type": "integer" - }, - "debug": { - "description": "Debug information\n\nThis field is often not exposed to protect against leaking\nsensitive information.", - "example": "SQL field \"foo\" is not a bool.", - "type": "string" - }, - "details": { - "description": "Further error details" - }, - "error": { - "$ref": "#/components/schemas/genericErrorContent" - }, - "id": { - "description": "The error ID\n\nUseful when trying to identify various errors in application logic.", - "type": "string" - }, - "message": { - "description": "Error message\n\nThe error's message.", - "example": "The resource could not be found", - "type": "string" - }, - "reason": { - "description": "A human-readable reason for the error", - "example": "User with ID 1234 does not exist.", - "type": "string" - }, - "request": { - "description": "The request ID\n\nThe request ID is often exposed internally in order to trace\nerrors across service architectures. This is often a UUID.", - "example": "d7ef54b1-ec15-46e6-bccb-524b82c035e6", - "type": "string" - }, - "status": { - "description": "The status description", - "example": "Not Found", - "type": "string" - } - }, - "required": [ - "message" - ], - "title": "Error response", - "type": "object" - }, - "genericErrorContent": { - "description": "Error response", - "properties": { - "debug": { - "description": "Debug contains debug information. This is usually not available and has to be enabled.", - "example": "The database adapter was unable to find the element", - "type": "string" - }, - "error": { - "description": "Name is the error name.", - "example": "The requested resource could not be found", - "type": "string" - }, - "error_description": { - "description": "Description contains further information on the nature of the error.", - "example": "Object with ID 12345 does not exist", - "type": "string" - }, - "message": { - "description": "Message contains the error message.", - "type": "string" - }, - "status_code": { - "description": "Code represents the error status code (404, 403, 401, ...).", - "example": 404, - "format": "int64", - "type": "integer" - } - }, - "type": "object" - }, - "getAttributesCountResponse": { - "description": "Response of the getAttributesCount endpoint", - "properties": { - "data": { - "description": "The list of data points.", - "items": { - "$ref": "#/components/schemas/AttributesCountDatapoint" - }, - "readOnly": true, - "type": "array" - } - }, - "required": [ - "data" - ], - "type": "object" - }, - "getManagedIdentitySchemaLocation": { - "description": "Ory Identity Schema Location", - "properties": { - "location": { - "type": "string" - } - }, - "type": "object" - }, - "getMetricsEventAttributesResponse": { - "description": "Response of the getMetricsEventAttributes endpoint", - "properties": { - "events": { - "description": "The list of data points.", - "items": { - "type": "string" - }, - "readOnly": true, - "type": "array" - } - }, - "required": [ - "events" - ], - "type": "object" - }, - "getMetricsEventTypesResponse": { - "description": "Response of the getMetricsEventTypes endpoint", - "properties": { - "events": { - "description": "The list of data points.", - "items": { - "type": "string" - }, - "readOnly": true, - "type": "array" - } - }, - "required": [ - "events" - ], - "type": "object" - }, - "getOrganizationResponse": { - "properties": { - "organization": { - "$ref": "#/components/schemas/organization" - } - }, - "required": [ - "organization" - ], - "title": "getOrganizationResponse represents a B2B SSO Organization.", - "type": "object" - }, - "getProjectEventsBody": { - "description": "Body of the getProjectEvents endpoint", - "properties": { - "event_name": { - "description": "The event name to query for", - "type": "string" - }, - "filters": { - "default": [], - "description": "Event attribute filters", - "items": { - "$ref": "#/components/schemas/AttributeFilter" - }, - "type": "array" - }, - "from": { - "description": "The start RFC3339 date of the time window", - "format": "date-time", - "type": "string" - }, - "page_size": { - "default": 25, - "description": "Maximum number of events to return", - "format": "int64", - "type": "integer" - }, - "page_token": { - "description": "Pagination token to fetch next page, empty if first page", - "type": "string" - }, - "to": { - "description": "The end RFC3339 date of the time window", - "format": "date-time", - "type": "string" - } - }, - "required": [ - "from", - "to" - ], - "type": "object" - }, - "getProjectEventsResponse": { - "description": "Response of the getProjectEvents endpoint", - "properties": { - "events": { - "description": "The list of data points.", - "items": { - "$ref": "#/components/schemas/ProjectEventsDatapoint" - }, - "readOnly": true, - "type": "array" - }, - "page_token": { - "description": "Pagination token to be included in next page request", - "readOnly": true, - "type": "string" - } - }, - "required": [ - "events" - ], - "type": "object" - }, - "getProjectMetricsResponse": { - "description": "Response of the getMetrics endpoint", - "properties": { - "data": { - "description": "The list of data points.", - "items": { - "$ref": "#/components/schemas/metricsDatapoint" - }, - "readOnly": true, - "type": "array" - } - }, - "required": [ - "data" - ], - "type": "object" - }, - "getSessionActivityResponse": { - "description": "Response of the getSessionActivity endpoint", - "properties": { - "data": { - "description": "The list of data points.", - "items": { - "$ref": "#/components/schemas/SessionActivityDatapoint" - }, - "readOnly": true, - "type": "array" - } - }, - "required": [ - "data" - ], - "type": "object" - }, - "healthNotReadyStatus": { - "properties": { - "errors": { - "additionalProperties": { - "type": "string" - }, - "description": "Errors contains a list of errors that caused the not ready status.", - "type": "object" - } - }, - "title": "The not ready status of the service.", - "type": "object" - }, - "healthStatus": { - "properties": { - "status": { - "description": "Status always contains \"ok\".", - "type": "string" - } - }, - "title": "The health status of the service.", - "type": "object" - }, - "identity": { - "description": "An [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) represents a (human) user in Ory.", - "properties": { - "created_at": { - "description": "CreatedAt is a helper struct field for gobuffalo.pop.", - "format": "date-time", - "type": "string" - }, - "credentials": { - "additionalProperties": { - "$ref": "#/components/schemas/identityCredentials" - }, - "description": "Credentials represents all credentials that can be used for authenticating this identity.", - "type": "object" - }, - "id": { - "description": "ID is the identity's unique identifier.\n\nThe Identity ID can not be changed and can not be chosen. This ensures future\ncompatibility and optimization for distributed stores such as CockroachDB.", - "format": "uuid", - "type": "string" - }, - "metadata_admin": { - "$ref": "#/components/schemas/nullJsonRawMessage" - }, - "metadata_public": { - "$ref": "#/components/schemas/nullJsonRawMessage" - }, - "organization_id": { - "$ref": "#/components/schemas/NullUUID" - }, - "recovery_addresses": { - "description": "RecoveryAddresses contains all the addresses that can be used to recover an identity.", - "items": { - "$ref": "#/components/schemas/recoveryIdentityAddress" - }, - "type": "array", - "x-omitempty": true - }, - "schema_id": { - "description": "SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.", - "type": "string" - }, - "schema_url": { - "description": "SchemaURL is the URL of the endpoint where the identity's traits schema can be fetched from.\n\nformat: url", - "type": "string" - }, - "state": { - "description": "State is the identity's state.\n\nThis value has currently no effect.\nactive StateActive\ninactive StateInactive", - "enum": [ - "active", - "inactive" - ], - "type": "string", - "x-go-enum-desc": "active StateActive\ninactive StateInactive" - }, - "state_changed_at": { - "$ref": "#/components/schemas/nullTime" - }, - "traits": { - "$ref": "#/components/schemas/identityTraits" - }, - "updated_at": { - "description": "UpdatedAt is a helper struct field for gobuffalo.pop.", - "format": "date-time", - "type": "string" - }, - "verifiable_addresses": { - "description": "VerifiableAddresses contains all the addresses that can be verified by the user.", - "items": { - "$ref": "#/components/schemas/verifiableIdentityAddress" - }, - "type": "array", - "x-omitempty": true - } - }, - "required": [ - "id", - "schema_id", - "schema_url", - "traits" - ], - "title": "Identity represents an Ory Kratos identity", - "type": "object" - }, - "identityCredentials": { - "description": "Credentials represents a specific credential type", - "properties": { - "config": { - "$ref": "#/components/schemas/JSONRawMessage" - }, - "created_at": { - "description": "CreatedAt is a helper struct field for gobuffalo.pop.", - "format": "date-time", - "type": "string" - }, - "identifiers": { - "description": "Identifiers represents a list of unique identifiers this credential type matches.", - "items": { - "type": "string" - }, - "type": "array" - }, - "type": { - "description": "Type discriminates between different types of credentials.\npassword CredentialsTypePassword\noidc CredentialsTypeOIDC\ntotp CredentialsTypeTOTP\nlookup_secret CredentialsTypeLookup\nwebauthn CredentialsTypeWebAuthn\ncode CredentialsTypeCodeAuth\npasskey CredentialsTypePasskey\nprofile CredentialsTypeProfile\nlink_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself.\ncode_recovery CredentialsTypeRecoveryCode", - "enum": [ - "password", - "oidc", - "totp", - "lookup_secret", - "webauthn", - "code", - "passkey", - "profile", - "link_recovery", - "code_recovery" - ], - "type": "string", - "x-go-enum-desc": "password CredentialsTypePassword\noidc CredentialsTypeOIDC\ntotp CredentialsTypeTOTP\nlookup_secret CredentialsTypeLookup\nwebauthn CredentialsTypeWebAuthn\ncode CredentialsTypeCodeAuth\npasskey CredentialsTypePasskey\nprofile CredentialsTypeProfile\nlink_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself.\ncode_recovery CredentialsTypeRecoveryCode" - }, - "updated_at": { - "description": "UpdatedAt is a helper struct field for gobuffalo.pop.", - "format": "date-time", - "type": "string" - }, - "version": { - "description": "Version refers to the version of the credential. Useful when changing the config schema.", - "format": "int64", - "type": "integer" - } - }, - "type": "object" - }, - "identityCredentialsCode": { - "description": "CredentialsCode represents a one time login/registration code", - "properties": { - "addresses": { - "items": { - "$ref": "#/components/schemas/identityCredentialsCodeAddress" - }, - "type": "array" - } - }, - "type": "object" - }, - "identityCredentialsCodeAddress": { - "properties": { - "address": { - "description": "The address for this code", - "type": "string" - }, - "channel": { - "$ref": "#/components/schemas/CodeChannel" - } - }, - "type": "object" - }, - "identityCredentialsOidc": { - "properties": { - "providers": { - "items": { - "$ref": "#/components/schemas/identityCredentialsOidcProvider" - }, - "type": "array" - } - }, - "title": "CredentialsOIDC is contains the configuration for credentials of the type oidc.", - "type": "object" - }, - "identityCredentialsOidcProvider": { - "properties": { - "initial_access_token": { - "type": "string" - }, - "initial_id_token": { - "type": "string" - }, - "initial_refresh_token": { - "type": "string" - }, - "organization": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "subject": { - "type": "string" - } - }, - "title": "CredentialsOIDCProvider is contains a specific OpenID COnnect credential for a particular connection (e.g. Google).", - "type": "object" - }, - "identityCredentialsPassword": { - "properties": { - "hashed_password": { - "description": "HashedPassword is a hash-representation of the password.", - "type": "string" - }, - "use_password_migration_hook": { - "description": "UsePasswordMigrationHook is set to true if the password should be migrated\nusing the password migration hook. If set, and the HashedPassword is empty, a\nwebhook will be called during login to migrate the password.", - "type": "boolean" - } - }, - "title": "CredentialsPassword is contains the configuration for credentials of the type password.", - "type": "object" - }, - "identityMetaSchema": { - "description": "Identity Meta Schema", - "type": "object" - }, - "identityPatch": { - "description": "Payload for patching an identity", - "properties": { - "create": { - "$ref": "#/components/schemas/createIdentityBody" - }, - "patch_id": { - "description": "The ID of this patch.\n\nThe patch ID is optional. If specified, the ID will be returned in the\nresponse, so consumers of this API can correlate the response with the\npatch.", - "format": "uuid", - "type": "string" - } - }, - "type": "object" - }, - "identityPatchResponse": { - "description": "Response for a single identity patch", - "properties": { - "action": { - "description": "The action for this specific patch\ncreate ActionCreate Create this identity.\nerror ActionError Error indicates that the patch failed.", - "enum": [ - "create", - "error" - ], - "type": "string", - "x-go-enum-desc": "create ActionCreate Create this identity.\nerror ActionError Error indicates that the patch failed." - }, - "error": { - "$ref": "#/components/schemas/DefaultError" - }, - "identity": { - "description": "The identity ID payload of this patch", - "format": "uuid", - "type": "string" - }, - "patch_id": { - "description": "The ID of this patch response, if an ID was specified in the patch.", - "format": "uuid", - "type": "string" - } - }, - "type": "object" - }, - "identitySchema": { - "description": "Raw JSON Schema", - "type": "object" - }, - "identitySchemaContainer": { - "description": "An Identity JSON Schema Container", - "properties": { - "id": { - "description": "The ID of the Identity JSON Schema", - "type": "string" - }, - "schema": { - "description": "The actual Identity JSON Schema", - "type": "object" - } - }, - "type": "object" - }, - "identitySchemaPreset": { - "properties": { - "schema": { - "description": "Schema is the Identity JSON Schema", - "type": "object" - }, - "url": { - "description": "URL is the preset identifier", - "type": "string" - } - }, - "required": [ - "url", - "schema" - ], - "type": "object" - }, - "identitySchemaPresets": { - "items": { - "$ref": "#/components/schemas/identitySchemaPreset" - }, - "type": "array" - }, - "identitySchemas": { - "description": "List of Identity JSON Schemas", - "items": { - "$ref": "#/components/schemas/identitySchemaContainer" - }, - "type": "array" - }, - "identityTraits": { - "description": "Traits represent an identity's traits. The identity is able to create, modify, and delete traits\nin a self-service manner. The input will always be validated against the JSON Schema defined\nin `schema_url`." - }, - "identityVerifiableAddressStatus": { - "description": "VerifiableAddressStatus must not exceed 16 characters as that is the limitation in the SQL Schema", - "type": "string" - }, - "identityWithCredentials": { - "description": "Create Identity and Import Credentials", - "properties": { - "oidc": { - "$ref": "#/components/schemas/identityWithCredentialsOidc" - }, - "password": { - "$ref": "#/components/schemas/identityWithCredentialsPassword" - } - }, - "type": "object" - }, - "identityWithCredentialsOidc": { - "description": "Create Identity and Import Social Sign In Credentials", - "properties": { - "config": { - "$ref": "#/components/schemas/identityWithCredentialsOidcConfig" - } - }, - "type": "object" - }, - "identityWithCredentialsOidcConfig": { - "properties": { - "config": { - "$ref": "#/components/schemas/identityWithCredentialsPasswordConfig" - }, - "providers": { - "description": "A list of OpenID Connect Providers", - "items": { - "$ref": "#/components/schemas/identityWithCredentialsOidcConfigProvider" - }, - "type": "array" - } - }, - "type": "object" - }, - "identityWithCredentialsOidcConfigProvider": { - "description": "Create Identity and Import Social Sign In Credentials Configuration", - "properties": { - "provider": { - "description": "The OpenID Connect provider to link the subject to. Usually something like `google` or `github`.", - "type": "string" - }, - "subject": { - "description": "The subject (`sub`) of the OpenID Connect connection. Usually the `sub` field of the ID Token.", - "type": "string" - } - }, - "required": [ - "subject", - "provider" - ], - "type": "object" - }, - "identityWithCredentialsPassword": { - "description": "Create Identity and Import Password Credentials", - "properties": { - "config": { - "$ref": "#/components/schemas/identityWithCredentialsPasswordConfig" - } - }, - "type": "object" - }, - "identityWithCredentialsPasswordConfig": { - "description": "Create Identity and Import Password Credentials Configuration", - "properties": { - "hashed_password": { - "description": "The hashed password in [PHC format](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities#hashed-passwords)", - "type": "string" - }, - "password": { - "description": "The password in plain text if no hash is available.", - "type": "string" - }, - "use_password_migration_hook": { - "description": "If set to true, the password will be migrated using the password migration hook.", - "type": "boolean" - } - }, - "type": "object" - }, - "internalGetProjectBrandingBody": { - "description": "Get Project Branding Request Body", - "properties": { - "hostname": { - "type": "string" - } - }, - "type": "object" - }, - "internalIsAXWelcomeScreenEnabledForProjectBody": { - "description": "Is Account Experience Enabled For Project Request Body", - "properties": { - "path": { - "description": "Path is the path of the request.", - "type": "string" - }, - "project_slug": { - "description": "ProjectSlug is the project's slug.", - "type": "string" - } - }, - "required": [ - "project_slug", - "path" - ], - "type": "object" - }, - "internalIsOwnerForProjectBySlugBody": { - "description": "Is Owner For Project By Slug Request Body", - "properties": { - "namespace": { - "description": "Namespace is the namespace of the subject.", - "enum": [ - "User", - " ApiKey" - ], - "type": "string" - }, - "project_scope": { - "description": "ProjectScope is the project_id resolved from the\nAPI key.", - "type": "string" - }, - "project_slug": { - "description": "ProjectSlug is the project's slug.", - "type": "string" - }, - "subject": { - "description": "Subject is the subject acting (user or API key).", - "type": "string" - } - }, - "required": [ - "subject", - "namespace", - "project_slug" - ], - "type": "object" - }, - "internalIsOwnerForProjectBySlugResponse": { - "properties": { - "project_id": { - "description": "ProjectID is the project's ID.", - "type": "string" - } - }, - "required": [ - "project_id" - ], - "type": "object" - }, - "introspectedOAuth2Token": { - "description": "Introspection contains an access token's session data as specified by\n[IETF RFC 7662](https://tools.ietf.org/html/rfc7662)", - "properties": { - "active": { - "description": "Active is a boolean indicator of whether or not the presented token\nis currently active. The specifics of a token's \"active\" state\nwill vary depending on the implementation of the authorization\nserver and the information it keeps about its tokens, but a \"true\"\nvalue return for the \"active\" property will generally indicate\nthat a given token has been issued by this authorization server,\nhas not been revoked by the resource owner, and is within its\ngiven time window of validity (e.g., after its issuance time and\nbefore its expiration time).", - "type": "boolean" - }, - "aud": { - "description": "Audience contains a list of the token's intended audiences.", - "items": { - "type": "string" - }, - "type": "array" - }, - "client_id": { - "description": "ID is aclient identifier for the OAuth 2.0 client that\nrequested this token.", - "type": "string" - }, - "exp": { - "description": "Expires at is an integer timestamp, measured in the number of seconds\nsince January 1 1970 UTC, indicating when this token will expire.", - "format": "int64", - "type": "integer" - }, - "ext": { - "additionalProperties": {}, - "description": "Extra is arbitrary data set by the session.", - "type": "object" - }, - "iat": { - "description": "Issued at is an integer timestamp, measured in the number of seconds\nsince January 1 1970 UTC, indicating when this token was\noriginally issued.", - "format": "int64", - "type": "integer" - }, - "iss": { - "description": "IssuerURL is a string representing the issuer of this token", - "type": "string" - }, - "nbf": { - "description": "NotBefore is an integer timestamp, measured in the number of seconds\nsince January 1 1970 UTC, indicating when this token is not to be\nused before.", - "format": "int64", - "type": "integer" - }, - "obfuscated_subject": { - "description": "ObfuscatedSubject is set when the subject identifier algorithm was set to \"pairwise\" during authorization.\nIt is the `sub` value of the ID Token that was issued.", - "type": "string" - }, - "scope": { - "description": "Scope is a JSON string containing a space-separated list of\nscopes associated with this token.", - "type": "string" - }, - "sub": { - "description": "Subject of the token, as defined in JWT [RFC7519].\nUsually a machine-readable identifier of the resource owner who\nauthorized this token.", - "type": "string" - }, - "token_type": { - "description": "TokenType is the introspected token's type, typically `Bearer`.", - "type": "string" - }, - "token_use": { - "description": "TokenUse is the introspected token's use, for example `access_token` or `refresh_token`.", - "type": "string" - }, - "username": { - "description": "Username is a human-readable identifier for the resource owner who\nauthorized this token.", - "type": "string" - } - }, - "required": [ - "active" - ], - "type": "object" - }, - "invoice": { - "properties": { - "id": { - "description": "The ID of the invoice.", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "invoiced_at": { - "$ref": "#/components/schemas/Time" - }, - "type": { - "description": "Type is the type of the invoice.\nusage InvoiceTypeUsage\nbase InvoiceTypeBase", - "enum": [ - "usage", - "base" - ], - "readOnly": true, - "type": "string", - "x-go-enum-desc": "usage InvoiceTypeUsage\nbase InvoiceTypeBase" - }, - "updated_at": { - "format": "date-time", - "type": "string" - }, - "v1": { - "$ref": "#/components/schemas/InvoiceDataV1" - } - }, - "required": [ - "id", - "invoiced_at", - "type" - ], - "type": "object" - }, - "isOwnerForProjectBySlug": { - "properties": { - "ProjectSlug": { - "description": "ProjectSlug is the project's slug.", - "type": "string" - }, - "Subject": { - "description": "Subject is the subject from the API key.", - "type": "string" - } - }, - "required": [ - "Subject", - "ProjectSlug" - ], - "type": "object" - }, - "jsonPatch": { - "description": "A JSONPatch document as defined by RFC 6902", - "properties": { - "from": { - "description": "This field is used together with operation \"move\" and uses JSON Pointer notation.\n\nLearn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5).", - "example": "/name", - "type": "string" - }, - "op": { - "description": "The operation to be performed. One of \"add\", \"remove\", \"replace\", \"move\", \"copy\", or \"test\".", - "enum": [ - "add", - "remove", - "replace", - "move", - "copy", - "test" - ], - "example": "replace", - "type": "string" - }, - "path": { - "description": "The path to the target path. Uses JSON pointer notation.\n\nLearn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5).", - "example": "/name", - "type": "string" - }, - "value": { - "description": "The value to be used within the operations.\n\nLearn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5).", - "example": "foobar" - } - }, - "required": [ - "op", - "path" - ], - "type": "object" - }, - "jsonPatchDocument": { - "description": "A JSONPatchDocument request", - "items": { - "$ref": "#/components/schemas/jsonPatch" - }, - "type": "array" - }, - "jsonWebKey": { - "properties": { - "alg": { - "description": "The \"alg\" (algorithm) parameter identifies the algorithm intended for\nuse with the key. The values used should either be registered in the\nIANA \"JSON Web Signature and Encryption Algorithms\" registry\nestablished by [JWA] or be a value that contains a Collision-\nResistant Name.", - "example": "RS256", - "type": "string" - }, - "crv": { - "example": "P-256", - "type": "string" - }, - "d": { - "example": "T_N8I-6He3M8a7X1vWt6TGIx4xB_GP3Mb4SsZSA4v-orvJzzRiQhLlRR81naWYxfQAYt5isDI6_C2L9bdWo4FFPjGQFvNoRX-_sBJyBI_rl-TBgsZYoUlAj3J92WmY2inbA-PwyJfsaIIDceYBC-eX-xiCu6qMqkZi3MwQAFL6bMdPEM0z4JBcwFT3VdiWAIRUuACWQwrXMq672x7fMuaIaHi7XDGgt1ith23CLfaREmJku9PQcchbt_uEY-hqrFY6ntTtS4paWWQj86xLL94S-Tf6v6xkL918PfLSOTq6XCzxvlFwzBJqApnAhbwqLjpPhgUG04EDRrqrSBc5Y1BLevn6Ip5h1AhessBp3wLkQgz_roeckt-ybvzKTjESMuagnpqLvOT7Y9veIug2MwPJZI2VjczRc1vzMs25XrFQ8DpUy-bNdp89TmvAXwctUMiJdgHloJw23Cv03gIUAkDnsTqZmkpbIf-crpgNKFmQP_EDKoe8p_PXZZgfbRri3NoEVGP7Mk6yEu8LjJhClhZaBNjuWw2-KlBfOA3g79mhfBnkInee5KO9mGR50qPk1V-MorUYNTFMZIm0kFE6eYVWFBwJHLKYhHU34DoiK1VP-svZpC2uAMFNA_UJEwM9CQ2b8qe4-5e9aywMvwcuArRkAB5mBIfOaOJao3mfukKAE", - "type": "string" - }, - "dp": { - "example": "G4sPXkc6Ya9y8oJW9_ILj4xuppu0lzi_H7VTkS8xj5SdX3coE0oimYwxIi2emTAue0UOa5dpgFGyBJ4c8tQ2VF402XRugKDTP8akYhFo5tAA77Qe_NmtuYZc3C3m3I24G2GvR5sSDxUyAN2zq8Lfn9EUms6rY3Ob8YeiKkTiBj0", - "type": "string" - }, - "dq": { - "example": "s9lAH9fggBsoFR8Oac2R_E2gw282rT2kGOAhvIllETE1efrA6huUUvMfBcMpn8lqeW6vzznYY5SSQF7pMdC_agI3nG8Ibp1BUb0JUiraRNqUfLhcQb_d9GF4Dh7e74WbRsobRonujTYN1xCaP6TO61jvWrX-L18txXw494Q_cgk", - "type": "string" - }, - "e": { - "example": "AQAB", - "type": "string" - }, - "k": { - "example": "GawgguFyGrWKav7AX4VKUg", - "type": "string" - }, - "kid": { - "description": "The \"kid\" (key ID) parameter is used to match a specific key. This\nis used, for instance, to choose among a set of keys within a JWK Set\nduring key rollover. The structure of the \"kid\" value is\nunspecified. When \"kid\" values are used within a JWK Set, different\nkeys within the JWK Set SHOULD use distinct \"kid\" values. (One\nexample in which different keys might use the same \"kid\" value is if\nthey have different \"kty\" (key type) values but are considered to be\nequivalent alternatives by the application using them.) The \"kid\"\nvalue is a case-sensitive string.", - "example": "1603dfe0af8f4596", - "type": "string" - }, - "kty": { - "description": "The \"kty\" (key type) parameter identifies the cryptographic algorithm\nfamily used with the key, such as \"RSA\" or \"EC\". \"kty\" values should\neither be registered in the IANA \"JSON Web Key Types\" registry\nestablished by [JWA] or be a value that contains a Collision-\nResistant Name. The \"kty\" value is a case-sensitive string.", - "example": "RSA", - "type": "string" - }, - "n": { - "example": "vTqrxUyQPl_20aqf5kXHwDZrel-KovIp8s7ewJod2EXHl8tWlRB3_Rem34KwBfqlKQGp1nqah-51H4Jzruqe0cFP58hPEIt6WqrvnmJCXxnNuIB53iX_uUUXXHDHBeaPCSRoNJzNysjoJ30TIUsKBiirhBa7f235PXbKiHducLevV6PcKxJ5cY8zO286qJLBWSPm-OIevwqsIsSIH44Qtm9sioFikhkbLwoqwWORGAY0nl6XvVOlhADdLjBSqSAeT1FPuCDCnXwzCDR8N9IFB_IjdStFkC-rVt2K5BYfPd0c3yFp_vHR15eRd0zJ8XQ7woBC8Vnsac6Et1pKS59pX6256DPWu8UDdEOolKAPgcd_g2NpA76cAaF_jcT80j9KrEzw8Tv0nJBGesuCjPNjGs_KzdkWTUXt23Hn9QJsdc1MZuaW0iqXBepHYfYoqNelzVte117t4BwVp0kUM6we0IqyXClaZgOI8S-WDBw2_Ovdm8e5NmhYAblEVoygcX8Y46oH6bKiaCQfKCFDMcRgChme7AoE1yZZYsPbaG_3IjPrC4LBMHQw8rM9dWjJ8ImjicvZ1pAm0dx-KHCP3y5PVKrxBDf1zSOsBRkOSjB8TPODnJMz6-jd5hTtZxpZPwPoIdCanTZ3ZD6uRBpTmDwtpRGm63UQs1m5FWPwb0T2IF0", - "type": "string" - }, - "p": { - "example": "6NbkXwDWUhi-eR55Cgbf27FkQDDWIamOaDr0rj1q0f1fFEz1W5A_09YvG09Fiv1AO2-D8Rl8gS1Vkz2i0zCSqnyy8A025XOcRviOMK7nIxE4OH_PEsko8dtIrb3TmE2hUXvCkmzw9EsTF1LQBOGC6iusLTXepIC1x9ukCKFZQvdgtEObQ5kzd9Nhq-cdqmSeMVLoxPLd1blviVT9Vm8-y12CtYpeJHOaIDtVPLlBhJiBoPKWg3vxSm4XxIliNOefqegIlsmTIa3MpS6WWlCK3yHhat0Q-rRxDxdyiVdG_wzJvp0Iw_2wms7pe-PgNPYvUWH9JphWP5K38YqEBiJFXQ", - "type": "string" - }, - "q": { - "example": "0A1FmpOWR91_RAWpqreWSavNaZb9nXeKiBo0DQGBz32DbqKqQ8S4aBJmbRhJcctjCLjain-ivut477tAUMmzJwVJDDq2MZFwC9Q-4VYZmFU4HJityQuSzHYe64RjN-E_NQ02TWhG3QGW6roq6c57c99rrUsETwJJiwS8M5p15Miuz53DaOjv-uqqFAFfywN5WkxHbraBcjHtMiQuyQbQqkCFh-oanHkwYNeytsNhTu2mQmwR5DR2roZ2nPiFjC6nsdk-A7E3S3wMzYYFw7jvbWWoYWo9vB40_MY2Y0FYQSqcDzcBIcq_0tnnasf3VW4Fdx6m80RzOb2Fsnln7vKXAQ", - "type": "string" - }, - "qi": { - "example": "GyM_p6JrXySiz1toFgKbWV-JdI3jQ4ypu9rbMWx3rQJBfmt0FoYzgUIZEVFEcOqwemRN81zoDAaa-Bk0KWNGDjJHZDdDmFhW3AN7lI-puxk_mHZGJ11rxyR8O55XLSe3SPmRfKwZI6yU24ZxvQKFYItdldUKGzO6Ia6zTKhAVRU", - "type": "string" - }, - "use": { - "description": "Use (\"public key use\") identifies the intended use of\nthe public key. The \"use\" parameter is employed to indicate whether\na public key is used for encrypting data or verifying the signature\non data. Values are commonly \"sig\" (signature) or \"enc\" (encryption).", - "example": "sig", - "type": "string" - }, - "x": { - "example": "f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU", - "type": "string" - }, - "x5c": { - "description": "The \"x5c\" (X.509 certificate chain) parameter contains a chain of one\nor more PKIX certificates [RFC5280]. The certificate chain is\nrepresented as a JSON array of certificate value strings. Each\nstring in the array is a base64-encoded (Section 4 of [RFC4648] --\nnot base64url-encoded) DER [ITU.X690.1994] PKIX certificate value.\nThe PKIX certificate containing the key value MUST be the first\ncertificate.", - "items": { - "type": "string" - }, - "type": "array" - }, - "y": { - "example": "x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0", - "type": "string" - } - }, - "required": [ - "use", - "kty", - "kid", - "alg" - ], - "type": "object" - }, - "jsonWebKeySet": { - "description": "JSON Web Key Set", - "properties": { - "keys": { - "description": "List of JSON Web Keys\n\nThe value of the \"keys\" parameter is an array of JSON Web Key (JWK)\nvalues. By default, the order of the JWK values within the array does\nnot imply an order of preference among them, although applications\nof JWK Sets can choose to assign a meaning to the order for their\npurposes, if desired.", - "items": { - "$ref": "#/components/schemas/jsonWebKey" - }, - "type": "array" - } - }, - "type": "object" - }, - "listCustomDomains": { - "description": "Custom Hostname List", - "items": { - "$ref": "#/components/schemas/customDomain" - }, - "type": "array" - }, - "listEventStreams": { - "description": "Event Stream List", - "properties": { - "event_streams": { - "items": { - "$ref": "#/components/schemas/eventStream" - }, - "type": "array" - } - }, - "type": "object" - }, - "listInvoicesResponse": { - "properties": { - "buckets": { - "items": { - "$ref": "#/components/schemas/BillingPeriodBucket" - }, - "type": "array" - }, - "has_next_page": { - "type": "boolean" - }, - "next_page_token": { - "type": "string" - } - }, - "required": [ - "buckets", - "next_page_token", - "has_next_page" - ], - "type": "object" - }, - "listOrganizationsResponse": { - "description": "B2B SSO Organization List", - "properties": { - "has_next_page": { - "type": "boolean" - }, - "next_page_token": { - "type": "string" - }, - "organizations": { - "description": "The list of organizations", - "items": { - "$ref": "#/components/schemas/organization" - }, - "type": "array" - } - }, - "required": [ - "organizations", - "next_page_token", - "has_next_page" - ], - "type": "object" - }, - "listWorkspaceProjects": { - "properties": { - "has_next_page": { - "type": "boolean" - }, - "next_page": { - "type": "string" - }, - "projects": { - "items": { - "$ref": "#/components/schemas/projectMetadata" - }, - "type": "array" - } - }, - "required": [ - "projects", - "next_page", - "has_next_page" - ], - "type": "object" - }, - "listWorkspaces": { - "properties": { - "has_next_page": { - "type": "boolean" - }, - "next_page_token": { - "type": "string" - }, - "workspaces": { - "items": { - "$ref": "#/components/schemas/workspace" - }, - "type": "array" - } - }, - "required": [ - "workspaces", - "next_page_token", - "has_next_page" - ], - "type": "object" - }, - "loginFlow": { - "description": "This object represents a login flow. A login flow is initiated at the \"Initiate Login API / Browser Flow\"\nendpoint by a client.\n\nOnce a login flow is completed successfully, a session cookie or session token will be issued.", - "properties": { - "active": { - "description": "The active login method\n\nIf set contains the login method used. If the flow is new, it is unset.\npassword CredentialsTypePassword\noidc CredentialsTypeOIDC\ntotp CredentialsTypeTOTP\nlookup_secret CredentialsTypeLookup\nwebauthn CredentialsTypeWebAuthn\ncode CredentialsTypeCodeAuth\npasskey CredentialsTypePasskey\nprofile CredentialsTypeProfile\nlink_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself.\ncode_recovery CredentialsTypeRecoveryCode", - "enum": [ - "password", - "oidc", - "totp", - "lookup_secret", - "webauthn", - "code", - "passkey", - "profile", - "link_recovery", - "code_recovery" - ], - "type": "string", - "x-go-enum-desc": "password CredentialsTypePassword\noidc CredentialsTypeOIDC\ntotp CredentialsTypeTOTP\nlookup_secret CredentialsTypeLookup\nwebauthn CredentialsTypeWebAuthn\ncode CredentialsTypeCodeAuth\npasskey CredentialsTypePasskey\nprofile CredentialsTypeProfile\nlink_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself.\ncode_recovery CredentialsTypeRecoveryCode" - }, - "created_at": { - "description": "CreatedAt is a helper struct field for gobuffalo.pop.", - "format": "date-time", - "type": "string" - }, - "expires_at": { - "description": "ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in,\na new flow has to be initiated.", - "format": "date-time", - "type": "string" - }, - "id": { - "description": "ID represents the flow's unique ID. When performing the login flow, this\nrepresents the id in the login UI's query parameter: http://\u003cselfservice.flows.login.ui_url\u003e/?flow=\u003cflow_id\u003e", - "format": "uuid", - "type": "string" - }, - "issued_at": { - "description": "IssuedAt is the time (UTC) when the flow started.", - "format": "date-time", - "type": "string" - }, - "oauth2_login_challenge": { - "description": "Ory OAuth 2.0 Login Challenge.\n\nThis value is set using the `login_challenge` query parameter of the registration and login endpoints.\nIf set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider.", - "type": "string" - }, - "oauth2_login_request": { - "$ref": "#/components/schemas/oAuth2LoginRequest" - }, - "organization_id": { - "$ref": "#/components/schemas/NullUUID" - }, - "refresh": { - "description": "Refresh stores whether this login flow should enforce re-authentication.", - "type": "boolean" - }, - "request_url": { - "description": "RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.", - "type": "string" - }, - "requested_aal": { - "$ref": "#/components/schemas/authenticatorAssuranceLevel" - }, - "return_to": { - "description": "ReturnTo contains the requested return_to URL.", - "type": "string" - }, - "session_token_exchange_code": { - "description": "SessionTokenExchangeCode holds the secret code that the client can use to retrieve a session token after the login flow has been completed.\nThis is only set if the client has requested a session token exchange code, and if the flow is of type \"api\",\nand only on creating the login flow.", - "type": "string" - }, - "state": { - "description": "State represents the state of this request:\n\nchoose_method: ask the user to choose a method to sign in with\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the login challenge was passed." - }, - "transient_payload": { - "description": "TransientPayload is used to pass data from the login to hooks and email templates", - "type": "object" - }, - "type": { - "$ref": "#/components/schemas/selfServiceFlowType" - }, - "ui": { - "$ref": "#/components/schemas/uiContainer" - }, - "updated_at": { - "description": "UpdatedAt is a helper struct field for gobuffalo.pop.", - "format": "date-time", - "type": "string" - } - }, - "required": [ - "id", - "type", - "expires_at", - "issued_at", - "request_url", - "ui", - "state" - ], - "title": "Login Flow", - "type": "object" - }, - "loginFlowState": { - "description": "The state represents the state of the login flow.\n\nchoose_method: ask the user to choose a method (e.g. login account via email)\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the login challenge was passed.", - "enum": [ - "choose_method", - "sent_email", - "passed_challenge" - ], - "title": "Login Flow State", - "type": "string" - }, - "logoutFlow": { - "description": "Logout Flow", - "properties": { - "logout_token": { - "description": "LogoutToken can be used to perform logout using AJAX.", - "type": "string" - }, - "logout_url": { - "description": "LogoutURL can be opened in a browser to sign the user out.\n\nformat: uri", - "type": "string" - } - }, - "required": [ - "logout_url", - "logout_token" - ], - "type": "object" - }, - "managedIdentitySchema": { - "description": "Together the name and identity uuid are a unique index constraint.\nThis prevents a user from having schemas with the same name.\nThis also allows schemas to have the same name across the system.", - "properties": { - "blob_name": { - "description": "The gcs file name\n\nThis is a randomly generated name which is used to uniquely identify the file on the blob storage", - "type": "string" - }, - "blob_url": { - "description": "The publicly accessible url of the schema", - "type": "string" - }, - "content_hash": { - "description": "The Content Hash\n\nContains a hash of the schema's content.", - "type": "string" - }, - "created_at": { - "description": "The Schema's Creation Date", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "id": { - "description": "The schema's ID.", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "The schema name\n\nThis is set by the user and is for them to easily recognise their schema", - "example": "CustomerIdentity", - "type": "string" - }, - "updated_at": { - "description": "Last Time Schema was Updated", - "format": "date-time", - "readOnly": true, - "type": "string" - } - }, - "required": [ - "id", - "name", - "blob_name", - "blob_url", - "created_at", - "updated_at" - ], - "title": "Schema represents an Ory Kratos Identity Schema", - "type": "object" - }, - "managedIdentitySchemaValidationResult": { - "description": "Ory Identity Schema Validation Result", - "properties": { - "message": { - "type": "string" - }, - "valid": { - "type": "boolean" - } - }, - "type": "object" - }, - "managedIdentitySchemas": { - "items": { - "$ref": "#/components/schemas/managedIdentitySchema" - }, - "type": "array" - }, - "memberInvite": { - "properties": { - "created_at": { - "description": "The Project's Revision Creation Date", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "id": { - "description": "The invite's ID.", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "invitee_email": { - "description": "The invitee's email", - "type": "string" - }, - "invitee_id": { - "$ref": "#/components/schemas/NullUUID" - }, - "owner_email": { - "description": "The invite owner's email\nUsually the project's owner email", - "type": "string" - }, - "owner_id": { - "description": "The invite owner's ID\nUsually the project's owner", - "format": "uuid", - "type": "string" - }, - "project_id": { - "$ref": "#/components/schemas/NullUUID" - }, - "role": { - "$ref": "#/components/schemas/String" - }, - "status": { - "description": "The invite's status\nKeeps track of the invites status such as pending, accepted, declined, expired\npending PENDING\naccepted ACCEPTED\ndeclined DECLINED\nexpired EXPIRED\ncancelled CANCELLED\nremoved REMOVED", - "enum": [ - "pending", - "accepted", - "declined", - "expired", - "cancelled", - "removed" - ], - "type": "string", - "x-go-enum-desc": "pending PENDING\naccepted ACCEPTED\ndeclined DECLINED\nexpired EXPIRED\ncancelled CANCELLED\nremoved REMOVED" - }, - "updated_at": { - "description": "Last Time Project's Revision was Updated", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "workspace_id": { - "$ref": "#/components/schemas/NullUUID" - } - }, - "required": [ - "id", - "owner_id", - "owner_email", - "invitee_email", - "status", - "created_at", - "updated_at" - ], - "type": "object" - }, - "memberInvites": { - "items": { - "$ref": "#/components/schemas/memberInvite" - }, - "type": "array" - }, - "message": { - "properties": { - "body": { - "type": "string" - }, - "channel": { - "type": "string" - }, - "created_at": { - "description": "CreatedAt is a helper struct field for gobuffalo.pop.", - "format": "date-time", - "type": "string" - }, - "dispatches": { - "description": "Dispatches store information about the attempts of delivering a message\nMay contain an error if any happened, or just the `success` state.", - "items": { - "$ref": "#/components/schemas/messageDispatch" - }, - "type": "array" - }, - "id": { - "format": "uuid", - "type": "string" - }, - "recipient": { - "type": "string" - }, - "send_count": { - "format": "int64", - "type": "integer" - }, - "status": { - "$ref": "#/components/schemas/courierMessageStatus" - }, - "subject": { - "type": "string" - }, - "template_type": { - "description": "\nrecovery_invalid TypeRecoveryInvalid\nrecovery_valid TypeRecoveryValid\nrecovery_code_invalid TypeRecoveryCodeInvalid\nrecovery_code_valid TypeRecoveryCodeValid\nverification_invalid TypeVerificationInvalid\nverification_valid TypeVerificationValid\nverification_code_invalid TypeVerificationCodeInvalid\nverification_code_valid TypeVerificationCodeValid\nstub TypeTestStub\nlogin_code_valid TypeLoginCodeValid\nregistration_code_valid TypeRegistrationCodeValid", - "enum": [ - "recovery_invalid", - "recovery_valid", - "recovery_code_invalid", - "recovery_code_valid", - "verification_invalid", - "verification_valid", - "verification_code_invalid", - "verification_code_valid", - "stub", - "login_code_valid", - "registration_code_valid" - ], - "type": "string", - "x-go-enum-desc": "recovery_invalid TypeRecoveryInvalid\nrecovery_valid TypeRecoveryValid\nrecovery_code_invalid TypeRecoveryCodeInvalid\nrecovery_code_valid TypeRecoveryCodeValid\nverification_invalid TypeVerificationInvalid\nverification_valid TypeVerificationValid\nverification_code_invalid TypeVerificationCodeInvalid\nverification_code_valid TypeVerificationCodeValid\nstub TypeTestStub\nlogin_code_valid TypeLoginCodeValid\nregistration_code_valid TypeRegistrationCodeValid" - }, - "type": { - "$ref": "#/components/schemas/courierMessageType" - }, - "updated_at": { - "description": "UpdatedAt is a helper struct field for gobuffalo.pop.", - "format": "date-time", - "type": "string" - } - }, - "required": [ - "id", - "status", - "type", - "recipient", - "body", - "subject", - "template_type", - "send_count", - "created_at", - "updated_at" - ], - "type": "object" - }, - "messageDispatch": { - "description": "MessageDispatch represents an attempt of sending a courier message\nIt contains the status of the attempt (failed or successful) and the error if any occured", - "properties": { - "created_at": { - "description": "CreatedAt is a helper struct field for gobuffalo.pop.", - "format": "date-time", - "type": "string" - }, - "error": { - "$ref": "#/components/schemas/JSONRawMessage" - }, - "id": { - "description": "The ID of this message dispatch", - "format": "uuid", - "type": "string" - }, - "message_id": { - "description": "The ID of the message being dispatched", - "format": "uuid", - "type": "string" - }, - "status": { - "description": "The status of this dispatch\nEither \"failed\" or \"success\"\nfailed CourierMessageDispatchStatusFailed\nsuccess CourierMessageDispatchStatusSuccess", - "enum": [ - "failed", - "success" - ], - "type": "string", - "x-go-enum-desc": "failed CourierMessageDispatchStatusFailed\nsuccess CourierMessageDispatchStatusSuccess" - }, - "updated_at": { - "description": "UpdatedAt is a helper struct field for gobuffalo.pop.", - "format": "date-time", - "type": "string" - } - }, - "required": [ - "id", - "message_id", - "status", - "created_at", - "updated_at" - ], - "type": "object" - }, - "metricsDatapoint": { - "description": "Represents a single datapoint/bucket of a time series", - "properties": { - "count": { - "description": "The count of events that occured in this time", - "format": "int64", - "type": "integer" - }, - "time": { - "description": "The time of the bucket", - "format": "date-time", - "type": "string" - } - }, - "required": [ - "time", - "count" - ], - "type": "object" - }, - "namespace": { - "properties": { - "name": { - "description": "Name of the namespace.", - "type": "string" - } - }, - "type": "object" - }, - "needsPrivilegedSessionError": { - "properties": { - "error": { - "$ref": "#/components/schemas/genericError" - }, - "redirect_browser_to": { - "description": "Points to where to redirect the user to next.", - "type": "string" - } - }, - "required": [ - "redirect_browser_to" - ], - "title": "Is sent when a privileged session is required to perform the settings update.", - "type": "object" - }, - "normalizedProject": { - "properties": { - "created_at": { - "description": "The Project's Creation Date", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "current_revision": { - "$ref": "#/components/schemas/normalizedProjectRevision" - }, - "environment": { - "description": "The environment of the project.\nprod Production\nstage Staging\ndev Development", - "enum": [ - "prod", - "stage", - "dev" - ], - "type": "string", - "x-go-enum-desc": "prod Production\nstage Staging\ndev Development" - }, - "home_region": { - "description": "The project's data home region.\neu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global", - "enum": [ - "eu-central", - "asia-northeast", - "us-east", - "us-west", - "us", - "global" - ], - "readOnly": true, - "type": "string", - "x-go-enum-desc": "eu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global" - }, - "hosts": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "id": { - "description": "The project's ID.", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "slug": { - "description": "The project's slug", - "readOnly": true, - "type": "string" - }, - "state": { - "description": "The state of the project.\nrunning Running\nhalted Halted\ndeleted Deleted", - "enum": [ - "running", - "halted", - "deleted" - ], - "readOnly": true, - "type": "string", - "x-go-enum-desc": "running Running\nhalted Halted\ndeleted Deleted" - }, - "subscription_id": { - "$ref": "#/components/schemas/NullUUID" - }, - "subscription_plan": { - "$ref": "#/components/schemas/String" - }, - "updated_at": { - "description": "Last Time Project was Updated", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "workspace": { - "$ref": "#/components/schemas/workspace" - }, - "workspace_id": { - "$ref": "#/components/schemas/NullUUID" - } - }, - "required": [ - "id", - "hosts", - "slug", - "current_revision", - "state", - "environment", - "workspace_id", - "home_region", - "created_at", - "updated_at" - ], - "type": "object" - }, - "normalizedProjectRevision": { - "properties": { - "created_at": { - "description": "The Project's Revision Creation Date", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "disable_account_experience_welcome_screen": { - "description": "Whether to disable the account experience welcome screen, which is hosted under `/ui/welcome`.", - "type": "boolean" - }, - "enable_ax_v2": { - "description": "Whether the new account experience is enabled and reachable.", - "type": "boolean" - }, - "hydra_oauth2_allowed_top_level_claims": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "hydra_oauth2_client_credentials_default_grant_allowed_scope": { - "description": "Automatically grant authorized OAuth2 Scope in OAuth2 Client Credentials Flow.\n\nEach OAuth2 Client is allowed to request a predefined OAuth2 Scope (for example `read write`). If this option is enabled, the full\nscope is automatically granted when performing the OAuth2 Client Credentials flow.\n\nIf disabled, the OAuth2 Client has to request the scope in the OAuth2 request by providing the `scope` query parameter.\n\nSetting this option to true is common if you need compatibility with MITREid.\n\nThis governs the \"oauth2.client_credentials.default_grant_allowed_scope\" setting.", - "type": "boolean" - }, - "hydra_oauth2_exclude_not_before_claim": { - "description": "Set to true if you want to exclude claim `nbf (not before)` part of access token.\n\nThis governs the \"oauth2.exclude_not_before_claim\" setting.", - "type": "boolean" - }, - "hydra_oauth2_grant_jwt_iat_optional": { - "description": "Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523).\n\nIf set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration.\n\nThis governs the \"oauth2.grant.jwt.iat_optional\" setting.", - "type": "boolean" - }, - "hydra_oauth2_grant_jwt_jti_optional": { - "description": "Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523).\n\nIf set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration.\n\nThis governs the \"oauth2.grant.jwt.jti_optional\" setting.", - "type": "boolean" - }, - "hydra_oauth2_grant_jwt_max_ttl": { - "default": "720h", - "description": "Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be.\n\nThis feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied.\n\nUseful as a safety measure and recommended to keep below 720h.\n\nThis governs the \"oauth2.grant.jwt.max_ttl\" setting.", - "example": "30m", - "pattern": "^[0-9]+(ns|us|ms|s|m|h)$", - "type": "string" - }, - "hydra_oauth2_mirror_top_level_claims": { - "description": "Set to false if you don't want to mirror custom claims under 'ext'.\n\nThis governs the \"oauth2.mirror_top_level_claims\" setting.", - "type": "boolean" - }, - "hydra_oauth2_pkce_enforced": { - "description": "Configures whether PKCE should be enforced for all OAuth2 Clients.\n\nThis governs the \"oauth2.pkce.enforced\" setting.", - "type": "boolean" - }, - "hydra_oauth2_pkce_enforced_for_public_clients": { - "description": "Configures whether PKCE should be enforced for OAuth2 Clients without a client secret (public clients).\n\nThis governs the \"oauth2.pkce.enforced_for_public_clients\" setting.", - "type": "boolean" - }, - "hydra_oauth2_refresh_token_hook": { - "description": "Sets the Refresh Token Hook Endpoint. If set this endpoint will be called during the OAuth2 Token Refresh grant update the OAuth2 Access Token claims.\n\nThis governs the \"oauth2.refresh_token_hook\" setting.", - "type": "string" - }, - "hydra_oauth2_token_hook": { - "description": "Sets the token hook endpoint for all grant types. If set it will be called while providing token to customize claims.\n\nThis governs the \"oauth2.token_hook.url\" setting.", - "type": "string" - }, - "hydra_oidc_dynamic_client_registration_default_scope": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "hydra_oidc_dynamic_client_registration_enabled": { - "description": "Configures OpenID Connect Dynamic Client Registration.\n\nThis governs the \"oidc.dynamic_client_registration.enabled\" setting.", - "type": "boolean" - }, - "hydra_oidc_subject_identifiers_pairwise_salt": { - "description": "Configures OpenID Connect Discovery and overwrites the pairwise algorithm\n\nThis governs the \"oidc.subject_identifiers.pairwise_salt\" setting.", - "type": "string" - }, - "hydra_oidc_subject_identifiers_supported_types": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "hydra_secrets_cookie": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "hydra_secrets_system": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "hydra_serve_cookies_same_site_legacy_workaround": { - "description": "Configures the Ory Hydra Cookie Same Site Legacy Workaround\n\nThis governs the \"serve.cookies.same_site_legacy_workaround\" setting.", - "type": "boolean" - }, - "hydra_serve_cookies_same_site_mode": { - "description": "Configures the Ory Hydra Cookie Same Site Mode\n\nThis governs the \"serve.cookies.same_site_mode\" setting.", - "type": "string" - }, - "hydra_strategies_access_token": { - "default": "opaque", - "description": "Defines access token type\n\nThis governs the \"strategies.access_token\" setting.\nopaque Oauth2AccessTokenStrategyOpaque\njwt Oauth2AccessTokenStrategyJwt", - "enum": [ - "opaque", - "jwt" - ], - "type": "string", - "x-go-enum-desc": "opaque Oauth2AccessTokenStrategyOpaque\njwt Oauth2AccessTokenStrategyJwt" - }, - "hydra_strategies_jwt_scope_claim": { - "default": "list", - "description": "Define the claim to use as the scope in the access token.\n\nThis governs the \"strategies.jwt.scope_claim\" setting:\n\nlist: The scope claim is an array of strings named `scope`: `{ \"scope\": [\"read\", \"write\"] }`\nstring: The scope claim is a space delimited list of strings named `scp`: `{ \"scp\": \"read write\" }`\nboth: The scope claim is both a space delimited list and an array of strings named `scope` and `scp`: `{ \"scope\": [\"read\", \"write\"], \"scp\": \"read write\" }`\nlist OAuth2JWTScopeClaimList\nstring OAuth2JWTScopeClaimString\nboth OAuth2JWTScopeClaimBoth", - "enum": [ - "list", - "string", - "both" - ], - "type": "string", - "x-go-enum-desc": "list OAuth2JWTScopeClaimList\nstring OAuth2JWTScopeClaimString\nboth OAuth2JWTScopeClaimBoth" - }, - "hydra_strategies_scope": { - "default": "wildcard", - "description": "Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes\n\nThis governs the \"strategies.scope\" setting.\nexact Oauth2ScopeStrategyExact\nwildcard Oauth2ScopeStrategyWildcard", - "enum": [ - "exact", - "wildcard" - ], - "type": "string", - "x-go-enum-desc": "exact Oauth2ScopeStrategyExact\nwildcard Oauth2ScopeStrategyWildcard" - }, - "hydra_ttl_access_token": { - "default": "30m", - "description": "This governs the \"ttl.access_token\" setting.", - "example": "1h", - "pattern": "^[0-9]+(ns|us|ms|s|m|h)$", - "type": "string" - }, - "hydra_ttl_auth_code": { - "default": "720h", - "description": "Configures how long refresh tokens are valid.\n\nSet to -1 for refresh tokens to never expire. This is not recommended!\n\nThis governs the \"ttl.auth_code\" setting.", - "example": "30m", - "pattern": "^[0-9]+(ns|us|ms|s|m|h)$", - "type": "string" - }, - "hydra_ttl_id_token": { - "default": "30m", - "description": "This governs the \"ttl.id_token\" setting.", - "example": "1h", - "pattern": "^[0-9]+(ns|us|ms|s|m|h)$", - "type": "string" - }, - "hydra_ttl_login_consent_request": { - "default": "30m", - "description": "Configures how long a user login and consent flow may take.\n\nThis governs the \"ttl.login_consent_request\" setting.", - "example": "1h", - "pattern": "^[0-9]+(ns|us|ms|s|m|h)$", - "type": "string" - }, - "hydra_ttl_refresh_token": { - "default": "720h", - "description": "Configures how long refresh tokens are valid.\n\nSet to -1 for refresh tokens to never expire. This is not recommended!\n\nThis governs the \"ttl.refresh_token\" setting.", - "example": "30m", - "pattern": "^([0-9]+(ns|us|ms|s|m|h)|-1)$", - "type": "string" - }, - "hydra_urls_consent": { - "description": "Sets the OAuth2 Consent Endpoint URL of the OAuth2 User Login \u0026 Consent flow.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.consent\" setting.", - "type": "string" - }, - "hydra_urls_error": { - "description": "Sets the OAuth2 Error URL of the OAuth2 User Login \u0026 Consent flow.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.error\" setting.", - "type": "string" - }, - "hydra_urls_login": { - "description": "Sets the OAuth2 Login Endpoint URL of the OAuth2 User Login \u0026 Consent flow.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.login\" setting.", - "type": "string" - }, - "hydra_urls_logout": { - "description": "Sets the logout endpoint.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.logout\" setting.", - "type": "string" - }, - "hydra_urls_post_logout_redirect": { - "description": "When an OAuth2-related user agent requests to log out, they will be redirected to this url afterwards per default.\n\nDefaults to the Ory Account Experience in development and your application in production mode when a custom domain is connected.\n\nThis governs the \"urls.post_logout_redirect\" setting.", - "type": "string" - }, - "hydra_urls_registration": { - "description": "Sets the OAuth2 Registration Endpoint URL of the OAuth2 User Login \u0026 Consent flow.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.registration\" setting.", - "type": "string" - }, - "hydra_urls_self_issuer": { - "description": "This value will be used as the issuer in access and ID tokens. It must be specified and using HTTPS protocol, unless the development mode is enabled.\n\nOn the Ory Network it will be very rare that you want to modify this value. If left empty, it will default to the correct value for the Ory Network.\n\nThis governs the \"urls.self.issuer\" setting.", - "type": "string" - }, - "hydra_webfinger_jwks_broadcast_keys": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "hydra_webfinger_oidc_discovery_auth_url": { - "description": "Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL.\n\nThis governs the \"webfinger.oidc.discovery.auth_url\" setting.", - "type": "string" - }, - "hydra_webfinger_oidc_discovery_client_registration_url": { - "description": "Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint.\n\nThis governs the \"webfinger.oidc.discovery.client_registration_url\" setting.", - "type": "string" - }, - "hydra_webfinger_oidc_discovery_jwks_url": { - "description": "Configures OpenID Connect Discovery and overwrites the JWKS URL.\n\nThis governs the \"webfinger.oidc.discovery.jwks_url\" setting.", - "type": "string" - }, - "hydra_webfinger_oidc_discovery_supported_claims": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "hydra_webfinger_oidc_discovery_supported_scope": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "hydra_webfinger_oidc_discovery_token_url": { - "description": "Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL.\n\nThis governs the \"webfinger.oidc.discovery.token_url\" setting.", - "type": "string" - }, - "hydra_webfinger_oidc_discovery_userinfo_url": { - "description": "Configures OpenID Connect Discovery and overwrites userinfo endpoint to be advertised at the OpenID Connect Discovery endpoint /.well-known/openid-configuration. Defaults to Ory Hydra's userinfo endpoint at /userinfo. Set this value if you want to handle this endpoint yourself.\n\nThis governs the \"webfinger.oidc.discovery.userinfo_url\" setting.", - "type": "string" - }, - "id": { - "description": "The revision ID.", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "keto_namespace_configuration": { - "description": "The Revisions' Keto Namespace Configuration\n\nThe string is a URL pointing to an OPL file with the configuration.", - "type": "string" - }, - "keto_namespaces": { - "$ref": "#/components/schemas/KetoNamespaces" - }, - "kratos_cookies_same_site": { - "description": "Configures the Ory Kratos Cookie SameSite Attribute\n\nThis governs the \"cookies.same_site\" setting.", - "type": "string" - }, - "kratos_courier_channels": { - "$ref": "#/components/schemas/revisionCourierChannels" - }, - "kratos_courier_delivery_strategy": { - "default": "smtp", - "description": "The delivery strategy to use when sending emails\n\n`smtp`: Use SMTP server\n`http`: Use the built in HTTP client to send the email to some remote service", - "type": "string" - }, - "kratos_courier_http_request_config_auth_api_key_in": { - "description": "The location of the API key to use in the HTTP email sending service's authentication\n\n`header`: Send the key value pair as a header\n`cookie`: Send the key value pair as a cookie\nThis governs the \"courier.http.auth.config.in\" setting", - "type": "string" - }, - "kratos_courier_http_request_config_auth_api_key_name": { - "description": "The name of the API key to use in the HTTP email sending service's authentication\n\nThis governs the \"courier.http.auth.config.name\" setting", - "type": "string" - }, - "kratos_courier_http_request_config_auth_api_key_value": { - "description": "The value of the API key to use in the HTTP email sending service's authentication\n\nThis governs the \"courier.http.auth.config.value\" setting", - "type": "string" - }, - "kratos_courier_http_request_config_auth_basic_auth_password": { - "description": "The password to use for basic auth in the HTTP email sending service's authentication\n\nThis governs the \"courier.http.auth.config.password\" setting", - "type": "string" - }, - "kratos_courier_http_request_config_auth_basic_auth_user": { - "description": "The user to use for basic auth in the HTTP email sending service's authentication\n\nThis governs the \"courier.http.auth.config.user\" setting", - "type": "string" - }, - "kratos_courier_http_request_config_auth_type": { - "default": "empty (no authentication)", - "description": "The authentication type to use while contacting the remote HTTP email sending service\n\n`basic_auth`: Use Basic Authentication\n`api_key`: Use API Key Authentication in a header or cookie", - "type": "string" - }, - "kratos_courier_http_request_config_body": { - "description": "The Jsonnet template to generate the body to send to the remote HTTP email sending service\n\nShould be valid Jsonnet and base64 encoded\n\nThis governs the \"courier.http.body\" setting", - "type": "string" - }, - "kratos_courier_http_request_config_headers": { - "$ref": "#/components/schemas/nullJsonRawMessage" - }, - "kratos_courier_http_request_config_method": { - "default": "POST", - "description": "The http METHOD to use when calling the remote HTTP email sending service", - "type": "string" - }, - "kratos_courier_http_request_config_url": { - "description": "The URL of the remote HTTP email sending service\n\nThis governs the \"courier.http.url\" setting", - "type": "string" - }, - "kratos_courier_smtp_connection_uri": { - "description": "Configures the Ory Kratos SMTP Connection URI\n\nThis governs the \"courier.smtp.connection_uri\" setting.", - "type": "string" - }, - "kratos_courier_smtp_from_address": { - "description": "Configures the Ory Kratos SMTP From Address\n\nThis governs the \"courier.smtp.from_address\" setting.", - "type": "string" - }, - "kratos_courier_smtp_from_name": { - "description": "Configures the Ory Kratos SMTP From Name\n\nThis governs the \"courier.smtp.from_name\" setting.", - "type": "string" - }, - "kratos_courier_smtp_headers": { - "$ref": "#/components/schemas/nullJsonRawMessage" - }, - "kratos_courier_smtp_local_name": { - "description": "Configures the local_name to use in SMTP connections\n\nThis governs the \"courier.smtp.local_name\" setting.", - "type": "string" - }, - "kratos_courier_templates_login_code_valid_email_body_html": { - "description": "Configures the Ory Kratos Valid Login via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.login_code.valid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_login_code_valid_email_body_plaintext": { - "description": "Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.login_code.valid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_login_code_valid_email_subject": { - "description": "Configures the Ory Kratos Valid Login via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.login_code.valid.email.subject\" setting.", - "type": "string" - }, - "kratos_courier_templates_login_code_valid_sms_body_plaintext": { - "description": "Configures the Ory Kratos Valid Login via Code SMS plain text body\n\nThis governs the \"courier.smtp.templates.login_code.valid.sms.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_code_invalid_email_body_html": { - "description": "Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_code_invalid_email_body_plaintext": { - "description": "Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery_code.invalid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_code_invalid_email_subject": { - "description": "Configures the Ory Kratos Invalid Recovery via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_code_valid_email_body_html": { - "description": "Configures the Ory Kratos Valid Recovery via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.recovery_code.valid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_code_valid_email_body_plaintext": { - "description": "Configures the Ory Kratos Valid Recovery via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery_code.valid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_code_valid_email_subject": { - "description": "Configures the Ory Kratos Valid Recovery via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.recovery_code.valid.email.subject\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_invalid_email_body_html": { - "description": "Configures the Ory Kratos Invalid Recovery Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_invalid_email_body_plaintext": { - "description": "Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery.invalid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_invalid_email_subject": { - "description": "Configures the Ory Kratos Invalid Recovery Email Subject Template\n\nThis governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_valid_email_body_html": { - "description": "Configures the Ory Kratos Valid Recovery Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.recovery.valid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_valid_email_body_plaintext": { - "description": "Configures the Ory Kratos Valid Recovery Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_recovery_valid_email_subject": { - "description": "Configures the Ory Kratos Valid Recovery Email Subject Template\n\nThis governs the \"courier.smtp.templates.recovery.valid.email.subject\" setting.", - "type": "string" - }, - "kratos_courier_templates_registration_code_valid_email_body_html": { - "description": "Configures the Ory Kratos Valid Registration via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.registration_code.valid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_registration_code_valid_email_body_plaintext": { - "description": "Configures the Ory Kratos Valid Registration via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.registration_code.valid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_registration_code_valid_email_subject": { - "description": "Configures the Ory Kratos Valid Registration via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.registration_code.valid.email.subject\" setting.", - "type": "string" - }, - "kratos_courier_templates_registration_code_valid_sms_body_plaintext": { - "description": "Configures the Ory Kratos Valid Registration via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.registration_code.valid.sms.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_code_invalid_email_body_html": { - "description": "Configures the Ory Kratos Invalid Verification via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.verification_code.invalid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_code_invalid_email_body_plaintext": { - "description": "Configures the Ory Kratos Invalid Verification via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.verification_code.invalid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_code_invalid_email_subject": { - "description": "Configures the Ory Kratos Invalid Verification via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.verification_code.invalid.email.subject\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_code_valid_email_body_html": { - "description": "Configures the Ory Kratos Valid Verification via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.verification_code.valid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_code_valid_email_body_plaintext": { - "description": "Configures the Ory Kratos Valid Verification via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.verification_code.valid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_code_valid_email_subject": { - "description": "Configures the Ory Kratos Valid Verification via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.verification_code.valid.email.subject\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_code_valid_sms_body_plaintext": { - "description": "Configures the Ory Kratos Valid Verification via Code SMS Body Plaintext\n\nThis governs the \"courier.smtp.templates.verification_code.valid.sms.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_invalid_email_body_html": { - "description": "Configures the Ory Kratos Invalid Verification Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.verification.invalid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_invalid_email_body_plaintext": { - "description": "Configures the Ory Kratos Invalid Verification Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.verification.invalid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_invalid_email_subject": { - "description": "Configures the Ory Kratos Invalid Verification Email Subject Template\n\nThis governs the \"courier.smtp.templates.verification.invalid.email.subject\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_valid_email_body_html": { - "description": "Configures the Ory Kratos Valid Verification Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.verification.valid.email.body.html\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_valid_email_body_plaintext": { - "description": "Configures the Ory Kratos Valid Verification Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.verification.valid.email.body.plaintext\" setting.", - "type": "string" - }, - "kratos_courier_templates_verification_valid_email_subject": { - "description": "Configures the Ory Kratos Valid Verification Email Subject Template\n\nThis governs the \"courier.smtp.templates.verification.valid.email.subject\" setting.", - "type": "string" - }, - "kratos_feature_flags_cacheable_sessions": { - "description": "Configures the Ory Kratos Session caching feature flag\n\nThis governs the \"feature_flags.cacheable_sessions\" setting.", - "type": "boolean" - }, - "kratos_feature_flags_cacheable_sessions_max_age": { - "description": "Configures the Ory Kratos Session caching max-age feature flag\n\nThis governs the \"feature_flags.cacheable_sessions_max_age\" setting.", - "type": "string" - }, - "kratos_feature_flags_faster_session_extend": { - "description": "Configures the Ory Kratos Faster Session Extend setting\n\nIf enabled allows faster session extension by skipping the session lookup and returning 201 instead of 200.\nDisabling this feature will be deprecated in the future.\n\nThis governs the \"feature_flags.faster_session_extend\" setting.", - "type": "boolean" - }, - "kratos_feature_flags_use_continue_with_transitions": { - "description": "Configures the Ory Kratos Session use_continue_with_transitions flag\n\nThis governs the \"feature_flags.use_continue_with_transitions\" setting.", - "type": "boolean" - }, - "kratos_identity_schemas": { - "$ref": "#/components/schemas/projectRevisionIdentitySchemas" - }, - "kratos_oauth2_provider_headers": { - "$ref": "#/components/schemas/nullJsonRawMessage" - }, - "kratos_oauth2_provider_override_return_to": { - "description": "Kratos OAuth2 Provider Override Return To\n\nEnabling this allows Kratos to set the return_to parameter automatically to the OAuth2 request URL on the login flow, allowing complex flows such as recovery to continue to the initial OAuth2 flow.", - "type": "boolean" - }, - "kratos_oauth2_provider_url": { - "description": "The Revisions' OAuth2 Provider Integration URL\n\nThis governs the \"oauth2_provider.url\" setting.", - "type": "string" - }, - "kratos_preview_default_read_consistency_level": { - "description": "Configures the default read consistency level for identity APIs\n\nThis governs the `preview.default_read_consistency_level` setting.\n\nThe read consistency level determines the consistency guarantee for reads:\n\nstrong (slow): The read is guaranteed to return the most recent data committed at the start of the read.\neventual (very fast): The result will return data that is about 4.8 seconds old.\n\nSetting the default consistency level to `eventual` may cause regressions in the future as we add consistency\ncontrols to more APIs. Currently, the following APIs will be affected by this setting:\n\n`GET /admin/identities`\n\nDefaults to \"strong\" for new and existing projects. This feature is in preview. Use with caution.", - "type": "string" - }, - "kratos_secrets_cipher": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "kratos_secrets_cookie": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "kratos_secrets_default": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "kratos_selfservice_allowed_return_urls": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "kratos_selfservice_default_browser_return_url": { - "description": "Configures the Ory Kratos Default Return URL\n\nThis governs the \"selfservice.allowed_return_urls\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_error_ui_url": { - "description": "Configures the Ory Kratos Error UI URL\n\nThis governs the \"selfservice.flows.error.ui_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_after_code_default_browser_return_url": { - "description": "Configures the Ory Kratos Login After Password Default Return URL\n\nThis governs the \"selfservice.flows.code.after.password.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_after_default_browser_return_url": { - "description": "Configures the Ory Kratos Login Default Return URL\n\nThis governs the \"selfservice.flows.login.after.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url": { - "description": "Configures the Ory Kratos Login After Password Default Return URL\n\nThis governs the \"selfservice.flows.lookup_secret.after.password.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_after_oidc_default_browser_return_url": { - "description": "Configures the Ory Kratos Login After OIDC Default Return URL\n\nThis governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_after_passkey_default_browser_return_url": { - "description": "Configures the Ory Kratos Login After Passkey Default Return URL\n\nThis governs the \"selfservice.flows.login.after.passkey.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_after_password_default_browser_return_url": { - "description": "Configures the Ory Kratos Login After Password Default Return URL\n\nThis governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_after_totp_default_browser_return_url": { - "description": "Configures the Ory Kratos Login After Password Default Return URL\n\nThis governs the \"selfservice.flows.totp.after.password.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_after_webauthn_default_browser_return_url": { - "description": "Configures the Ory Kratos Login After WebAuthn Default Return URL\n\nThis governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_lifespan": { - "description": "Configures the Ory Kratos Login Lifespan\n\nThis governs the \"selfservice.flows.login.lifespan\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_login_ui_url": { - "description": "Configures the Ory Kratos Login UI URL\n\nThis governs the \"selfservice.flows.login.ui_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_logout_after_default_browser_return_url": { - "description": "Configures the Ory Kratos Logout Default Return URL\n\nThis governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_recovery_after_default_browser_return_url": { - "description": "Configures the Ory Kratos Recovery Default Return URL\n\nThis governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_recovery_enabled": { - "description": "Configures the Ory Kratos Recovery Enabled Setting\n\nThis governs the \"selfservice.flows.recovery.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_flows_recovery_lifespan": { - "description": "Configures the Ory Kratos Recovery Lifespan\n\nThis governs the \"selfservice.flows.recovery.lifespan\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_recovery_notify_unknown_recipients": { - "description": "Configures whether to notify unknown recipients of a Ory Kratos recovery flow\n\nThis governs the \"selfservice.flows.recovery.notify_unknown_recipients\" setting.", - "type": "boolean" - }, - "kratos_selfservice_flows_recovery_ui_url": { - "description": "Configures the Ory Kratos Recovery UI URL\n\nThis governs the \"selfservice.flows.recovery.ui_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_recovery_use": { - "description": "Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\")\n\nThis governs the \"selfservice.flows.recovery.use\" setting.\nlink SelfServiceMessageVerificationStrategyLink\ncode SelfServiceMessageVerificationStrategyCode", - "enum": [ - "link", - "code" - ], - "type": "string", - "x-go-enum-desc": "link SelfServiceMessageVerificationStrategyLink\ncode SelfServiceMessageVerificationStrategyCode" - }, - "kratos_selfservice_flows_registration_after_code_default_browser_return_url": { - "description": "Configures the Ory Kratos Registration After Code Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.code.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_registration_after_default_browser_return_url": { - "description": "Configures the Ory Kratos Registration Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_registration_after_oidc_default_browser_return_url": { - "description": "Configures the Ory Kratos Registration After OIDC Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_registration_after_passkey_default_browser_return_url": { - "description": "Configures the Ory Kratos Registration After Passkey Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_registration_after_password_default_browser_return_url": { - "description": "Configures the Ory Kratos Registration After Password Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url": { - "description": "Configures the Ory Kratos Registration After Webauthn Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.webauthn.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_registration_enable_legacy_one_step": { - "description": "Disable two-step registration\n\nTwo-step registration is a significantly improved sign up flow and recommended\nwhen using more than one sign up methods. To revert to one-step registration,\nset this to `true`.\n\nThis governs the \"selfservice.flows.registration.enable_legacy_one_step\" setting.", - "type": "boolean" - }, - "kratos_selfservice_flows_registration_enabled": { - "description": "Configures the Whether Ory Kratos Registration is Enabled\n\nThis governs the \"selfservice.flows.registration.enabled\" setting.0", - "type": "boolean" - }, - "kratos_selfservice_flows_registration_lifespan": { - "description": "Configures the Ory Kratos Registration Lifespan\n\nThis governs the \"selfservice.flows.registration.lifespan\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_registration_login_hints": { - "description": "Configures the Ory Kratos Registration Login Hints\n\nShows helpful information when a user tries to sign up with a duplicate account.\n\nThis governs the \"selfservice.flows.registration.login_hints\" setting.", - "type": "boolean" - }, - "kratos_selfservice_flows_registration_ui_url": { - "description": "Configures the Ory Kratos Registration UI URL\n\nThis governs the \"selfservice.flows.registration.ui_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_after_default_browser_return_url": { - "description": "Configures the Ory Kratos Settings Default Return URL\n\nThis governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url": { - "description": "Configures the Ory Kratos Settings Default Return URL After Updating Lookup Secrets\n\nThis governs the \"selfservice.flows.settings.after.lookup_secret.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_after_oidc_default_browser_return_url": { - "description": "Configures the Ory Kratos Settings Default Return URL After Updating Social Sign In\n\nThis governs the \"selfservice.flows.settings.after.oidc.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_after_passkey_default_browser_return_url": { - "description": "Configures the Ory Kratos Settings Default Return URL After Updating Passkey\n\nThis governs the \"selfservice.flows.settings.after.passkey.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_after_password_default_browser_return_url": { - "description": "Configures the Ory Kratos Settings Default Return URL After Updating Passwords\n\nThis governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_after_profile_default_browser_return_url": { - "description": "Configures the Ory Kratos Settings Default Return URL After Updating Profiles\n\nThis governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_after_totp_default_browser_return_url": { - "description": "Configures the Ory Kratos Settings Default Return URL After Updating TOTP\n\nThis governs the \"selfservice.flows.settings.after.totp.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url": { - "description": "Configures the Ory Kratos Settings Default Return URL After Updating WebAuthn\n\nThis governs the \"selfservice.flows.settings.after.webauthn.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_lifespan": { - "description": "Configures the Ory Kratos Settings Lifespan\n\nThis governs the \"selfservice.flows.settings.lifespan\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_privileged_session_max_age": { - "description": "Configures the Ory Kratos Settings Privileged Session Max Age\n\nThis governs the \"selfservice.flows.settings.privileged_session_max_age\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_required_aal": { - "description": "Configures the Ory Kratos Settings Required AAL\n\nThis governs the \"selfservice.flows.settings.required_aal\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_settings_ui_url": { - "description": "Configures the Ory Kratos Settings UI URL\n\nThis governs the \"selfservice.flows.settings.ui_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_verification_after_default_browser_return_url": { - "description": "Configures the Ory Kratos Verification Default Return URL\n\nThis governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_verification_enabled": { - "description": "Configures the Ory Kratos Verification Enabled Setting\n\nThis governs the \"selfservice.flows.verification.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_flows_verification_lifespan": { - "description": "Configures the Ory Kratos Verification Lifespan\n\nThis governs the \"selfservice.flows.verification.lifespan\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_verification_notify_unknown_recipients": { - "description": "Configures whether to notify unknown recipients of a Ory Kratos verification flow\n\nThis governs the \"selfservice.flows.verification.notify_unknown_recipients\" setting.", - "type": "boolean" - }, - "kratos_selfservice_flows_verification_ui_url": { - "description": "Configures the Ory Kratos Verification UI URL\n\nThis governs the \"selfservice.flows.verification.ui_url\" setting.", - "type": "string" - }, - "kratos_selfservice_flows_verification_use": { - "description": "Configures the Ory Kratos Strategy to use for Verification\n\nThis governs the \"selfservice.flows.verification.use\" setting.\nlink SelfServiceMessageVerificationStrategyLink\ncode SelfServiceMessageVerificationStrategyCode", - "enum": [ - "link", - "code" - ], - "type": "string", - "x-go-enum-desc": "link SelfServiceMessageVerificationStrategyLink\ncode SelfServiceMessageVerificationStrategyCode" - }, - "kratos_selfservice_methods_code_config_lifespan": { - "description": "Configures the Ory Kratos Code Method's lifespan\n\nThis governs the \"selfservice.methods.code.config.lifespan\" setting.", - "type": "string" - }, - "kratos_selfservice_methods_code_config_missing_credential_fallback_enabled": { - "description": "Enables a fallback method required in certain legacy use cases.\n\nThis governs the \"selfservice.methods.code.config.missing_credential_fallback_enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_code_enabled": { - "description": "Configures whether Ory Kratos Code Method is enabled\n\nThis governs the \"selfservice.methods.code.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_code_mfa_enabled": { - "description": "Configures whether the code method can be used to fulfil MFA flows\n\nThis governs the \"selfservice.methods.code.mfa_enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_code_passwordless_enabled": { - "description": "Configures whether Ory Kratos Passwordless should use the Code Method\n\nThis governs the \"selfservice.methods.code.passwordless_enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_code_passwordless_login_fallback_enabled": { - "description": "This setting allows the code method to always login a user with code if they have registered with another authentication method such as password or social sign in.\n\nThis governs the \"selfservice.methods.code.passwordless_login_fallback_enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_link_config_base_url": { - "description": "Configures the Base URL which Recovery, Verification, and Login Links Point to\n\nIt is recommended to leave this value empty. It will be appropriately configured to the best matching domain\n(e.g. when using custom domains) automatically.\n\nThis governs the \"selfservice.methods.link.config.base_url\" setting.", - "type": "string" - }, - "kratos_selfservice_methods_link_config_lifespan": { - "description": "Configures the Ory Kratos Link Method's lifespan\n\nThis governs the \"selfservice.methods.link.config.lifespan\" setting.", - "type": "string" - }, - "kratos_selfservice_methods_link_enabled": { - "description": "Configures whether Ory Kratos Link Method is enabled\n\nThis governs the \"selfservice.methods.link.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_lookup_secret_enabled": { - "description": "Configures whether Ory Kratos TOTP Lookup Secret is enabled\n\nThis governs the \"selfservice.methods.lookup_secret.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_oidc_config_base_redirect_uri": { - "description": "Configures the Ory Kratos Third Party / OpenID Connect base redirect URI\n\nThis governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting.", - "type": "string" - }, - "kratos_selfservice_methods_oidc_config_providers": { - "$ref": "#/components/schemas/projectRevisionThirdPartyLoginProviders" - }, - "kratos_selfservice_methods_oidc_enabled": { - "description": "Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled\n\nThis governs the \"selfservice.methods.oidc.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_passkey_config_rp_display_name": { - "description": "Configures the Ory Kratos Passkey RP Display Name\n\nThis governs the \"selfservice.methods.passkey.config.rp.display_name\" setting.", - "type": "string" - }, - "kratos_selfservice_methods_passkey_config_rp_id": { - "description": "Configures the Ory Kratos Passkey RP ID\n\nThis governs the \"selfservice.methods.passkey.config.rp.id\" setting.", - "type": "string" - }, - "kratos_selfservice_methods_passkey_config_rp_origins": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "kratos_selfservice_methods_passkey_enabled": { - "description": "Configures whether Ory Kratos Passkey authentication is enabled\n\nThis governs the \"selfservice.methods.passkey.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_password_config_haveibeenpwned_enabled": { - "description": "Configures whether Ory Kratos Password HIBP Checks is enabled\n\nThis governs the \"selfservice.methods.password.config.haveibeenpwned_enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_password_config_identifier_similarity_check_enabled": { - "description": "Configures whether Ory Kratos Password should disable the similarity policy.\n\nThis governs the \"selfservice.methods.password.config.identifier_similarity_check_enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_password_config_ignore_network_errors": { - "description": "Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors\n\nThis governs the \"selfservice.methods.password.config.ignore_network_errors\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_password_config_max_breaches": { - "description": "Configures Ory Kratos Password Max Breaches Detection\n\nThis governs the \"selfservice.methods.password.config.max_breaches\" setting.", - "format": "int64", - "type": "integer" - }, - "kratos_selfservice_methods_password_config_min_password_length": { - "description": "Configures the minimum length of passwords.\n\nThis governs the \"selfservice.methods.password.config.min_password_length\" setting.", - "format": "int64", - "type": "integer" - }, - "kratos_selfservice_methods_password_enabled": { - "description": "Configures whether Ory Kratos Password Method is enabled\n\nThis governs the \"selfservice.methods.password.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_profile_enabled": { - "description": "Configures whether Ory Kratos Profile Method is enabled\n\nThis governs the \"selfservice.methods.profile.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_totp_config_issuer": { - "description": "Configures Ory Kratos TOTP Issuer\n\nThis governs the \"selfservice.methods.totp.config.issuer\" setting.", - "type": "string" - }, - "kratos_selfservice_methods_totp_enabled": { - "description": "Configures whether Ory Kratos TOTP Method is enabled\n\nThis governs the \"selfservice.methods.totp.enabled\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_webauthn_config_passwordless": { - "description": "Configures whether Ory Kratos Webauthn is used for passwordless flows\n\nThis governs the \"selfservice.methods.webauthn.config.passwordless\" setting.", - "type": "boolean" - }, - "kratos_selfservice_methods_webauthn_config_rp_display_name": { - "description": "Configures the Ory Kratos Webauthn RP Display Name\n\nThis governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting.", - "type": "string" - }, - "kratos_selfservice_methods_webauthn_config_rp_icon": { - "description": "Configures the Ory Kratos Webauthn RP Icon\n\nThis governs the \"selfservice.methods.webauthn.config.rp.icon\" setting.\nDeprecated: This value will be ignored due to security considerations.", - "type": "string" - }, - "kratos_selfservice_methods_webauthn_config_rp_id": { - "description": "Configures the Ory Kratos Webauthn RP ID\n\nThis governs the \"selfservice.methods.webauthn.config.rp.id\" setting.", - "type": "string" - }, - "kratos_selfservice_methods_webauthn_config_rp_origins": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "kratos_selfservice_methods_webauthn_enabled": { - "description": "Configures whether Ory Kratos Webauthn is enabled\n\nThis governs the \"selfservice.methods.webauthn.enabled\" setting.", - "type": "boolean" - }, - "kratos_session_cookie_persistent": { - "description": "Configures the Ory Kratos Session Cookie Persistent Attribute\n\nThis governs the \"session.cookie.persistent\" setting.", - "type": "boolean" - }, - "kratos_session_cookie_same_site": { - "description": "Configures the Ory Kratos Session Cookie SameSite Attribute\n\nThis governs the \"session.cookie.same_site\" setting.", - "type": "string" - }, - "kratos_session_lifespan": { - "description": "Configures the Ory Kratos Session Lifespan\n\nThis governs the \"session.lifespan\" setting.", - "type": "string" - }, - "kratos_session_whoami_required_aal": { - "description": "Configures the Ory Kratos Session Whoami AAL requirement\n\nThis governs the \"session.whoami.required_aal\" setting.", - "type": "string" - }, - "kratos_session_whoami_tokenizer_templates": { - "$ref": "#/components/schemas/normalizedProjectRevisionTokenizerTemplates" - }, - "name": { - "description": "The project's name.", - "type": "string" - }, - "project_id": { - "description": "The Revision's Project ID", - "format": "uuid", - "type": "string" - }, - "project_revision_hooks": { - "$ref": "#/components/schemas/projectRevisionHooks" - }, - "serve_admin_cors_allowed_origins": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "serve_admin_cors_enabled": { - "description": "Enable CORS headers on all admin APIs\n\nThis governs the \"serve.admin.cors.enabled\" setting.", - "type": "boolean" - }, - "serve_public_cors_allowed_origins": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "serve_public_cors_enabled": { - "description": "Enable CORS headers on all public APIs\n\nThis governs the \"serve.public.cors.enabled\" setting.", - "type": "boolean" - }, - "strict_security": { - "description": "Whether the project should employ strict security measures. Setting this to true is recommended for going into production.", - "type": "boolean" - }, - "updated_at": { - "description": "Last Time Project's Revision was Updated", - "format": "date-time", - "readOnly": true, - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "normalizedProjectRevisionHook": { - "properties": { - "config_key": { - "description": "The Hooks Config Key", - "type": "string" - }, - "created_at": { - "description": "The Project's Revision Creation Date", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "hook": { - "description": "The Hook Type", - "type": "string" - }, - "id": { - "description": "ID of the entry", - "format": "uuid", - "type": "string" - }, - "project_revision_id": { - "description": "The Revision's ID this schema belongs to", - "format": "uuid", - "type": "string" - }, - "updated_at": { - "description": "Last Time Project's Revision was Updated", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "web_hook_config_auth_api_key_in": { - "description": "Whether to send the API Key in the HTTP Header or as a HTTP Cookie", - "example": "header", - "type": "string" - }, - "web_hook_config_auth_api_key_name": { - "description": "The name of the api key", - "example": "X-API-Key", - "type": "string" - }, - "web_hook_config_auth_api_key_value": { - "description": "The value of the api key", - "example": "eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ", - "type": "string" - }, - "web_hook_config_auth_basic_auth_password": { - "description": "The password to be sent in the HTTP Basic Auth Header", - "type": "string" - }, - "web_hook_config_auth_basic_auth_user": { - "description": "The username to be sent in the HTTP Basic Auth Header", - "type": "string" - }, - "web_hook_config_auth_type": { - "description": "HTTP Auth Method to use for the Web-Hook", - "type": "string" - }, - "web_hook_config_body": { - "description": "URI pointing to the JsonNet template used for Web-Hook payload generation. Only used for those HTTP methods, which support HTTP body payloads.", - "example": "base64://ZnVuY3Rpb24oY3R4KSB7CiAgaWRlbnRpdHlfaWQ6IGlmIGN0eFsiaWRlbnRpdHkiXSAhPSBudWxsIHRoZW4gY3R4LmlkZW50aXR5LmlkLAp9=", - "type": "string" - }, - "web_hook_config_can_interrupt": { - "description": "If enabled allows the web hook to interrupt / abort the self-service flow. It only applies to certain flows (registration/verification/login/settings) and requires a valid response format.", - "type": "boolean" - }, - "web_hook_config_method": { - "description": "The HTTP method to use (GET, POST, etc) for the Web-Hook", - "example": "POST", - "type": "string" - }, - "web_hook_config_response_ignore": { - "description": "Whether to ignore the Web Hook response", - "type": "boolean" - }, - "web_hook_config_response_parse": { - "description": "Whether to parse the Web Hook response", - "type": "boolean" - }, - "web_hook_config_url": { - "description": "The URL the Web-Hook should call", - "example": "https://www.example.org/web-hook-listener", - "type": "string" - } - }, - "required": [ - "config_key", - "hook" - ], - "type": "object" - }, - "normalizedProjectRevisionIdentitySchema": { - "properties": { - "created_at": { - "description": "The Project's Revision Creation Date", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "id": { - "description": "The unique ID of this entry.", - "format": "uuid", - "type": "string" - }, - "identity_schema": { - "$ref": "#/components/schemas/managedIdentitySchema" - }, - "identity_schema_id": { - "$ref": "#/components/schemas/NullUUID" - }, - "import_id": { - "description": "The imported (named) ID of the Identity Schema referenced in the Ory Kratos config.", - "type": "string" - }, - "import_url": { - "description": "The ImportURL can be used to import an Identity Schema from a bse64 encoded string.\nIn the future, this key also support HTTPS and other sources!\n\nIf you import an Ory Kratos configuration, this would be akin to the `identity.schemas.#.url` key.\n\nThe configuration will always return the import URL when you fetch it from the API.", - "example": "base64://ey...", - "type": "string" - }, - "is_default": { - "description": "If true sets the default schema for identities\n\nOnly one schema can ever be the default schema. If you\ntry to add two schemas with default to true, the\nrequest will fail.", - "type": "boolean" - }, - "preset": { - "description": "Use a preset instead of a custom identity schema.", - "type": "string" - }, - "project_revision_id": { - "description": "The Revision's ID this schema belongs to", - "format": "uuid", - "type": "string" - }, - "updated_at": { - "description": "Last Time Project's Revision was Updated", - "format": "date-time", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "normalizedProjectRevisionIdentitySchemas": { - "items": { - "$ref": "#/components/schemas/normalizedProjectRevisionIdentitySchema" - }, - "type": "array" - }, - "normalizedProjectRevisionThirdPartyProvider": { - "properties": { - "additional_id_token_audiences": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "apple_private_key": { - "$ref": "#/components/schemas/String" - }, - "apple_private_key_id": { - "description": "Apple Private Key Identifier\n\nSign In with Apple Private Key Identifier needed for generating a JWT token for client secret", - "example": "UX56C66723", - "type": "string" - }, - "apple_team_id": { - "description": "Apple Developer Team ID\n\nApple Developer Team ID needed for generating a JWT token for client secret", - "example": "KP76DQS54M", - "type": "string" - }, - "auth_url": { - "description": "AuthURL is the authorize url, typically something like: https://example.org/oauth2/auth\nShould only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when\n`provider` is set to `generic`.", - "example": "https://www.googleapis.com/oauth2/v2/auth", - "type": "string" - }, - "azure_tenant": { - "description": "Tenant is the Azure AD Tenant to use for authentication, and must be set when `provider` is set to `microsoft`.\n\nCan be either `common`, `organizations`, `consumers` for a multitenant application or a specific tenant like\n`8eaef023-2b34-4da1-9baa-8bc8c9d6a490` or `contoso.onmicrosoft.com`.", - "example": "contoso.onmicrosoft.com", - "type": "string" - }, - "claims_source": { - "$ref": "#/components/schemas/String" - }, - "client_id": { - "description": "ClientID is the application's Client ID.", - "type": "string" - }, - "client_secret": { - "$ref": "#/components/schemas/String" - }, - "created_at": { - "description": "The Project's Revision Creation Date", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "id": { - "format": "uuid", - "type": "string" - }, - "issuer_url": { - "description": "IssuerURL is the OpenID Connect Server URL. You can leave this empty if `provider` is not set to `generic`.\nIf set, neither `auth_url` nor `token_url` are required.", - "example": "https://accounts.google.com", - "type": "string" - }, - "label": { - "description": "Label represents an optional label which can be used in the UI generation.", - "type": "string" - }, - "mapper_url": { - "description": "Mapper specifies the JSONNet code snippet which uses the OpenID Connect Provider's data (e.g. GitHub or Google\nprofile information) to hydrate the identity's data.", - "type": "string" - }, - "organization_id": { - "$ref": "#/components/schemas/NullUUID" - }, - "pkce": { - "description": "PKCE controls if the OpenID Connect OAuth2 flow should use PKCE (Proof Key for Code Exchange).\nPossible values are: `auto` (default), `never`, `force`.\n`auto`: PKCE is used if the provider supports it. Requires setting `issuer_url`.\n`never`: Disable PKCE entirely for this provider, even if the provider advertises support for it.\n`force`: Always use PKCE, even if the provider does not advertise support for it. OAuth2 flows will fail if the provider does not support PKCE.\nIMPORTANT: If you set this to `force`, you must whitelist a different return URL for your OAuth2 client in the provider's configuration.\nInstead of \u003cbase-url\u003e/self-service/methods/oidc/callback/\u003cprovider\u003e, you must use \u003cbase-url\u003e/self-service/methods/oidc/callback\n(Note the missing \u003cprovider\u003e path segment and no trailing slash).", - "enum": [ - "auto", - "never", - "force" - ], - "nullable": true, - "type": "string" - }, - "project_revision_id": { - "description": "The Revision's ID this schema belongs to", - "format": "uuid", - "type": "string" - }, - "provider": { - "description": "Provider is either \"generic\" for a generic OAuth 2.0 / OpenID Connect Provider or one of:\ngeneric\ngoogle\ngithub\ngitlab\nmicrosoft\ndiscord\nslack\nfacebook\nvk\nyandex\napple", - "example": "google", - "type": "string" - }, - "provider_id": { - "description": "ID is the provider's ID", - "type": "string" - }, - "requested_claims": { - "$ref": "#/components/schemas/JSONRawMessage" - }, - "scope": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "state": { - "description": "State indicates the state of the provider\n\nOnly providers with state `enabled` will be used for authentication\nenabled ThirdPartyProviderStateEnabled\ndisabled ThirdPartyProviderStateDisabled", - "enum": [ - "enabled", - "disabled" - ], - "type": "string", - "x-go-enum-desc": "enabled ThirdPartyProviderStateEnabled\ndisabled ThirdPartyProviderStateDisabled" - }, - "subject_source": { - "$ref": "#/components/schemas/String" - }, - "token_url": { - "description": "TokenURL is the token url, typically something like: https://example.org/oauth2/token\n\nShould only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when\n`provider` is set to `generic`.", - "example": "https://www.googleapis.com/oauth2/v4/token", - "type": "string" - }, - "updated_at": { - "description": "Last Time Project's Revision was Updated", - "format": "date-time", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "normalizedProjectRevisionTokenizerTemplate": { - "properties": { - "claims_mapper_url": { - "description": "Claims mapper URL", - "type": "string" - }, - "created_at": { - "description": "The Project's Revision Creation Date", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "id": { - "description": "The revision ID.", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "jwks_url": { - "description": "JSON Web Key URL", - "type": "string" - }, - "key": { - "description": "The unique key of the template", - "type": "string" - }, - "project_revision_id": { - "description": "The Revision's ID this schema belongs to", - "format": "uuid", - "type": "string" - }, - "ttl": { - "default": "1m", - "description": "Token time to live", - "example": "1h", - "pattern": "^[0-9]+(ns|us|ms|s|m|h)$", - "type": "string" - }, - "updated_at": { - "description": "Last Time Project's Revision was Updated", - "format": "date-time", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, - "normalizedProjectRevisionTokenizerTemplates": { - "items": { - "$ref": "#/components/schemas/normalizedProjectRevisionTokenizerTemplate" - }, - "type": "array" - }, - "normalizedProjects": { - "items": { - "$ref": "#/components/schemas/normalizedProject" - }, - "type": "array" - }, - "nullBool": { - "nullable": true, - "type": "boolean" - }, - "nullDuration": { - "nullable": true, - "pattern": "^[0-9]+(ns|us|ms|s|m|h)$", - "type": "string" - }, - "nullInt64": { - "nullable": true, - "type": "integer" - }, - "nullJsonRawMessage": { - "description": "NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-", - "nullable": true, - "type": "object" - }, - "nullString": { - "type": "string" - }, - "nullTime": { - "format": "date-time", - "title": "NullTime implements sql.NullTime functionality.", - "type": "string" - }, - "oAuth2Client": { - "description": "OAuth 2.0 Clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are\ngenerated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.", - "properties": { - "access_token_strategy": { - "description": "OAuth 2.0 Access Token Strategy\n\nAccessTokenStrategy is the strategy used to generate access tokens.\nValid options are `jwt` and `opaque`. `jwt` is a bad idea, see https://www.ory.sh/docs/hydra/advanced#json-web-tokens\nSetting the stragegy here overrides the global setting in `strategies.access_token`.", - "type": "string" - }, - "allowed_cors_origins": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "audience": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "authorization_code_grant_access_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "authorization_code_grant_id_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "authorization_code_grant_refresh_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "backchannel_logout_session_required": { - "description": "OpenID Connect Back-Channel Logout Session Required\n\nBoolean value specifying whether the RP requires that a sid (session ID) Claim be included in the Logout\nToken to identify the RP session with the OP when the backchannel_logout_uri is used.\nIf omitted, the default value is false.", - "type": "boolean" - }, - "backchannel_logout_uri": { - "description": "OpenID Connect Back-Channel Logout URI\n\nRP URL that will cause the RP to log itself out when sent a Logout Token by the OP.", - "type": "string" - }, - "client_credentials_grant_access_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "client_id": { - "description": "OAuth 2.0 Client ID\n\nThe ID is immutable. If no ID is provided, a UUID4 will be generated.", - "type": "string" - }, - "client_name": { - "description": "OAuth 2.0 Client Name\n\nThe human-readable name of the client to be presented to the\nend-user during authorization.", - "type": "string" - }, - "client_secret": { - "description": "OAuth 2.0 Client Secret\n\nThe secret will be included in the create request as cleartext, and then\nnever again. The secret is kept in hashed format and is not recoverable once lost.", - "type": "string" - }, - "client_secret_expires_at": { - "description": "OAuth 2.0 Client Secret Expires At\n\nThe field is currently not supported and its value is always 0.", - "format": "int64", - "type": "integer" - }, - "client_uri": { - "description": "OAuth 2.0 Client URI\n\nClientURI is a URL string of a web page providing information about the client.\nIf present, the server SHOULD display this URL to the end-user in\na clickable fashion.", - "type": "string" - }, - "contacts": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "created_at": { - "description": "OAuth 2.0 Client Creation Date\n\nCreatedAt returns the timestamp of the client's creation.", - "format": "date-time", - "type": "string" - }, - "frontchannel_logout_session_required": { - "description": "OpenID Connect Front-Channel Logout Session Required\n\nBoolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters be\nincluded to identify the RP session with the OP when the frontchannel_logout_uri is used.\nIf omitted, the default value is false.", - "type": "boolean" - }, - "frontchannel_logout_uri": { - "description": "OpenID Connect Front-Channel Logout URI\n\nRP URL that will cause the RP to log itself out when rendered in an iframe by the OP. An iss (issuer) query\nparameter and a sid (session ID) query parameter MAY be included by the OP to enable the RP to validate the\nrequest and to determine which of the potentially multiple sessions is to be logged out; if either is\nincluded, both MUST be.", - "type": "string" - }, - "grant_types": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "implicit_grant_access_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "implicit_grant_id_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "jwks": { - "description": "OAuth 2.0 Client JSON Web Key Set\n\nClient's JSON Web Key Set [JWK] document, passed by value. The semantics of the jwks parameter are the same as\nthe jwks_uri parameter, other than that the JWK Set is passed by value, rather than by reference. This parameter\nis intended only to be used by Clients that, for some reason, are unable to use the jwks_uri parameter, for\ninstance, by native applications that might not have a location to host the contents of the JWK Set. If a Client\ncan use jwks_uri, it MUST NOT use jwks. One significant downside of jwks is that it does not enable key rotation\n(which jwks_uri does, as described in Section 10 of OpenID Connect Core 1.0 [OpenID.Core]). The jwks_uri and jwks\nparameters MUST NOT be used together." - }, - "jwks_uri": { - "description": "OAuth 2.0 Client JSON Web Key Set URL\n\nURL for the Client's JSON Web Key Set [JWK] document. If the Client signs requests to the Server, it contains\nthe signing key(s) the Server uses to validate signatures from the Client. The JWK Set MAY also contain the\nClient's encryption keys(s), which are used by the Server to encrypt responses to the Client. When both signing\nand encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced\nJWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both\nsignatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used\nto provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST\nmatch those in the certificate.", - "type": "string" - }, - "jwt_bearer_grant_access_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "logo_uri": { - "description": "OAuth 2.0 Client Logo URI\n\nA URL string referencing the client's logo.", - "type": "string" - }, - "metadata": { - "$ref": "#/components/schemas/JSONRawMessage" - }, - "owner": { - "description": "OAuth 2.0 Client Owner\n\nOwner is a string identifying the owner of the OAuth 2.0 Client.", - "type": "string" - }, - "policy_uri": { - "description": "OAuth 2.0 Client Policy URI\n\nPolicyURI is a URL string that points to a human-readable privacy policy document\nthat describes how the deployment organization collects, uses,\nretains, and discloses personal data.", - "type": "string" - }, - "post_logout_redirect_uris": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "redirect_uris": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "refresh_token_grant_access_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "refresh_token_grant_id_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "refresh_token_grant_refresh_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "registration_access_token": { - "description": "OpenID Connect Dynamic Client Registration Access Token\n\nRegistrationAccessToken can be used to update, get, or delete the OAuth2 Client. It is sent when creating a client\nusing Dynamic Client Registration.", - "type": "string" - }, - "registration_client_uri": { - "description": "OpenID Connect Dynamic Client Registration URL\n\nRegistrationClientURI is the URL used to update, get, or delete the OAuth2 Client.", - "type": "string" - }, - "request_object_signing_alg": { - "description": "OpenID Connect Request Object Signing Algorithm\n\nJWS [JWS] alg algorithm [JWA] that MUST be used for signing Request Objects sent to the OP. All Request Objects\nfrom this Client MUST be rejected, if not signed with this algorithm.", - "type": "string" - }, - "request_uris": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "response_types": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "scope": { - "description": "OAuth 2.0 Client Scope\n\nScope is a string containing a space-separated list of scope values (as\ndescribed in Section 3.3 of OAuth 2.0 [RFC6749]) that the client\ncan use when requesting access tokens.", - "example": "scope1 scope-2 scope.3 scope:4", - "type": "string" - }, - "sector_identifier_uri": { - "description": "OpenID Connect Sector Identifier URI\n\nURL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. The URL references a\nfile with a single JSON array of redirect_uri values.", - "type": "string" - }, - "skip_consent": { - "description": "SkipConsent skips the consent screen for this client. This field can only\nbe set from the admin API.", - "type": "boolean" - }, - "skip_logout_consent": { - "description": "SkipLogoutConsent skips the logout consent screen for this client. This field can only\nbe set from the admin API.", - "type": "boolean" - }, - "subject_type": { - "description": "OpenID Connect Subject Type\n\nThe `subject_types_supported` Discovery parameter contains a\nlist of the supported subject_type values for this server. Valid types include `pairwise` and `public`.", - "type": "string" - }, - "token_endpoint_auth_method": { - "default": "client_secret_basic", - "description": "OAuth 2.0 Token Endpoint Authentication Method\n\nRequested Client Authentication method for the Token Endpoint. The options are:\n\n`client_secret_basic`: (default) Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` encoded in the HTTP Authorization header.\n`client_secret_post`: Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` in the HTTP body.\n`private_key_jwt`: Use JSON Web Tokens to authenticate the client.\n`none`: Used for public clients (native apps, mobile apps) which can not have secrets.", - "type": "string" - }, - "token_endpoint_auth_signing_alg": { - "description": "OAuth 2.0 Token Endpoint Signing Algorithm\n\nRequested Client Authentication signing algorithm for the Token Endpoint.", - "type": "string" - }, - "tos_uri": { - "description": "OAuth 2.0 Client Terms of Service URI\n\nA URL string pointing to a human-readable terms of service\ndocument for the client that describes a contractual relationship\nbetween the end-user and the client that the end-user accepts when\nauthorizing the client.", - "type": "string" - }, - "updated_at": { - "description": "OAuth 2.0 Client Last Update Date\n\nUpdatedAt returns the timestamp of the last update.", - "format": "date-time", - "type": "string" - }, - "userinfo_signed_response_alg": { - "description": "OpenID Connect Request Userinfo Signed Response Algorithm\n\nJWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. If this is specified, the response will be JWT\n[JWT] serialized, and signed using JWS. The default, if omitted, is for the UserInfo Response to return the Claims\nas a UTF-8 encoded JSON object using the application/json content-type.", - "type": "string" - } - }, - "title": "OAuth 2.0 Client", - "type": "object" - }, - "oAuth2ClientTokenLifespans": { - "description": "Lifespans of different token types issued for this OAuth 2.0 Client.", - "properties": { - "authorization_code_grant_access_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "authorization_code_grant_id_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "authorization_code_grant_refresh_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "client_credentials_grant_access_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "implicit_grant_access_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "implicit_grant_id_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "jwt_bearer_grant_access_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "refresh_token_grant_access_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "refresh_token_grant_id_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - }, - "refresh_token_grant_refresh_token_lifespan": { - "$ref": "#/components/schemas/NullDuration" - } - }, - "title": "OAuth 2.0 Client Token Lifespans", - "type": "object" - }, - "oAuth2ConsentRequest": { - "properties": { - "acr": { - "description": "ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it\nto express that, for example, a user authenticated using two factor authentication.", - "type": "string" - }, - "amr": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "challenge": { - "description": "ID is the identifier (\"authorization challenge\") of the consent authorization request. It is used to\nidentify the session.", - "type": "string" - }, - "client": { - "$ref": "#/components/schemas/oAuth2Client" - }, - "context": { - "$ref": "#/components/schemas/JSONRawMessage" - }, - "login_challenge": { - "description": "LoginChallenge is the login challenge this consent challenge belongs to. It can be used to associate\na login and consent request in the login \u0026 consent app.", - "type": "string" - }, - "login_session_id": { - "description": "LoginSessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag)\nthis ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false)\nthis will be a new random value. This value is used as the \"sid\" parameter in the ID Token and in OIDC Front-/Back-\nchannel logout. It's value can generally be used to associate consecutive login requests by a certain user.", - "type": "string" - }, - "oidc_context": { - "$ref": "#/components/schemas/oAuth2ConsentRequestOpenIDConnectContext" - }, - "request_url": { - "description": "RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which\ninitiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but\nmight come in handy if you want to deal with additional request parameters.", - "type": "string" - }, - "requested_access_token_audience": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "requested_scope": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "skip": { - "description": "Skip, if true, implies that the client has requested the same scopes from the same user previously.\nIf true, you must not ask the user to grant the requested scopes. You must however either allow or deny the\nconsent request using the usual API call.", - "type": "boolean" - }, - "subject": { - "description": "Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope\nrequested by the OAuth 2.0 client.", - "type": "string" - } - }, - "required": [ - "challenge" - ], - "title": "Contains information on an ongoing consent request.", - "type": "object" - }, - "oAuth2ConsentRequestOpenIDConnectContext": { - "properties": { - "acr_values": { - "description": "ACRValues is the Authentication AuthorizationContext Class Reference requested in the OAuth 2.0 Authorization request.\nIt is a parameter defined by OpenID Connect and expresses which level of authentication (e.g. 2FA) is required.\n\nOpenID Connect defines it as follows:\n\u003e Requested Authentication AuthorizationContext Class Reference values. Space-separated string that specifies the acr values\nthat the Authorization Server is being requested to use for processing this Authentication Request, with the\nvalues appearing in order of preference. The Authentication AuthorizationContext Class satisfied by the authentication\nperformed is returned as the acr Claim Value, as specified in Section 2. The acr Claim is requested as a\nVoluntary Claim by this parameter.", - "items": { - "type": "string" - }, - "type": "array" - }, - "display": { - "description": "Display is a string value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User.\nThe defined values are:\npage: The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view. If the display parameter is not specified, this is the default display mode.\npopup: The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over.\ntouch: The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface.\nwap: The Authorization Server SHOULD display the authentication and consent UI consistent with a \"feature phone\" type display.\n\nThe Authorization Server MAY also attempt to detect the capabilities of the User Agent and present an appropriate display.", - "type": "string" - }, - "id_token_hint_claims": { - "additionalProperties": {}, - "description": "IDTokenHintClaims are the claims of the ID Token previously issued by the Authorization Server being passed as a hint about the\nEnd-User's current or past authenticated session with the Client.", - "type": "object" - }, - "login_hint": { - "description": "LoginHint hints about the login identifier the End-User might use to log in (if necessary).\nThis hint can be used by an RP if it first asks the End-User for their e-mail address (or other identifier)\nand then wants to pass that value as a hint to the discovered authorization service. This value MAY also be a\nphone number in the format specified for the phone_number Claim. The use of this parameter is optional.", - "type": "string" - }, - "ui_locales": { - "description": "UILocales is the End-User'id preferred languages and scripts for the user interface, represented as a\nspace-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For instance, the value\n\"fr-CA fr en\" represents a preference for French as spoken in Canada, then French (without a region designation),\nfollowed by English (without a region designation). An error SHOULD NOT result if some or all of the requested\nlocales are not supported by the OpenID Provider.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "title": "Contains optional information about the OpenID Connect request.", - "type": "object" - }, - "oAuth2ConsentSession": { - "description": "A completed OAuth 2.0 Consent Session.", - "properties": { - "consent_request": { - "$ref": "#/components/schemas/oAuth2ConsentRequest" - }, - "context": { - "$ref": "#/components/schemas/JSONRawMessage" - }, - "expires_at": { - "properties": { - "access_token": { - "format": "date-time", - "type": "string" - }, - "authorize_code": { - "format": "date-time", - "type": "string" - }, - "id_token": { - "format": "date-time", - "type": "string" - }, - "par_context": { - "format": "date-time", - "type": "string" - }, - "refresh_token": { - "format": "date-time", - "type": "string" - } - }, - "type": "object" - }, - "grant_access_token_audience": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "grant_scope": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "handled_at": { - "$ref": "#/components/schemas/nullTime" - }, - "remember": { - "description": "Remember Consent\n\nRemember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same\nclient asks the same user for the same, or a subset of, scope.", - "type": "boolean" - }, - "remember_for": { - "description": "Remember Consent For\n\nRememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the\nauthorization will be remembered indefinitely.", - "format": "int64", - "type": "integer" - }, - "session": { - "$ref": "#/components/schemas/acceptOAuth2ConsentRequestSession" - } - }, - "title": "OAuth 2.0 Consent Session", - "type": "object" - }, - "oAuth2ConsentSessions": { - "description": "List of OAuth 2.0 Consent Sessions", - "items": { - "$ref": "#/components/schemas/oAuth2ConsentSession" - }, - "type": "array" - }, - "oAuth2LoginRequest": { - "properties": { - "challenge": { - "description": "ID is the identifier (\"login challenge\") of the login request. It is used to\nidentify the session.", - "type": "string" - }, - "client": { - "$ref": "#/components/schemas/oAuth2Client" - }, - "oidc_context": { - "$ref": "#/components/schemas/oAuth2ConsentRequestOpenIDConnectContext" - }, - "request_url": { - "description": "RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which\ninitiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but\nmight come in handy if you want to deal with additional request parameters.", - "type": "string" - }, - "requested_access_token_audience": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "requested_scope": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "session_id": { - "description": "SessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag)\nthis ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false)\nthis will be a new random value. This value is used as the \"sid\" parameter in the ID Token and in OIDC Front-/Back-\nchannel logout. It's value can generally be used to associate consecutive login requests by a certain user.", - "type": "string" - }, - "skip": { - "description": "Skip, if true, implies that the client has requested the same scopes from the same user previously.\nIf true, you can skip asking the user to grant the requested scopes, and simply forward the user to the redirect URL.\n\nThis feature allows you to update / set session information.", - "type": "boolean" - }, - "subject": { - "description": "Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope\nrequested by the OAuth 2.0 client. If this value is set and `skip` is true, you MUST include this subject type\nwhen accepting the login request, or the request will fail.", - "type": "string" - } - }, - "required": [ - "challenge", - "skip", - "subject", - "client", - "request_url" - ], - "title": "Contains information on an ongoing login request.", - "type": "object" - }, - "oAuth2LogoutRequest": { - "properties": { - "challenge": { - "description": "Challenge is the identifier (\"logout challenge\") of the logout authentication request. It is used to\nidentify the session.", - "type": "string" - }, - "client": { - "$ref": "#/components/schemas/oAuth2Client" - }, - "request_url": { - "description": "RequestURL is the original Logout URL requested.", - "type": "string" - }, - "rp_initiated": { - "description": "RPInitiated is set to true if the request was initiated by a Relying Party (RP), also known as an OAuth 2.0 Client.", - "type": "boolean" - }, - "sid": { - "description": "SessionID is the login session ID that was requested to log out.", - "type": "string" - }, - "subject": { - "description": "Subject is the user for whom the logout was request.", - "type": "string" - } - }, - "title": "Contains information about an ongoing logout request.", - "type": "object" - }, - "oAuth2RedirectTo": { - "description": "Contains a redirect URL used to complete a login, consent, or logout request.", - "properties": { - "redirect_to": { - "description": "RedirectURL is the URL which you should redirect the user's browser to once the authentication process is completed.", - "type": "string" - } - }, - "required": [ - "redirect_to" - ], - "title": "OAuth 2.0 Redirect Browser To", - "type": "object" - }, - "oAuth2TokenExchange": { - "description": "OAuth2 Token Exchange Result", - "properties": { - "access_token": { - "description": "The access token issued by the authorization server.", - "type": "string" - }, - "expires_in": { - "description": "The lifetime in seconds of the access token. For\nexample, the value \"3600\" denotes that the access token will\nexpire in one hour from the time the response was generated.", - "format": "int64", - "type": "integer" - }, - "id_token": { - "description": "To retrieve a refresh token request the id_token scope.", - "type": "string" - }, - "refresh_token": { - "description": "The refresh token, which can be used to obtain new\naccess tokens. To retrieve it add the scope \"offline\" to your access token request.", - "type": "string" - }, - "scope": { - "description": "The scope of the access token", - "type": "string" - }, - "token_type": { - "description": "The type of the token issued", - "type": "string" - } - }, - "type": "object" - }, - "oidcConfiguration": { - "description": "Includes links to several endpoints (for example `/oauth2/token`) and exposes information on supported signature algorithms\namong others.", - "properties": { - "authorization_endpoint": { - "description": "OAuth 2.0 Authorization Endpoint URL", - "example": "https://playground.ory.sh/ory-hydra/public/oauth2/auth", - "type": "string" - }, - "backchannel_logout_session_supported": { - "description": "OpenID Connect Back-Channel Logout Session Required\n\nBoolean value specifying whether the OP can pass a sid (session ID) Claim in the Logout Token to identify the RP\nsession with the OP. If supported, the sid Claim is also included in ID Tokens issued by the OP", - "type": "boolean" - }, - "backchannel_logout_supported": { - "description": "OpenID Connect Back-Channel Logout Supported\n\nBoolean value specifying whether the OP supports back-channel logout, with true indicating support.", - "type": "boolean" - }, - "claims_parameter_supported": { - "description": "OpenID Connect Claims Parameter Parameter Supported\n\nBoolean value specifying whether the OP supports use of the claims parameter, with true indicating support.", - "type": "boolean" - }, - "claims_supported": { - "description": "OpenID Connect Supported Claims\n\nJSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply\nvalues for. Note that for privacy or other reasons, this might not be an exhaustive list.", - "items": { - "type": "string" - }, - "type": "array" - }, - "code_challenge_methods_supported": { - "description": "OAuth 2.0 PKCE Supported Code Challenge Methods\n\nJSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported\nby this authorization server.", - "items": { - "type": "string" - }, - "type": "array" - }, - "credentials_endpoint_draft_00": { - "description": "OpenID Connect Verifiable Credentials Endpoint\n\nContains the URL of the Verifiable Credentials Endpoint.", - "type": "string" - }, - "credentials_supported_draft_00": { - "description": "OpenID Connect Verifiable Credentials Supported\n\nJSON array containing a list of the Verifiable Credentials supported by this authorization server.", - "items": { - "$ref": "#/components/schemas/credentialSupportedDraft00" - }, - "type": "array" - }, - "end_session_endpoint": { - "description": "OpenID Connect End-Session Endpoint\n\nURL at the OP to which an RP can perform a redirect to request that the End-User be logged out at the OP.", - "type": "string" - }, - "frontchannel_logout_session_supported": { - "description": "OpenID Connect Front-Channel Logout Session Required\n\nBoolean value specifying whether the OP can pass iss (issuer) and sid (session ID) query parameters to identify\nthe RP session with the OP when the frontchannel_logout_uri is used. If supported, the sid Claim is also\nincluded in ID Tokens issued by the OP.", - "type": "boolean" - }, - "frontchannel_logout_supported": { - "description": "OpenID Connect Front-Channel Logout Supported\n\nBoolean value specifying whether the OP supports HTTP-based logout, with true indicating support.", - "type": "boolean" - }, - "grant_types_supported": { - "description": "OAuth 2.0 Supported Grant Types\n\nJSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports.", - "items": { - "type": "string" - }, - "type": "array" - }, - "id_token_signed_response_alg": { - "description": "OpenID Connect Default ID Token Signing Algorithms\n\nAlgorithm used to sign OpenID Connect ID Tokens.", - "items": { - "type": "string" - }, - "type": "array" - }, - "id_token_signing_alg_values_supported": { - "description": "OpenID Connect Supported ID Token Signing Algorithms\n\nJSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token\nto encode the Claims in a JWT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "issuer": { - "description": "OpenID Connect Issuer URL\n\nAn URL using the https scheme with no query or fragment component that the OP asserts as its IssuerURL Identifier.\nIf IssuerURL discovery is supported , this value MUST be identical to the issuer value returned\nby WebFinger. This also MUST be identical to the iss Claim value in ID Tokens issued from this IssuerURL.", - "example": "https://playground.ory.sh/ory-hydra/public/", - "type": "string" - }, - "jwks_uri": { - "description": "OpenID Connect Well-Known JSON Web Keys URL\n\nURL of the OP's JSON Web Key Set [JWK] document. This contains the signing key(s) the RP uses to validate\nsignatures from the OP. The JWK Set MAY also contain the Server's encryption key(s), which are used by RPs\nto encrypt requests to the Server. When both signing and encryption keys are made available, a use (Key Use)\nparameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage.\nAlthough some algorithms allow the same key to be used for both signatures and encryption, doing so is\nNOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of\nkeys provided. When used, the bare key values MUST still be present and MUST match those in the certificate.", - "example": "https://{slug}.projects.oryapis.com/.well-known/jwks.json", - "type": "string" - }, - "registration_endpoint": { - "description": "OpenID Connect Dynamic Client Registration Endpoint URL", - "example": "https://playground.ory.sh/ory-hydra/admin/client", - "type": "string" - }, - "request_object_signing_alg_values_supported": { - "description": "OpenID Connect Supported Request Object Signing Algorithms\n\nJSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects,\nwhich are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when\nthe Request Object is passed by value (using the request parameter) and when it is passed by reference\n(using the request_uri parameter).", - "items": { - "type": "string" - }, - "type": "array" - }, - "request_parameter_supported": { - "description": "OpenID Connect Request Parameter Supported\n\nBoolean value specifying whether the OP supports use of the request parameter, with true indicating support.", - "type": "boolean" - }, - "request_uri_parameter_supported": { - "description": "OpenID Connect Request URI Parameter Supported\n\nBoolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support.", - "type": "boolean" - }, - "require_request_uri_registration": { - "description": "OpenID Connect Requires Request URI Registration\n\nBoolean value specifying whether the OP requires any request_uri values used to be pre-registered\nusing the request_uris registration parameter.", - "type": "boolean" - }, - "response_modes_supported": { - "description": "OAuth 2.0 Supported Response Modes\n\nJSON array containing a list of the OAuth 2.0 response_mode values that this OP supports.", - "items": { - "type": "string" - }, - "type": "array" - }, - "response_types_supported": { - "description": "OAuth 2.0 Supported Response Types\n\nJSON array containing a list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID\nProviders MUST support the code, id_token, and the token id_token Response Type values.", - "items": { - "type": "string" - }, - "type": "array" - }, - "revocation_endpoint": { - "description": "OAuth 2.0 Token Revocation URL\n\nURL of the authorization server's OAuth 2.0 revocation endpoint.", - "type": "string" - }, - "scopes_supported": { - "description": "OAuth 2.0 Supported Scope Values\n\nJSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST\nsupport the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used", - "items": { - "type": "string" - }, - "type": "array" - }, - "subject_types_supported": { - "description": "OpenID Connect Supported Subject Types\n\nJSON array containing a list of the Subject Identifier types that this OP supports. Valid types include\npairwise and public.", - "items": { - "type": "string" - }, - "type": "array" - }, - "token_endpoint": { - "description": "OAuth 2.0 Token Endpoint URL", - "example": "https://playground.ory.sh/ory-hydra/public/oauth2/token", - "type": "string" - }, - "token_endpoint_auth_methods_supported": { - "description": "OAuth 2.0 Supported Client Authentication Methods\n\nJSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are\nclient_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0", - "items": { - "type": "string" - }, - "type": "array" - }, - "userinfo_endpoint": { - "description": "OpenID Connect Userinfo URL\n\nURL of the OP's UserInfo Endpoint.", - "type": "string" - }, - "userinfo_signed_response_alg": { - "description": "OpenID Connect User Userinfo Signing Algorithm\n\nAlgorithm used to sign OpenID Connect Userinfo Responses.", - "items": { - "type": "string" - }, - "type": "array" - }, - "userinfo_signing_alg_values_supported": { - "description": "OpenID Connect Supported Userinfo Signing Algorithm\n\nJSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT].", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "issuer", - "authorization_endpoint", - "token_endpoint", - "jwks_uri", - "subject_types_supported", - "response_types_supported", - "id_token_signing_alg_values_supported", - "id_token_signed_response_alg", - "userinfo_signed_response_alg" - ], - "title": "OpenID Connect Discovery Metadata", - "type": "object" - }, - "oidcUserInfo": { - "description": "OpenID Connect Userinfo", - "properties": { - "birthdate": { - "description": "End-User's birthday, represented as an ISO 8601:2004 [ISO8601‑2004] YYYY-MM-DD format. The year MAY be 0000, indicating that it is omitted. To represent only the year, YYYY format is allowed. Note that depending on the underlying platform's date related function, providing just year can result in varying month and day, so the implementers need to take this factor into account to correctly process the dates.", - "type": "string" - }, - "email": { - "description": "End-User's preferred e-mail address. Its value MUST conform to the RFC 5322 [RFC5322] addr-spec syntax. The RP MUST NOT rely upon this value being unique, as discussed in Section 5.7.", - "type": "string" - }, - "email_verified": { - "description": "True if the End-User's e-mail address has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this e-mail address was controlled by the End-User at the time the verification was performed. The means by which an e-mail address is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating.", - "type": "boolean" - }, - "family_name": { - "description": "Surname(s) or last name(s) of the End-User. Note that in some cultures, people can have multiple family names or no family name; all can be present, with the names being separated by space characters.", - "type": "string" - }, - "gender": { - "description": "End-User's gender. Values defined by this specification are female and male. Other values MAY be used when neither of the defined values are applicable.", - "type": "string" - }, - "given_name": { - "description": "Given name(s) or first name(s) of the End-User. Note that in some cultures, people can have multiple given names; all can be present, with the names being separated by space characters.", - "type": "string" - }, - "locale": { - "description": "End-User's locale, represented as a BCP47 [RFC5646] language tag. This is typically an ISO 639-1 Alpha-2 [ISO639‑1] language code in lowercase and an ISO 3166-1 Alpha-2 [ISO3166‑1] country code in uppercase, separated by a dash. For example, en-US or fr-CA. As a compatibility note, some implementations have used an underscore as the separator rather than a dash, for example, en_US; Relying Parties MAY choose to accept this locale syntax as well.", - "type": "string" - }, - "middle_name": { - "description": "Middle name(s) of the End-User. Note that in some cultures, people can have multiple middle names; all can be present, with the names being separated by space characters. Also note that in some cultures, middle names are not used.", - "type": "string" - }, - "name": { - "description": "End-User's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User's locale and preferences.", - "type": "string" - }, - "nickname": { - "description": "Casual name of the End-User that may or may not be the same as the given_name. For instance, a nickname value of Mike might be returned alongside a given_name value of Michael.", - "type": "string" - }, - "phone_number": { - "description": "End-User's preferred telephone number. E.164 [E.164] is RECOMMENDED as the format of this Claim, for example, +1 (425) 555-1212 or +56 (2) 687 2400. If the phone number contains an extension, it is RECOMMENDED that the extension be represented using the RFC 3966 [RFC3966] extension syntax, for example, +1 (604) 555-1234;ext=5678.", - "type": "string" - }, - "phone_number_verified": { - "description": "True if the End-User's phone number has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this phone number was controlled by the End-User at the time the verification was performed. The means by which a phone number is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating. When true, the phone_number Claim MUST be in E.164 format and any extensions MUST be represented in RFC 3966 format.", - "type": "boolean" - }, - "picture": { - "description": "URL of the End-User's profile picture. This URL MUST refer to an image file (for example, a PNG, JPEG, or GIF image file), rather than to a Web page containing an image. Note that this URL SHOULD specifically reference a profile photo of the End-User suitable for displaying when describing the End-User, rather than an arbitrary photo taken by the End-User.", - "type": "string" - }, - "preferred_username": { - "description": "Non-unique shorthand name by which the End-User wishes to be referred to at the RP, such as janedoe or j.doe. This value MAY be any valid JSON string including special characters such as @, /, or whitespace.", - "type": "string" - }, - "profile": { - "description": "URL of the End-User's profile page. The contents of this Web page SHOULD be about the End-User.", - "type": "string" - }, - "sub": { - "description": "Subject - Identifier for the End-User at the IssuerURL.", - "type": "string" - }, - "updated_at": { - "description": "Time the End-User's information was last updated. Its value is a JSON number representing the number of seconds from 1970-01-01T0:0:0Z as measured in UTC until the date/time.", - "format": "int64", - "type": "integer" - }, - "website": { - "description": "URL of the End-User's Web page or blog. This Web page SHOULD contain information published by the End-User or an organization that the End-User is affiliated with.", - "type": "string" - }, - "zoneinfo": { - "description": "String from zoneinfo [zoneinfo] time zone database representing the End-User's time zone. For example, Europe/Paris or America/Los_Angeles.", - "type": "string" - } - }, - "type": "object" - }, - "organization": { - "description": "B2B SSO Organization", - "properties": { - "created_at": { - "description": "The organization's creation date.", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "domains": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "id": { - "description": "The organization's ID.", - "format": "uuid", - "type": "string" - }, - "label": { - "description": "The organization's human-readable label.", - "type": "string" - }, - "project_id": { - "description": "The project's ID.", - "format": "uuid", - "type": "string" - }, - "updated_at": { - "description": "The last time the organization was updated.", - "format": "date-time", - "readOnly": true, - "type": "string" - } - }, - "required": [ - "id", - "project_id", - "label", - "domains", - "created_at", - "updated_at" - ], - "type": "object" - }, - "pagination": { - "properties": { - "page_size": { - "default": 250, - "description": "Items per page\n\nThis is the number of items per page to return.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "format": "int64", - "maximum": 1000, - "minimum": 1, - "type": "integer" - }, - "page_token": { - "default": "1", - "description": "Next Page Token\n\nThe next page token.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "minimum": 1, - "type": "string" - } - }, - "type": "object" - }, - "paginationHeaders": { - "properties": { - "link": { - "description": "The link header contains pagination links.\n\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).\n\nin: header", - "type": "string" - }, - "x-total-count": { - "description": "The total number of clients.\n\nin: header", - "type": "string" - } - }, - "type": "object" - }, - "patchIdentitiesBody": { - "description": "Patch Identities Body", - "properties": { - "identities": { - "description": "Identities holds the list of patches to apply\n\nrequired", - "items": { - "$ref": "#/components/schemas/identityPatch" - }, - "type": "array" - } - }, - "type": "object" - }, - "performNativeLogoutBody": { - "description": "Perform Native Logout Request Body", - "properties": { - "session_token": { - "description": "The Session Token\n\nInvalidate this session token.", - "type": "string" - } - }, - "required": [ - "session_token" - ], - "type": "object" - }, - "permissionsOnProject": { - "additionalProperties": { - "type": "boolean" - }, - "description": "Get Permissions on Project Request Parameters", - "type": "object" - }, - "permissionsOnWorkspace": { - "description": "Get Permissions on Project Request Parameters", - "properties": { - "permissions": { - "additionalProperties": { - "type": "boolean" - }, - "type": "object" - } - }, - "type": "object" - }, - "plans": { - "$ref": "#/components/schemas/Pricing" - }, - "postCheckPermissionBody": { - "description": "Check Permission using Post Request Body", - "properties": { - "namespace": { - "description": "Namespace to query", - "type": "string" - }, - "object": { - "description": "Object to query", - "type": "string" - }, - "relation": { - "description": "Relation to query", - "type": "string" - }, - "subject_id": { - "description": "SubjectID to query\n\nEither SubjectSet or SubjectID can be provided.", - "type": "string" - }, - "subject_set": { - "$ref": "#/components/schemas/subjectSet" - } - }, - "type": "object" - }, - "postCheckPermissionOrErrorBody": { - "description": "Post Check Permission Or Error Body", - "properties": { - "namespace": { - "description": "Namespace to query", - "type": "string" - }, - "object": { - "description": "Object to query", - "type": "string" - }, - "relation": { - "description": "Relation to query", - "type": "string" - }, - "subject_id": { - "description": "SubjectID to query\n\nEither SubjectSet or SubjectID can be provided.", - "type": "string" - }, - "subject_set": { - "$ref": "#/components/schemas/subjectSet" - } - }, - "type": "object" - }, - "project": { - "properties": { - "cors_admin": { - "$ref": "#/components/schemas/projectCors" - }, - "cors_public": { - "$ref": "#/components/schemas/projectCors" - }, - "environment": { - "description": "The environment of the project.\nprod Production\nstage Staging\ndev Development", - "enum": [ - "prod", - "stage", - "dev" - ], - "type": "string", - "x-go-enum-desc": "prod Production\nstage Staging\ndev Development" - }, - "home_region": { - "description": "The project home region.\n\nThis is used to set where the project data is stored and where the project's endpoints are located.\neu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global", - "enum": [ - "eu-central", - "asia-northeast", - "us-east", - "us-west", - "us", - "global" - ], - "type": "string", - "x-go-enum-desc": "eu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global" - }, - "id": { - "description": "The project's ID.", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "The name of the project.", - "type": "string" - }, - "revision_id": { - "description": "The configuration revision ID.", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "services": { - "$ref": "#/components/schemas/projectServices" - }, - "slug": { - "description": "The project's slug", - "readOnly": true, - "type": "string" - }, - "state": { - "description": "The state of the project.\nrunning Running\nhalted Halted\ndeleted Deleted", - "enum": [ - "running", - "halted", - "deleted" - ], - "readOnly": true, - "type": "string", - "x-go-enum-desc": "running Running\nhalted Halted\ndeleted Deleted" - }, - "workspace_id": { - "$ref": "#/components/schemas/NullUUID" - } - }, - "required": [ - "id", - "revision_id", - "slug", - "services", - "state", - "name", - "environment", - "home_region" - ], - "type": "object" - }, - "projectApiKey": { - "properties": { - "created_at": { - "description": "The token's creation date", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "expires_at": { - "$ref": "#/components/schemas/Time" - }, - "id": { - "description": "The token's ID.", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "The Token's Name\n\nSet this to help you remember, for example, where you use the token.", - "type": "string" - }, - "owner_id": { - "description": "The token's owner", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "project_id": { - "description": "The Token's Project ID", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "updated_at": { - "description": "The token's last update date", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "value": { - "description": "The token's value", - "readOnly": true, - "type": "string" - } - }, - "required": [ - "id", - "name", - "owner_id" - ], - "type": "object" - }, - "projectApiKeys": { - "items": { - "$ref": "#/components/schemas/projectApiKey" - }, - "type": "array" - }, - "projectBranding": { - "properties": { - "created_at": { - "description": "The Customization Creation Date", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "default_theme": { - "$ref": "#/components/schemas/projectBrandingTheme" - }, - "id": { - "description": "The customization ID.", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "project_id": { - "description": "The Project's ID this customization is associated with", - "format": "uuid", - "type": "string" - }, - "themes": { - "$ref": "#/components/schemas/projectBrandingThemes" - }, - "updated_at": { - "description": "Last Time Branding was Updated", - "format": "date-time", - "readOnly": true, - "type": "string" - } - }, - "required": [ - "id", - "project_id", - "default_theme", - "themes", - "created_at", - "updated_at" - ], - "title": "ProjectBranding holds all settings for customizing the Ory Account Experience.", - "type": "object" - }, - "projectBrandingColors": { - "properties": { - "accent_default_color": { - "description": "AccentDefaultColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "accent_disabled_color": { - "description": "AccentDisabledColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "accent_emphasis_color": { - "description": "AccentEmphasisColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "accent_muted_color": { - "description": "AccentMutedColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "accent_subtle_color": { - "description": "AccentSubtleColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "background_canvas_color": { - "description": "BackgroundCanvasColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "background_subtle_color": { - "description": "BackgroundSubtleColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "background_surface_color": { - "description": "BackgroundSurfaceColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "border_default_color": { - "description": "BorderDefaultColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "error_default_color": { - "description": "ErrorDefaultColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "error_emphasis_color": { - "description": "ErrorEmphasisColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "error_muted_color": { - "description": "ErrorMutedColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "error_subtle_color": { - "description": "ErrorSubtleColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "foreground_default_color": { - "description": "ForegroundDefaultColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "foreground_disabled_color": { - "description": "ForegroundDisabledColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "foreground_muted_color": { - "description": "ForegroundMutedColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "foreground_on_accent_color": { - "description": "ForegroundOnAccentColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "foreground_on_dark_color": { - "description": "ForegroundOnDarkColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "foreground_on_disabled_color": { - "description": "ForegroundOnDisabledColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "foreground_subtle_color": { - "description": "ForegroundSubtleColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "input_background_color": { - "description": "InputBackgroundColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "input_disabled_color": { - "description": "InputDisabledColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "input_placeholder_color": { - "description": "InputPlaceholderColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "input_text_color": { - "description": "InputTextColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "primary_color": { - "description": "Primary color is an hsla color value used to derive the other colors from for the Ory Account Experience theme.", - "type": "string" - }, - "secondary_color": { - "description": "Secondary color is a hsla color code used to derive the other colors from for the Ory Account Experience theme.", - "type": "string" - }, - "success_emphasis_color": { - "description": "SuccessEmphasisColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "text_default_color": { - "description": "TextDefaultColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "text_disabled_color": { - "description": "TextDisabledColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - } - }, - "title": "ProjectBrandingColors are the colors used by the Ory Account Experience theme.", - "type": "object" - }, - "projectBrandingTheme": { - "properties": { - "accent_default_color": { - "description": "AccentDefaultColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "accent_disabled_color": { - "description": "AccentDisabledColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "accent_emphasis_color": { - "description": "AccentEmphasisColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "accent_muted_color": { - "description": "AccentMutedColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "accent_subtle_color": { - "description": "AccentSubtleColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "account_experience_variables": { - "description": "The Account Experience Theme Variables.", - "items": { - "$ref": "#/components/schemas/accountExperienceThemeVariables" - }, - "type": "array" - }, - "account_experience_variables_stylesheet": { - "description": "AccountExperienceVariableStylesheet holds a reference to the current stylesheet that can be used in the AX", - "type": "string" - }, - "background_canvas_color": { - "description": "BackgroundCanvasColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "background_subtle_color": { - "description": "BackgroundSubtleColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "background_surface_color": { - "description": "BackgroundSurfaceColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "border_default_color": { - "description": "BorderDefaultColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "created_at": { - "description": "The Customization Creation Date.", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "error_default_color": { - "description": "ErrorDefaultColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "error_emphasis_color": { - "description": "ErrorEmphasisColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "error_muted_color": { - "description": "ErrorMutedColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "error_subtle_color": { - "description": "ErrorSubtleColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "favicon_type": { - "description": "Favicon Type\nThe Favicon mime type.", - "type": "string" - }, - "favicon_url": { - "description": "Favicon URL\nFavicon can be an https:// or base64:// URL. If the URL is not allowed, the favicon will be stored inside the Ory Network storage bucket.", - "type": "string" - }, - "foreground_default_color": { - "description": "ForegroundDefaultColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "foreground_disabled_color": { - "description": "ForegroundDisabledColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "foreground_muted_color": { - "description": "ForegroundMutedColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "foreground_on_accent_color": { - "description": "ForegroundOnAccentColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "foreground_on_dark_color": { - "description": "ForegroundOnDarkColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "foreground_on_disabled_color": { - "description": "ForegroundOnDisabledColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "foreground_subtle_color": { - "description": "ForegroundSubtleColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "id": { - "description": "The customization theme ID.", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "input_background_color": { - "description": "InputBackgroundColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "input_disabled_color": { - "description": "InputDisabledColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "input_placeholder_color": { - "description": "InputPlaceholderColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "input_text_color": { - "description": "InputTextColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "logo_type": { - "description": "Logo Type\nThe Logo mime type.", - "type": "string" - }, - "logo_url": { - "description": "Logo URL\nLogo can be an https:// or base64:// URL. If the URL is not allowed, the logo will be stored inside the Ory Network storage bucket.", - "type": "string" - }, - "name": { - "description": "The customization theme name.", - "type": "string" - }, - "primary_color": { - "description": "Primary color is an hsla color value used to derive the other colors from for the Ory Account Experience theme.", - "type": "string" - }, - "project_branding_id": { - "description": "The ProjectBranding ID this customization is associated with.", - "format": "uuid", - "type": "string" - }, - "secondary_color": { - "description": "Secondary color is a hsla color code used to derive the other colors from for the Ory Account Experience theme.", - "type": "string" - }, - "success_emphasis_color": { - "description": "SuccessEmphasisColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "text_default_color": { - "description": "TextDefaultColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "text_disabled_color": { - "description": "TextDisabledColor is a hex color code used by the Ory Account Experience theme.", - "type": "string" - }, - "updated_at": { - "description": "Last Time Branding was Updated.", - "format": "date-time", - "readOnly": true, - "type": "string" - } - }, - "required": [ - "id", - "project_branding_id", - "name", - "created_at", - "updated_at" - ], - "title": "ProjectBrandingTheme represents a Theme for the Ory Account Experience.", - "type": "object" - }, - "projectBrandingThemes": { - "items": { - "$ref": "#/components/schemas/projectBrandingTheme" - }, - "title": "ProjectBrandingThemes is a list of ProjectBrandingTheme.", - "type": "array" - }, - "projectCors": { - "properties": { - "enabled": { - "description": "Whether CORS is enabled for this endpoint.", - "type": "boolean" - }, - "origins": { - "description": "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`.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "projectHost": { - "properties": { - "host": { - "description": "The project's host.", - "type": "string" - }, - "id": { - "description": "The mapping's ID.", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "project_id": { - "description": "The Revision's Project ID", - "format": "uuid", - "type": "string" - } - }, - "required": [ - "id", - "host", - "project_id" - ], - "type": "object" - }, - "projectMember": { - "properties": { - "email": { - "type": "string" - }, - "email_verified": { - "type": "boolean" - }, - "id": { - "format": "uuid", - "type": "string" - }, - "name": { - "type": "string" - }, - "role": { - "type": "string" - } - }, - "required": [ - "id", - "email", - "name", - "email_verified", - "role" - ], - "type": "object" - }, - "projectMembers": { - "items": { - "$ref": "#/components/schemas/projectMember" - }, - "type": "array" - }, - "projectMetadata": { - "properties": { - "created_at": { - "description": "The Project's Creation Date", - "format": "date-time", - "type": "string" - }, - "environment": { - "description": "The environment of the project.\nprod Production\nstage Staging\ndev Development", - "enum": [ - "prod", - "stage", - "dev" - ], - "type": "string", - "x-go-enum-desc": "prod Production\nstage Staging\ndev Development" - }, - "home_region": { - "description": "The project's data home region\neu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global", - "enum": [ - "eu-central", - "asia-northeast", - "us-east", - "us-west", - "us", - "global" - ], - "type": "string", - "x-go-enum-desc": "eu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global" - }, - "hosts": { - "$ref": "#/components/schemas/StringSliceJSONFormat" - }, - "id": { - "description": "The project's ID.", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "The project's name if set", - "type": "string" - }, - "slug": { - "description": "The project's slug", - "readOnly": true, - "type": "string" - }, - "state": { - "description": "The state of the project.\nrunning Running\nhalted Halted\ndeleted Deleted", - "enum": [ - "running", - "halted", - "deleted" - ], - "type": "string", - "x-go-enum-desc": "running Running\nhalted Halted\ndeleted Deleted" - }, - "subscription_id": { - "$ref": "#/components/schemas/NullUUID" - }, - "subscription_plan": { - "$ref": "#/components/schemas/String" - }, - "updated_at": { - "description": "Last Time Project was Updated", - "format": "date-time", - "type": "string" - }, - "workspace": { - "$ref": "#/components/schemas/workspace" - }, - "workspace_id": { - "$ref": "#/components/schemas/NullUUID" - } - }, - "required": [ - "id", - "hosts", - "slug", - "state", - "created_at", - "updated_at", - "name", - "environment", - "home_region" - ], - "type": "object" - }, - "projectMetadataList": { - "items": { - "$ref": "#/components/schemas/projectMetadata" - }, - "type": "array" - }, - "projectRevisionHooks": { - "items": { - "$ref": "#/components/schemas/normalizedProjectRevisionHook" - }, - "type": "array" - }, - "projectRevisionIdentitySchemas": { - "items": { - "$ref": "#/components/schemas/normalizedProjectRevisionIdentitySchema" - }, - "type": "array" - }, - "projectRevisionThirdPartyLoginProviders": { - "items": { - "$ref": "#/components/schemas/normalizedProjectRevisionThirdPartyProvider" - }, - "type": "array" - }, - "projectRevisions": { - "items": { - "$ref": "#/components/schemas/normalizedProjectRevision" - }, - "type": "array" - }, - "projectServiceIdentity": { - "properties": { - "config": { - "type": "object" - } - }, - "required": [ - "config" - ], - "type": "object" - }, - "projectServiceOAuth2": { - "properties": { - "config": { - "type": "object" - } - }, - "required": [ - "config" - ], - "type": "object" - }, - "projectServicePermission": { - "properties": { - "config": { - "type": "object" - } - }, - "required": [ - "config" - ], - "type": "object" - }, - "projectServices": { - "properties": { - "identity": { - "$ref": "#/components/schemas/projectServiceIdentity" - }, - "oauth2": { - "$ref": "#/components/schemas/projectServiceOAuth2" - }, - "permission": { - "$ref": "#/components/schemas/projectServicePermission" - } - }, - "type": "object" - }, - "quotaUsage": { - "properties": { - "additional_price": { - "description": "The additional price per unit in cents.", - "type": "string" - }, - "can_use_more": { - "type": "boolean" - }, - "feature": { - "description": "\nproduction_projects ProductionProjects\nstaging_projects StagingProjects\ndevelopment_projects DevelopmentProjects\ndaily_active_users DailyActiveUsers\ncustom_domains CustomDomains\nevent_streams EventStreams\nevent_stream_events EventStreamEvents\nsla SLA\ncollaborator_seats CollaboratorSeats\nedge_cache EdgeCache\nbranding_themes BrandingThemes\nzendesk_support ZendeskSupport\nproject_metrics ProjectMetrics\nproject_metrics_time_window ProjectMetricsTimeWindow\nproject_metrics_events_history ProjectMetricsEventsHistory\norganizations Organizations\nrop_grant ResourceOwnerPasswordGrant\nconcierge_onboarding ConciergeOnboarding\ncredit Credit\ndata_location_global DataLocationGlobal\ndata_location_us DataLocationUS\ndata_location_asiane DataLocationAsiaNorthEast\nm2m_token_issuance M2MTokenIssuance\npermission_checks PermissionChecks\ncaptcha Captcha\ndata_location_regional DataLocationRegional Required Features\nrate_limit_tier RateLimitTier\nsession_rate_limit_tier RateLimitTierSessions\nidentities_list_rate_limit_tier RateLimitTierIdentitiesList\npermission_checks_rate_limit_tier RateLimitTierPermissionChecks\noauth2_introspect_rate_limit_tier RateLimitTierOAuth2Introspect", - "enum": [ - "production_projects", - "staging_projects", - "development_projects", - "daily_active_users", - "custom_domains", - "event_streams", - "event_stream_events", - "sla", - "collaborator_seats", - "edge_cache", - "branding_themes", - "zendesk_support", - "project_metrics", - "project_metrics_time_window", - "project_metrics_events_history", - "organizations", - "rop_grant", - "concierge_onboarding", - "credit", - "data_location_global", - "data_location_us", - "data_location_asiane", - "m2m_token_issuance", - "permission_checks", - "captcha", - "data_location_regional", - "rate_limit_tier", - "session_rate_limit_tier", - "identities_list_rate_limit_tier", - "permission_checks_rate_limit_tier", - "oauth2_introspect_rate_limit_tier" - ], - "type": "string", - "x-go-enum-desc": "production_projects ProductionProjects\nstaging_projects StagingProjects\ndevelopment_projects DevelopmentProjects\ndaily_active_users DailyActiveUsers\ncustom_domains CustomDomains\nevent_streams EventStreams\nevent_stream_events EventStreamEvents\nsla SLA\ncollaborator_seats CollaboratorSeats\nedge_cache EdgeCache\nbranding_themes BrandingThemes\nzendesk_support ZendeskSupport\nproject_metrics ProjectMetrics\nproject_metrics_time_window ProjectMetricsTimeWindow\nproject_metrics_events_history ProjectMetricsEventsHistory\norganizations Organizations\nrop_grant ResourceOwnerPasswordGrant\nconcierge_onboarding ConciergeOnboarding\ncredit Credit\ndata_location_global DataLocationGlobal\ndata_location_us DataLocationUS\ndata_location_asiane DataLocationAsiaNorthEast\nm2m_token_issuance M2MTokenIssuance\npermission_checks PermissionChecks\ncaptcha Captcha\ndata_location_regional DataLocationRegional Required Features\nrate_limit_tier RateLimitTier\nsession_rate_limit_tier RateLimitTierSessions\nidentities_list_rate_limit_tier RateLimitTierIdentitiesList\npermission_checks_rate_limit_tier RateLimitTierPermissionChecks\noauth2_introspect_rate_limit_tier RateLimitTierOAuth2Introspect" - }, - "feature_available": { - "type": "boolean" - }, - "included": { - "format": "int64", - "type": "integer" - }, - "is_unlimited": { - "type": "boolean" - }, - "used": { - "format": "int64", - "type": "integer" - } - }, - "required": [ - "feature", - "included", - "used", - "is_unlimited", - "additional_price", - "can_use_more", - "feature_available" - ], - "type": "object" - }, - "recoveryCodeForIdentity": { - "description": "Used when an administrator creates a recovery code for an identity.", - "properties": { - "expires_at": { - "description": "Expires At is the timestamp of when the recovery flow expires\n\nThe timestamp when the recovery code expires.", - "format": "date-time", - "type": "string" - }, - "recovery_code": { - "description": "RecoveryCode is the code that can be used to recover the account", - "type": "string" - }, - "recovery_link": { - "description": "RecoveryLink with flow\n\nThis link opens the recovery UI with an empty `code` field.", - "type": "string" - } - }, - "required": [ - "recovery_link", - "recovery_code" - ], - "title": "Recovery Code for Identity", - "type": "object" - }, - "recoveryFlow": { - "description": "This request is used when an identity wants to recover their account.\n\nWe recommend reading the [Account Recovery Documentation](../self-service/flows/password-reset-account-recovery)", - "properties": { - "active": { - "description": "Active, if set, contains the recovery method that is being used. It is initially\nnot set.", - "type": "string" - }, - "continue_with": { - "description": "Contains possible actions that could follow this flow", - "items": { - "$ref": "#/components/schemas/continueWith" - }, - "type": "array" - }, - "expires_at": { - "description": "ExpiresAt is the time (UTC) when the request expires. If the user still wishes to update the setting,\na new request has to be initiated.", - "format": "date-time", - "type": "string" - }, - "id": { - "description": "ID represents the request's unique ID. When performing the recovery flow, this\nrepresents the id in the recovery ui's query parameter: http://\u003cselfservice.flows.recovery.ui_url\u003e?request=\u003cid\u003e", - "format": "uuid", - "type": "string" - }, - "issued_at": { - "description": "IssuedAt is the time (UTC) when the request occurred.", - "format": "date-time", - "type": "string" - }, - "request_url": { - "description": "RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.", - "type": "string" - }, - "return_to": { - "description": "ReturnTo contains the requested return_to URL.", - "type": "string" - }, - "state": { - "description": "State represents the state of this request:\n\nchoose_method: ask the user to choose a method (e.g. recover account via email)\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the recovery challenge was passed." - }, - "transient_payload": { - "description": "TransientPayload is used to pass data from the recovery flow to hooks and email templates", - "type": "object" - }, - "type": { - "$ref": "#/components/schemas/selfServiceFlowType" - }, - "ui": { - "$ref": "#/components/schemas/uiContainer" - } - }, - "required": [ - "id", - "type", - "expires_at", - "issued_at", - "request_url", - "ui", - "state" - ], - "title": "A Recovery Flow", - "type": "object" - }, - "recoveryFlowState": { - "description": "The state represents the state of the recovery flow.\n\nchoose_method: ask the user to choose a method (e.g. recover account via email)\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the recovery challenge was passed.", - "enum": [ - "choose_method", - "sent_email", - "passed_challenge" - ], - "title": "Recovery Flow State", - "type": "string" - }, - "recoveryIdentityAddress": { - "properties": { - "created_at": { - "description": "CreatedAt is a helper struct field for gobuffalo.pop.", - "format": "date-time", - "type": "string" - }, - "id": { - "format": "uuid", - "type": "string" - }, - "updated_at": { - "description": "UpdatedAt is a helper struct field for gobuffalo.pop.", - "format": "date-time", - "type": "string" - }, - "value": { - "type": "string" - }, - "via": { - "$ref": "#/components/schemas/RecoveryAddressType" - } - }, - "required": [ - "id", - "value", - "via" - ], - "type": "object" - }, - "recoveryLinkForIdentity": { - "description": "Used when an administrator creates a recovery link for an identity.", - "properties": { - "expires_at": { - "description": "Recovery Link Expires At\n\nThe timestamp when the recovery link expires.", - "format": "date-time", - "type": "string" - }, - "recovery_link": { - "description": "Recovery Link\n\nThis link can be used to recover the account.", - "type": "string" - } - }, - "required": [ - "recovery_link" - ], - "title": "Identity Recovery Link", - "type": "object" - }, - "registrationFlow": { - "properties": { - "active": { - "description": "Active, if set, contains the registration method that is being used. It is initially\nnot set.\npassword CredentialsTypePassword\noidc CredentialsTypeOIDC\ntotp CredentialsTypeTOTP\nlookup_secret CredentialsTypeLookup\nwebauthn CredentialsTypeWebAuthn\ncode CredentialsTypeCodeAuth\npasskey CredentialsTypePasskey\nprofile CredentialsTypeProfile\nlink_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself.\ncode_recovery CredentialsTypeRecoveryCode", - "enum": [ - "password", - "oidc", - "totp", - "lookup_secret", - "webauthn", - "code", - "passkey", - "profile", - "link_recovery", - "code_recovery" - ], - "type": "string", - "x-go-enum-desc": "password CredentialsTypePassword\noidc CredentialsTypeOIDC\ntotp CredentialsTypeTOTP\nlookup_secret CredentialsTypeLookup\nwebauthn CredentialsTypeWebAuthn\ncode CredentialsTypeCodeAuth\npasskey CredentialsTypePasskey\nprofile CredentialsTypeProfile\nlink_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself.\ncode_recovery CredentialsTypeRecoveryCode" - }, - "expires_at": { - "description": "ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in,\na new flow has to be initiated.", - "format": "date-time", - "type": "string" - }, - "id": { - "description": "ID represents the flow's unique ID. When performing the registration flow, this\nrepresents the id in the registration ui's query parameter: http://\u003cselfservice.flows.registration.ui_url\u003e/?flow=\u003cid\u003e", - "format": "uuid", - "type": "string" - }, - "issued_at": { - "description": "IssuedAt is the time (UTC) when the flow occurred.", - "format": "date-time", - "type": "string" - }, - "oauth2_login_challenge": { - "description": "Ory OAuth 2.0 Login Challenge.\n\nThis value is set using the `login_challenge` query parameter of the registration and login endpoints.\nIf set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider.", - "type": "string" - }, - "oauth2_login_request": { - "$ref": "#/components/schemas/oAuth2LoginRequest" - }, - "organization_id": { - "$ref": "#/components/schemas/NullUUID" - }, - "request_url": { - "description": "RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.", - "type": "string" - }, - "return_to": { - "description": "ReturnTo contains the requested return_to URL.", - "type": "string" - }, - "session_token_exchange_code": { - "description": "SessionTokenExchangeCode holds the secret code that the client can use to retrieve a session token after the flow has been completed.\nThis is only set if the client has requested a session token exchange code, and if the flow is of type \"api\",\nand only on creating the flow.", - "type": "string" - }, - "state": { - "description": "State represents the state of this request:\n\nchoose_method: ask the user to choose a method (e.g. registration with email)\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the registration challenge was passed." - }, - "transient_payload": { - "description": "TransientPayload is used to pass data from the registration to a webhook", - "type": "object" - }, - "type": { - "$ref": "#/components/schemas/selfServiceFlowType" - }, - "ui": { - "$ref": "#/components/schemas/uiContainer" - } - }, - "required": [ - "id", - "type", - "expires_at", - "issued_at", - "request_url", - "ui", - "state" - ], - "type": "object" - }, - "registrationFlowState": { - "description": "choose_method: ask the user to choose a method (e.g. registration with email)\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the registration challenge was passed.", - "enum": [ - "choose_method", - "sent_email", - "passed_challenge" - ], - "title": "State represents the state of this request:", - "type": "string" - }, - "rejectOAuth2Request": { - "properties": { - "error": { - "description": "The error should follow the OAuth2 error format (e.g. `invalid_request`, `login_required`).\n\nDefaults to `request_denied`.", - "type": "string" - }, - "error_debug": { - "description": "Debug contains information to help resolve the problem as a developer. Usually not exposed\nto the public but only in the server logs.", - "type": "string" - }, - "error_description": { - "description": "Description of the error in a human readable format.", - "type": "string" - }, - "error_hint": { - "description": "Hint to help resolve the error.", - "type": "string" - }, - "status_code": { - "description": "Represents the HTTP status code of the error (e.g. 401 or 403)\n\nDefaults to 400", - "format": "int64", - "type": "integer" - } - }, - "title": "The request payload used to accept a login or consent request.", - "type": "object" - }, - "relationQuery": { - "description": "Relation Query", - "properties": { - "namespace": { - "description": "Namespace to query", - "type": "string" - }, - "object": { - "description": "Object to query", - "type": "string" - }, - "relation": { - "description": "Relation to query", - "type": "string" - }, - "subject_id": { - "description": "SubjectID to query\n\nEither SubjectSet or SubjectID can be provided.", - "type": "string" - }, - "subject_set": { - "$ref": "#/components/schemas/subjectSet" - } - }, - "type": "object" - }, - "relationship": { - "description": "Relationship", - "properties": { - "namespace": { - "description": "Namespace of the Relation Tuple", - "type": "string" - }, - "object": { - "description": "Object of the Relation Tuple", - "type": "string" - }, - "relation": { - "description": "Relation of the Relation Tuple", - "type": "string" - }, - "subject_id": { - "description": "SubjectID of the Relation Tuple\n\nEither SubjectSet or SubjectID can be provided.", - "type": "string" - }, - "subject_set": { - "$ref": "#/components/schemas/subjectSet" - } - }, - "required": [ - "namespace", - "object", - "relation" - ], - "type": "object" - }, - "relationshipNamespaces": { - "description": "Relationship Namespace List", - "properties": { - "namespaces": { - "items": { - "$ref": "#/components/schemas/namespace" - }, - "type": "array" - } - }, - "type": "object" - }, - "relationshipPatch": { - "description": "Payload for patching a relationship", - "properties": { - "action": { - "enum": [ - "insert", - "delete" - ], - "type": "string", - "x-go-enum-desc": "insert ActionInsert\ndelete ActionDelete" - }, - "relation_tuple": { - "$ref": "#/components/schemas/relationship" - } - }, - "type": "object" - }, - "relationships": { - "description": "Paginated Relationship List", - "properties": { - "next_page_token": { - "description": "The opaque token to provide in a subsequent request\nto get the next page. It is the empty string iff this is\nthe last page.", - "type": "string" - }, - "relation_tuples": { - "items": { - "$ref": "#/components/schemas/relationship" - }, - "type": "array" - } - }, - "type": "object" - }, - "revisionCourierChannels": { - "items": { - "$ref": "#/components/schemas/NormalizedProjectRevisionCourierChannel" - }, - "type": "array" - }, - "schemaPatch": { - "properties": { - "data": { - "description": "The json schema", - "type": "object" - }, - "name": { - "description": "The user defined schema name", - "type": "string" - } - }, - "required": [ - "name", - "data" - ], - "type": "object" - }, - "selfServiceFlowExpiredError": { - "description": "Is sent when a flow is expired", - "properties": { - "error": { - "$ref": "#/components/schemas/genericError" - }, - "expired_at": { - "description": "When the flow has expired", - "format": "date-time", - "type": "string" - }, - "since": { - "$ref": "#/components/schemas/Duration" - }, - "use_flow_id": { - "description": "The flow ID that should be used for the new flow as it contains the correct messages.", - "format": "uuid", - "type": "string" - } - }, - "type": "object" - }, - "selfServiceFlowType": { - "description": "The flow type can either be `api` or `browser`.", - "title": "Type is the flow type.", - "type": "string" - }, - "session": { - "description": "A Session", - "properties": { - "active": { - "description": "Active state. If false the session is no longer active.", - "type": "boolean" - }, - "authenticated_at": { - "description": "The Session Authentication Timestamp\n\nWhen this session was authenticated at. If multi-factor authentication was used this\nis the time when the last factor was authenticated (e.g. the TOTP code challenge was completed).", - "format": "date-time", - "type": "string" - }, - "authentication_methods": { - "$ref": "#/components/schemas/sessionAuthenticationMethods" - }, - "authenticator_assurance_level": { - "$ref": "#/components/schemas/authenticatorAssuranceLevel" - }, - "devices": { - "description": "Devices has history of all endpoints where the session was used", - "items": { - "$ref": "#/components/schemas/sessionDevice" - }, - "type": "array" - }, - "expires_at": { - "description": "The Session Expiry\n\nWhen this session expires at.", - "format": "date-time", - "type": "string" - }, - "id": { - "description": "Session ID", - "format": "uuid", - "type": "string" - }, - "identity": { - "$ref": "#/components/schemas/identity" - }, - "issued_at": { - "description": "The Session Issuance Timestamp\n\nWhen this session was issued at. Usually equal or close to `authenticated_at`.", - "format": "date-time", - "type": "string" - }, - "tokenized": { - "description": "Tokenized is the tokenized (e.g. JWT) version of the session.\n\nIt is only set when the `tokenize` query parameter was set to a valid tokenize template during calls to `/session/whoami`.", - "type": "string" - } - }, - "required": [ - "id" - ], - "type": "object" - }, - "sessionAuthenticationMethod": { - "description": "A singular authenticator used during authentication / login.", - "properties": { - "aal": { - "$ref": "#/components/schemas/authenticatorAssuranceLevel" - }, - "completed_at": { - "description": "When the authentication challenge was completed.", - "format": "date-time", - "type": "string" - }, - "method": { - "enum": [ - "link_recovery", - "code_recovery", - "password", - "code", - "totp", - "oidc", - "webauthn", - "lookup_secret", - "v0.6_legacy_session" - ], - "title": "The method used", - "type": "string" - }, - "organization": { - "description": "The Organization id used for authentication", - "type": "string" - }, - "provider": { - "description": "OIDC or SAML provider id used for authentication", - "type": "string" - } - }, - "title": "AuthenticationMethod identifies an authentication method", - "type": "object" - }, - "sessionAuthenticationMethods": { - "description": "A list of authenticators which were used to authenticate the session.", - "items": { - "$ref": "#/components/schemas/sessionAuthenticationMethod" - }, - "title": "List of (Used) AuthenticationMethods", - "type": "array" - }, - "sessionDevice": { - "description": "Device corresponding to a Session", - "properties": { - "id": { - "description": "Device record ID", - "format": "uuid", - "type": "string" - }, - "ip_address": { - "description": "IPAddress of the client", - "type": "string" - }, - "location": { - "description": "Geo Location corresponding to the IP Address", - "type": "string" - }, - "user_agent": { - "description": "UserAgent of the client", - "type": "string" - } - }, - "required": [ - "id" - ], - "type": "object" - }, - "setActiveProjectInConsoleBody": { - "description": "Set active project in the Ory Network Console Request Body", - "properties": { - "project_id": { - "description": "Project ID\n\nThe Project ID you want to set active.\n\nformat: uuid", - "type": "string" - } - }, - "required": [ - "project_id" - ], - "type": "object" - }, - "setCustomDomainBody": { - "description": "Update Custom Hostname Body", - "properties": { - "cookie_domain": { - "description": "The domain where cookies will be set. Has to be a parent domain of the custom hostname to work.", - "type": "string" - }, - "cors_allowed_origins": { - "description": "CORS Allowed origins for the custom hostname.", - "items": { - "type": "string" - }, - "type": "array" - }, - "cors_enabled": { - "description": "CORS Enabled for the custom hostname.", - "type": "boolean" - }, - "custom_ui_base_url": { - "description": "The custom UI base URL where the UI will be exposed.", - "type": "string" - }, - "hostname": { - "description": "The custom hostname where the API will be exposed.", - "type": "string" - } - }, - "type": "object" - }, - "setEventStreamBody": { - "description": "Update Event Stream Body", - "properties": { - "role_arn": { - "description": "The AWS IAM role ARN to assume when publishing to the SNS topic.", - "type": "string" - }, - "topic_arn": { - "description": "The AWS SNS topic ARN.", - "type": "string" - }, - "type": { - "description": "The type of the event stream (AWS SNS, GCP Pub/Sub, etc).", - "enum": [ - "sns" - ], - "type": "string" - } - }, - "required": [ - "type", - "topic_arn", - "role_arn" - ], - "type": "object" - }, - "setProject": { - "properties": { - "cors_admin": { - "$ref": "#/components/schemas/projectCors" - }, - "cors_public": { - "$ref": "#/components/schemas/projectCors" - }, - "name": { - "description": "The name of the project.", - "type": "string" - }, - "services": { - "$ref": "#/components/schemas/projectServices" - } - }, - "required": [ - "services", - "name", - "cors_public", - "cors_admin" - ], - "type": "object" - }, - "setProjectBrandingThemeBody": { - "properties": { - "favicon_type": { - "description": "Favicon Type", - "type": "string" - }, - "favicon_url": { - "description": "Favicon URL", - "type": "string" - }, - "logo_type": { - "description": "Logo type", - "type": "string" - }, - "logo_url": { - "description": "Logo URL", - "type": "string" - }, - "name": { - "description": "Branding name", - "type": "string" - }, - "theme": { - "$ref": "#/components/schemas/projectBrandingColors" - } - }, - "title": "SetProjectBrandingThemeBody is the request body for the set project branding theme endpoint.", - "type": "object" - }, - "settingsFlow": { - "description": "This flow is used when an identity wants to update settings\n(e.g. profile data, passwords, ...) in a selfservice manner.\n\nWe recommend reading the [User Settings Documentation](../self-service/flows/user-settings)", - "properties": { - "active": { - "description": "Active, if set, contains the registration method that is being used. It is initially\nnot set.", - "type": "string" - }, - "continue_with": { - "description": "Contains a list of actions, that could follow this flow\n\nIt can, for example, contain a reference to the verification flow, created as part of the user's\nregistration.", - "items": { - "$ref": "#/components/schemas/continueWith" - }, - "type": "array" - }, - "expires_at": { - "description": "ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to update the setting,\na new flow has to be initiated.", - "format": "date-time", - "type": "string" - }, - "id": { - "description": "ID represents the flow's unique ID. When performing the settings flow, this\nrepresents the id in the settings ui's query parameter: http://\u003cselfservice.flows.settings.ui_url\u003e?flow=\u003cid\u003e", - "format": "uuid", - "type": "string" - }, - "identity": { - "$ref": "#/components/schemas/identity" - }, - "issued_at": { - "description": "IssuedAt is the time (UTC) when the flow occurred.", - "format": "date-time", - "type": "string" - }, - "request_url": { - "description": "RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.", - "type": "string" - }, - "return_to": { - "description": "ReturnTo contains the requested return_to URL.", - "type": "string" - }, - "state": { - "description": "State represents the state of this flow. It knows two states:\n\nshow_form: No user data has been collected, or it is invalid, and thus the form should be shown.\nsuccess: Indicates that the settings flow has been updated successfully with the provided data.\nDone will stay true when repeatedly checking. If set to true, done will revert back to false only\nwhen a flow with invalid (e.g. \"please use a valid phone number\") data was sent." - }, - "transient_payload": { - "description": "TransientPayload is used to pass data from the settings flow to hooks and email templates", - "type": "object" - }, - "type": { - "$ref": "#/components/schemas/selfServiceFlowType" - }, - "ui": { - "$ref": "#/components/schemas/uiContainer" - } - }, - "required": [ - "id", - "type", - "expires_at", - "issued_at", - "request_url", - "ui", - "identity", - "state" - ], - "title": "Flow represents a Settings Flow", - "type": "object" - }, - "settingsFlowState": { - "description": "show_form: No user data has been collected, or it is invalid, and thus the form should be shown.\nsuccess: Indicates that the settings flow has been updated successfully with the provided data.\nDone will stay true when repeatedly checking. If set to true, done will revert back to false only\nwhen a flow with invalid (e.g. \"please use a valid phone number\") data was sent.", - "enum": [ - "show_form", - "success" - ], - "title": "State represents the state of this flow. It knows two states:", - "type": "string" - }, - "subjectSet": { - "properties": { - "namespace": { - "description": "Namespace of the Subject Set", - "type": "string" - }, - "object": { - "description": "Object of the Subject Set", - "type": "string" - }, - "relation": { - "description": "Relation of the Subject Set", - "type": "string" - } - }, - "required": [ - "namespace", - "object", - "relation" - ], - "type": "object" - }, - "subscription": { - "properties": { - "created_at": { - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "currency": { - "description": "The currency of the subscription. To change this, a new subscription must be created.\nusd USD\neur Euro", - "enum": [ - "usd", - "eur" - ], - "readOnly": true, - "type": "string", - "x-go-enum-desc": "usd USD\neur Euro" - }, - "current_interval": { - "description": "The currently active interval of the subscription\nmonthly Monthly\nyearly Yearly", - "enum": [ - "monthly", - "yearly" - ], - "readOnly": true, - "type": "string", - "x-go-enum-desc": "monthly Monthly\nyearly Yearly" - }, - "current_plan": { - "description": "The currently active plan of the subscription", - "readOnly": true, - "type": "string" - }, - "current_plan_details": { - "$ref": "#/components/schemas/PlanDetails" - }, - "customer_id": { - "description": "The ID of the stripe customer", - "readOnly": true, - "type": "string" - }, - "id": { - "description": "The ID of the subscription", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "interval_changes_to": { - "$ref": "#/components/schemas/String" - }, - "ongoing_stripe_checkout_id": { - "$ref": "#/components/schemas/String" - }, - "payed_until": { - "description": "Until when the subscription is payed", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "plan_changes_at": { - "$ref": "#/components/schemas/Time" - }, - "plan_changes_to": { - "$ref": "#/components/schemas/String" - }, - "status": { - "$ref": "#/components/schemas/SubscriptionStatus" - }, - "stripe_checkout_expires_at": { - "$ref": "#/components/schemas/Time" - }, - "updated_at": { - "format": "date-time", - "readOnly": true, - "type": "string" - } - }, - "required": [ - "id", - "customer_id", - "status", - "payed_until", - "current_plan", - "current_interval", - "plan_changes_to", - "interval_changes_to", - "currency", - "created_at", - "updated_at" - ], - "type": "object" - }, - "successfulCodeExchangeResponse": { - "description": "The Response for Registration Flows via API", - "properties": { - "session": { - "$ref": "#/components/schemas/session" - }, - "session_token": { - "description": "The Session Token\n\nA session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization\nHeader:\n\nAuthorization: bearer ${session-token}\n\nThe session token is only issued for API flows, not for Browser flows!", - "type": "string" - } - }, - "required": [ - "session" - ], - "type": "object" - }, - "successfulNativeLogin": { - "description": "The Response for Login Flows via API", - "properties": { - "continue_with": { - "description": "Contains a list of actions, that could follow this flow\n\nIt can, for example, this will contain a reference to the verification flow, created as part of the user's\nregistration or the token of the session.", - "items": { - "$ref": "#/components/schemas/continueWith" - }, - "type": "array" - }, - "session": { - "$ref": "#/components/schemas/session" - }, - "session_token": { - "description": "The Session Token\n\nA session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization\nHeader:\n\nAuthorization: bearer ${session-token}\n\nThe session token is only issued for API flows, not for Browser flows!", - "type": "string" - } - }, - "required": [ - "session" - ], - "type": "object" - }, - "successfulNativeRegistration": { - "description": "The Response for Registration Flows via API", - "properties": { - "continue_with": { - "description": "Contains a list of actions, that could follow this flow\n\nIt can, for example, this will contain a reference to the verification flow, created as part of the user's\nregistration or the token of the session.", - "items": { - "$ref": "#/components/schemas/continueWith" - }, - "type": "array" - }, - "identity": { - "$ref": "#/components/schemas/identity" - }, - "session": { - "$ref": "#/components/schemas/session" - }, - "session_token": { - "description": "The Session Token\n\nThis field is only set when the session hook is configured as a post-registration hook.\n\nA session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization\nHeader:\n\nAuthorization: bearer ${session-token}\n\nThe session token is only issued for API flows, not for Browser flows!", - "type": "string" - } - }, - "required": [ - "identity" - ], - "type": "object" - }, - "successfulProjectUpdate": { - "properties": { - "project": { - "$ref": "#/components/schemas/project" - }, - "warnings": { - "description": "Import Warnings\n\nNot all configuration items can be imported to the Ory Network. For example,\nsetting the port does not make sense because the Ory Network provides the runtime\nand networking.\n\nThis field contains warnings where configuration keys were found but can not\nbe imported. These keys will be ignored by the Ory Network. This field will help\nyou understand why certain configuration keys might not be respected!", - "items": { - "$ref": "#/components/schemas/Warning" - }, - "type": "array" - } - }, - "required": [ - "project", - "warnings" - ], - "type": "object" - }, - "tokenPagination": { - "properties": { - "page_size": { - "default": 250, - "description": "Items per page\n\nThis is the number of items per page to return.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "format": "int64", - "maximum": 1000, - "minimum": 1, - "type": "integer" - }, - "page_token": { - "default": "1", - "description": "Next Page Token\n\nThe next page token.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "minimum": 1, - "type": "string" - } - }, - "type": "object" - }, - "tokenPaginationHeaders": { - "properties": { - "link": { - "description": "The link header contains pagination links.\n\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).\n\nin: header", - "type": "string" - }, - "x-total-count": { - "description": "The total number of clients.\n\nin: header", - "type": "string" - } - }, - "type": "object" - }, - "tokenPaginationRequestParameters": { - "description": "The `Link` HTTP header contains multiple links (`first`, `next`, `last`, `previous`) formatted as:\n`\u003chttps://{project-slug}.projects.oryapis.com/admin/clients?page_size={limit}\u0026page_token={offset}\u003e; rel=\"{page}\"`\n\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "properties": { - "page_size": { - "default": 250, - "description": "Items per Page\n\nThis is the number of items per page to return.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "format": "int64", - "maximum": 500, - "minimum": 1, - "type": "integer" - }, - "page_token": { - "default": "1", - "description": "Next Page Token\n\nThe next page token.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "minimum": 1, - "type": "string" - } - }, - "title": "Pagination Request Parameters", - "type": "object" - }, - "tokenPaginationResponseHeaders": { - "description": "The `Link` HTTP header contains multiple links (`first`, `next`, `last`, `previous`) formatted as:\n`\u003chttps://{project-slug}.projects.oryapis.com/admin/clients?page_size={limit}\u0026page_token={offset}\u003e; rel=\"{page}\"`\n\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "properties": { - "link": { - "description": "The Link HTTP Header\n\nThe `Link` header contains a comma-delimited list of links to the following pages:\n\nfirst: The first page of results.\nnext: The next page of results.\nprev: The previous page of results.\nlast: The last page of results.\n\nPages are omitted if they do not exist. For example, if there is no next page, the `next` link is omitted. Examples:\n\n\u003c/clients?page_size=5\u0026page_token=0\u003e; rel=\"first\",\u003c/clients?page_size=5\u0026page_token=15\u003e; rel=\"next\",\u003c/clients?page_size=5\u0026page_token=5\u003e; rel=\"prev\",\u003c/clients?page_size=5\u0026page_token=20\u003e; rel=\"last\"", - "type": "string" - }, - "x-total-count": { - "description": "The X-Total-Count HTTP Header\n\nThe `X-Total-Count` header contains the total number of items in the collection.", - "format": "int64", - "type": "integer" - } - }, - "title": "Pagination Response Header", - "type": "object" - }, - "trustOAuth2JwtGrantIssuer": { - "description": "Trust OAuth2 JWT Bearer Grant Type Issuer Request Body", - "properties": { - "allow_any_subject": { - "description": "The \"allow_any_subject\" indicates that the issuer is allowed to have any principal as the subject of the JWT.", - "type": "boolean" - }, - "expires_at": { - "description": "The \"expires_at\" indicates, when grant will expire, so we will reject assertion from \"issuer\" targeting \"subject\".", - "format": "date-time", - "type": "string" - }, - "issuer": { - "description": "The \"issuer\" identifies the principal that issued the JWT assertion (same as \"iss\" claim in JWT).", - "example": "https://jwt-idp.example.com", - "type": "string" - }, - "jwk": { - "$ref": "#/components/schemas/jsonWebKey" - }, - "scope": { - "description": "The \"scope\" contains list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749])", - "example": [ - "openid", - "offline" - ], - "items": { - "type": "string" - }, - "type": "array" - }, - "subject": { - "description": "The \"subject\" identifies the principal that is the subject of the JWT.", - "example": "mike@example.com", - "type": "string" - } - }, - "required": [ - "issuer", - "scope", - "jwk", - "expires_at" - ], - "type": "object" - }, - "trustedOAuth2JwtGrantIssuer": { - "description": "OAuth2 JWT Bearer Grant Type Issuer Trust Relationship", - "properties": { - "allow_any_subject": { - "description": "The \"allow_any_subject\" indicates that the issuer is allowed to have any principal as the subject of the JWT.", - "type": "boolean" - }, - "created_at": { - "description": "The \"created_at\" indicates, when grant was created.", - "format": "date-time", - "type": "string" - }, - "expires_at": { - "description": "The \"expires_at\" indicates, when grant will expire, so we will reject assertion from \"issuer\" targeting \"subject\".", - "format": "date-time", - "type": "string" - }, - "id": { - "example": "9edc811f-4e28-453c-9b46-4de65f00217f", - "type": "string" - }, - "issuer": { - "description": "The \"issuer\" identifies the principal that issued the JWT assertion (same as \"iss\" claim in JWT).", - "example": "https://jwt-idp.example.com", - "type": "string" - }, - "public_key": { - "$ref": "#/components/schemas/trustedOAuth2JwtGrantJsonWebKey" - }, - "scope": { - "description": "The \"scope\" contains list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749])", - "example": [ - "openid", - "offline" - ], - "items": { - "type": "string" - }, - "type": "array" - }, - "subject": { - "description": "The \"subject\" identifies the principal that is the subject of the JWT.", - "example": "mike@example.com", - "type": "string" - } - }, - "type": "object" - }, - "trustedOAuth2JwtGrantIssuers": { - "description": "OAuth2 JWT Bearer Grant Type Issuer Trust Relationships", - "items": { - "$ref": "#/components/schemas/trustedOAuth2JwtGrantIssuer" - }, - "type": "array" - }, - "trustedOAuth2JwtGrantJsonWebKey": { - "description": "OAuth2 JWT Bearer Grant Type Issuer Trusted JSON Web Key", - "properties": { - "kid": { - "description": "The \"key_id\" is key unique identifier (same as kid header in jws/jwt).", - "example": "123e4567-e89b-12d3-a456-426655440000", - "type": "string" - }, - "set": { - "description": "The \"set\" is basically a name for a group(set) of keys. Will be the same as \"issuer\" in grant.", - "example": "https://jwt-idp.example.com", - "type": "string" - } - }, - "type": "object" - }, - "uiContainer": { - "description": "Container represents a HTML Form. The container can work with both HTTP Form and JSON requests", - "properties": { - "action": { - "description": "Action should be used as the form action URL `\u003cform action=\"{{ .Action }}\" method=\"post\"\u003e`.", - "type": "string" - }, - "messages": { - "$ref": "#/components/schemas/uiTexts" - }, - "method": { - "description": "Method is the form method (e.g. POST)", - "type": "string" - }, - "nodes": { - "$ref": "#/components/schemas/uiNodes" - } - }, - "required": [ - "action", - "method", - "nodes" - ], - "type": "object" - }, - "uiNode": { - "description": "Nodes are represented as HTML elements or their native UI equivalents. For example,\na node can be an `\u003cimg\u003e` tag, or an `\u003cinput element\u003e` but also `some plain text`.", - "properties": { - "attributes": { - "$ref": "#/components/schemas/uiNodeAttributes" - }, - "group": { - "description": "Group specifies which group (e.g. password authenticator) this node belongs to.\ndefault DefaultGroup\npassword PasswordGroup\noidc OpenIDConnectGroup\nprofile ProfileGroup\nlink LinkGroup\ncode CodeGroup\ntotp TOTPGroup\nlookup_secret LookupGroup\nwebauthn WebAuthnGroup\npasskey PasskeyGroup\nidentifier_first IdentifierFirstGroup", - "enum": [ - "default", - "password", - "oidc", - "profile", - "link", - "code", - "totp", - "lookup_secret", - "webauthn", - "passkey", - "identifier_first" - ], - "type": "string", - "x-go-enum-desc": "default DefaultGroup\npassword PasswordGroup\noidc OpenIDConnectGroup\nprofile ProfileGroup\nlink LinkGroup\ncode CodeGroup\ntotp TOTPGroup\nlookup_secret LookupGroup\nwebauthn WebAuthnGroup\npasskey PasskeyGroup\nidentifier_first IdentifierFirstGroup" - }, - "messages": { - "$ref": "#/components/schemas/uiTexts" - }, - "meta": { - "$ref": "#/components/schemas/uiNodeMeta" - }, - "type": { - "description": "The node's type\ntext Text\ninput Input\nimg Image\na Anchor\nscript Script", - "enum": [ - "text", - "input", - "img", - "a", - "script" - ], - "type": "string", - "x-go-enum-desc": "text Text\ninput Input\nimg Image\na Anchor\nscript Script" - } - }, - "required": [ - "type", - "group", - "attributes", - "messages", - "meta" - ], - "title": "Node represents a flow's nodes", - "type": "object" - }, - "uiNodeAnchorAttributes": { - "properties": { - "href": { - "description": "The link's href (destination) URL.\n\nformat: uri", - "type": "string" - }, - "id": { - "description": "A unique identifier", - "type": "string" - }, - "node_type": { - "description": "NodeType represents this node's types. It is a mirror of `node.type` and\nis primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"a\".\ntext Text\ninput Input\nimg Image\na Anchor\nscript Script", - "enum": [ - "text", - "input", - "img", - "a", - "script" - ], - "type": "string", - "x-go-enum-desc": "text Text\ninput Input\nimg Image\na Anchor\nscript Script" - }, - "title": { - "$ref": "#/components/schemas/uiText" - } - }, - "required": [ - "href", - "title", - "id", - "node_type" - ], - "title": "AnchorAttributes represents the attributes of an anchor node.", - "type": "object" - }, - "uiNodeAttributes": { - "discriminator": { - "mapping": { - "a": "#/components/schemas/uiNodeAnchorAttributes", - "img": "#/components/schemas/uiNodeImageAttributes", - "input": "#/components/schemas/uiNodeInputAttributes", - "script": "#/components/schemas/uiNodeScriptAttributes", - "text": "#/components/schemas/uiNodeTextAttributes" - }, - "propertyName": "node_type" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/uiNodeInputAttributes" - }, - { - "$ref": "#/components/schemas/uiNodeTextAttributes" - }, - { - "$ref": "#/components/schemas/uiNodeImageAttributes" - }, - { - "$ref": "#/components/schemas/uiNodeAnchorAttributes" - }, - { - "$ref": "#/components/schemas/uiNodeScriptAttributes" - } - ], - "title": "Attributes represents a list of attributes (e.g. `href=\"foo\"` for links)." - }, - "uiNodeImageAttributes": { - "properties": { - "height": { - "description": "Height of the image", - "format": "int64", - "type": "integer" - }, - "id": { - "description": "A unique identifier", - "type": "string" - }, - "node_type": { - "description": "NodeType represents this node's types. It is a mirror of `node.type` and\nis primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\".\ntext Text\ninput Input\nimg Image\na Anchor\nscript Script", - "enum": [ - "text", - "input", - "img", - "a", - "script" - ], - "type": "string", - "x-go-enum-desc": "text Text\ninput Input\nimg Image\na Anchor\nscript Script" - }, - "src": { - "description": "The image's source URL.\n\nformat: uri", - "type": "string" - }, - "width": { - "description": "Width of the image", - "format": "int64", - "type": "integer" - } - }, - "required": [ - "src", - "id", - "width", - "height", - "node_type" - ], - "title": "ImageAttributes represents the attributes of an image node.", - "type": "object" - }, - "uiNodeInputAttributes": { - "description": "InputAttributes represents the attributes of an input node", - "properties": { - "autocomplete": { - "description": "The autocomplete attribute for the input.\nemail InputAttributeAutocompleteEmail\ntel InputAttributeAutocompleteTel\nurl InputAttributeAutocompleteUrl\ncurrent-password InputAttributeAutocompleteCurrentPassword\nnew-password InputAttributeAutocompleteNewPassword\none-time-code InputAttributeAutocompleteOneTimeCode", - "enum": [ - "email", - "tel", - "url", - "current-password", - "new-password", - "one-time-code" - ], - "type": "string", - "x-go-enum-desc": "email InputAttributeAutocompleteEmail\ntel InputAttributeAutocompleteTel\nurl InputAttributeAutocompleteUrl\ncurrent-password InputAttributeAutocompleteCurrentPassword\nnew-password InputAttributeAutocompleteNewPassword\none-time-code InputAttributeAutocompleteOneTimeCode" - }, - "disabled": { - "description": "Sets the input's disabled field to true or false.", - "type": "boolean" - }, - "label": { - "$ref": "#/components/schemas/uiText" - }, - "maxlength": { - "description": "MaxLength may contain the input's maximum length.", - "format": "int64", - "type": "integer" - }, - "name": { - "description": "The input's element name.", - "type": "string" - }, - "node_type": { - "description": "NodeType represents this node's types. It is a mirror of `node.type` and\nis primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\".\ntext Text\ninput Input\nimg Image\na Anchor\nscript Script", - "enum": [ - "text", - "input", - "img", - "a", - "script" - ], - "type": "string", - "x-go-enum-desc": "text Text\ninput Input\nimg Image\na Anchor\nscript Script" - }, - "onclick": { - "description": "OnClick may contain javascript which should be executed on click. This is primarily\nused for WebAuthn.\n\nDeprecated: Using OnClick requires the use of eval() which is a security risk. Use OnClickTrigger instead.", - "type": "string" - }, - "onclickTrigger": { - "description": "OnClickTrigger may contain a WebAuthn trigger which should be executed on click.\n\nThe trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login.\noryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration\noryWebAuthnLogin WebAuthnTriggersWebAuthnLogin\noryPasskeyLogin WebAuthnTriggersPasskeyLogin\noryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit\noryPasskeyRegistration WebAuthnTriggersPasskeyRegistration\noryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration", - "enum": [ - "oryWebAuthnRegistration", - "oryWebAuthnLogin", - "oryPasskeyLogin", - "oryPasskeyLoginAutocompleteInit", - "oryPasskeyRegistration", - "oryPasskeySettingsRegistration" - ], - "type": "string", - "x-go-enum-desc": "oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration\noryWebAuthnLogin WebAuthnTriggersWebAuthnLogin\noryPasskeyLogin WebAuthnTriggersPasskeyLogin\noryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit\noryPasskeyRegistration WebAuthnTriggersPasskeyRegistration\noryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration" - }, - "onload": { - "description": "OnLoad may contain javascript which should be executed on load. This is primarily\nused for WebAuthn.\n\nDeprecated: Using OnLoad requires the use of eval() which is a security risk. Use OnLoadTrigger instead.", - "type": "string" - }, - "onloadTrigger": { - "description": "OnLoadTrigger may contain a WebAuthn trigger which should be executed on load.\n\nThe trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login.\noryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration\noryWebAuthnLogin WebAuthnTriggersWebAuthnLogin\noryPasskeyLogin WebAuthnTriggersPasskeyLogin\noryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit\noryPasskeyRegistration WebAuthnTriggersPasskeyRegistration\noryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration", - "enum": [ - "oryWebAuthnRegistration", - "oryWebAuthnLogin", - "oryPasskeyLogin", - "oryPasskeyLoginAutocompleteInit", - "oryPasskeyRegistration", - "oryPasskeySettingsRegistration" - ], - "type": "string", - "x-go-enum-desc": "oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration\noryWebAuthnLogin WebAuthnTriggersWebAuthnLogin\noryPasskeyLogin WebAuthnTriggersPasskeyLogin\noryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit\noryPasskeyRegistration WebAuthnTriggersPasskeyRegistration\noryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration" - }, - "pattern": { - "description": "The input's pattern.", - "type": "string" - }, - "required": { - "description": "Mark this input field as required.", - "type": "boolean" - }, - "type": { - "description": "The input's element type.\ntext InputAttributeTypeText\npassword InputAttributeTypePassword\nnumber InputAttributeTypeNumber\ncheckbox InputAttributeTypeCheckbox\nhidden InputAttributeTypeHidden\nemail InputAttributeTypeEmail\ntel InputAttributeTypeTel\nsubmit InputAttributeTypeSubmit\nbutton InputAttributeTypeButton\ndatetime-local InputAttributeTypeDateTimeLocal\ndate InputAttributeTypeDate\nurl InputAttributeTypeURI", - "enum": [ - "text", - "password", - "number", - "checkbox", - "hidden", - "email", - "tel", - "submit", - "button", - "datetime-local", - "date", - "url" - ], - "type": "string", - "x-go-enum-desc": "text InputAttributeTypeText\npassword InputAttributeTypePassword\nnumber InputAttributeTypeNumber\ncheckbox InputAttributeTypeCheckbox\nhidden InputAttributeTypeHidden\nemail InputAttributeTypeEmail\ntel InputAttributeTypeTel\nsubmit InputAttributeTypeSubmit\nbutton InputAttributeTypeButton\ndatetime-local InputAttributeTypeDateTimeLocal\ndate InputAttributeTypeDate\nurl InputAttributeTypeURI" - }, - "value": { - "description": "The input's value.", - "nullable": true - } - }, - "required": [ - "name", - "type", - "disabled", - "node_type" - ], - "type": "object" - }, - "uiNodeMeta": { - "description": "This might include a label and other information that can optionally\nbe used to render UIs.", - "properties": { - "label": { - "$ref": "#/components/schemas/uiText" - } - }, - "title": "A Node's Meta Information", - "type": "object" - }, - "uiNodeScriptAttributes": { - "properties": { - "async": { - "description": "The script async type", - "type": "boolean" - }, - "crossorigin": { - "description": "The script cross origin policy", - "type": "string" - }, - "id": { - "description": "A unique identifier", - "type": "string" - }, - "integrity": { - "description": "The script's integrity hash", - "type": "string" - }, - "node_type": { - "description": "NodeType represents this node's types. It is a mirror of `node.type` and\nis primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\".\ntext Text\ninput Input\nimg Image\na Anchor\nscript Script", - "enum": [ - "text", - "input", - "img", - "a", - "script" - ], - "type": "string", - "x-go-enum-desc": "text Text\ninput Input\nimg Image\na Anchor\nscript Script" - }, - "nonce": { - "description": "Nonce for CSP\n\nA nonce you may want to use to improve your Content Security Policy.\nYou do not have to use this value but if you want to improve your CSP\npolicies you may use it. You can also choose to use your own nonce value!", - "type": "string" - }, - "referrerpolicy": { - "description": "The script referrer policy", - "type": "string" - }, - "src": { - "description": "The script source", - "type": "string" - }, - "type": { - "description": "The script MIME type", - "type": "string" - } - }, - "required": [ - "src", - "async", - "referrerpolicy", - "crossorigin", - "integrity", - "type", - "id", - "nonce", - "node_type" - ], - "title": "ScriptAttributes represent script nodes which load javascript.", - "type": "object" - }, - "uiNodeTextAttributes": { - "properties": { - "id": { - "description": "A unique identifier", - "type": "string" - }, - "node_type": { - "description": "NodeType represents this node's types. It is a mirror of `node.type` and\nis primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"text\".\ntext Text\ninput Input\nimg Image\na Anchor\nscript Script", - "enum": [ - "text", - "input", - "img", - "a", - "script" - ], - "type": "string", - "x-go-enum-desc": "text Text\ninput Input\nimg Image\na Anchor\nscript Script" - }, - "text": { - "$ref": "#/components/schemas/uiText" - } - }, - "required": [ - "text", - "id", - "node_type" - ], - "title": "TextAttributes represents the attributes of a text node.", - "type": "object" - }, - "uiNodes": { - "items": { - "$ref": "#/components/schemas/uiNode" - }, - "type": "array" - }, - "uiText": { - "properties": { - "context": { - "description": "The message's context. Useful when customizing messages.", - "type": "object" - }, - "id": { - "$ref": "#/components/schemas/ID" - }, - "text": { - "description": "The message text. Written in american english.", - "type": "string" - }, - "type": { - "description": "The message type.\ninfo Info\nerror Error\nsuccess Success", - "enum": [ - "info", - "error", - "success" - ], - "type": "string", - "x-go-enum-desc": "info Info\nerror Error\nsuccess Success" - } - }, - "required": [ - "id", - "text", - "type" - ], - "type": "object" - }, - "uiTexts": { - "items": { - "$ref": "#/components/schemas/uiText" - }, - "type": "array" - }, - "unexpectedError": { - "type": "string" - }, - "updateIdentityBody": { - "description": "Update Identity Body", - "properties": { - "credentials": { - "$ref": "#/components/schemas/identityWithCredentials" - }, - "metadata_admin": { - "description": "Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/\u003cid\u003e`." - }, - "metadata_public": { - "description": "Store metadata about the identity which the identity itself can see when calling for example the\nsession endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field." - }, - "schema_id": { - "description": "SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. If set\nwill update the Identity's SchemaID.", - "type": "string" - }, - "state": { - "description": "State is the identity's state.\nactive StateActive\ninactive StateInactive", - "enum": [ - "active", - "inactive" - ], - "type": "string", - "x-go-enum-desc": "active StateActive\ninactive StateInactive" - }, - "traits": { - "description": "Traits represent an identity's traits. The identity is able to create, modify, and delete traits\nin a self-service manner. The input will always be validated against the JSON Schema defined\nin `schema_id`.", - "type": "object" - } - }, - "required": [ - "schema_id", - "traits", - "state" - ], - "type": "object" - }, - "updateLoginFlowBody": { - "discriminator": { - "mapping": { - "code": "#/components/schemas/updateLoginFlowWithCodeMethod", - "identifier_first": "#/components/schemas/updateLoginFlowWithIdentifierFirstMethod", - "lookup_secret": "#/components/schemas/updateLoginFlowWithLookupSecretMethod", - "oidc": "#/components/schemas/updateLoginFlowWithOidcMethod", - "passkey": "#/components/schemas/updateLoginFlowWithPasskeyMethod", - "password": "#/components/schemas/updateLoginFlowWithPasswordMethod", - "totp": "#/components/schemas/updateLoginFlowWithTotpMethod", - "webauthn": "#/components/schemas/updateLoginFlowWithWebAuthnMethod" - }, - "propertyName": "method" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/updateLoginFlowWithPasswordMethod" - }, - { - "$ref": "#/components/schemas/updateLoginFlowWithOidcMethod" - }, - { - "$ref": "#/components/schemas/updateLoginFlowWithTotpMethod" - }, - { - "$ref": "#/components/schemas/updateLoginFlowWithWebAuthnMethod" - }, - { - "$ref": "#/components/schemas/updateLoginFlowWithLookupSecretMethod" - }, - { - "$ref": "#/components/schemas/updateLoginFlowWithCodeMethod" - }, - { - "$ref": "#/components/schemas/updateLoginFlowWithPasskeyMethod" - }, - { - "$ref": "#/components/schemas/updateLoginFlowWithIdentifierFirstMethod" - } - ] - }, - "updateLoginFlowWithCodeMethod": { - "description": "Update Login flow using the code method", - "properties": { - "address": { - "description": "Address is the address to send the code to, in case that there are multiple addresses. This field\nis only used in two-factor flows and is ineffective for passwordless flows.", - "type": "string" - }, - "code": { - "description": "Code is the 6 digits code sent to the user", - "type": "string" - }, - "csrf_token": { - "description": "CSRFToken is the anti-CSRF token", - "type": "string" - }, - "identifier": { - "description": "Identifier is the code identifier\nThe identifier requires that the user has already completed the registration or settings with code flow.", - "type": "string" - }, - "method": { - "description": "Method should be set to \"code\" when logging in using the code strategy.", - "type": "string" - }, - "resend": { - "description": "Resend is set when the user wants to resend the code", - "type": "string" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - } - }, - "required": [ - "method", - "csrf_token" - ], - "type": "object" - }, - "updateLoginFlowWithIdentifierFirstMethod": { - "description": "Update Login Flow with Multi-Step Method", - "properties": { - "csrf_token": { - "description": "Sending the anti-csrf token is only required for browser login flows.", - "type": "string" - }, - "identifier": { - "description": "Identifier is the email or username of the user trying to log in.", - "type": "string" - }, - "method": { - "description": "Method should be set to \"password\" when logging in using the identifier and password strategy.", - "type": "string" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - } - }, - "required": [ - "method", - "identifier" - ], - "type": "object" - }, - "updateLoginFlowWithLookupSecretMethod": { - "description": "Update Login Flow with Lookup Secret Method", - "properties": { - "csrf_token": { - "description": "Sending the anti-csrf token is only required for browser login flows.", - "type": "string" - }, - "lookup_secret": { - "description": "The lookup secret.", - "type": "string" - }, - "method": { - "description": "Method should be set to \"lookup_secret\" when logging in using the lookup_secret strategy.", - "type": "string" - } - }, - "required": [ - "method", - "lookup_secret" - ], - "type": "object" - }, - "updateLoginFlowWithOidcMethod": { - "description": "Update Login Flow with OpenID Connect Method", - "properties": { - "csrf_token": { - "description": "The CSRF Token", - "type": "string" - }, - "id_token": { - "description": "IDToken is an optional id token provided by an OIDC provider\n\nIf submitted, it is verified using the OIDC provider's public key set and the claims are used to populate\nthe OIDC credentials of the identity.\nIf the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use\nthe `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken.\n\nSupported providers are\nApple\nGoogle", - "type": "string" - }, - "id_token_nonce": { - "description": "IDTokenNonce is the nonce, used when generating the IDToken.\nIf the provider supports nonce validation, the nonce will be validated against this value and required.", - "type": "string" - }, - "method": { - "description": "Method to use\n\nThis field must be set to `oidc` when using the oidc method.", - "type": "string" - }, - "provider": { - "description": "The provider to register with", - "type": "string" - }, - "traits": { - "description": "The identity traits. This is a placeholder for the registration flow.", - "type": "object" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - }, - "upstream_parameters": { - "description": "UpstreamParameters are the parameters that are passed to the upstream identity provider.\n\nThese parameters are optional and depend on what the upstream identity provider supports.\nSupported parameters are:\n`login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session.\n`hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`.\n`prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`.", - "type": "object" - } - }, - "required": [ - "provider", - "method" - ], - "type": "object" - }, - "updateLoginFlowWithPasskeyMethod": { - "description": "Update Login Flow with Passkey Method", - "properties": { - "csrf_token": { - "description": "Sending the anti-csrf token is only required for browser login flows.", - "type": "string" - }, - "method": { - "description": "Method should be set to \"passkey\" when logging in using the Passkey strategy.", - "type": "string" - }, - "passkey_login": { - "description": "Login a WebAuthn Security Key\n\nThis must contain the ID of the WebAuthN connection.", - "type": "string" - } - }, - "required": [ - "method" - ], - "type": "object" - }, - "updateLoginFlowWithPasswordMethod": { - "description": "Update Login Flow with Password Method", - "properties": { - "csrf_token": { - "description": "Sending the anti-csrf token is only required for browser login flows.", - "type": "string" - }, - "identifier": { - "description": "Identifier is the email or username of the user trying to log in.", - "type": "string" - }, - "method": { - "description": "Method should be set to \"password\" when logging in using the identifier and password strategy.", - "type": "string" - }, - "password": { - "description": "The user's password.", - "type": "string" - }, - "password_identifier": { - "description": "Identifier is the email or username of the user trying to log in.\nThis field is deprecated!", - "type": "string" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - } - }, - "required": [ - "method", - "password", - "identifier" - ], - "type": "object" - }, - "updateLoginFlowWithTotpMethod": { - "description": "Update Login Flow with TOTP Method", - "properties": { - "csrf_token": { - "description": "Sending the anti-csrf token is only required for browser login flows.", - "type": "string" - }, - "method": { - "description": "Method should be set to \"totp\" when logging in using the TOTP strategy.", - "type": "string" - }, - "totp_code": { - "description": "The TOTP code.", - "type": "string" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - } - }, - "required": [ - "method", - "totp_code" - ], - "type": "object" - }, - "updateLoginFlowWithWebAuthnMethod": { - "description": "Update Login Flow with WebAuthn Method", - "properties": { - "csrf_token": { - "description": "Sending the anti-csrf token is only required for browser login flows.", - "type": "string" - }, - "identifier": { - "description": "Identifier is the email or username of the user trying to log in.", - "type": "string" - }, - "method": { - "description": "Method should be set to \"webAuthn\" when logging in using the WebAuthn strategy.", - "type": "string" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - }, - "webauthn_login": { - "description": "Login a WebAuthn Security Key\n\nThis must contain the ID of the WebAuthN connection.", - "type": "string" - } - }, - "required": [ - "identifier", - "method" - ], - "type": "object" - }, - "updateRecoveryFlowBody": { - "description": "Update Recovery Flow Request Body", - "discriminator": { - "mapping": { - "code": "#/components/schemas/updateRecoveryFlowWithCodeMethod", - "link": "#/components/schemas/updateRecoveryFlowWithLinkMethod" - }, - "propertyName": "method" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/updateRecoveryFlowWithLinkMethod" - }, - { - "$ref": "#/components/schemas/updateRecoveryFlowWithCodeMethod" - } - ] - }, - "updateRecoveryFlowWithCodeMethod": { - "description": "Update Recovery Flow with Code Method", - "properties": { - "code": { - "description": "Code from the recovery email\n\nIf you want to submit a code, use this field, but make sure to _not_ include the email field, as well.", - "type": "string" - }, - "csrf_token": { - "description": "Sending the anti-csrf token is only required for browser login flows.", - "type": "string" - }, - "email": { - "description": "The email address of the account to recover\n\nIf the email belongs to a valid account, a recovery email will be sent.\n\nIf you want to notify the email address if the account does not exist, see\nthe [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#attempted-recovery-notifications)\n\nIf a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code.\n\nformat: email", - "type": "string" - }, - "method": { - "description": "Method is the method that should be used for this recovery flow\n\nAllowed values are `link` and `code`.\nlink RecoveryStrategyLink\ncode RecoveryStrategyCode", - "enum": [ - "link", - "code" - ], - "type": "string", - "x-go-enum-desc": "link RecoveryStrategyLink\ncode RecoveryStrategyCode" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - } - }, - "required": [ - "method" - ], - "type": "object" - }, - "updateRecoveryFlowWithLinkMethod": { - "description": "Update Recovery Flow with Link Method", - "properties": { - "csrf_token": { - "description": "Sending the anti-csrf token is only required for browser login flows.", - "type": "string" - }, - "email": { - "description": "Email to Recover\n\nNeeds to be set when initiating the flow. If the email is a registered\nrecovery email, a recovery link will be sent. If the email is not known,\na email with details on what happened will be sent instead.\n\nformat: email", - "type": "string" - }, - "method": { - "description": "Method is the method that should be used for this recovery flow\n\nAllowed values are `link` and `code`\nlink RecoveryStrategyLink\ncode RecoveryStrategyCode", - "enum": [ - "link", - "code" - ], - "type": "string", - "x-go-enum-desc": "link RecoveryStrategyLink\ncode RecoveryStrategyCode" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - } - }, - "required": [ - "email", - "method" - ], - "type": "object" - }, - "updateRegistrationFlowBody": { - "description": "Update Registration Request Body", - "discriminator": { - "mapping": { - "code": "#/components/schemas/updateRegistrationFlowWithCodeMethod", - "oidc": "#/components/schemas/updateRegistrationFlowWithOidcMethod", - "passkey": "#/components/schemas/updateRegistrationFlowWithPasskeyMethod", - "password": "#/components/schemas/updateRegistrationFlowWithPasswordMethod", - "profile": "#/components/schemas/updateRegistrationFlowWithProfileMethod", - "webauthn": "#/components/schemas/updateRegistrationFlowWithWebAuthnMethod" - }, - "propertyName": "method" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/updateRegistrationFlowWithPasswordMethod" - }, - { - "$ref": "#/components/schemas/updateRegistrationFlowWithOidcMethod" - }, - { - "$ref": "#/components/schemas/updateRegistrationFlowWithWebAuthnMethod" - }, - { - "$ref": "#/components/schemas/updateRegistrationFlowWithCodeMethod" - }, - { - "$ref": "#/components/schemas/updateRegistrationFlowWithPasskeyMethod" - }, - { - "$ref": "#/components/schemas/updateRegistrationFlowWithProfileMethod" - } - ] - }, - "updateRegistrationFlowWithCodeMethod": { - "description": "Update Registration Flow with Code Method", - "properties": { - "code": { - "description": "The OTP Code sent to the user", - "type": "string" - }, - "csrf_token": { - "description": "The CSRF Token", - "type": "string" - }, - "method": { - "description": "Method to use\n\nThis field must be set to `code` when using the code method.", - "type": "string" - }, - "resend": { - "description": "Resend restarts the flow with a new code", - "type": "string" - }, - "traits": { - "description": "The identity's traits", - "type": "object" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - } - }, - "required": [ - "traits", - "method" - ], - "type": "object" - }, - "updateRegistrationFlowWithOidcMethod": { - "description": "Update Registration Flow with OpenID Connect Method", - "properties": { - "csrf_token": { - "description": "The CSRF Token", - "type": "string" - }, - "id_token": { - "description": "IDToken is an optional id token provided by an OIDC provider\n\nIf submitted, it is verified using the OIDC provider's public key set and the claims are used to populate\nthe OIDC credentials of the identity.\nIf the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use\nthe `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken.\n\nSupported providers are\nApple\nGoogle", - "type": "string" - }, - "id_token_nonce": { - "description": "IDTokenNonce is the nonce, used when generating the IDToken.\nIf the provider supports nonce validation, the nonce will be validated against this value and is required.", - "type": "string" - }, - "method": { - "description": "Method to use\n\nThis field must be set to `oidc` when using the oidc method.", - "type": "string" - }, - "provider": { - "description": "The provider to register with", - "type": "string" - }, - "traits": { - "description": "The identity traits", - "type": "object" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - }, - "upstream_parameters": { - "description": "UpstreamParameters are the parameters that are passed to the upstream identity provider.\n\nThese parameters are optional and depend on what the upstream identity provider supports.\nSupported parameters are:\n`login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session.\n`hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`.\n`prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`.", - "type": "object" - } - }, - "required": [ - "provider", - "method" - ], - "type": "object" - }, - "updateRegistrationFlowWithPasskeyMethod": { - "description": "Update Registration Flow with Passkey Method", - "properties": { - "csrf_token": { - "description": "CSRFToken is the anti-CSRF token", - "type": "string" - }, - "method": { - "description": "Method\n\nShould be set to \"passkey\" when trying to add, update, or remove a Passkey.", - "type": "string" - }, - "passkey_register": { - "description": "Register a WebAuthn Security Key\n\nIt is expected that the JSON returned by the WebAuthn registration process\nis included here.", - "type": "string" - }, - "traits": { - "description": "The identity's traits", - "type": "object" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - } - }, - "required": [ - "traits", - "method" - ], - "type": "object" - }, - "updateRegistrationFlowWithPasswordMethod": { - "description": "Update Registration Flow with Password Method", - "properties": { - "csrf_token": { - "description": "The CSRF Token", - "type": "string" - }, - "method": { - "description": "Method to use\n\nThis field must be set to `password` when using the password method.", - "type": "string" - }, - "password": { - "description": "Password to sign the user up with", - "type": "string" - }, - "traits": { - "description": "The identity's traits", - "type": "object" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - } - }, - "required": [ - "password", - "traits", - "method" - ], - "type": "object" - }, - "updateRegistrationFlowWithProfileMethod": { - "description": "Update Registration Flow with Profile Method", - "properties": { - "csrf_token": { - "description": "The Anti-CSRF Token\n\nThis token is only required when performing browser flows.", - "type": "string" - }, - "method": { - "description": "Method\n\nShould be set to profile when trying to update a profile.", - "type": "string" - }, - "screen": { - "description": "Screen requests navigation to a previous screen.\n\nThis must be set to credential-selection to go back to the credential\nselection screen.\ncredential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential\nprevious RegistrationScreenPrevious", - "enum": [ - "credential-selection", - "previous" - ], - "type": "string", - "x-go-enum-desc": "credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential\nprevious RegistrationScreenPrevious" - }, - "traits": { - "description": "Traits\n\nThe identity's traits.", - "type": "object" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - } - }, - "required": [ - "traits", - "method" - ], - "type": "object" - }, - "updateRegistrationFlowWithWebAuthnMethod": { - "description": "Update Registration Flow with WebAuthn Method", - "properties": { - "csrf_token": { - "description": "CSRFToken is the anti-CSRF token", - "type": "string" - }, - "method": { - "description": "Method\n\nShould be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing.", - "type": "string" - }, - "traits": { - "description": "The identity's traits", - "type": "object" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - }, - "webauthn_register": { - "description": "Register a WebAuthn Security Key\n\nIt is expected that the JSON returned by the WebAuthn registration process\nis included here.", - "type": "string" - }, - "webauthn_register_displayname": { - "description": "Name of the WebAuthn Security Key to be Added\n\nA human-readable name for the security key which will be added.", - "type": "string" - } - }, - "required": [ - "traits", - "method" - ], - "type": "object" - }, - "updateSettingsFlowBody": { - "description": "Update Settings Flow Request Body", - "discriminator": { - "mapping": { - "lookup_secret": "#/components/schemas/updateSettingsFlowWithLookupMethod", - "oidc": "#/components/schemas/updateSettingsFlowWithOidcMethod", - "passkey": "#/components/schemas/updateSettingsFlowWithPasskeyMethod", - "password": "#/components/schemas/updateSettingsFlowWithPasswordMethod", - "profile": "#/components/schemas/updateSettingsFlowWithProfileMethod", - "totp": "#/components/schemas/updateSettingsFlowWithTotpMethod", - "webauthn": "#/components/schemas/updateSettingsFlowWithWebAuthnMethod" - }, - "propertyName": "method" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/updateSettingsFlowWithPasswordMethod" - }, - { - "$ref": "#/components/schemas/updateSettingsFlowWithProfileMethod" - }, - { - "$ref": "#/components/schemas/updateSettingsFlowWithOidcMethod" - }, - { - "$ref": "#/components/schemas/updateSettingsFlowWithTotpMethod" - }, - { - "$ref": "#/components/schemas/updateSettingsFlowWithWebAuthnMethod" - }, - { - "$ref": "#/components/schemas/updateSettingsFlowWithLookupMethod" - }, - { - "$ref": "#/components/schemas/updateSettingsFlowWithPasskeyMethod" - } - ] - }, - "updateSettingsFlowWithLookupMethod": { - "description": "Update Settings Flow with Lookup Method", - "properties": { - "csrf_token": { - "description": "CSRFToken is the anti-CSRF token", - "type": "string" - }, - "lookup_secret_confirm": { - "description": "If set to true will save the regenerated lookup secrets", - "type": "boolean" - }, - "lookup_secret_disable": { - "description": "Disables this method if true.", - "type": "boolean" - }, - "lookup_secret_regenerate": { - "description": "If set to true will regenerate the lookup secrets", - "type": "boolean" - }, - "lookup_secret_reveal": { - "description": "If set to true will reveal the lookup secrets", - "type": "boolean" - }, - "method": { - "description": "Method\n\nShould be set to \"lookup\" when trying to add, update, or remove a lookup pairing.", - "type": "string" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - } - }, - "required": [ - "method" - ], - "type": "object" - }, - "updateSettingsFlowWithOidcMethod": { - "description": "Update Settings Flow with OpenID Connect Method", - "properties": { - "flow": { - "description": "Flow ID is the flow's ID.\n\nin: query", - "type": "string" - }, - "link": { - "description": "Link this provider\n\nEither this or `unlink` must be set.\n\ntype: string\nin: body", - "type": "string" - }, - "method": { - "description": "Method\n\nShould be set to profile when trying to update a profile.", - "type": "string" - }, - "traits": { - "description": "The identity's traits\n\nin: body", - "type": "object" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - }, - "unlink": { - "description": "Unlink this provider\n\nEither this or `link` must be set.\n\ntype: string\nin: body", - "type": "string" - }, - "upstream_parameters": { - "description": "UpstreamParameters are the parameters that are passed to the upstream identity provider.\n\nThese parameters are optional and depend on what the upstream identity provider supports.\nSupported parameters are:\n`login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session.\n`hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`.\n`prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`.", - "type": "object" - } - }, - "required": [ - "method" - ], - "type": "object" - }, - "updateSettingsFlowWithPasskeyMethod": { - "description": "Update Settings Flow with Passkey Method", - "properties": { - "csrf_token": { - "description": "CSRFToken is the anti-CSRF token", - "type": "string" - }, - "method": { - "description": "Method\n\nShould be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing.", - "type": "string" - }, - "passkey_remove": { - "description": "Remove a WebAuthn Security Key\n\nThis must contain the ID of the WebAuthN connection.", - "type": "string" - }, - "passkey_settings_register": { - "description": "Register a WebAuthn Security Key\n\nIt is expected that the JSON returned by the WebAuthn registration process\nis included here.", - "type": "string" - } - }, - "required": [ - "method" - ], - "type": "object" - }, - "updateSettingsFlowWithPasswordMethod": { - "description": "Update Settings Flow with Password Method", - "properties": { - "csrf_token": { - "description": "CSRFToken is the anti-CSRF token", - "type": "string" - }, - "method": { - "description": "Method\n\nShould be set to password when trying to update a password.", - "type": "string" - }, - "password": { - "description": "Password is the updated password", - "type": "string" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - } - }, - "required": [ - "password", - "method" - ], - "type": "object" - }, - "updateSettingsFlowWithProfileMethod": { - "description": "Update Settings Flow with Profile Method", - "properties": { - "csrf_token": { - "description": "The Anti-CSRF Token\n\nThis token is only required when performing browser flows.", - "type": "string" - }, - "method": { - "description": "Method\n\nShould be set to profile when trying to update a profile.", - "type": "string" - }, - "traits": { - "description": "Traits\n\nThe identity's traits.", - "type": "object" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - } - }, - "required": [ - "traits", - "method" - ], - "type": "object" - }, - "updateSettingsFlowWithTotpMethod": { - "description": "Update Settings Flow with TOTP Method", - "properties": { - "csrf_token": { - "description": "CSRFToken is the anti-CSRF token", - "type": "string" - }, - "method": { - "description": "Method\n\nShould be set to \"totp\" when trying to add, update, or remove a totp pairing.", - "type": "string" - }, - "totp_code": { - "description": "ValidationTOTP must contain a valid TOTP based on the", - "type": "string" - }, - "totp_unlink": { - "description": "UnlinkTOTP if true will remove the TOTP pairing,\neffectively removing the credential. This can be used\nto set up a new TOTP device.", - "type": "boolean" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - } - }, - "required": [ - "method" - ], - "type": "object" - }, - "updateSettingsFlowWithWebAuthnMethod": { - "description": "Update Settings Flow with WebAuthn Method", - "properties": { - "csrf_token": { - "description": "CSRFToken is the anti-CSRF token", - "type": "string" - }, - "method": { - "description": "Method\n\nShould be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing.", - "type": "string" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - }, - "webauthn_register": { - "description": "Register a WebAuthn Security Key\n\nIt is expected that the JSON returned by the WebAuthn registration process\nis included here.", - "type": "string" - }, - "webauthn_register_displayname": { - "description": "Name of the WebAuthn Security Key to be Added\n\nA human-readable name for the security key which will be added.", - "type": "string" - }, - "webauthn_remove": { - "description": "Remove a WebAuthn Security Key\n\nThis must contain the ID of the WebAuthN connection.", - "type": "string" - } - }, - "required": [ - "method" - ], - "type": "object" - }, - "updateSubscriptionBody": { - "properties": { - "interval": { - "description": "\nmonthly Monthly\nyearly Yearly", - "enum": [ - "monthly", - "yearly" - ], - "type": "string", - "x-go-enum-desc": "monthly Monthly\nyearly Yearly" - }, - "plan": { - "type": "string" - }, - "return_to": { - "type": "string" - } - }, - "required": [ - "plan", - "interval" - ], - "type": "object" - }, - "updateVerificationFlowBody": { - "description": "Update Verification Flow Request Body", - "discriminator": { - "mapping": { - "code": "#/components/schemas/updateVerificationFlowWithCodeMethod", - "link": "#/components/schemas/updateVerificationFlowWithLinkMethod" - }, - "propertyName": "method" - }, - "oneOf": [ - { - "$ref": "#/components/schemas/updateVerificationFlowWithLinkMethod" - }, - { - "$ref": "#/components/schemas/updateVerificationFlowWithCodeMethod" - } - ] - }, - "updateVerificationFlowWithCodeMethod": { - "properties": { - "code": { - "description": "Code from the recovery email\n\nIf you want to submit a code, use this field, but make sure to _not_ include the email field, as well.", - "type": "string" - }, - "csrf_token": { - "description": "Sending the anti-csrf token is only required for browser login flows.", - "type": "string" - }, - "email": { - "description": "The email address to verify\n\nIf the email belongs to a valid account, a verifiation email will be sent.\n\nIf you want to notify the email address if the account does not exist, see\nthe [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications)\n\nIf a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code.\n\nformat: email", - "type": "string" - }, - "method": { - "description": "Method is the method that should be used for this verification flow\n\nAllowed values are `link` and `code`.\nlink VerificationStrategyLink\ncode VerificationStrategyCode", - "enum": [ - "link", - "code" - ], - "type": "string", - "x-go-enum-desc": "link VerificationStrategyLink\ncode VerificationStrategyCode" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - } - }, - "required": [ - "method" - ], - "type": "object" - }, - "updateVerificationFlowWithLinkMethod": { - "description": "Update Verification Flow with Link Method", - "properties": { - "csrf_token": { - "description": "Sending the anti-csrf token is only required for browser login flows.", - "type": "string" - }, - "email": { - "description": "Email to Verify\n\nNeeds to be set when initiating the flow. If the email is a registered\nverification email, a verification link will be sent. If the email is not known,\na email with details on what happened will be sent instead.\n\nformat: email", - "type": "string" - }, - "method": { - "description": "Method is the method that should be used for this verification flow\n\nAllowed values are `link` and `code`\nlink VerificationStrategyLink\ncode VerificationStrategyCode", - "enum": [ - "link", - "code" - ], - "type": "string", - "x-go-enum-desc": "link VerificationStrategyLink\ncode VerificationStrategyCode" - }, - "transient_payload": { - "description": "Transient data to pass along to any webhooks", - "type": "object" - } - }, - "required": [ - "email", - "method" - ], - "type": "object" - }, - "updateWorkspaceBody": { - "properties": { - "name": { - "description": "The name of the workspace.", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - }, - "verifiableCredentialPrimingResponse": { - "properties": { - "c_nonce": { - "type": "string" - }, - "c_nonce_expires_in": { - "format": "int64", - "type": "integer" - }, - "error": { - "type": "string" - }, - "error_debug": { - "type": "string" - }, - "error_description": { - "type": "string" - }, - "error_hint": { - "type": "string" - }, - "format": { - "type": "string" - }, - "status_code": { - "format": "int64", - "type": "integer" - } - }, - "title": "VerifiableCredentialPrimingResponse contains the nonce to include in the proof-of-possession JWT.", - "type": "object" - }, - "verifiableCredentialResponse": { - "properties": { - "credential_draft_00": { - "type": "string" - }, - "format": { - "type": "string" - } - }, - "title": "VerifiableCredentialResponse contains the verifiable credential.", - "type": "object" - }, - "verifiableIdentityAddress": { - "description": "VerifiableAddress is an identity's verifiable address", - "properties": { - "created_at": { - "description": "When this entry was created", - "example": "2014-01-01T23:28:56.782Z", - "format": "date-time", - "type": "string" - }, - "id": { - "description": "The ID", - "format": "uuid", - "type": "string" - }, - "status": { - "$ref": "#/components/schemas/identityVerifiableAddressStatus" - }, - "updated_at": { - "description": "When this entry was last updated", - "example": "2014-01-01T23:28:56.782Z", - "format": "date-time", - "type": "string" - }, - "value": { - "description": "The address value\n\nexample foo@user.com", - "type": "string" - }, - "verified": { - "description": "Indicates if the address has already been verified", - "example": true, - "type": "boolean" - }, - "verified_at": { - "$ref": "#/components/schemas/nullTime" - }, - "via": { - "description": "The delivery method", - "enum": [ - "email", - "sms" - ], - "example": "email", - "type": "string" - } - }, - "required": [ - "value", - "verified", - "via", - "status" - ], - "type": "object" - }, - "verificationFlow": { - "description": "Used to verify an out-of-band communication\nchannel such as an email address or a phone number.\n\nFor more information head over to: https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation", - "properties": { - "active": { - "description": "Active, if set, contains the registration method that is being used. It is initially\nnot set.", - "type": "string" - }, - "expires_at": { - "description": "ExpiresAt is the time (UTC) when the request expires. If the user still wishes to verify the address,\na new request has to be initiated.", - "format": "date-time", - "type": "string" - }, - "id": { - "description": "ID represents the request's unique ID. When performing the verification flow, this\nrepresents the id in the verify ui's query parameter: http://\u003cselfservice.flows.verification.ui_url\u003e?request=\u003cid\u003e\n\ntype: string\nformat: uuid", - "format": "uuid", - "type": "string" - }, - "issued_at": { - "description": "IssuedAt is the time (UTC) when the request occurred.", - "format": "date-time", - "type": "string" - }, - "request_url": { - "description": "RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.", - "type": "string" - }, - "return_to": { - "description": "ReturnTo contains the requested return_to URL.", - "type": "string" - }, - "state": { - "description": "State represents the state of this request:\n\nchoose_method: ask the user to choose a method (e.g. verify your email)\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the verification challenge was passed." - }, - "transient_payload": { - "description": "TransientPayload is used to pass data from the verification flow to hooks and email templates", - "type": "object" - }, - "type": { - "$ref": "#/components/schemas/selfServiceFlowType" - }, - "ui": { - "$ref": "#/components/schemas/uiContainer" - } - }, - "required": [ - "id", - "type", - "ui", - "state" - ], - "title": "A Verification Flow", - "type": "object" - }, - "verificationFlowState": { - "description": "The state represents the state of the verification flow.\n\nchoose_method: ask the user to choose a method (e.g. recover account via email)\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the recovery challenge was passed.", - "enum": [ - "choose_method", - "sent_email", - "passed_challenge" - ], - "title": "Verification Flow State", - "type": "string" - }, - "version": { - "properties": { - "version": { - "description": "Version is the service's version.", - "type": "string" - } - }, - "type": "object" - }, - "webAuthnJavaScript": { - "type": "string" - }, - "workspace": { - "properties": { - "created_at": { - "format": "date-time", - "type": "string" - }, - "id": { - "format": "uuid", - "type": "string" - }, - "name": { - "type": "string" - }, - "subscription_id": { - "$ref": "#/components/schemas/NullUUID" - }, - "subscription_plan": { - "$ref": "#/components/schemas/String" - }, - "updated_at": { - "format": "date-time", - "type": "string" - } - }, - "required": [ - "id", - "name", - "created_at", - "updated_at" - ], - "type": "object" - }, - "workspaceApiKey": { - "properties": { - "created_at": { - "description": "The API key's creation date", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "expires_at": { - "$ref": "#/components/schemas/Time" - }, - "id": { - "description": "The key's ID.", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "The API key's Name\n\nSet this to help you remember, for example, where you use the API key.", - "type": "string" - }, - "owner_id": { - "description": "The key's owner", - "format": "uuid", - "readOnly": true, - "type": "string" - }, - "updated_at": { - "description": "The API key's last update date", - "format": "date-time", - "readOnly": true, - "type": "string" - }, - "value": { - "description": "The key's value", - "readOnly": true, - "type": "string" - }, - "workspace_id": { - "description": "The API key's workspace ID", - "format": "uuid", - "readOnly": true, - "type": "string" - } - }, - "required": [ - "id", - "name", - "owner_id" - ], - "type": "object" - }, - "workspaceApiKeys": { - "items": { - "$ref": "#/components/schemas/workspaceApiKey" - }, - "type": "array" - }, - "workspaces": { - "items": { - "$ref": "#/components/schemas/workspace" - }, - "type": "array" - } - }, - "securitySchemes": { - "basic": { - "scheme": "basic", - "type": "http" - }, - "bearer": { - "scheme": "bearer", - "type": "http" - }, - "oauth2": { - "flows": { - "authorizationCode": { - "authorizationUrl": "https://hydra.demo.ory.sh/oauth2/auth", - "scopes": { - "offline": "A scope required when requesting refresh tokens (alias for `offline_access`)", - "offline_access": "A scope required when requesting refresh tokens", - "openid": "Request an OpenID Connect ID Token" - }, - "tokenUrl": "https://hydra.demo.ory.sh/oauth2/token" - } - }, - "type": "oauth2" - }, - "oryAccessToken": { - "description": "To use this endpoint you need an [Ory Network API key](https://www.ory.sh/docs/concepts/personal-access-token).", - "scheme": "bearer", - "type": "http" - }, - "oryWorkspaceApiKey": { - "description": "To use this endpoint you need a workspace-level [Ory Network API key](https://www.ory.sh/docs/concepts/personal-access-token).", - "scheme": "bearer", - "type": "http" - } - } - }, - "info": { - "contact": { - "email": "support@ory.sh", - "name": "API Support" - }, - "description": "# Introduction\nDocumentation for all public and administrative Ory APIs. Administrative APIs can only be accessed\nwith a valid Personal Access Token. Public APIs are mostly used in browsers.\n\n## SDKs\nThis document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages:\n\n| Language | Download SDK | Documentation |\n| -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ |\n| Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) |\n| .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) |\n| Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) |\n| Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) |\n| 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) |\n| JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) |\n| 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) | \n| PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) |\n| Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) |\n| Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) |\n| Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |\n", - "license": { - "name": "Apache 2.0", - "url": "https://www.apache.org/licenses/LICENSE-2.0.html" - }, - "termsOfService": "/ptos", - "title": "Ory APIs", - "version": "latest" - }, - "openapi": "3.0.3", - "paths": { - "/.well-known/jwks.json": { - "get": { - "description": "This endpoint returns JSON Web Keys required to verifying OpenID Connect ID Tokens and,\nif enabled, OAuth 2.0 JWT Access Tokens. This endpoint can be used with client libraries like\n[node-jwks-rsa](https://github.com/auth0/node-jwks-rsa) among others.\n\nAdding custom keys requires first creating a keyset via the createJsonWebKeySet operation,\nand then configuring the webfinger.jwks.broadcast_keys configuration value to include the keyset name.", - "operationId": "discoverJsonWebKeys", - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/jsonWebKeySet" - } - } - }, - "description": "jsonWebKeySet" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "summary": "Discover Well-Known JSON Web Keys", - "tags": [ - "wellknown" - ] - } - }, - "/.well-known/openid-configuration": { - "get": { - "description": "A mechanism for an OpenID Connect Relying Party to discover the End-User's OpenID Provider and obtain information needed to interact with it, including its OAuth 2.0 endpoint locations.\n\nPopular libraries for OpenID Connect clients include oidc-client-js (JavaScript), go-oidc (Golang), and others.\nFor a full list of clients go here: https://openid.net/developers/certified/", - "operationId": "discoverOidcConfiguration", - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oidcConfiguration" - } - } - }, - "description": "oidcConfiguration" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "summary": "OpenID Connect Discovery", - "tags": [ - "oidc" - ] - } - }, - "/.well-known/ory/webauthn.js": { - "get": { - "description": "This endpoint provides JavaScript which is needed in order to perform WebAuthn login and registration.\n\nIf you are building a JavaScript Browser App (e.g. in ReactJS or AngularJS) you will need to load this file:\n\n```html\n\u003cscript src=\"https://public-kratos.example.org/.well-known/ory/webauthn.js\" type=\"script\" async /\u003e\n```\n\nMore information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).", - "operationId": "getWebAuthnJavaScript", - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/webAuthnJavaScript" - } - } - }, - "description": "webAuthnJavaScript" - } - }, - "summary": "Get WebAuthn JavaScript", - "tags": [ - "frontend" - ] - } - }, - "/admin/clients": { - "get": { - "description": "This endpoint lists all clients in the database, and never returns client secrets.\nAs a default it lists the first 100 clients.", - "operationId": "listOAuth2Clients", - "parameters": [ - { - "description": "Items per Page\n\nThis is the number of items per page to return.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_size", - "schema": { - "default": 250, - "format": "int64", - "maximum": 500, - "minimum": 1, - "type": "integer" - } - }, - { - "description": "Next Page Token\n\nThe next page token.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_token", - "schema": { - "default": "1", - "minimum": 1, - "type": "string" - } - }, - { - "description": "The name of the clients to filter by.", - "in": "query", - "name": "client_name", - "schema": { - "type": "string" - } - }, - { - "description": "The owner of the clients to filter by.", - "in": "query", - "name": "owner", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/listOAuth2Clients" - }, - "default": { - "$ref": "#/components/responses/errorOAuth2Default" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "List OAuth 2.0 Clients", - "tags": [ - "oAuth2" - ] - }, - "post": { - "description": "Create a new OAuth 2.0 client. If you pass `client_secret` the secret is used, otherwise a random secret\nis generated. The secret is echoed in the response. It is not possible to retrieve it later on.", - "operationId": "createOAuth2Client", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2Client" - } - } - }, - "description": "OAuth 2.0 Client Request Body", - "required": true, - "x-originalParamName": "Body" - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2Client" - } - } - }, - "description": "oAuth2Client" - }, - "400": { - "$ref": "#/components/responses/errorOAuth2BadRequest" - }, - "default": { - "$ref": "#/components/responses/errorOAuth2Default" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Create OAuth 2.0 Client", - "tags": [ - "oAuth2" - ] - } - }, - "/admin/clients/{id}": { - "delete": { - "description": "Delete an existing OAuth 2.0 Client by its ID.\n\nOAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are\ngenerated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.\n\nMake sure that this endpoint is well protected and only callable by first-party components.", - "operationId": "deleteOAuth2Client", - "parameters": [ - { - "description": "The id of the OAuth 2.0 Client.", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/genericError" - } - } - }, - "description": "genericError" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Delete OAuth 2.0 Client", - "tags": [ - "oAuth2" - ] - }, - "get": { - "description": "Get an OAuth 2.0 client by its ID. This endpoint never returns the client secret.\n\nOAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are\ngenerated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.", - "operationId": "getOAuth2Client", - "parameters": [ - { - "description": "The id of the OAuth 2.0 Client.", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2Client" - } - } - }, - "description": "oAuth2Client" - }, - "default": { - "$ref": "#/components/responses/errorOAuth2Default" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Get an OAuth 2.0 Client", - "tags": [ - "oAuth2" - ] - }, - "patch": { - "description": "Patch an existing OAuth 2.0 Client using JSON Patch. If you pass `client_secret`\nthe secret will be updated and returned via the API. This is the\nonly time you will be able to retrieve the client secret, so write it down and keep it safe.\n\nOAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are\ngenerated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.", - "operationId": "patchOAuth2Client", - "parameters": [ - { - "description": "The id of the OAuth 2.0 Client.", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/jsonPatchDocument" - } - } - }, - "description": "OAuth 2.0 Client JSON Patch Body", - "required": true, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2Client" - } - } - }, - "description": "oAuth2Client" - }, - "404": { - "$ref": "#/components/responses/errorOAuth2NotFound" - }, - "default": { - "$ref": "#/components/responses/errorOAuth2Default" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Patch OAuth 2.0 Client", - "tags": [ - "oAuth2" - ] - }, - "put": { - "description": "Replaces an existing OAuth 2.0 Client with the payload you send. If you pass `client_secret` the secret is used,\notherwise the existing secret is used.\n\nIf set, the secret is echoed in the response. It is not possible to retrieve it later on.\n\nOAuth 2.0 Clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are\ngenerated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.", - "operationId": "setOAuth2Client", - "parameters": [ - { - "description": "OAuth 2.0 Client ID", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2Client" - } - } - }, - "description": "OAuth 2.0 Client Request Body", - "required": true, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2Client" - } - } - }, - "description": "oAuth2Client" - }, - "400": { - "$ref": "#/components/responses/errorOAuth2BadRequest" - }, - "404": { - "$ref": "#/components/responses/errorOAuth2NotFound" - }, - "default": { - "$ref": "#/components/responses/errorOAuth2Default" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Set OAuth 2.0 Client", - "tags": [ - "oAuth2" - ] - } - }, - "/admin/clients/{id}/lifespans": { - "put": { - "description": "Set lifespans of different token types issued for this OAuth 2.0 client. Does not modify other fields.", - "operationId": "setOAuth2ClientLifespans", - "parameters": [ - { - "description": "OAuth 2.0 Client ID", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2ClientTokenLifespans" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2Client" - } - } - }, - "description": "oAuth2Client" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/genericError" - } - } - }, - "description": "genericError" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Set OAuth2 Client Token Lifespans", - "tags": [ - "oAuth2" - ] - } - }, - "/admin/courier/messages": { - "get": { - "description": "Lists all messages by given status and recipient.", - "operationId": "listCourierMessages", - "parameters": [ - { - "description": "Items per Page\n\nThis is the number of items per page to return.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_size", - "schema": { - "default": 250, - "format": "int64", - "maximum": 1000, - "minimum": 1, - "type": "integer" - } - }, - { - "description": "Next Page Token\n\nThe next page token.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_token", - "schema": { - "type": "string" - } - }, - { - "description": "Status filters out messages based on status.\nIf no value is provided, it doesn't take effect on filter.", - "in": "query", - "name": "status", - "schema": { - "$ref": "#/components/schemas/courierMessageStatus" - } - }, - { - "description": "Recipient filters out messages based on recipient.\nIf no value is provided, it doesn't take effect on filter.", - "in": "query", - "name": "recipient", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/listCourierMessages" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "List Messages", - "tags": [ - "courier" - ] - } - }, - "/admin/courier/messages/{id}": { - "get": { - "description": "Gets a specific messages by the given ID.", - "operationId": "getCourierMessage", - "parameters": [ - { - "description": "MessageID is the ID of the message.", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/message" - } - } - }, - "description": "message" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Get a Message", - "tags": [ - "courier" - ] - } - }, - "/admin/identities": { - "get": { - "description": "Lists all [identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model) in the system.", - "operationId": "listIdentities", - "parameters": [ - { - "description": "Deprecated Items per Page\n\nDEPRECATED: Please use `page_token` instead. This parameter will be removed in the future.\n\nThis is the number of items per page.", - "in": "query", - "name": "per_page", - "schema": { - "default": 250, - "format": "int64", - "maximum": 1000, - "minimum": 1, - "type": "integer" - } - }, - { - "description": "Deprecated Pagination Page\n\nDEPRECATED: Please use `page_token` instead. This parameter will be removed in the future.\n\nThis value is currently an integer, but it is not sequential. The value is not the page number, but a\nreference. The next page can be any number and some numbers might return an empty list.\n\nFor example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist.\nThe first page can be retrieved by omitting this parameter. Following page pointers will be returned in the\n`Link` header.", - "in": "query", - "name": "page", - "schema": { - "format": "int64", - "type": "integer" - } - }, - { - "description": "Page Size\n\nThis is the number of items per page to return. For details on pagination please head over to the\n[pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_size", - "schema": { - "default": 250, - "format": "int64", - "maximum": 500, - "minimum": 1, - "type": "integer" - } - }, - { - "description": "Next Page Token\n\nThe next page token. For details on pagination please head over to the\n[pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_token", - "schema": { - "default": "1", - "minimum": 1, - "type": "string" - } - }, - { - "description": "Read Consistency Level (preview)\n\nThe read consistency level determines the consistency guarantee for reads:\n\nstrong (slow): The read is guaranteed to return the most recent data committed at the start of the read.\neventual (very fast): The result will return data that is about 4.8 seconds old.\n\nThe default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with\n`ory patch project --replace '/previews/default_read_consistency_level=\"strong\"'`.\n\nSetting the default consistency level to `eventual` may cause regressions in the future as we add consistency\ncontrols to more APIs. Currently, the following APIs will be affected by this setting:\n\n`GET /admin/identities`\n\nThis feature is in preview and only available in Ory Network.\n ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level.\nstrong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level.\neventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.", - "in": "query", - "name": "consistency", - "schema": { - "enum": [ - "", - "strong", - "eventual" - ], - "type": "string" - }, - "x-go-enum-desc": " ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level.\nstrong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level.\neventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps." - }, - { - "description": "List of ids used to filter identities.\nIf this list is empty, then no filter will be applied.", - "in": "query", - "name": "ids", - "schema": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - { - "description": "CredentialsIdentifier is the identifier (username, email) of the credentials to look up using exact match.\nOnly one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.", - "in": "query", - "name": "credentials_identifier", - "schema": { - "type": "string" - } - }, - { - "description": "This is an EXPERIMENTAL parameter that WILL CHANGE. Do NOT rely on consistent, deterministic behavior.\nTHIS PARAMETER WILL BE REMOVED IN AN UPCOMING RELEASE WITHOUT ANY MIGRATION PATH.\n\nCredentialsIdentifierSimilar is the (partial) identifier (username, email) of the credentials to look up using similarity search.\nOnly one of CredentialsIdentifier and CredentialsIdentifierSimilar can be used.", - "in": "query", - "name": "preview_credentials_identifier_similar", - "schema": { - "type": "string" - } - }, - { - "description": "Include Credentials in Response\n\nInclude any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return\nthe initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available.", - "in": "query", - "name": "include_credential", - "schema": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - { - "description": "OrganizationID is the organization id to filter identities by.\n\nIf `ids` is set, this parameter is ignored.", - "in": "query", - "name": "organization_id", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/listIdentities" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "List Identities", - "tags": [ - "identity" - ] - }, - "patch": { - "description": "Creates multiple\n[identities](https://www.ory.sh/docs/kratos/concepts/identity-user-model).\nThis endpoint can also be used to [import\ncredentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities)\nfor instance passwords, social sign in configurations or multifactor methods.", - "operationId": "batchPatchIdentities", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/patchIdentitiesBody" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/batchPatchIdentitiesResponse" - } - } - }, - "description": "batchPatchIdentitiesResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "409": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Create multiple identities", - "tags": [ - "identity" - ] - }, - "post": { - "description": "Create an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model). This endpoint can also be used to\n[import credentials](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities)\nfor instance passwords, social sign in configurations or multifactor methods.", - "operationId": "createIdentity", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/createIdentityBody" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/identity" - } - } - }, - "description": "identity" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "409": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Create an Identity", - "tags": [ - "identity" - ] - } - }, - "/admin/identities/{id}": { - "delete": { - "description": "Calling this endpoint irrecoverably and permanently deletes the [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) given its ID. This action can not be undone.\nThis endpoint returns 204 when the identity was deleted or when the identity was not found, in which case it is\nassumed that is has been deleted already.", - "operationId": "deleteIdentity", - "parameters": [ - { - "description": "ID is the identity's ID.", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Delete an Identity", - "tags": [ - "identity" - ] - }, - "get": { - "description": "Return an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) by its ID. You can optionally\ninclude credentials (e.g. social sign in connections) in the response by using the `include_credential` query parameter.", - "operationId": "getIdentity", - "parameters": [ - { - "description": "ID must be set to the ID of identity you want to get", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Include Credentials in Response\n\nInclude any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return\nthe initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available.", - "in": "query", - "name": "include_credential", - "schema": { - "items": { - "enum": [ - "password", - "oidc", - "totp", - "lookup_secret", - "webauthn", - "code", - "passkey", - "profile", - "link_recovery", - "code_recovery" - ], - "type": "string" - }, - "type": "array" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/identity" - } - } - }, - "description": "identity" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Get an Identity", - "tags": [ - "identity" - ] - }, - "patch": { - "description": "Partially updates an [identity's](https://www.ory.sh/docs/kratos/concepts/identity-user-model) field using [JSON Patch](https://jsonpatch.com/).\nThe fields `id`, `stateChangedAt` and `credentials` can not be updated using this method.", - "operationId": "patchIdentity", - "parameters": [ - { - "description": "ID must be set to the ID of identity you want to update", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/jsonPatchDocument" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/identity" - } - } - }, - "description": "identity" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "409": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Patch an Identity", - "tags": [ - "identity" - ] - }, - "put": { - "description": "This endpoint updates an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model). The full identity\npayload (except credentials) is expected. It is possible to update the identity's credentials as well.", - "operationId": "updateIdentity", - "parameters": [ - { - "description": "ID must be set to the ID of identity you want to update", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/updateIdentityBody" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/identity" - } - } - }, - "description": "identity" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "409": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Update an Identity", - "tags": [ - "identity" - ] - } - }, - "/admin/identities/{id}/credentials/{type}": { - "delete": { - "description": "Delete an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) credential by its type.\nYou cannot delete password or code auth credentials through this API.", - "operationId": "deleteIdentityCredentials", - "parameters": [ - { - "description": "ID is the identity's ID.", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Type is the type of credentials to delete.\npassword CredentialsTypePassword\noidc CredentialsTypeOIDC\ntotp CredentialsTypeTOTP\nlookup_secret CredentialsTypeLookup\nwebauthn CredentialsTypeWebAuthn\ncode CredentialsTypeCodeAuth\npasskey CredentialsTypePasskey\nprofile CredentialsTypeProfile\nlink_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself.\ncode_recovery CredentialsTypeRecoveryCode", - "in": "path", - "name": "type", - "required": true, - "schema": { - "enum": [ - "password", - "oidc", - "totp", - "lookup_secret", - "webauthn", - "code", - "passkey", - "profile", - "link_recovery", - "code_recovery" - ], - "type": "string" - }, - "x-go-enum-desc": "password CredentialsTypePassword\noidc CredentialsTypeOIDC\ntotp CredentialsTypeTOTP\nlookup_secret CredentialsTypeLookup\nwebauthn CredentialsTypeWebAuthn\ncode CredentialsTypeCodeAuth\npasskey CredentialsTypePasskey\nprofile CredentialsTypeProfile\nlink_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself.\ncode_recovery CredentialsTypeRecoveryCode" - }, - { - "description": "Identifier is the identifier of the OIDC credential to delete.\nFind the identifier by calling the `GET /admin/identities/{id}?include_credential=oidc` endpoint.", - "in": "query", - "name": "identifier", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Delete a credential for a specific identity", - "tags": [ - "identity" - ] - } - }, - "/admin/identities/{id}/sessions": { - "delete": { - "description": "Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.", - "operationId": "deleteIdentitySessions", - "parameters": [ - { - "description": "ID is the identity's ID.", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Delete \u0026 Invalidate an Identity's Sessions", - "tags": [ - "identity" - ] - }, - "get": { - "description": "This endpoint returns all sessions that belong to the given Identity.", - "operationId": "listIdentitySessions", - "parameters": [ - { - "description": "Deprecated Items per Page\n\nDEPRECATED: Please use `page_token` instead. This parameter will be removed in the future.\n\nThis is the number of items per page.", - "in": "query", - "name": "per_page", - "schema": { - "default": 250, - "format": "int64", - "maximum": 1000, - "minimum": 1, - "type": "integer" - } - }, - { - "description": "Deprecated Pagination Page\n\nDEPRECATED: Please use `page_token` instead. This parameter will be removed in the future.\n\nThis value is currently an integer, but it is not sequential. The value is not the page number, but a\nreference. The next page can be any number and some numbers might return an empty list.\n\nFor example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist.\nThe first page can be retrieved by omitting this parameter. Following page pointers will be returned in the\n`Link` header.", - "in": "query", - "name": "page", - "schema": { - "format": "int64", - "type": "integer" - } - }, - { - "description": "Page Size\n\nThis is the number of items per page to return. For details on pagination please head over to the\n[pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_size", - "schema": { - "default": 250, - "format": "int64", - "maximum": 500, - "minimum": 1, - "type": "integer" - } - }, - { - "description": "Next Page Token\n\nThe next page token. For details on pagination please head over to the\n[pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_token", - "schema": { - "default": "1", - "minimum": 1, - "type": "string" - } - }, - { - "description": "ID is the identity's ID.", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned.", - "in": "query", - "name": "active", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/listIdentitySessions" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "List an Identity's Sessions", - "tags": [ - "identity" - ] - } - }, - "/admin/keys/{set}": { - "delete": { - "description": "Use this endpoint to delete a complete JSON Web Key Set and all the keys in that set.\n\nA JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.", - "operationId": "deleteJsonWebKeySet", - "parameters": [ - { - "description": "The JSON Web Key Set", - "in": "path", - "name": "set", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Delete JSON Web Key Set", - "tags": [ - "jwk" - ] - }, - "get": { - "description": "This endpoint can be used to retrieve JWK Sets stored in ORY Hydra.\n\nA JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.", - "operationId": "getJsonWebKeySet", - "parameters": [ - { - "description": "JSON Web Key Set ID", - "in": "path", - "name": "set", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/jsonWebKeySet" - } - } - }, - "description": "jsonWebKeySet" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Retrieve a JSON Web Key Set", - "tags": [ - "jwk" - ] - }, - "post": { - "description": "This endpoint is capable of generating JSON Web Key Sets for you. There a different strategies available, such as symmetric cryptographic keys (HS256, HS512) and asymetric cryptographic keys (RS256, ECDSA). If the specified JSON Web Key Set does not exist, it will be created.\n\nA JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.", - "operationId": "createJsonWebKeySet", - "parameters": [ - { - "description": "The JSON Web Key Set ID", - "in": "path", - "name": "set", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/createJsonWebKeySet" - } - } - }, - "required": true, - "x-originalParamName": "Body" - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/jsonWebKeySet" - } - } - }, - "description": "jsonWebKeySet" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Create JSON Web Key", - "tags": [ - "jwk" - ] - }, - "put": { - "description": "Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own.\n\nA JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.", - "operationId": "setJsonWebKeySet", - "parameters": [ - { - "description": "The JSON Web Key Set ID", - "in": "path", - "name": "set", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/jsonWebKeySet" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/jsonWebKeySet" - } - } - }, - "description": "jsonWebKeySet" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Update a JSON Web Key Set", - "tags": [ - "jwk" - ] - } - }, - "/admin/keys/{set}/{kid}": { - "delete": { - "description": "Use this endpoint to delete a single JSON Web Key.\n\nA JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A\nJWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses\nthis functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens),\nand allows storing user-defined keys as well.", - "operationId": "deleteJsonWebKey", - "parameters": [ - { - "description": "The JSON Web Key Set", - "in": "path", - "name": "set", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "The JSON Web Key ID (kid)", - "in": "path", - "name": "kid", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Delete JSON Web Key", - "tags": [ - "jwk" - ] - }, - "get": { - "description": "This endpoint returns a singular JSON Web Key contained in a set. It is identified by the set and the specific key ID (kid).", - "operationId": "getJsonWebKey", - "parameters": [ - { - "description": "JSON Web Key Set ID", - "in": "path", - "name": "set", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "JSON Web Key ID", - "in": "path", - "name": "kid", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/jsonWebKeySet" - } - } - }, - "description": "jsonWebKeySet" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Get JSON Web Key", - "tags": [ - "jwk" - ] - }, - "put": { - "description": "Use this method if you do not want to let Hydra generate the JWKs for you, but instead save your own.\n\nA JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. A JWK Set is a JSON data structure that represents a set of JWKs. A JSON Web Key is identified by its set and key id. ORY Hydra uses this functionality to store cryptographic keys used for TLS and JSON Web Tokens (such as OpenID Connect ID tokens), and allows storing user-defined keys as well.", - "operationId": "setJsonWebKey", - "parameters": [ - { - "description": "The JSON Web Key Set ID", - "in": "path", - "name": "set", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "JSON Web Key ID", - "in": "path", - "name": "kid", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/jsonWebKey" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/jsonWebKey" - } - } - }, - "description": "jsonWebKey" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Set JSON Web Key", - "tags": [ - "jwk" - ] - } - }, - "/admin/oauth2/auth/requests/consent": { - "get": { - "description": "When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider\nto authenticate the subject and then tell Ory now about it. If the subject authenticated, he/she must now be asked if\nthe OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf.\n\nThe consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent\nprovider uses that challenge to fetch information on the OAuth2 request and then tells Ory if the subject accepted\nor rejected the request.\n\nThe default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please\nhead over to the OAuth 2.0 documentation.", - "operationId": "getOAuth2ConsentRequest", - "parameters": [ - { - "description": "OAuth 2.0 Consent Request Challenge", - "in": "query", - "name": "consent_challenge", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2ConsentRequest" - } - } - }, - "description": "oAuth2ConsentRequest" - }, - "410": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2RedirectTo" - } - } - }, - "description": "oAuth2RedirectTo" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Get OAuth 2.0 Consent Request", - "tags": [ - "oAuth2" - ] - } - }, - "/admin/oauth2/auth/requests/consent/accept": { - "put": { - "description": "When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider\nto authenticate the subject and then tell Ory now about it. If the subject authenticated, he/she must now be asked if\nthe OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf.\n\nThe consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent\nprovider uses that challenge to fetch information on the OAuth2 request and then tells Ory if the subject accepted\nor rejected the request.\n\nThis endpoint tells Ory that the subject has authorized the OAuth 2.0 client to access resources on his/her behalf.\nThe consent provider includes additional information, such as session data for access and ID tokens, and if the\nconsent request should be used as basis for future requests.\n\nThe response contains a redirect URL which the consent provider should redirect the user-agent to.\n\nThe default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please\nhead over to the OAuth 2.0 documentation.", - "operationId": "acceptOAuth2ConsentRequest", - "parameters": [ - { - "description": "OAuth 2.0 Consent Request Challenge", - "in": "query", - "name": "consent_challenge", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/acceptOAuth2ConsentRequest" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2RedirectTo" - } - } - }, - "description": "oAuth2RedirectTo" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Accept OAuth 2.0 Consent Request", - "tags": [ - "oAuth2" - ] - } - }, - "/admin/oauth2/auth/requests/consent/reject": { - "put": { - "description": "When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider\nto authenticate the subject and then tell Ory now about it. If the subject authenticated, he/she must now be asked if\nthe OAuth 2.0 Client which initiated the flow should be allowed to access the resources on the subject's behalf.\n\nThe consent challenge is appended to the consent provider's URL to which the subject's user-agent (browser) is redirected to. The consent\nprovider uses that challenge to fetch information on the OAuth2 request and then tells Ory if the subject accepted\nor rejected the request.\n\nThis endpoint tells Ory that the subject has not authorized the OAuth 2.0 client to access resources on his/her behalf.\nThe consent provider must include a reason why the consent was not granted.\n\nThe response contains a redirect URL which the consent provider should redirect the user-agent to.\n\nThe default consent provider is available via the Ory Managed Account Experience. To customize the consent provider, please\nhead over to the OAuth 2.0 documentation.", - "operationId": "rejectOAuth2ConsentRequest", - "parameters": [ - { - "description": "OAuth 2.0 Consent Request Challenge", - "in": "query", - "name": "consent_challenge", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/rejectOAuth2Request" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2RedirectTo" - } - } - }, - "description": "oAuth2RedirectTo" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Reject OAuth 2.0 Consent Request", - "tags": [ - "oAuth2" - ] - } - }, - "/admin/oauth2/auth/requests/login": { - "get": { - "description": "When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider\nto authenticate the subject and then tell the Ory OAuth2 Service about it.\n\nPer default, the login provider is Ory itself. You may use a different login provider which needs to be a web-app\nyou write and host, and it must be able to authenticate (\"show the subject a login screen\")\na subject (in OAuth2 the proper name for subject is \"resource owner\").\n\nThe authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login\nprovider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.", - "operationId": "getOAuth2LoginRequest", - "parameters": [ - { - "description": "OAuth 2.0 Login Request Challenge", - "in": "query", - "name": "login_challenge", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2LoginRequest" - } - } - }, - "description": "oAuth2LoginRequest" - }, - "410": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2RedirectTo" - } - } - }, - "description": "oAuth2RedirectTo" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Get OAuth 2.0 Login Request", - "tags": [ - "oAuth2" - ] - } - }, - "/admin/oauth2/auth/requests/login/accept": { - "put": { - "description": "When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider\nto authenticate the subject and then tell the Ory OAuth2 Service about it.\n\nThe authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login\nprovider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.\n\nThis endpoint tells Ory that the subject has successfully authenticated and includes additional information such as\nthe subject's ID and if Ory should remember the subject's subject agent for future authentication attempts by setting\na cookie.\n\nThe response contains a redirect URL which the login provider should redirect the user-agent to.", - "operationId": "acceptOAuth2LoginRequest", - "parameters": [ - { - "description": "OAuth 2.0 Login Request Challenge", - "in": "query", - "name": "login_challenge", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/acceptOAuth2LoginRequest" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2RedirectTo" - } - } - }, - "description": "oAuth2RedirectTo" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Accept OAuth 2.0 Login Request", - "tags": [ - "oAuth2" - ] - } - }, - "/admin/oauth2/auth/requests/login/reject": { - "put": { - "description": "When an authorization code, hybrid, or implicit OAuth 2.0 Flow is initiated, Ory asks the login provider\nto authenticate the subject and then tell the Ory OAuth2 Service about it.\n\nThe authentication challenge is appended to the login provider URL to which the subject's user-agent (browser) is redirected to. The login\nprovider uses that challenge to fetch information on the OAuth2 request and then accept or reject the requested authentication process.\n\nThis endpoint tells Ory that the subject has not authenticated and includes a reason why the authentication\nwas denied.\n\nThe response contains a redirect URL which the login provider should redirect the user-agent to.", - "operationId": "rejectOAuth2LoginRequest", - "parameters": [ - { - "description": "OAuth 2.0 Login Request Challenge", - "in": "query", - "name": "login_challenge", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/rejectOAuth2Request" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2RedirectTo" - } - } - }, - "description": "oAuth2RedirectTo" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Reject OAuth 2.0 Login Request", - "tags": [ - "oAuth2" - ] - } - }, - "/admin/oauth2/auth/requests/logout": { - "get": { - "description": "Use this endpoint to fetch an Ory OAuth 2.0 logout request.", - "operationId": "getOAuth2LogoutRequest", - "parameters": [ - { - "in": "query", - "name": "logout_challenge", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2LogoutRequest" - } - } - }, - "description": "oAuth2LogoutRequest" - }, - "410": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2RedirectTo" - } - } - }, - "description": "oAuth2RedirectTo" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Get OAuth 2.0 Session Logout Request", - "tags": [ - "oAuth2" - ] - } - }, - "/admin/oauth2/auth/requests/logout/accept": { - "put": { - "description": "When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, this endpoint is used to confirm that logout request.\n\nThe response contains a redirect URL which the consent provider should redirect the user-agent to.", - "operationId": "acceptOAuth2LogoutRequest", - "parameters": [ - { - "description": "OAuth 2.0 Logout Request Challenge", - "in": "query", - "name": "logout_challenge", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2RedirectTo" - } - } - }, - "description": "oAuth2RedirectTo" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Accept OAuth 2.0 Session Logout Request", - "tags": [ - "oAuth2" - ] - } - }, - "/admin/oauth2/auth/requests/logout/reject": { - "put": { - "description": "When a user or an application requests Ory OAuth 2.0 to remove the session state of a subject, this endpoint is used to deny that logout request.\nNo HTTP request body is required.\n\nThe response is empty as the logout provider has to chose what action to perform next.", - "operationId": "rejectOAuth2LogoutRequest", - "parameters": [ - { - "in": "query", - "name": "logout_challenge", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Reject OAuth 2.0 Session Logout Request", - "tags": [ - "oAuth2" - ] - } - }, - "/admin/oauth2/auth/sessions/consent": { - "delete": { - "description": "This endpoint revokes a subject's granted consent sessions and invalidates all\nassociated OAuth 2.0 Access Tokens. You may also only revoke sessions for a specific OAuth 2.0 Client ID.", - "operationId": "revokeOAuth2ConsentSessions", - "parameters": [ - { - "description": "OAuth 2.0 Consent Subject\n\nThe subject whose consent sessions should be deleted.", - "in": "query", - "name": "subject", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "OAuth 2.0 Client ID\n\nIf set, deletes only those consent sessions that have been granted to the specified OAuth 2.0 Client ID.", - "in": "query", - "name": "client", - "schema": { - "type": "string" - } - }, - { - "description": "Revoke All Consent Sessions\n\nIf set to `true` deletes all consent sessions by the Subject that have been granted.", - "in": "query", - "name": "all", - "schema": { - "type": "boolean" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Revoke OAuth 2.0 Consent Sessions of a Subject", - "tags": [ - "oAuth2" - ] - }, - "get": { - "description": "This endpoint lists all subject's granted consent sessions, including client and granted scope.\nIf the subject is unknown or has not granted any consent sessions yet, the endpoint returns an\nempty JSON array with status code 200 OK.", - "operationId": "listOAuth2ConsentSessions", - "parameters": [ - { - "description": "Items per Page\n\nThis is the number of items per page to return.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_size", - "schema": { - "default": 250, - "format": "int64", - "maximum": 500, - "minimum": 1, - "type": "integer" - } - }, - { - "description": "Next Page Token\n\nThe next page token.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_token", - "schema": { - "default": "1", - "minimum": 1, - "type": "string" - } - }, - { - "description": "The subject to list the consent sessions for.", - "in": "query", - "name": "subject", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "The login session id to list the consent sessions for.", - "in": "query", - "name": "login_session_id", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2ConsentSessions" - } - } - }, - "description": "oAuth2ConsentSessions" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "List OAuth 2.0 Consent Sessions of a Subject", - "tags": [ - "oAuth2" - ] - } - }, - "/admin/oauth2/auth/sessions/login": { - "delete": { - "description": "This endpoint invalidates authentication sessions. After revoking the authentication session(s), the subject\nhas to re-authenticate at the Ory OAuth2 Provider. This endpoint does not invalidate any tokens.\n\nIf you send the subject in a query param, all authentication sessions that belong to that subject are revoked.\nNo OpenID Connect Front- or Back-channel logout is performed in this case.\n\nAlternatively, you can send a SessionID via `sid` query param, in which case, only the session that is connected\nto that SessionID is revoked. OpenID Connect Back-channel logout is performed in this case.", - "operationId": "revokeOAuth2LoginSessions", - "parameters": [ - { - "description": "OAuth 2.0 Subject\n\nThe subject to revoke authentication sessions for.", - "in": "query", - "name": "subject", - "schema": { - "type": "string" - } - }, - { - "description": "Login Session ID\n\nThe login session to revoke.", - "in": "query", - "name": "sid", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Revokes OAuth 2.0 Login Sessions by either a Subject or a SessionID", - "tags": [ - "oAuth2" - ] - } - }, - "/admin/oauth2/introspect": { - "post": { - "description": "The introspection endpoint allows to check if a token (both refresh and access) is active or not. An active token\nis neither expired nor revoked. If a token is active, additional information on the token will be included. You can\nset additional data for a token by setting `session.access_token` during the consent flow.", - "operationId": "introspectOAuth2Token", - "requestBody": { - "content": { - "application/x-www-form-urlencoded": { - "schema": { - "properties": { - "scope": { - "description": "An optional, space separated list of required scopes. If the access token was not granted one of the\nscopes, the result of active will be false.", - "type": "string", - "x-formData-name": "scope" - }, - "token": { - "description": "The string value of the token. For access tokens, this\nis the \"access_token\" value returned from the token endpoint\ndefined in OAuth 2.0. For refresh tokens, this is the \"refresh_token\"\nvalue returned.", - "required": [ - "token" - ], - "type": "string", - "x-formData-name": "token" - } - }, - "required": [ - "token" - ], - "type": "object" - } - } - } - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/introspectedOAuth2Token" - } - } - }, - "description": "introspectedOAuth2Token" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Introspect OAuth2 Access and Refresh Tokens", - "tags": [ - "oAuth2" - ] - } - }, - "/admin/oauth2/tokens": { - "delete": { - "description": "This endpoint deletes OAuth2 access tokens issued to an OAuth 2.0 Client from the database.", - "operationId": "deleteOAuth2Token", - "parameters": [ - { - "description": "OAuth 2.0 Client ID", - "in": "query", - "name": "client_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Delete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client", - "tags": [ - "oAuth2" - ] - } - }, - "/admin/recovery/code": { - "post": { - "description": "This endpoint creates a recovery code which should be given to the user in order for them to recover\n(or activate) their account.", - "operationId": "createRecoveryCodeForIdentity", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/createRecoveryCodeForIdentityBody" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/recoveryCodeForIdentity" - } - } - }, - "description": "recoveryCodeForIdentity" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Create a Recovery Code", - "tags": [ - "identity" - ] - } - }, - "/admin/recovery/link": { - "post": { - "description": "This endpoint creates a recovery link which should be given to the user in order for them to recover\n(or activate) their account.", - "operationId": "createRecoveryLinkForIdentity", - "parameters": [ - { - "in": "query", - "name": "return_to", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/createRecoveryLinkForIdentityBody" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/recoveryLinkForIdentity" - } - } - }, - "description": "recoveryLinkForIdentity" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Create a Recovery Link", - "tags": [ - "identity" - ] - } - }, - "/admin/relation-tuples": { - "delete": { - "description": "Use this endpoint to delete relationships", - "operationId": "deleteRelationships", - "parameters": [ - { - "description": "Namespace of the Relationship", - "in": "query", - "name": "namespace", - "schema": { - "type": "string" - } - }, - { - "description": "Object of the Relationship", - "in": "query", - "name": "object", - "schema": { - "type": "string" - } - }, - { - "description": "Relation of the Relationship", - "in": "query", - "name": "relation", - "schema": { - "type": "string" - } - }, - { - "description": "SubjectID of the Relationship", - "in": "query", - "name": "subject_id", - "schema": { - "type": "string" - } - }, - { - "description": "Namespace of the Subject Set", - "in": "query", - "name": "subject_set.namespace", - "schema": { - "type": "string" - } - }, - { - "description": "Object of the Subject Set", - "in": "query", - "name": "subject_set.object", - "schema": { - "type": "string" - } - }, - { - "description": "Relation of the Subject Set", - "in": "query", - "name": "subject_set.relation", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Delete Relationships", - "tags": [ - "relationship" - ] - }, - "patch": { - "description": "Use this endpoint to patch one or more relationships.", - "operationId": "patchRelationships", - "requestBody": { - "content": { - "application/json": { - "schema": { - "items": { - "$ref": "#/components/schemas/relationshipPatch" - }, - "type": "array" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Patch Multiple Relationships", - "tags": [ - "relationship" - ] - }, - "put": { - "description": "Use this endpoint to create a relationship.", - "operationId": "createRelationship", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/createRelationshipBody" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/relationship" - } - } - }, - "description": "relationship" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Create a Relationship", - "tags": [ - "relationship" - ] - } - }, - "/admin/sessions": { - "get": { - "description": "Listing all sessions that exist.", - "operationId": "listSessions", - "parameters": [ - { - "description": "Items per Page\n\nThis is the number of items per page to return.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_size", - "schema": { - "default": 250, - "format": "int64", - "maximum": 1000, - "minimum": 1, - "type": "integer" - } - }, - { - "description": "Next Page Token\n\nThe next page token.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_token", - "schema": { - "type": "string" - } - }, - { - "description": "Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned.", - "in": "query", - "name": "active", - "schema": { - "type": "boolean" - } - }, - { - "description": "ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session.\nIf no value is provided, the expandable properties are skipped.", - "in": "query", - "name": "expand", - "schema": { - "items": { - "enum": [ - "identity", - "devices" - ], - "type": "string" - }, - "type": "array" - } - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/listSessions" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "List All Sessions", - "tags": [ - "identity" - ] - } - }, - "/admin/sessions/{id}": { - "delete": { - "description": "Calling this endpoint deactivates the specified session. Session data is not deleted.", - "operationId": "disableSession", - "parameters": [ - { - "description": "ID is the session's ID.", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Deactivate a Session", - "tags": [ - "identity" - ] - }, - "get": { - "description": "This endpoint is useful for:\n\nGetting a session object with all specified expandables that exist in an administrative context.", - "operationId": "getSession", - "parameters": [ - { - "description": "ExpandOptions is a query parameter encoded list of all properties that must be expanded in the Session.\nExample - ?expand=Identity\u0026expand=Devices\nIf no value is provided, the expandable properties are skipped.", - "in": "query", - "name": "expand", - "schema": { - "items": { - "enum": [ - "identity", - "devices" - ], - "type": "string" - }, - "type": "array" - } - }, - { - "description": "ID is the session's ID.", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/session" - } - } - }, - "description": "session" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Get Session", - "tags": [ - "identity" - ] - } - }, - "/admin/sessions/{id}/extend": { - "patch": { - "description": "Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it\nwill only extend the session after the specified time has passed.\n\nThis endpoint returns per default a 204 No Content response on success. Older Ory Network projects may\nreturn a 200 OK response with the session in the body. Returning the session as part of the response\nwill be deprecated in the future and should not be relied upon.\n\nThis endpoint ignores consecutive requests to extend the same session and returns a 404 error in those\nscenarios. This endpoint also returns 404 errors if the session does not exist.\n\nRetrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method.", - "operationId": "extendSession", - "parameters": [ - { - "description": "ID is the session's ID.", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/session" - } - } - }, - "description": "session" - }, - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Extend a Session", - "tags": [ - "identity" - ] - } - }, - "/admin/trust/grants/jwt-bearer/issuers": { - "get": { - "description": "Use this endpoint to list all trusted JWT Bearer Grant Type Issuers.", - "operationId": "listTrustedOAuth2JwtGrantIssuers", - "parameters": [ - { - "in": "query", - "name": "MaxItems", - "schema": { - "format": "int64", - "type": "integer" - } - }, - { - "in": "query", - "name": "DefaultItems", - "schema": { - "format": "int64", - "type": "integer" - } - }, - { - "description": "If optional \"issuer\" is supplied, only jwt-bearer grants with this issuer will be returned.", - "in": "query", - "name": "issuer", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/trustedOAuth2JwtGrantIssuers" - } - } - }, - "description": "trustedOAuth2JwtGrantIssuers" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/genericError" - } - } - }, - "description": "genericError" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "List Trusted OAuth2 JWT Bearer Grant Type Issuers", - "tags": [ - "oAuth2" - ] - }, - "post": { - "description": "Use this endpoint to establish a trust relationship for a JWT issuer\nto perform JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication\nand Authorization Grants [RFC7523](https://datatracker.ietf.org/doc/html/rfc7523).", - "operationId": "trustOAuth2JwtGrantIssuer", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/trustOAuth2JwtGrantIssuer" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/trustedOAuth2JwtGrantIssuer" - } - } - }, - "description": "trustedOAuth2JwtGrantIssuer" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/genericError" - } - } - }, - "description": "genericError" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Trust OAuth2 JWT Bearer Grant Type Issuer", - "tags": [ - "oAuth2" - ] - } - }, - "/admin/trust/grants/jwt-bearer/issuers/{id}": { - "delete": { - "description": "Use this endpoint to delete trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you\ncreated the trust relationship.\n\nOnce deleted, the associated issuer will no longer be able to perform the JSON Web Token (JWT) Profile\nfor OAuth 2.0 Client Authentication and Authorization Grant.", - "operationId": "deleteTrustedOAuth2JwtGrantIssuer", - "parameters": [ - { - "description": "The id of the desired grant", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/genericError" - } - } - }, - "description": "genericError" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Delete Trusted OAuth2 JWT Bearer Grant Type Issuer", - "tags": [ - "oAuth2" - ] - }, - "get": { - "description": "Use this endpoint to get a trusted JWT Bearer Grant Type Issuer. The ID is the one returned when you\ncreated the trust relationship.", - "operationId": "getTrustedOAuth2JwtGrantIssuer", - "parameters": [ - { - "description": "The id of the desired grant", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/trustedOAuth2JwtGrantIssuer" - } - } - }, - "description": "trustedOAuth2JwtGrantIssuer" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/genericError" - } - } - }, - "description": "genericError" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Get Trusted OAuth2 JWT Bearer Grant Type Issuer", - "tags": [ - "oAuth2" - ] - } - }, - "/credentials": { - "post": { - "description": "This endpoint creates a verifiable credential that attests that the user\nauthenticated with the provided access token owns a certain public/private key\npair.\n\nMore information can be found at\nhttps://openid.net/specs/openid-connect-userinfo-vc-1_0.html.", - "operationId": "createVerifiableCredential", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateVerifiableCredentialRequestBody" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/verifiableCredentialResponse" - } - } - }, - "description": "verifiableCredentialResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/verifiableCredentialPrimingResponse" - } - } - }, - "description": "verifiableCredentialPrimingResponse" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "summary": "Issues a Verifiable Credential", - "tags": [ - "oidc" - ] - } - }, - "/namespaces": { - "get": { - "description": "Get all namespaces", - "operationId": "listRelationshipNamespaces", - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/relationshipNamespaces" - } - } - }, - "description": "relationshipNamespaces" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Query namespaces", - "tags": [ - "relationship" - ] - } - }, - "/oauth2/auth": { - "get": { - "description": "Use open source libraries to perform OAuth 2.0 and OpenID Connect\navailable for any programming language. You can find a list of libraries at https://oauth.net/code/\n\nThis endpoint should not be used via the Ory SDK and is only included for technical reasons.\nInstead, use one of the libraries linked above.", - "operationId": "oAuth2Authorize", - "responses": { - "302": { - "$ref": "#/components/responses/emptyResponse" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "summary": "OAuth 2.0 Authorize Endpoint", - "tags": [ - "oAuth2" - ] - } - }, - "/oauth2/register": { - "post": { - "description": "This endpoint behaves like the administrative counterpart (`createOAuth2Client`) but is capable of facing the\npublic internet directly and can be used in self-service. It implements the OpenID Connect\nDynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint\nis disabled by default. It can be enabled by an administrator.\n\nPlease note that using this endpoint you are not able to choose the `client_secret` nor the `client_id` as those\nvalues will be server generated when specifying `token_endpoint_auth_method` as `client_secret_basic` or\n`client_secret_post`.\n\nThe `client_secret` will be returned in the response and you will not be able to retrieve it later on.\nWrite the secret down and keep it somewhere safe.", - "operationId": "createOidcDynamicClient", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2Client" - } - } - }, - "description": "Dynamic Client Registration Request Body", - "required": true, - "x-originalParamName": "Body" - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2Client" - } - } - }, - "description": "oAuth2Client" - }, - "400": { - "$ref": "#/components/responses/errorOAuth2BadRequest" - }, - "default": { - "$ref": "#/components/responses/errorOAuth2Default" - } - }, - "summary": "Register OAuth2 Client using OpenID Dynamic Client Registration", - "tags": [ - "oidc" - ] - } - }, - "/oauth2/register/{id}": { - "delete": { - "description": "This endpoint behaves like the administrative counterpart (`deleteOAuth2Client`) but is capable of facing the\npublic internet directly and can be used in self-service. It implements the OpenID Connect\nDynamic Client Registration Protocol. This feature needs to be enabled in the configuration. This endpoint\nis disabled by default. It can be enabled by an administrator.\n\nTo use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client\nuses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query.\nIf it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header.\n\nOAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are\ngenerated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.", - "operationId": "deleteOidcDynamicClient", - "parameters": [ - { - "description": "The id of the OAuth 2.0 Client.", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/genericError" - } - } - }, - "description": "genericError" - } - }, - "security": [ - { - "bearer": [] - } - ], - "summary": "Delete OAuth 2.0 Client using the OpenID Dynamic Client Registration Management Protocol", - "tags": [ - "oidc" - ] - }, - "get": { - "description": "This endpoint behaves like the administrative counterpart (`getOAuth2Client`) but is capable of facing the\npublic internet directly and can be used in self-service. It implements the OpenID Connect\nDynamic Client Registration Protocol.\n\nTo use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client\nuses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query.\nIf it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header.", - "operationId": "getOidcDynamicClient", - "parameters": [ - { - "description": "The id of the OAuth 2.0 Client.", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2Client" - } - } - }, - "description": "oAuth2Client" - }, - "default": { - "$ref": "#/components/responses/errorOAuth2Default" - } - }, - "security": [ - { - "bearer": [] - } - ], - "summary": "Get OAuth2 Client using OpenID Dynamic Client Registration", - "tags": [ - "oidc" - ] - }, - "put": { - "description": "This endpoint behaves like the administrative counterpart (`setOAuth2Client`) but is capable of facing the\npublic internet directly to be used by third parties. It implements the OpenID Connect\nDynamic Client Registration Protocol.\n\nThis feature is disabled per default. It can be enabled by a system administrator.\n\nIf you pass `client_secret` the secret is used, otherwise the existing secret is used. If set, the secret is echoed in the response.\nIt is not possible to retrieve it later on.\n\nTo use this endpoint, you will need to present the client's authentication credentials. If the OAuth2 Client\nuses the Token Endpoint Authentication Method `client_secret_post`, you need to present the client secret in the URL query.\nIf it uses `client_secret_basic`, present the Client ID and the Client Secret in the Authorization header.\n\nOAuth 2.0 clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are\ngenerated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.", - "operationId": "setOidcDynamicClient", - "parameters": [ - { - "description": "OAuth 2.0 Client ID", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2Client" - } - } - }, - "description": "OAuth 2.0 Client Request Body", - "required": true, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2Client" - } - } - }, - "description": "oAuth2Client" - }, - "404": { - "$ref": "#/components/responses/errorOAuth2NotFound" - }, - "default": { - "$ref": "#/components/responses/errorOAuth2Default" - } - }, - "security": [ - { - "bearer": [] - } - ], - "summary": "Set OAuth2 Client using OpenID Dynamic Client Registration", - "tags": [ - "oidc" - ] - } - }, - "/oauth2/revoke": { - "post": { - "description": "Revoking a token (both access and refresh) means that the tokens will be invalid. A revoked access token can no\nlonger be used to make access requests, and a revoked refresh token can no longer be used to refresh an access token.\nRevoking a refresh token also invalidates the access token that was created with it. A token may only be revoked by\nthe client the token was generated for.", - "operationId": "revokeOAuth2Token", - "requestBody": { - "content": { - "application/x-www-form-urlencoded": { - "schema": { - "properties": { - "client_id": { - "type": "string", - "x-formData-name": "client_id" - }, - "client_secret": { - "type": "string", - "x-formData-name": "client_secret" - }, - "token": { - "required": [ - "token" - ], - "type": "string", - "x-formData-name": "token" - } - }, - "required": [ - "token" - ], - "type": "object" - } - } - } - }, - "responses": { - "200": { - "$ref": "#/components/responses/emptyResponse" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "basic": [] - }, - { - "oauth2": [] - } - ], - "summary": "Revoke OAuth 2.0 Access or Refresh Token", - "tags": [ - "oAuth2" - ] - } - }, - "/oauth2/sessions/logout": { - "get": { - "description": "This endpoint initiates and completes user logout at the Ory OAuth2 \u0026 OpenID provider and initiates OpenID Connect Front- / Back-channel logout:\n\nhttps://openid.net/specs/openid-connect-frontchannel-1_0.html\nhttps://openid.net/specs/openid-connect-backchannel-1_0.html\n\nBack-channel logout is performed asynchronously and does not affect logout flow.", - "operationId": "revokeOidcSession", - "responses": { - "302": { - "$ref": "#/components/responses/emptyResponse" - } - }, - "summary": "OpenID Connect Front- and Back-channel Enabled Logout", - "tags": [ - "oidc" - ] - } - }, - "/oauth2/token": { - "post": { - "description": "Use open source libraries to perform OAuth 2.0 and OpenID Connect\navailable for any programming language. You can find a list of libraries here https://oauth.net/code/\n\nThis endpoint should not be used via the Ory SDK and is only included for technical reasons.\nInstead, use one of the libraries linked above.", - "operationId": "oauth2TokenExchange", - "requestBody": { - "content": { - "application/x-www-form-urlencoded": { - "schema": { - "properties": { - "client_id": { - "type": "string", - "x-formData-name": "client_id" - }, - "code": { - "type": "string", - "x-formData-name": "code" - }, - "grant_type": { - "required": [ - "grant_type" - ], - "type": "string", - "x-formData-name": "grant_type" - }, - "redirect_uri": { - "type": "string", - "x-formData-name": "redirect_uri" - }, - "refresh_token": { - "type": "string", - "x-formData-name": "refresh_token" - } - }, - "required": [ - "grant_type" - ], - "type": "object" - } - } - } - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oAuth2TokenExchange" - } - } - }, - "description": "oAuth2TokenExchange" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "basic": [] - }, - { - "oauth2": [] - } - ], - "summary": "The OAuth 2.0 Token Endpoint", - "tags": [ - "oAuth2" - ] - } - }, - "/opl/syntax/check": { - "post": { - "description": "The OPL file is expected in the body of the request.", - "operationId": "checkOplSyntax", - "requestBody": { - "content": { - "text/plain": { - "schema": { - "$ref": "#/components/schemas/checkOplSyntaxBody" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/checkOplSyntaxResult" - } - } - }, - "description": "checkOplSyntaxResult" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Check the syntax of an OPL file", - "tags": [ - "relationship" - ] - } - }, - "/projects": { - "get": { - "description": "Lists all projects you have access to.", - "operationId": "listProjects", - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/projectMetadataList" - } - } - }, - "description": "projectMetadataList" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "List All Projects", - "tags": [ - "project" - ] - }, - "post": { - "description": "Creates a new project.", - "operationId": "createProject", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/createProjectBody" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project" - } - } - }, - "description": "project" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Create a Project", - "tags": [ - "project" - ] - } - }, - "/projects/{project_id}": { - "delete": { - "description": "!! Use with extreme caution !!\n\nUsing this API endpoint you can purge (completely delete) a project and its data.\nThis action can not be undone and will delete ALL your data.\n\nCalling this endpoint will additionally delete custom domains and other related data.\n\nIf the project is linked to a subscription, the subscription needs to be unlinked first.", - "operationId": "purgeProject", - "parameters": [ - { - "description": "Project ID\n\nThe project's ID.", - "in": "path", - "name": "project_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/genericError" - } - } - }, - "description": "genericError" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/genericError" - } - } - }, - "description": "genericError" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/genericError" - } - } - }, - "description": "genericError" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/genericError" - } - } - }, - "description": "genericError" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Irrecoverably purge a project", - "tags": [ - "project" - ] - }, - "get": { - "description": "Get a projects you have access to by its ID.", - "operationId": "getProject", - "parameters": [ - { - "description": "Project ID\n\nThe project's ID.", - "in": "path", - "name": "project_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/project" - } - } - }, - "description": "project" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Get a Project", - "tags": [ - "project" - ] - }, - "patch": { - "description": "Deprecated: Use the `patchProjectWithRevision` endpoint instead to specify the exact revision the patch was generated for.\n\nThis endpoints allows you to patch individual Ory Network project configuration keys for\nOry's services (identity, permission, ...). The configuration format is fully compatible\nwith the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions).\n\nThis endpoint expects the `version` key to be set in the payload. If it is unset, it\nwill try to import the config as if it is from the most recent version.\n\nIf you have an older version of a configuration, you should set the version key in the payload!\n\nWhile this endpoint is able to process all configuration items related to features (e.g. password reset),\nit does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the\nopen source.\n\nFor configuration items that can not be translated to the Ory Network, this endpoint will return a list of warnings\nto help you understand which parts of your config could not be processed.", - "operationId": "patchProject", - "parameters": [ - { - "description": "Project ID\n\nThe project's ID.", - "in": "path", - "name": "project_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "items": { - "$ref": "#/components/schemas/jsonPatch" - }, - "type": "array" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/successfulProjectUpdate" - } - } - }, - "description": "successfulProjectUpdate" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Patch an Ory Network Project Configuration", - "tags": [ - "project" - ] - }, - "put": { - "description": "This endpoints allows you to update the Ory Network project configuration for\nindividual services (identity, permission, ...). The configuration is fully compatible\nwith the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions).\n\nThis endpoint expects the `version` key to be set in the payload. If it is unset, it\nwill try to import the config as if it is from the most recent version.\n\nIf you have an older version of a configuration, you should set the version key in the payload!\n\nWhile this endpoint is able to process all configuration items related to features (e.g. password reset),\nit does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the\nopen source.\n\nFor configuration items that can not be translated to the Ory Network, this endpoint will return a list of warnings\nto help you understand which parts of your config could not be processed.\n\nBe aware that updating any service's configuration will completely override your current configuration for that\nservice!", - "operationId": "setProject", - "parameters": [ - { - "description": "Project ID\n\nThe project's ID.", - "in": "path", - "name": "project_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/setProject" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/successfulProjectUpdate" - } - } - }, - "description": "successfulProjectUpdate" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Update an Ory Network Project Configuration", - "tags": [ - "project" - ] - } - }, - "/projects/{project_id}/eventstreams": { - "get": { - "operationId": "listEventStreams", - "parameters": [ - { - "description": "Project ID\n\nThe project's ID.", - "in": "path", - "name": "project_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/listEventStreams" - } - } - }, - "description": "listEventStreams" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "List all event streams for the project. This endpoint is not paginated.", - "tags": [ - "events" - ] - }, - "post": { - "operationId": "createEventStream", - "parameters": [ - { - "description": "Project ID\n\nThe project's ID.", - "in": "path", - "name": "project_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/createEventStreamBody" - } - } - }, - "required": true, - "x-originalParamName": "Body" - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/eventStream" - } - } - }, - "description": "eventStream" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "409": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Create an event stream for your project.", - "tags": [ - "events" - ] - } - }, - "/projects/{project_id}/eventstreams/{event_stream_id}": { - "delete": { - "description": "Remove an event stream from a project.", - "operationId": "deleteEventStream", - "parameters": [ - { - "description": "Project ID\n\nThe project's ID.", - "in": "path", - "name": "project_id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Event Stream ID\n\nThe ID of the event stream to be deleted, as returned when created.", - "in": "path", - "name": "event_stream_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "409": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Remove an event stream from a project", - "tags": [ - "events" - ] - }, - "put": { - "operationId": "setEventStream", - "parameters": [ - { - "description": "Project ID\n\nThe project's ID.", - "in": "path", - "name": "project_id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Event Stream ID\n\nThe event stream's ID.", - "in": "path", - "name": "event_stream_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/setEventStreamBody" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/eventStream" - } - } - }, - "description": "eventStream" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "409": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Update an event stream for a project.", - "tags": [ - "events" - ] - } - }, - "/projects/{project_id}/organizations": { - "get": { - "description": "Lists all Enterprise SSO organizations in a project.", - "operationId": "listOrganizations", - "parameters": [ - { - "description": "Items per Page\n\nThis is the number of items per page to return.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_size", - "schema": { - "default": 250, - "format": "int64", - "maximum": 1000, - "minimum": 1, - "type": "integer" - } - }, - { - "description": "Next Page Token\n\nThe next page token.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_token", - "schema": { - "type": "string" - } - }, - { - "description": "Project ID\n\nThe project's ID.", - "in": "path", - "name": "project_id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Domain\n\nIf set, only organizations with that domain will be returned.", - "in": "query", - "name": "domain", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/listOrganizationsResponse" - } - } - }, - "description": "listOrganizationsResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "List all Enterprise SSO organizations", - "tags": [ - "project" - ] - }, - "post": { - "description": "Creates an Enterprise SSO Organization in a project.", - "operationId": "createOrganization", - "parameters": [ - { - "description": "Project ID\n\nThe project's ID.", - "in": "path", - "name": "project_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/OrganizationBody" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/organization" - } - } - }, - "description": "organization" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "409": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Create an Enterprise SSO Organization", - "tags": [ - "project" - ] - } - }, - "/projects/{project_id}/organizations/{organization_id}": { - "delete": { - "description": "Irrecoverably deletes an Enterprise SSO Organization in a project by its ID.", - "operationId": "deleteOrganization", - "parameters": [ - { - "description": "Project ID\n\nThe project's ID.", - "in": "path", - "name": "project_id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Organization ID\n\nThe Organization's ID.", - "in": "path", - "name": "organization_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "409": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Delete Enterprise SSO Organization", - "tags": [ - "project" - ] - }, - "get": { - "description": "Retrieves an Enterprise SSO Organization for a project by its ID", - "operationId": "getOrganization", - "parameters": [ - { - "description": "Project ID\n\nThe project's ID.", - "in": "path", - "name": "project_id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Organization ID\n\nThe Organization's ID.", - "in": "path", - "name": "organization_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/getOrganizationResponse" - } - } - }, - "description": "getOrganizationResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Get Enterprise SSO Organization by ID", - "tags": [ - "project" - ] - }, - "put": { - "description": "Updates an Enterprise SSO Organization in a project by its ID.", - "operationId": "updateOrganization", - "parameters": [ - { - "description": "Project ID\n\nThe project's ID.", - "in": "path", - "name": "project_id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Organization ID\n\nThe Organization's ID.", - "in": "path", - "name": "organization_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/OrganizationBody" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/organization" - } - } - }, - "description": "organization" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "409": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Update an Enterprise SSO Organization", - "tags": [ - "project" - ] - } - }, - "/projects/{project_id}/revision/{revision_id}": { - "patch": { - "description": "This endpoints allows you to patch individual Ory Network Project configuration keys for\nOry's services (identity, permission, ...). The configuration format is fully compatible\nwith the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions).\n\nThis endpoint expects the `version` key to be set in the payload. If it is unset, it\nwill try to import the config as if it is from the most recent version.\n\nIf you have an older version of a configuration, you should set the version key in the payload!\n\nWhile this endpoint is able to process all configuration items related to features (e.g. password reset),\nit does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the\nopen source.\n\nFor configuration items that can not be translated to the Ory Network, this endpoint will return a list of warnings\nto help you understand which parts of your config could not be processed.", - "operationId": "patchProjectWithRevision", - "parameters": [ - { - "description": "Project ID\n\nThe project's ID.", - "in": "path", - "name": "project_id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Revision ID\n\nThe revision ID that this patch was generated for.", - "in": "path", - "name": "revision_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "items": { - "$ref": "#/components/schemas/jsonPatch" - }, - "type": "array" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/successfulProjectUpdate" - } - } - }, - "description": "successfulProjectUpdate" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Patch an Ory Network Project Configuration based on a revision ID", - "tags": [ - "project" - ] - } - }, - "/projects/{project}/members": { - "get": { - "description": "This endpoint requires the user to be a member of the project with the role `OWNER` or `DEVELOPER`.", - "operationId": "getProjectMembers", - "parameters": [ - { - "in": "path", - "name": "project", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/projectMembers" - } - } - }, - "description": "projectMembers" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/genericError" - } - } - }, - "description": "genericError" - }, - "406": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/genericError" - } - } - }, - "description": "genericError" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/genericError" - } - } - }, - "description": "genericError" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Get all members associated with this project", - "tags": [ - "project" - ] - } - }, - "/projects/{project}/members/{member}": { - "delete": { - "description": "This also sets their invite status to `REMOVED`.\nThis endpoint requires the user to be a member of the project with the role `OWNER`.", - "operationId": "removeProjectMember", - "parameters": [ - { - "in": "path", - "name": "project", - "required": true, - "schema": { - "type": "string" - } - }, - { - "in": "path", - "name": "member", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/genericError" - } - } - }, - "description": "genericError" - }, - "406": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/genericError" - } - } - }, - "description": "genericError" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/genericError" - } - } - }, - "description": "genericError" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Remove a member associated with this project", - "tags": [ - "project" - ] - } - }, - "/projects/{project}/tokens": { - "get": { - "description": "A list of all the project's API keys.", - "operationId": "listProjectApiKeys", - "parameters": [ - { - "description": "The Project ID or Project slug", - "in": "path", - "name": "project", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/projectApiKeys" - } - } - }, - "description": "projectApiKeys" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "List a project's API keys", - "tags": [ - "project" - ] - }, - "post": { - "description": "Create an API key for a project.", - "operationId": "createProjectApiKey", - "parameters": [ - { - "description": "The Project ID or Project slug", - "in": "path", - "name": "project", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "expires_at": { - "$ref": "#/components/schemas/Time" - }, - "name": { - "description": "The Token Name\n\nA descriptive name for the token.\n\nin: body", - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/projectApiKey" - } - } - }, - "description": "projectApiKey" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Create project API key", - "tags": [ - "project" - ] - } - }, - "/projects/{project}/tokens/{token_id}": { - "delete": { - "description": "Deletes an API key and immediately removes it.", - "operationId": "deleteProjectApiKey", - "parameters": [ - { - "description": "The Project ID or Project slug", - "in": "path", - "name": "project", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "The Token ID", - "in": "path", - "name": "token_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Delete project API key", - "tags": [ - "project" - ] - } - }, - "/relation-tuples": { - "get": { - "description": "Get all relationships that match the query. Only the namespace field is required.", - "operationId": "getRelationships", - "parameters": [ - { - "in": "query", - "name": "page_token", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "page_size", - "schema": { - "format": "int64", - "type": "integer" - } - }, - { - "description": "Namespace of the Relationship", - "in": "query", - "name": "namespace", - "schema": { - "type": "string" - } - }, - { - "description": "Object of the Relationship", - "in": "query", - "name": "object", - "schema": { - "type": "string" - } - }, - { - "description": "Relation of the Relationship", - "in": "query", - "name": "relation", - "schema": { - "type": "string" - } - }, - { - "description": "SubjectID of the Relationship", - "in": "query", - "name": "subject_id", - "schema": { - "type": "string" - } - }, - { - "description": "Namespace of the Subject Set", - "in": "query", - "name": "subject_set.namespace", - "schema": { - "type": "string" - } - }, - { - "description": "Object of the Subject Set", - "in": "query", - "name": "subject_set.object", - "schema": { - "type": "string" - } - }, - { - "description": "Relation of the Subject Set", - "in": "query", - "name": "subject_set.relation", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/relationships" - } - } - }, - "description": "relationships" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Query relationships", - "tags": [ - "relationship" - ] - } - }, - "/relation-tuples/batch/check": { - "post": { - "description": "To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview).", - "operationId": "batchCheckPermission", - "parameters": [ - { - "in": "query", - "name": "max-depth", - "schema": { - "format": "int64", - "type": "integer" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/batchCheckPermissionBody" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/batchCheckPermissionResult" - } - } - }, - "description": "batchCheckPermissionResult" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Batch check permissions", - "tags": [ - "permission" - ] - } - }, - "/relation-tuples/check": { - "get": { - "description": "To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview).", - "operationId": "checkPermissionOrError", - "parameters": [ - { - "description": "Namespace of the Relationship", - "in": "query", - "name": "namespace", - "schema": { - "type": "string" - } - }, - { - "description": "Object of the Relationship", - "in": "query", - "name": "object", - "schema": { - "type": "string" - } - }, - { - "description": "Relation of the Relationship", - "in": "query", - "name": "relation", - "schema": { - "type": "string" - } - }, - { - "description": "SubjectID of the Relationship", - "in": "query", - "name": "subject_id", - "schema": { - "type": "string" - } - }, - { - "description": "Namespace of the Subject Set", - "in": "query", - "name": "subject_set.namespace", - "schema": { - "type": "string" - } - }, - { - "description": "Object of the Subject Set", - "in": "query", - "name": "subject_set.object", - "schema": { - "type": "string" - } - }, - { - "description": "Relation of the Subject Set", - "in": "query", - "name": "subject_set.relation", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "max-depth", - "schema": { - "format": "int64", - "type": "integer" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/checkPermissionResult" - } - } - }, - "description": "checkPermissionResult" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/checkPermissionResult" - } - } - }, - "description": "checkPermissionResult" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Check a permission", - "tags": [ - "permission" - ] - }, - "post": { - "description": "To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview).", - "operationId": "postCheckPermissionOrError", - "parameters": [ - { - "in": "query", - "name": "max-depth", - "schema": { - "format": "int64", - "type": "integer" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/postCheckPermissionOrErrorBody" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/checkPermissionResult" - } - } - }, - "description": "checkPermissionResult" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/checkPermissionResult" - } - } - }, - "description": "checkPermissionResult" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Check a permission", - "tags": [ - "permission" - ] - } - }, - "/relation-tuples/check/openapi": { - "get": { - "description": "To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview).", - "operationId": "checkPermission", - "parameters": [ - { - "description": "Namespace of the Relationship", - "in": "query", - "name": "namespace", - "schema": { - "type": "string" - } - }, - { - "description": "Object of the Relationship", - "in": "query", - "name": "object", - "schema": { - "type": "string" - } - }, - { - "description": "Relation of the Relationship", - "in": "query", - "name": "relation", - "schema": { - "type": "string" - } - }, - { - "description": "SubjectID of the Relationship", - "in": "query", - "name": "subject_id", - "schema": { - "type": "string" - } - }, - { - "description": "Namespace of the Subject Set", - "in": "query", - "name": "subject_set.namespace", - "schema": { - "type": "string" - } - }, - { - "description": "Object of the Subject Set", - "in": "query", - "name": "subject_set.object", - "schema": { - "type": "string" - } - }, - { - "description": "Relation of the Subject Set", - "in": "query", - "name": "subject_set.relation", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "max-depth", - "schema": { - "format": "int64", - "type": "integer" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/checkPermissionResult" - } - } - }, - "description": "checkPermissionResult" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Check a permission", - "tags": [ - "permission" - ] - }, - "post": { - "description": "To learn how relationship tuples and the check works, head over to [the documentation](https://www.ory.sh/docs/keto/concepts/api-overview).", - "operationId": "postCheckPermission", - "parameters": [ - { - "in": "query", - "name": "max-depth", - "schema": { - "format": "int64", - "type": "integer" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/postCheckPermissionBody" - } - } - }, - "x-originalParamName": "Payload" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/checkPermissionResult" - } - } - }, - "description": "checkPermissionResult" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Check a permission", - "tags": [ - "permission" - ] - } - }, - "/relation-tuples/expand": { - "get": { - "description": "Use this endpoint to expand a relationship tuple into permissions.", - "operationId": "expandPermissions", - "parameters": [ - { - "description": "Namespace of the Subject Set", - "in": "query", - "name": "namespace", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Object of the Subject Set", - "in": "query", - "name": "object", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Relation of the Subject Set", - "in": "query", - "name": "relation", - "required": true, - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "max-depth", - "schema": { - "format": "int64", - "type": "integer" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/expandedPermissionTree" - } - } - }, - "description": "expandedPermissionTree" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Expand a Relationship into permissions.", - "tags": [ - "permission" - ] - } - }, - "/schemas": { - "get": { - "description": "Returns a list of all identity schemas currently in use.", - "operationId": "listIdentitySchemas", - "parameters": [ - { - "description": "Deprecated Items per Page\n\nDEPRECATED: Please use `page_token` instead. This parameter will be removed in the future.\n\nThis is the number of items per page.", - "in": "query", - "name": "per_page", - "schema": { - "default": 250, - "format": "int64", - "maximum": 1000, - "minimum": 1, - "type": "integer" - } - }, - { - "description": "Deprecated Pagination Page\n\nDEPRECATED: Please use `page_token` instead. This parameter will be removed in the future.\n\nThis value is currently an integer, but it is not sequential. The value is not the page number, but a\nreference. The next page can be any number and some numbers might return an empty list.\n\nFor example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist.\nThe first page can be retrieved by omitting this parameter. Following page pointers will be returned in the\n`Link` header.", - "in": "query", - "name": "page", - "schema": { - "format": "int64", - "type": "integer" - } - }, - { - "description": "Page Size\n\nThis is the number of items per page to return. For details on pagination please head over to the\n[pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_size", - "schema": { - "default": 250, - "format": "int64", - "maximum": 500, - "minimum": 1, - "type": "integer" - } - }, - { - "description": "Next Page Token\n\nThe next page token. For details on pagination please head over to the\n[pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_token", - "schema": { - "default": "1", - "minimum": 1, - "type": "string" - } - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/identitySchemas" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Get all Identity Schemas", - "tags": [ - "identity" - ] - } - }, - "/schemas/{id}": { - "get": { - "description": "Return a specific identity schema.", - "operationId": "getIdentitySchema", - "parameters": [ - { - "description": "ID must be set to the ID of schema you want to get", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/identitySchema" - } - } - }, - "description": "identitySchema" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Get Identity JSON Schema", - "tags": [ - "identity" - ] - } - }, - "/self-service/errors": { - "get": { - "description": "This endpoint returns the error associated with a user-facing self service errors.\n\nThis endpoint supports stub values to help you implement the error UI:\n\n`?id=stub:500` - returns a stub 500 (Internal Server Error) error.\n\nMore information can be found at [Ory Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors).", - "operationId": "getFlowError", - "parameters": [ - { - "description": "Error is the error's ID", - "in": "query", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/flowError" - } - } - }, - "description": "flowError" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "500": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Get User-Flow Errors", - "tags": [ - "frontend" - ] - } - }, - "/self-service/login": { - "post": { - "description": "Use this endpoint to complete a login flow. This endpoint\nbehaves differently for API and browser flows.\n\nAPI flows expect `application/json` to be sent in the body and responds with\nHTTP 200 and a application/json body with the session token on success;\nHTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body;\nHTTP 400 on form validation errors.\n\nBrowser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with\na HTTP 303 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded;\na HTTP 303 redirect to the login UI URL with the flow ID containing the validation errors otherwise.\n\nBrowser flows with an accept header of `application/json` will not redirect but instead respond with\nHTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success;\nHTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set;\nHTTP 400 on form validation errors.\n\nIf this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the\ncase of an error, the `error.id` of the JSON response body can be one of:\n\n`session_already_available`: The user is already signed in.\n`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.\n`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!\n`browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL.\nMost likely used in Social Sign In flows.\n\nMore information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).", - "operationId": "updateLoginFlow", - "parameters": [ - { - "description": "The Login Flow ID\n\nThe value for this parameter comes from `flow` URL Query parameter sent to your\napplication (e.g. `/login?flow=abcde`).", - "in": "query", - "name": "flow", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "The Session Token of the Identity performing the settings flow.", - "in": "header", - "name": "X-Session-Token", - "schema": { - "type": "string" - } - }, - { - "description": "HTTP Cookies\n\nWhen using the SDK in a browser app, on the server side you must include the HTTP Cookie Header\nsent by the client to your server here. This ensures that CSRF and session cookies are respected.", - "in": "header", - "name": "Cookie", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/updateLoginFlowBody" - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "#/components/schemas/updateLoginFlowBody" - } - } - }, - "required": true, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/successfulNativeLogin" - } - } - }, - "description": "successfulNativeLogin" - }, - "303": { - "$ref": "#/components/responses/emptyResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/loginFlow" - } - } - }, - "description": "loginFlow" - }, - "410": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorBrowserLocationChangeRequired" - } - } - }, - "description": "errorBrowserLocationChangeRequired" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Submit a Login Flow", - "tags": [ - "frontend" - ] - } - }, - "/self-service/login/api": { - "get": { - "description": "This endpoint initiates a login flow for native apps that do not use a browser, such as mobile devices, smart TVs, and so on.\n\nIf a valid provided session cookie or session token is provided, a 400 Bad Request error\nwill be returned unless the URL query parameter `?refresh=true` is set.\n\nTo fetch an existing login flow call `/self-service/login/flows?flow=\u003cflow_id\u003e`.\n\nYou MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server\nPages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make\nyou vulnerable to a variety of CSRF attacks, including CSRF login attacks.\n\nIn the case of an error, the `error.id` of the JSON response body can be one of:\n\n`session_already_available`: The user is already signed in.\n`session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet.\n`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.\n\nThis endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).\n\nMore information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).", - "operationId": "createNativeLoginFlow", - "parameters": [ - { - "description": "Refresh a login session\n\nIf set to true, this will refresh an existing login session by\nasking the user to sign in again. This will reset the\nauthenticated_at time of the session.", - "in": "query", - "name": "refresh", - "schema": { - "type": "boolean" - } - }, - { - "description": "Request a Specific AuthenticationMethod Assurance Level\n\nUse this parameter to upgrade an existing session's authenticator assurance level (AAL). This\nallows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password,\nthe AAL is 1. If you wish to \"upgrade\" the session's security by asking the user to perform TOTP / WebAuth/ ...\nyou would set this to \"aal2\".", - "in": "query", - "name": "aal", - "schema": { - "type": "string" - } - }, - { - "description": "The Session Token of the Identity performing the settings flow.", - "in": "header", - "name": "X-Session-Token", - "schema": { - "type": "string" - } - }, - { - "description": "EnableSessionTokenExchangeCode requests the login flow to include a code that can be used to retrieve the session token\nafter the login flow has been completed.", - "in": "query", - "name": "return_session_token_exchange_code", - "schema": { - "type": "boolean" - } - }, - { - "description": "The URL to return the browser to after the flow was completed.", - "in": "query", - "name": "return_to", - "schema": { - "type": "string" - } - }, - { - "description": "An optional organization ID that should be used for logging this user in.\nThis parameter is only effective in the Ory Network.", - "in": "query", - "name": "organization", - "schema": { - "type": "string" - } - }, - { - "description": "Via should contain the identity's credential the code should be sent to. Only relevant in aal2 flows.\n\nDEPRECATED: This field is deprecated. Please remove it from your requests. The user will now see a choice\nof MFA credentials to choose from to perform the second factor instead.", - "in": "query", - "name": "via", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/loginFlow" - } - } - }, - "description": "loginFlow" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Create Login Flow for Native Apps", - "tags": [ - "frontend" - ] - } - }, - "/self-service/login/browser": { - "get": { - "description": "This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate\ncookies and anti-CSRF measures required for browser-based flows.\n\nIf this endpoint is opened as a link in the browser, it will be redirected to\n`selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session\nexists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter\n`?refresh=true` was set.\n\nIf this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the\ncase of an error, the `error.id` of the JSON response body can be one of:\n\n`session_already_available`: The user is already signed in.\n`session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet.\n`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.\n`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!\n\nThe optional query parameter login_challenge is set when using Kratos with\nHydra in an OAuth2 flow. See the oauth2_provider.url configuration\noption.\n\nThis endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.\n\nMore information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).", - "operationId": "createBrowserLoginFlow", - "parameters": [ - { - "description": "Refresh a login session\n\nIf set to true, this will refresh an existing login session by\nasking the user to sign in again. This will reset the\nauthenticated_at time of the session.", - "in": "query", - "name": "refresh", - "schema": { - "type": "boolean" - } - }, - { - "description": "Request a Specific AuthenticationMethod Assurance Level\n\nUse this parameter to upgrade an existing session's authenticator assurance level (AAL). This\nallows you to ask for multi-factor authentication. When an identity sign in using e.g. username+password,\nthe AAL is 1. If you wish to \"upgrade\" the session's security by asking the user to perform TOTP / WebAuth/ ...\nyou would set this to \"aal2\".", - "in": "query", - "name": "aal", - "schema": { - "type": "string" - } - }, - { - "description": "The URL to return the browser to after the flow was completed.", - "in": "query", - "name": "return_to", - "schema": { - "type": "string" - } - }, - { - "description": "HTTP Cookies\n\nWhen using the SDK in a browser app, on the server side you must include the HTTP Cookie Header\nsent by the client to your server here. This ensures that CSRF and session cookies are respected.", - "in": "header", - "name": "Cookie", - "schema": { - "type": "string" - } - }, - { - "description": "An optional Hydra login challenge. If present, Kratos will cooperate with\nOry Hydra to act as an OAuth2 identity provider.\n\nThe value for this parameter comes from `login_challenge` URL Query parameter sent to your\napplication (e.g. `/login?login_challenge=abcde`).", - "in": "query", - "name": "login_challenge", - "schema": { - "type": "string" - } - }, - { - "description": "An optional organization ID that should be used for logging this user in.\nThis parameter is only effective in the Ory Network.", - "in": "query", - "name": "organization", - "schema": { - "type": "string" - } - }, - { - "description": "Via should contain the identity's credential the code should be sent to. Only relevant in aal2 flows.\n\nDEPRECATED: This field is deprecated. Please remove it from your requests. The user will now see a choice\nof MFA credentials to choose from to perform the second factor instead.", - "in": "query", - "name": "via", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/loginFlow" - } - } - }, - "description": "loginFlow" - }, - "303": { - "$ref": "#/components/responses/emptyResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Create Login Flow for Browsers", - "tags": [ - "frontend" - ] - } - }, - "/self-service/login/flows": { - "get": { - "description": "This endpoint returns a login flow's context with, for example, error details and other information.\n\nBrowser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header.\nFor AJAX requests you must ensure that cookies are included in the request or requests will fail.\n\nIf you use the browser-flow for server-side apps, the services need to run on a common top-level-domain\nand you need to forward the incoming HTTP Cookie header to this endpoint:\n\n```js\npseudo-code example\nrouter.get('/login', async function (req, res) {\nconst flow = await client.getLoginFlow(req.header('cookie'), req.query['flow'])\n\nres.render('login', flow)\n})\n```\n\nThis request may fail due to several reasons. The `error.id` can be one of:\n\n`session_already_available`: The user is already signed in.\n`self_service_flow_expired`: The flow is expired and you should request a new one.\n\nMore information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).", - "operationId": "getLoginFlow", - "parameters": [ - { - "description": "The Login Flow ID\n\nThe value for this parameter comes from `flow` URL Query parameter sent to your\napplication (e.g. `/login?flow=abcde`).", - "in": "query", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "HTTP Cookies\n\nWhen using the SDK in a browser app, on the server side you must include the HTTP Cookie Header\nsent by the client to your server here. This ensures that CSRF and session cookies are respected.", - "in": "header", - "name": "Cookie", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/loginFlow" - } - } - }, - "description": "loginFlow" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "410": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Get Login Flow", - "tags": [ - "frontend" - ] - } - }, - "/self-service/logout": { - "get": { - "description": "This endpoint logs out an identity in a self-service manner.\n\nIf the `Accept` HTTP header is not set to `application/json`, the browser will be redirected (HTTP 303 See Other)\nto the `return_to` parameter of the initial request or fall back to `urls.default_return_to`.\n\nIf the `Accept` HTTP header is set to `application/json`, a 204 No Content response\nwill be sent on successful logout instead.\n\nThis endpoint is NOT INTENDED for API clients and only works\nwith browsers (Chrome, Firefox, ...). For API clients you can\ncall the `/self-service/logout/api` URL directly with the Ory Session Token.\n\nMore information can be found at [Ory Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).", - "operationId": "updateLogoutFlow", - "parameters": [ - { - "description": "A Valid Logout Token\n\nIf you do not have a logout token because you only have a session cookie,\ncall `/self-service/logout/browser` to generate a URL for this endpoint.", - "in": "query", - "name": "token", - "schema": { - "type": "string" - } - }, - { - "description": "The URL to return to after the logout was completed.", - "in": "query", - "name": "return_to", - "schema": { - "type": "string" - } - }, - { - "description": "HTTP Cookies\n\nWhen using the SDK in a browser app, on the server side you must include the HTTP Cookie Header\nsent by the client to your server here. This ensures that CSRF and session cookies are respected.", - "in": "header", - "name": "Cookie", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "303": { - "$ref": "#/components/responses/emptyResponse" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Update Logout Flow", - "tags": [ - "frontend" - ] - } - }, - "/self-service/logout/api": { - "delete": { - "description": "Use this endpoint to log out an identity using an Ory Session Token. If the Ory Session Token was successfully\nrevoked, the server returns a 204 No Content response. A 204 No Content response is also sent when\nthe Ory Session Token has been revoked already before.\n\nIf the Ory Session Token is malformed or does not exist a 403 Forbidden response will be returned.\n\nThis endpoint does not remove any HTTP\nCookies - use the Browser-Based Self-Service Logout Flow instead.", - "operationId": "performNativeLogout", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/performNativeLogoutBody" - } - } - }, - "required": true, - "x-originalParamName": "Body" - }, - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Perform Logout for Native Apps", - "tags": [ - "frontend" - ] - } - }, - "/self-service/logout/browser": { - "get": { - "description": "This endpoint initializes a browser-based user logout flow and a URL which can be used to log out the user.\n\nThis endpoint is NOT INTENDED for API clients and only works\nwith browsers (Chrome, Firefox, ...). For API clients you can\ncall the `/self-service/logout/api` URL directly with the Ory Session Token.\n\nThe URL is only valid for the currently signed in user. If no user is signed in, this endpoint returns\na 401 error.\n\nWhen calling this endpoint from a backend, please ensure to properly forward the HTTP cookies.", - "operationId": "createBrowserLogoutFlow", - "parameters": [ - { - "description": "HTTP Cookies\n\nIf you call this endpoint from a backend, please include the\noriginal Cookie header in the request.", - "in": "header", - "name": "cookie", - "schema": { - "type": "string" - } - }, - { - "description": "Return to URL\n\nThe URL to which the browser should be redirected to after the logout\nhas been performed.", - "in": "query", - "name": "return_to", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/logoutFlow" - } - } - }, - "description": "logoutFlow" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "500": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Create a Logout URL for Browsers", - "tags": [ - "frontend" - ] - } - }, - "/self-service/recovery": { - "post": { - "description": "Use this endpoint to update a recovery flow. This endpoint\nbehaves differently for API and browser flows and has several states:\n\n`choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent\nand works with API- and Browser-initiated flows.\nFor API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid.\nand a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired).\nFor Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended.\n`sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It\nworks for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state.\n`passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a recovery link\")\ndoes not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL\n(if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with\na new Recovery Flow ID which contains an error message that the recovery link was invalid.\n\nMore information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).", - "operationId": "updateRecoveryFlow", - "parameters": [ - { - "description": "The Recovery Flow ID\n\nThe value for this parameter comes from `flow` URL Query parameter sent to your\napplication (e.g. `/recovery?flow=abcde`).", - "in": "query", - "name": "flow", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Recovery Token\n\nThe recovery token which completes the recovery request. If the token\nis invalid (e.g. expired) an error will be shown to the end-user.\n\nThis parameter is usually set in a link and not used by any direct API call.", - "in": "query", - "name": "token", - "schema": { - "type": "string" - } - }, - { - "description": "HTTP Cookies\n\nWhen using the SDK in a browser app, on the server side you must include the HTTP Cookie Header\nsent by the client to your server here. This ensures that CSRF and session cookies are respected.", - "in": "header", - "name": "Cookie", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/updateRecoveryFlowBody" - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "#/components/schemas/updateRecoveryFlowBody" - } - } - }, - "required": true, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/recoveryFlow" - } - } - }, - "description": "recoveryFlow" - }, - "303": { - "$ref": "#/components/responses/emptyResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/recoveryFlow" - } - } - }, - "description": "recoveryFlow" - }, - "410": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorBrowserLocationChangeRequired" - } - } - }, - "description": "errorBrowserLocationChangeRequired" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Update Recovery Flow", - "tags": [ - "frontend" - ] - } - }, - "/self-service/recovery/api": { - "get": { - "description": "This endpoint initiates a recovery flow for API clients such as mobile devices, smart TVs, and so on.\n\nIf a valid provided session cookie or session token is provided, a 400 Bad Request error.\n\nOn an existing recovery flow, use the `getRecoveryFlow` API endpoint.\n\nYou MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server\nPages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make\nyou vulnerable to a variety of CSRF attacks.\n\nThis endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).\n\nMore information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).", - "operationId": "createNativeRecoveryFlow", - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/recoveryFlow" - } - } - }, - "description": "recoveryFlow" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Create Recovery Flow for Native Apps", - "tags": [ - "frontend" - ] - } - }, - "/self-service/recovery/browser": { - "get": { - "description": "This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to\n`selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session\nexists, the browser is returned to the configured return URL.\n\nIf this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects\nor a 400 bad request error if the user is already authenticated.\n\nThis endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.\n\nMore information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).", - "operationId": "createBrowserRecoveryFlow", - "parameters": [ - { - "description": "The URL to return the browser to after the flow was completed.", - "in": "query", - "name": "return_to", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/recoveryFlow" - } - } - }, - "description": "recoveryFlow" - }, - "303": { - "$ref": "#/components/responses/emptyResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Create Recovery Flow for Browsers", - "tags": [ - "frontend" - ] - } - }, - "/self-service/recovery/flows": { - "get": { - "description": "This endpoint returns a recovery flow's context with, for example, error details and other information.\n\nBrowser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header.\nFor AJAX requests you must ensure that cookies are included in the request or requests will fail.\n\nIf you use the browser-flow for server-side apps, the services need to run on a common top-level-domain\nand you need to forward the incoming HTTP Cookie header to this endpoint:\n\n```js\npseudo-code example\nrouter.get('/recovery', async function (req, res) {\nconst flow = await client.getRecoveryFlow(req.header('Cookie'), req.query['flow'])\n\nres.render('recovery', flow)\n})\n```\n\nMore information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).", - "operationId": "getRecoveryFlow", - "parameters": [ - { - "description": "The Flow ID\n\nThe value for this parameter comes from `request` URL Query parameter sent to your\napplication (e.g. `/recovery?flow=abcde`).", - "in": "query", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "HTTP Cookies\n\nWhen using the SDK in a browser app, on the server side you must include the HTTP Cookie Header\nsent by the client to your server here. This ensures that CSRF and session cookies are respected.", - "in": "header", - "name": "Cookie", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/recoveryFlow" - } - } - }, - "description": "recoveryFlow" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "410": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Get Recovery Flow", - "tags": [ - "frontend" - ] - } - }, - "/self-service/registration": { - "post": { - "description": "Use this endpoint to complete a registration flow by sending an identity's traits and password. This endpoint\nbehaves differently for API and browser flows.\n\nAPI flows expect `application/json` to be sent in the body and respond with\nHTTP 200 and a application/json body with the created identity success - if the session hook is configured the\n`session` and `session_token` will also be included;\nHTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body;\nHTTP 400 on form validation errors.\n\nBrowser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with\na HTTP 303 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded;\na HTTP 303 redirect to the registration UI URL with the flow ID containing the validation errors otherwise.\n\nBrowser flows with an accept header of `application/json` will not redirect but instead respond with\nHTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success;\nHTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set;\nHTTP 400 on form validation errors.\n\nIf this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the\ncase of an error, the `error.id` of the JSON response body can be one of:\n\n`session_already_available`: The user is already signed in.\n`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.\n`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!\n`browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL.\nMost likely used in Social Sign In flows.\n\nMore information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).", - "operationId": "updateRegistrationFlow", - "parameters": [ - { - "description": "The Registration Flow ID\n\nThe value for this parameter comes from `flow` URL Query parameter sent to your\napplication (e.g. `/registration?flow=abcde`).", - "in": "query", - "name": "flow", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "HTTP Cookies\n\nWhen using the SDK in a browser app, on the server side you must include the HTTP Cookie Header\nsent by the client to your server here. This ensures that CSRF and session cookies are respected.", - "in": "header", - "name": "Cookie", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/updateRegistrationFlowBody" - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "#/components/schemas/updateRegistrationFlowBody" - } - } - }, - "required": true, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/successfulNativeRegistration" - } - } - }, - "description": "successfulNativeRegistration" - }, - "303": { - "$ref": "#/components/responses/emptyResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/registrationFlow" - } - } - }, - "description": "registrationFlow" - }, - "410": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorBrowserLocationChangeRequired" - } - } - }, - "description": "errorBrowserLocationChangeRequired" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Update Registration Flow", - "tags": [ - "frontend" - ] - } - }, - "/self-service/registration/api": { - "get": { - "description": "This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on.\n\nIf a valid provided session cookie or session token is provided, a 400 Bad Request error\nwill be returned unless the URL query parameter `?refresh=true` is set.\n\nTo fetch an existing registration flow call `/self-service/registration/flows?flow=\u003cflow_id\u003e`.\n\nYou MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server\nPages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make\nyou vulnerable to a variety of CSRF attacks.\n\nIn the case of an error, the `error.id` of the JSON response body can be one of:\n\n`session_already_available`: The user is already signed in.\n`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.\n\nThis endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).\n\nMore information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).", - "operationId": "createNativeRegistrationFlow", - "parameters": [ - { - "description": "EnableSessionTokenExchangeCode requests the login flow to include a code that can be used to retrieve the session token\nafter the login flow has been completed.", - "in": "query", - "name": "return_session_token_exchange_code", - "schema": { - "type": "boolean" - } - }, - { - "description": "The URL to return the browser to after the flow was completed.", - "in": "query", - "name": "return_to", - "schema": { - "type": "string" - } - }, - { - "description": "An optional organization ID that should be used to register this user.\nThis parameter is only effective in the Ory Network.", - "in": "query", - "name": "organization", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/registrationFlow" - } - } - }, - "description": "registrationFlow" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Create Registration Flow for Native Apps", - "tags": [ - "frontend" - ] - } - }, - "/self-service/registration/browser": { - "get": { - "description": "This endpoint initializes a browser-based user registration flow. This endpoint will set the appropriate\ncookies and anti-CSRF measures required for browser-based flows.\n\nIf this endpoint is opened as a link in the browser, it will be redirected to\n`selfservice.flows.registration.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session\nexists already, the browser will be redirected to `urls.default_redirect_url`.\n\nIf this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the\ncase of an error, the `error.id` of the JSON response body can be one of:\n\n`session_already_available`: The user is already signed in.\n`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.\n`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!\n\nIf this endpoint is called via an AJAX request, the response contains the registration flow without a redirect.\n\nThis endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.\n\nMore information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).", - "operationId": "createBrowserRegistrationFlow", - "parameters": [ - { - "description": "The URL to return the browser to after the flow was completed.", - "in": "query", - "name": "return_to", - "schema": { - "type": "string" - } - }, - { - "description": "Ory OAuth 2.0 Login Challenge.\n\nIf set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider.\n\nThe value for this parameter comes from `login_challenge` URL Query parameter sent to your\napplication (e.g. `/registration?login_challenge=abcde`).\n\nThis feature is compatible with Ory Hydra when not running on the Ory Network.", - "in": "query", - "name": "login_challenge", - "schema": { - "type": "string" - } - }, - { - "description": "The URL to return the browser to after the verification flow was completed.\n\nAfter the registration flow is completed, the user will be sent a verification email.\nUpon completing the verification flow, this URL will be used to override the default\n`selfservice.flows.verification.after.default_redirect_to` value.", - "in": "query", - "name": "after_verification_return_to", - "schema": { - "type": "string" - } - }, - { - "description": "An optional organization ID that should be used to register this user.\nThis parameter is only effective in the Ory Network.", - "in": "query", - "name": "organization", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/registrationFlow" - } - } - }, - "description": "registrationFlow" - }, - "303": { - "$ref": "#/components/responses/emptyResponse" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Create Registration Flow for Browsers", - "tags": [ - "frontend" - ] - } - }, - "/self-service/registration/flows": { - "get": { - "description": "This endpoint returns a registration flow's context with, for example, error details and other information.\n\nBrowser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header.\nFor AJAX requests you must ensure that cookies are included in the request or requests will fail.\n\nIf you use the browser-flow for server-side apps, the services need to run on a common top-level-domain\nand you need to forward the incoming HTTP Cookie header to this endpoint:\n\n```js\npseudo-code example\nrouter.get('/registration', async function (req, res) {\nconst flow = await client.getRegistrationFlow(req.header('cookie'), req.query['flow'])\n\nres.render('registration', flow)\n})\n```\n\nThis request may fail due to several reasons. The `error.id` can be one of:\n\n`session_already_available`: The user is already signed in.\n`self_service_flow_expired`: The flow is expired and you should request a new one.\n\nMore information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).", - "operationId": "getRegistrationFlow", - "parameters": [ - { - "description": "The Registration Flow ID\n\nThe value for this parameter comes from `flow` URL Query parameter sent to your\napplication (e.g. `/registration?flow=abcde`).", - "in": "query", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "HTTP Cookies\n\nWhen using the SDK in a browser app, on the server side you must include the HTTP Cookie Header\nsent by the client to your server here. This ensures that CSRF and session cookies are respected.", - "in": "header", - "name": "Cookie", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/registrationFlow" - } - } - }, - "description": "registrationFlow" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "410": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Get Registration Flow", - "tags": [ - "frontend" - ] - } - }, - "/self-service/settings": { - "post": { - "description": "Use this endpoint to complete a settings flow by sending an identity's updated password. This endpoint\nbehaves differently for API and browser flows.\n\nAPI-initiated flows expect `application/json` to be sent in the body and respond with\nHTTP 200 and an application/json body with the session token on success;\nHTTP 303 redirect to a fresh settings flow if the original flow expired with the appropriate error messages set;\nHTTP 400 on form validation errors.\nHTTP 401 when the endpoint is called without a valid session token.\nHTTP 403 when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low.\nImplies that the user needs to re-authenticate.\n\nBrowser flows without HTTP Header `Accept` or with `Accept: text/*` respond with\na HTTP 303 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded;\na HTTP 303 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise.\na HTTP 303 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low.\n\nBrowser flows with HTTP Header `Accept: application/json` respond with\nHTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success;\nHTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set;\nHTTP 401 when the endpoint is called without a valid session cookie.\nHTTP 403 when the page is accessed without a session cookie or the session's AAL is too low.\nHTTP 400 on form validation errors.\n\nDepending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator\nAssurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn\ncredentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user\nto sign in with the second factor (happens automatically for server-side browser flows) or change the configuration.\n\nIf this endpoint is called with a `Accept: application/json` HTTP header, the response contains the flow without a redirect. In the\ncase of an error, the `error.id` of the JSON response body can be one of:\n\n`session_refresh_required`: The identity requested to change something that needs a privileged session. Redirect\nthe identity to the login init endpoint with query parameters `?refresh=true\u0026return_to=\u003cthe-current-browser-url\u003e`,\nor initiate a refresh login flow otherwise.\n`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.\n`session_inactive`: No Ory Session was found - sign in a user first.\n`security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other\nidentity logged in instead.\n`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!\n`browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL.\nMost likely used in Social Sign In flows.\n\nMore information can be found at [Ory Kratos User Settings \u0026 Profile Management Documentation](../self-service/flows/user-settings).", - "operationId": "updateSettingsFlow", - "parameters": [ - { - "description": "The Settings Flow ID\n\nThe value for this parameter comes from `flow` URL Query parameter sent to your\napplication (e.g. `/settings?flow=abcde`).", - "in": "query", - "name": "flow", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "The Session Token of the Identity performing the settings flow.", - "in": "header", - "name": "X-Session-Token", - "schema": { - "type": "string" - } - }, - { - "description": "HTTP Cookies\n\nWhen using the SDK in a browser app, on the server side you must include the HTTP Cookie Header\nsent by the client to your server here. This ensures that CSRF and session cookies are respected.", - "in": "header", - "name": "Cookie", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/updateSettingsFlowBody" - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "#/components/schemas/updateSettingsFlowBody" - } - } - }, - "required": true, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/settingsFlow" - } - } - }, - "description": "settingsFlow" - }, - "303": { - "$ref": "#/components/responses/emptyResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/settingsFlow" - } - } - }, - "description": "settingsFlow" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "410": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "422": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorBrowserLocationChangeRequired" - } - } - }, - "description": "errorBrowserLocationChangeRequired" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "sessionToken": [] - } - ], - "summary": "Complete Settings Flow", - "tags": [ - "frontend" - ] - } - }, - "/self-service/settings/api": { - "get": { - "description": "This endpoint initiates a settings flow for API clients such as mobile devices, smart TVs, and so on.\nYou must provide a valid Ory Kratos Session Token for this endpoint to respond with HTTP 200 OK.\n\nTo fetch an existing settings flow call `/self-service/settings/flows?flow=\u003cflow_id\u003e`.\n\nYou MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server\nPages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make\nyou vulnerable to a variety of CSRF attacks.\n\nDepending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator\nAssurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn\ncredentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user\nto sign in with the second factor or change the configuration.\n\nIn the case of an error, the `error.id` of the JSON response body can be one of:\n\n`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.\n`session_inactive`: No Ory Session was found - sign in a user first.\n\nThis endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).\n\nMore information can be found at [Ory Kratos User Settings \u0026 Profile Management Documentation](../self-service/flows/user-settings).", - "operationId": "createNativeSettingsFlow", - "parameters": [ - { - "description": "The Session Token of the Identity performing the settings flow.", - "in": "header", - "name": "X-Session-Token", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/settingsFlow" - } - } - }, - "description": "settingsFlow" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Create Settings Flow for Native Apps", - "tags": [ - "frontend" - ] - } - }, - "/self-service/settings/browser": { - "get": { - "description": "This endpoint initializes a browser-based user settings flow. Once initialized, the browser will be redirected to\n`selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid\nOry Kratos Session Cookie is included in the request, a login flow will be initialized.\n\nIf this endpoint is opened as a link in the browser, it will be redirected to\n`selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid user session\nwas set, the browser will be redirected to the login endpoint.\n\nIf this endpoint is called via an AJAX request, the response contains the settings flow without any redirects\nor a 401 forbidden error if no valid session was set.\n\nDepending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator\nAssurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn\ncredentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user\nto sign in with the second factor (happens automatically for server-side browser flows) or change the configuration.\n\nIf this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the\ncase of an error, the `error.id` of the JSON response body can be one of:\n\n`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.\n`session_inactive`: No Ory Session was found - sign in a user first.\n`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!\n\nThis endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.\n\nMore information can be found at [Ory Kratos User Settings \u0026 Profile Management Documentation](../self-service/flows/user-settings).", - "operationId": "createBrowserSettingsFlow", - "parameters": [ - { - "description": "The URL to return the browser to after the flow was completed.", - "in": "query", - "name": "return_to", - "schema": { - "type": "string" - } - }, - { - "description": "HTTP Cookies\n\nWhen using the SDK in a browser app, on the server side you must include the HTTP Cookie Header\nsent by the client to your server here. This ensures that CSRF and session cookies are respected.", - "in": "header", - "name": "Cookie", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/settingsFlow" - } - } - }, - "description": "settingsFlow" - }, - "303": { - "$ref": "#/components/responses/emptyResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Create Settings Flow for Browsers", - "tags": [ - "frontend" - ] - } - }, - "/self-service/settings/flows": { - "get": { - "description": "When accessing this endpoint through Ory Kratos' Public API you must ensure that either the Ory Kratos Session Cookie\nor the Ory Kratos Session Token are set.\n\nDepending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator\nAssurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn\ncredentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user\nto sign in with the second factor or change the configuration.\n\nYou can access this endpoint without credentials when using Ory Kratos' Admin API.\n\nIf this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the\ncase of an error, the `error.id` of the JSON response body can be one of:\n\n`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.\n`session_inactive`: No Ory Session was found - sign in a user first.\n`security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other\nidentity logged in instead.\n\nMore information can be found at [Ory Kratos User Settings \u0026 Profile Management Documentation](../self-service/flows/user-settings).", - "operationId": "getSettingsFlow", - "parameters": [ - { - "description": "ID is the Settings Flow ID\n\nThe value for this parameter comes from `flow` URL Query parameter sent to your\napplication (e.g. `/settings?flow=abcde`).", - "in": "query", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "The Session Token\n\nWhen using the SDK in an app without a browser, please include the\nsession token here.", - "in": "header", - "name": "X-Session-Token", - "schema": { - "type": "string" - } - }, - { - "description": "HTTP Cookies\n\nWhen using the SDK in a browser app, on the server side you must include the HTTP Cookie Header\nsent by the client to your server here. This ensures that CSRF and session cookies are respected.", - "in": "header", - "name": "Cookie", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/settingsFlow" - } - } - }, - "description": "settingsFlow" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "410": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Get Settings Flow", - "tags": [ - "frontend" - ] - } - }, - "/self-service/verification": { - "post": { - "description": "Use this endpoint to complete a verification flow. This endpoint\nbehaves differently for API and browser flows and has several states:\n\n`choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent\nand works with API- and Browser-initiated flows.\nFor API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid\nand a HTTP 303 See Other redirect with a fresh verification flow if the flow was otherwise invalid (e.g. expired).\nFor Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Verification UI URL with the Verification Flow ID appended.\n`sent_email` is the success state after `choose_method` when using the `link` method and allows the user to request another verification email. It\nworks for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state.\n`passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow (\"sending a verification link\")\ndoes not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL\n(if the link was valid) and instructs the user to update their password, or a redirect to the Verification UI URL with\na new Verification Flow ID which contains an error message that the verification link was invalid.\n\nMore information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).", - "operationId": "updateVerificationFlow", - "parameters": [ - { - "description": "The Verification Flow ID\n\nThe value for this parameter comes from `flow` URL Query parameter sent to your\napplication (e.g. `/verification?flow=abcde`).", - "in": "query", - "name": "flow", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Verification Token\n\nThe verification token which completes the verification request. If the token\nis invalid (e.g. expired) an error will be shown to the end-user.\n\nThis parameter is usually set in a link and not used by any direct API call.", - "in": "query", - "name": "token", - "schema": { - "type": "string" - } - }, - { - "description": "HTTP Cookies\n\nWhen using the SDK in a browser app, on the server side you must include the HTTP Cookie Header\nsent by the client to your server here. This ensures that CSRF and session cookies are respected.", - "in": "header", - "name": "Cookie", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/updateVerificationFlowBody" - } - }, - "application/x-www-form-urlencoded": { - "schema": { - "$ref": "#/components/schemas/updateVerificationFlowBody" - } - } - }, - "required": true, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/verificationFlow" - } - } - }, - "description": "verificationFlow" - }, - "303": { - "$ref": "#/components/responses/emptyResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/verificationFlow" - } - } - }, - "description": "verificationFlow" - }, - "410": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Complete Verification Flow", - "tags": [ - "frontend" - ] - } - }, - "/self-service/verification/api": { - "get": { - "description": "This endpoint initiates a verification flow for API clients such as mobile devices, smart TVs, and so on.\n\nTo fetch an existing verification flow call `/self-service/verification/flows?flow=\u003cflow_id\u003e`.\n\nYou MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server\nPages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make\nyou vulnerable to a variety of CSRF attacks.\n\nThis endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).\n\nMore information can be found at [Ory Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).", - "operationId": "createNativeVerificationFlow", - "parameters": [ - { - "description": "A URL contained in the return_to key of the verification flow.\nThis piece of data has no effect on the actual logic of the flow and is purely informational.", - "in": "query", - "name": "return_to", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/verificationFlow" - } - } - }, - "description": "verificationFlow" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Create Verification Flow for Native Apps", - "tags": [ - "frontend" - ] - } - }, - "/self-service/verification/browser": { - "get": { - "description": "This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to\n`selfservice.flows.verification.ui_url` with the flow ID set as the query parameter `?flow=`.\n\nIf this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects.\n\nThis endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...).\n\nMore information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).", - "operationId": "createBrowserVerificationFlow", - "parameters": [ - { - "description": "The URL to return the browser to after the flow was completed.", - "in": "query", - "name": "return_to", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/verificationFlow" - } - } - }, - "description": "verificationFlow" - }, - "303": { - "$ref": "#/components/responses/emptyResponse" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Create Verification Flow for Browser Clients", - "tags": [ - "frontend" - ] - } - }, - "/self-service/verification/flows": { - "get": { - "description": "This endpoint returns a verification flow's context with, for example, error details and other information.\n\nBrowser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header.\nFor AJAX requests you must ensure that cookies are included in the request or requests will fail.\n\nIf you use the browser-flow for server-side apps, the services need to run on a common top-level-domain\nand you need to forward the incoming HTTP Cookie header to this endpoint:\n\n```js\npseudo-code example\nrouter.get('/recovery', async function (req, res) {\nconst flow = await client.getVerificationFlow(req.header('cookie'), req.query['flow'])\n\nres.render('verification', flow)\n})\n```\n\nMore information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation).", - "operationId": "getVerificationFlow", - "parameters": [ - { - "description": "The Flow ID\n\nThe value for this parameter comes from `request` URL Query parameter sent to your\napplication (e.g. `/verification?flow=abcde`).", - "in": "query", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "HTTP Cookies\n\nWhen using the SDK on the server side you must include the HTTP Cookie Header\noriginally sent to your HTTP handler here.", - "in": "header", - "name": "cookie", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/verificationFlow" - } - } - }, - "description": "verificationFlow" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Get Verification Flow", - "tags": [ - "frontend" - ] - } - }, - "/sessions": { - "delete": { - "description": "Calling this endpoint invalidates all except the current session that belong to the logged-in user.\nSession data are not deleted.", - "operationId": "disableMyOtherSessions", - "parameters": [ - { - "description": "Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.", - "in": "header", - "name": "X-Session-Token", - "schema": { - "type": "string" - } - }, - { - "description": "Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that\nscenario you must include the HTTP Cookie Header which originally was included in the request to your server.\nAn example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`.\n\nIt is ok if more than one cookie are included here as all other cookies will be ignored.", - "in": "header", - "name": "Cookie", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/deleteMySessionsCount" - } - } - }, - "description": "deleteMySessionsCount" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Disable my other sessions", - "tags": [ - "frontend" - ] - }, - "get": { - "description": "This endpoints returns all other active sessions that belong to the logged-in user.\nThe current session can be retrieved by calling the `/sessions/whoami` endpoint.", - "operationId": "listMySessions", - "parameters": [ - { - "description": "Deprecated Items per Page\n\nDEPRECATED: Please use `page_token` instead. This parameter will be removed in the future.\n\nThis is the number of items per page.", - "in": "query", - "name": "per_page", - "schema": { - "default": 250, - "format": "int64", - "maximum": 1000, - "minimum": 1, - "type": "integer" - } - }, - { - "description": "Deprecated Pagination Page\n\nDEPRECATED: Please use `page_token` instead. This parameter will be removed in the future.\n\nThis value is currently an integer, but it is not sequential. The value is not the page number, but a\nreference. The next page can be any number and some numbers might return an empty list.\n\nFor example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist.\nThe first page can be retrieved by omitting this parameter. Following page pointers will be returned in the\n`Link` header.", - "in": "query", - "name": "page", - "schema": { - "format": "int64", - "type": "integer" - } - }, - { - "description": "Page Size\n\nThis is the number of items per page to return. For details on pagination please head over to the\n[pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_size", - "schema": { - "default": 250, - "format": "int64", - "maximum": 500, - "minimum": 1, - "type": "integer" - } - }, - { - "description": "Next Page Token\n\nThe next page token. For details on pagination please head over to the\n[pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_token", - "schema": { - "default": "1", - "minimum": 1, - "type": "string" - } - }, - { - "description": "Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.", - "in": "header", - "name": "X-Session-Token", - "schema": { - "type": "string" - } - }, - { - "description": "Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that\nscenario you must include the HTTP Cookie Header which originally was included in the request to your server.\nAn example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`.\n\nIt is ok if more than one cookie are included here as all other cookies will be ignored.", - "in": "header", - "name": "Cookie", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/listMySessions" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Get My Active Sessions", - "tags": [ - "frontend" - ] - } - }, - "/sessions/token-exchange": { - "get": { - "operationId": "exchangeSessionToken", - "parameters": [ - { - "description": "The part of the code return when initializing the flow.", - "in": "query", - "name": "init_code", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "The part of the code returned by the return_to URL.", - "in": "query", - "name": "return_to_code", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/successfulNativeLogin" - } - } - }, - "description": "successfulNativeLogin" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "404": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "410": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Exchange Session Token", - "tags": [ - "frontend" - ] - } - }, - "/sessions/whoami": { - "get": { - "description": "Uses the HTTP Headers in the GET request to determine (e.g. by using checking the cookies) who is authenticated.\nReturns a session object in the body or 401 if the credentials are invalid or no credentials were sent.\nWhen the request it successful it adds the user ID to the 'X-Kratos-Authenticated-Identity-Id' header\nin the response.\n\nIf you call this endpoint from a server-side application, you must forward the HTTP Cookie Header to this endpoint:\n\n```js\npseudo-code example\nrouter.get('/protected-endpoint', async function (req, res) {\nconst session = await client.toSession(undefined, req.header('cookie'))\n\nconsole.log(session)\n})\n```\n\nWhen calling this endpoint from a non-browser application (e.g. mobile app) you must include the session token:\n\n```js\npseudo-code example\n...\nconst session = await client.toSession(\"the-session-token\")\n\nconsole.log(session)\n```\n\nWhen using a token template, the token is included in the `tokenized` field of the session.\n\n```js\npseudo-code example\n...\nconst session = await client.toSession(\"the-session-token\", { tokenize_as: \"example-jwt-template\" })\n\nconsole.log(session.tokenized) // The JWT\n```\n\nDepending on your configuration this endpoint might return a 403 status code if the session has a lower Authenticator\nAssurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn\ncredentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user\nto sign in with the second factor or change the configuration.\n\nThis endpoint is useful for:\n\nAJAX calls. Remember to send credentials and set up CORS correctly!\nReverse proxies and API Gateways\nServer-side calls - use the `X-Session-Token` header!\n\nThis endpoint authenticates users by checking:\n\nif the `Cookie` HTTP header was set containing an Ory Kratos Session Cookie;\nif the `Authorization: bearer \u003cory-session-token\u003e` HTTP header was set with a valid Ory Kratos Session Token;\nif the `X-Session-Token` HTTP header was set with a valid Ory Kratos Session Token.\n\nIf none of these headers are set or the cookie or token are invalid, the endpoint returns a HTTP 401 status code.\n\nAs explained above, this request may fail due to several reasons. The `error.id` can be one of:\n\n`session_inactive`: No active session was found in the request (e.g. no Ory Session Cookie / Ory Session Token).\n`session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor.", - "operationId": "toSession", - "parameters": [ - { - "description": "Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.", - "example": "MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj", - "in": "header", - "name": "X-Session-Token", - "schema": { - "type": "string" - } - }, - { - "description": "Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that\nscenario you must include the HTTP Cookie Header which originally was included in the request to your server.\nAn example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`.\n\nIt is ok if more than one cookie are included here as all other cookies will be ignored.", - "example": "ory_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==", - "in": "header", - "name": "Cookie", - "schema": { - "type": "string" - } - }, - { - "description": "Returns the session additionally as a token (such as a JWT)\n\nThe value of this parameter has to be a valid, configured Ory Session token template. For more information head over to [the documentation](http://ory.sh/docs/identities/session-to-jwt-cors).", - "in": "query", - "name": "tokenize_as", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/session" - } - } - }, - "description": "session" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Check Who the Current HTTP Session Belongs To", - "tags": [ - "frontend" - ] - } - }, - "/sessions/{id}": { - "delete": { - "description": "Calling this endpoint invalidates the specified session. The current session cannot be revoked.\nSession data are not deleted.", - "operationId": "disableMySession", - "parameters": [ - { - "description": "ID is the session's ID.", - "in": "path", - "name": "id", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "Set the Session Token when calling from non-browser clients. A session token has a format of `MP2YWEMeM8MxjkGKpH4dqOQ4Q4DlSPaj`.", - "in": "header", - "name": "X-Session-Token", - "schema": { - "type": "string" - } - }, - { - "description": "Set the Cookie Header. This is especially useful when calling this endpoint from a server-side application. In that\nscenario you must include the HTTP Cookie Header which originally was included in the request to your server.\nAn example of a session in the HTTP Cookie Header is: `ory_kratos_session=a19iOVAbdzdgl70Rq1QZmrKmcjDtdsviCTZx7m9a9yHIUS8Wa9T7hvqyGTsLHi6Qifn2WUfpAKx9DWp0SJGleIn9vh2YF4A16id93kXFTgIgmwIOvbVAScyrx7yVl6bPZnCx27ec4WQDtaTewC1CpgudeDV2jQQnSaCP6ny3xa8qLH-QUgYqdQuoA_LF1phxgRCUfIrCLQOkolX5nv3ze_f==`.\n\nIt is ok if more than one cookie are included here as all other cookies will be ignored.", - "in": "header", - "name": "Cookie", - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "summary": "Disable one of my sessions", - "tags": [ - "frontend" - ] - } - }, - "/userinfo": { - "get": { - "description": "This endpoint returns the payload of the ID Token, including `session.id_token` values, of\nthe provided OAuth 2.0 Access Token's consent request.\n\nIn the case of authentication error, a WWW-Authenticate header might be set in the response\nwith more information about the error. See [the spec](https://datatracker.ietf.org/doc/html/rfc6750#section-3)\nfor more details about header format.", - "operationId": "getOidcUserInfo", - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/oidcUserInfo" - } - } - }, - "description": "oidcUserInfo" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorOAuth2" - } - } - }, - "description": "errorOAuth2" - } - }, - "security": [ - { - "oauth2": [] - } - ], - "summary": "OpenID Connect Userinfo", - "tags": [ - "oidc" - ] - } - }, - "/version": { - "get": { - "description": "This endpoint returns the version of Ory Kratos.\n\nIf the service supports TLS Edge Termination, this endpoint does not require the\n`X-Forwarded-Proto` header to be set.\n\nBe aware that if you are running multiple nodes of this service, the version will never\nrefer to the cluster state, only to a single instance.", - "operationId": "getVersion", - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "properties": { - "version": { - "description": "The version of Ory Kratos.", - "type": "string" - } - }, - "required": [ - "version" - ], - "type": "object" - } - } - }, - "description": "Returns the Ory Kratos version." - } - }, - "security": [ - { - "oryAccessToken": [] - } - ], - "summary": "Return Running Software Version.", - "tags": [ - "metadata" - ] - } - }, - "/workspaces": { - "get": { - "operationId": "listWorkspaces", - "parameters": [ - { - "description": "Items per Page\n\nThis is the number of items per page to return.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_size", - "schema": { - "default": 250, - "format": "int64", - "maximum": 1000, - "minimum": 1, - "type": "integer" - } - }, - { - "description": "Next Page Token\n\nThe next page token.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).", - "in": "query", - "name": "page_token", - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/listWorkspaces" - } - } - }, - "description": "listWorkspaces" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "500": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "List workspaces the user is a member of", - "tags": [ - "workspace" - ] - }, - "post": { - "operationId": "createWorkspace", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/createWorkspaceBody" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/workspace" - } - } - }, - "description": "workspace" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "500": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Create a new workspace", - "tags": [ - "workspace" - ] - } - }, - "/workspaces/{workspace}": { - "get": { - "description": "Any workspace member can access this endpoint.", - "operationId": "getWorkspace", - "parameters": [ - { - "in": "path", - "name": "workspace", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/workspace" - } - } - }, - "description": "workspace" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "500": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Get a workspace", - "tags": [ - "workspace" - ] - }, - "put": { - "description": "Workspace members with the role `OWNER` can access this endpoint.", - "operationId": "updateWorkspace", - "parameters": [ - { - "in": "path", - "name": "workspace", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/updateWorkspaceBody" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/workspace" - } - } - }, - "description": "workspace" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "500": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Update an workspace", - "tags": [ - "workspace" - ] - } - }, - "/workspaces/{workspace}/projects": { - "get": { - "description": "Any workspace member can access this endpoint.", - "operationId": "listWorkspaceProjects", - "parameters": [ - { - "in": "path", - "name": "workspace", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/listWorkspaceProjects" - } - } - }, - "description": "listWorkspaceProjects" - }, - "400": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "401": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "403": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "500": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "List all projects of a workspace", - "tags": [ - "workspace" - ] - } - }, - "/workspaces/{workspace}/tokens": { - "get": { - "description": "A list of all the workspace's API keys.", - "operationId": "listWorkspaceApiKeys", - "parameters": [ - { - "description": "The Workspace ID or Workspace slug", - "in": "path", - "name": "workspace", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/workspaceApiKeys" - } - } - }, - "description": "workspaceApiKeys" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "List a workspace's API keys", - "tags": [ - "workspace" - ] - }, - "post": { - "description": "Create an API key for a workspace.", - "operationId": "createWorkspaceApiKey", - "parameters": [ - { - "description": "The Workspace ID", - "in": "path", - "name": "workspace", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CreateWorkspaceApiKeyBody" - } - } - }, - "x-originalParamName": "Body" - }, - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/workspaceApiKey" - } - } - }, - "description": "workspaceApiKey" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Create workspace API key", - "tags": [ - "workspace" - ] - } - }, - "/workspaces/{workspace}/tokens/{token_id}": { - "delete": { - "description": "Deletes an API key and immediately removes it.", - "operationId": "deleteWorkspaceApiKey", - "parameters": [ - { - "description": "The Workspace ID or Workspace slug", - "in": "path", - "name": "workspace", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "The Token ID", - "in": "path", - "name": "token_id", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "204": { - "$ref": "#/components/responses/emptyResponse" - }, - "default": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/errorGeneric" - } - } - }, - "description": "errorGeneric" - } - }, - "security": [ - { - "oryWorkspaceApiKey": [] - } - ], - "servers": [ - { - "description": "The Ory Network control plane API which is used to manage your Ory Network projects and workspaces.", - "url": "https://api.console.ory.sh" - } - ], - "summary": "Delete workspace API key", - "tags": [ - "workspace" - ] - } - } - }, - "servers": [ - { - "url": "https://{project_slug}.projects.oryapis.com/", - "variables": { - "project_slug": { - "default": "playground", - "description": "Your Ory Network Project slug. You can find it in the [Ory Network Console](https://console.ory.sh/projects/current/developers/guides)." - } - } - } - ], - "tags": [ - { - "description": "APIs for managing identities.", - "name": "identity" - }, - { - "description": "Endpoints used by frontend applications (e.g. Single-Page-App, Native Apps, Server Apps, ...) to manage a user's own profile.", - "name": "frontend" - }, - { - "description": "APIs for managing email and SMS message delivery.", - "name": "courier" - }, - { - "description": "Server Metadata provides relevant information about the running server. Only available when self-hosting this service.", - "name": "metadata" - } - ], - "x-forwarded-proto": "string", - "x-request-id": "string", - "x-tagGroups": [ - { - "name": "Ory Identities", - "tags": [ - "frontend", - "identity", - "courier" - ] - }, - { - "name": "Ory OAuth2", - "tags": [ - "wellknown", - "oAuth2", - "oidc", - "jwk" - ] - }, - { - "name": "Ory Permissions", - "tags": [ - "permission", - "relationship" - ] - }, - { - "name": "Ory Network", - "tags": [ - "project", - "workspace", - "events", - "metadata" - ] - } - ] -} +{"components":{"responses":{"emptyResponse":{"description":"Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is\ntypically 201."},"errorOAuth2BadRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorOAuth2"}}},"description":"Bad Request Error Response"},"errorOAuth2Default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorOAuth2"}}},"description":"Default Error Response"},"errorOAuth2NotFound":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorOAuth2"}}},"description":"Not Found Error Response"},"identitySchemas":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/identitySchemas"}}},"description":"List Identity JSON Schemas Response"},"listCourierMessages":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/message"},"type":"array"}}},"description":"Paginated Courier Message List Response"},"listIdentities":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/identity"},"type":"array"}}},"description":"Paginated Identity List Response"},"listIdentitySessions":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/session"},"type":"array"}}},"description":"List Identity Sessions Response"},"listMySessions":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/session"},"type":"array"}}},"description":"List My Session Response"},"listOAuth2Clients":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/oAuth2Client"},"type":"array"}}},"description":"Paginated OAuth2 Client List Response"},"listSessions":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/session"},"type":"array"}}},"description":"Session List Response\n\nThe response given when listing sessions in an administrative context."}},"schemas":{"AmountInCent":{"format":"int64","type":"integer"},"Attribute":{"properties":{"key":{"type":"string"},"value":{"type":"string"}},"type":"object"},"AttributeFilter":{"properties":{"attribute":{"type":"string"},"condition":{"enum":["equals","not_equals","contains","not_contains","regex","not_regex","set","not_set"],"type":"string","x-go-enum-desc":"equals ConditionEquals\nnot_equals ConditionNotEquals\ncontains ConditionContains\nnot_contains ConditionNotContains\nregex ConditionRegex\nnot_regex ConditionNotRegex\nset ConditionSet\nnot_set ConditionNotSet"},"value":{"type":"string"}},"type":"object"},"AttributesCountDatapoint":{"properties":{"count":{"description":"Count of the attribute value for given key","format":"int64","type":"integer"},"name":{"description":"Name of the attribute value for given key","type":"string"}},"required":["name","count"],"type":"object"},"BillingPeriodBucket":{"properties":{"base_invoices":{"$ref":"#/components/schemas/Invoices"},"billing_period":{"$ref":"#/components/schemas/TimeInterval"},"usage_invoice":{"$ref":"#/components/schemas/invoice"}},"type":"object"},"CodeChannel":{"type":"string"},"CreateInviteResponse":{"properties":{"all_invites":{"description":"A list of all invites for this resource","items":{"$ref":"#/components/schemas/memberInvite"},"type":"array"},"created_invite":{"$ref":"#/components/schemas/memberInvite"}},"required":["created_invite","all_invites"],"type":"object"},"CreateProjectMemberInviteBody":{"description":"Create Project MemberInvite Request Body","properties":{"invitee_email":{"description":"A email to invite","type":"string"}},"type":"object"},"CreateProjectNormalizedPayload":{"description":"Create project (normalized) request payload","properties":{"created_at":{"description":"The Project's Revision Creation Date","format":"date-time","readOnly":true,"type":"string"},"disable_account_experience_welcome_screen":{"description":"Whether to disable the account experience welcome screen, which is hosted under `/ui/welcome`.","type":"boolean"},"enable_ax_v2":{"description":"Whether the new account experience is enabled and reachable.","type":"boolean"},"environment":{"description":"\nprod Production\nstage Staging\ndev Development","enum":["prod","stage","dev"],"type":"string","x-go-enum-desc":"prod Production\nstage Staging\ndev Development"},"home_region":{"description":"\neu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global","enum":["eu-central","asia-northeast","us-east","us-west","us","global"],"type":"string","x-go-enum-desc":"eu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global"},"hydra_oauth2_allowed_top_level_claims":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"hydra_oauth2_client_credentials_default_grant_allowed_scope":{"description":"Automatically grant authorized OAuth2 Scope in OAuth2 Client Credentials Flow.\n\nEach OAuth2 Client is allowed to request a predefined OAuth2 Scope (for example `read write`). If this option is enabled, the full\nscope is automatically granted when performing the OAuth2 Client Credentials flow.\n\nIf disabled, the OAuth2 Client has to request the scope in the OAuth2 request by providing the `scope` query parameter.\n\nSetting this option to true is common if you need compatibility with MITREid.\n\nThis governs the \"oauth2.client_credentials.default_grant_allowed_scope\" setting.","type":"boolean"},"hydra_oauth2_exclude_not_before_claim":{"description":"Set to true if you want to exclude claim `nbf (not before)` part of access token.\n\nThis governs the \"oauth2.exclude_not_before_claim\" setting.","type":"boolean"},"hydra_oauth2_grant_jwt_iat_optional":{"description":"Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523).\n\nIf set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration.\n\nThis governs the \"oauth2.grant.jwt.iat_optional\" setting.","type":"boolean"},"hydra_oauth2_grant_jwt_jti_optional":{"description":"Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523).\n\nIf set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration.\n\nThis governs the \"oauth2.grant.jwt.jti_optional\" setting.","type":"boolean"},"hydra_oauth2_grant_jwt_max_ttl":{"default":"720h","description":"Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be.\n\nThis feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied.\n\nUseful as a safety measure and recommended to keep below 720h.\n\nThis governs the \"oauth2.grant.jwt.max_ttl\" setting.","example":"30m","pattern":"^[0-9]+(ns|us|ms|s|m|h)$","type":"string"},"hydra_oauth2_mirror_top_level_claims":{"description":"Set to false if you don't want to mirror custom claims under 'ext'.\n\nThis governs the \"oauth2.mirror_top_level_claims\" setting.","type":"boolean"},"hydra_oauth2_pkce_enforced":{"description":"Configures whether PKCE should be enforced for all OAuth2 Clients.\n\nThis governs the \"oauth2.pkce.enforced\" setting.","type":"boolean"},"hydra_oauth2_pkce_enforced_for_public_clients":{"description":"Configures whether PKCE should be enforced for OAuth2 Clients without a client secret (public clients).\n\nThis governs the \"oauth2.pkce.enforced_for_public_clients\" setting.","type":"boolean"},"hydra_oauth2_refresh_token_hook":{"description":"Sets the Refresh Token Hook Endpoint. If set this endpoint will be called during the OAuth2 Token Refresh grant update the OAuth2 Access Token claims.\n\nThis governs the \"oauth2.refresh_token_hook\" setting.","type":"string"},"hydra_oauth2_token_hook":{"description":"Sets the token hook endpoint for all grant types. If set it will be called while providing token to customize claims.\n\nThis governs the \"oauth2.token_hook.url\" setting.","type":"string"},"hydra_oidc_dynamic_client_registration_default_scope":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"hydra_oidc_dynamic_client_registration_enabled":{"description":"Configures OpenID Connect Dynamic Client Registration.\n\nThis governs the \"oidc.dynamic_client_registration.enabled\" setting.","type":"boolean"},"hydra_oidc_subject_identifiers_pairwise_salt":{"description":"Configures OpenID Connect Discovery and overwrites the pairwise algorithm\n\nThis governs the \"oidc.subject_identifiers.pairwise_salt\" setting.","type":"string"},"hydra_oidc_subject_identifiers_supported_types":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"hydra_secrets_cookie":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"hydra_secrets_system":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"hydra_serve_cookies_same_site_legacy_workaround":{"description":"Configures the Ory Hydra Cookie Same Site Legacy Workaround\n\nThis governs the \"serve.cookies.same_site_legacy_workaround\" setting.","type":"boolean"},"hydra_serve_cookies_same_site_mode":{"description":"Configures the Ory Hydra Cookie Same Site Mode\n\nThis governs the \"serve.cookies.same_site_mode\" setting.","type":"string"},"hydra_strategies_access_token":{"default":"opaque","description":"Defines access token type\n\nThis governs the \"strategies.access_token\" setting.\nopaque Oauth2AccessTokenStrategyOpaque\njwt Oauth2AccessTokenStrategyJwt","enum":["opaque","jwt"],"type":"string","x-go-enum-desc":"opaque Oauth2AccessTokenStrategyOpaque\njwt Oauth2AccessTokenStrategyJwt"},"hydra_strategies_jwt_scope_claim":{"default":"list","description":"Define the claim to use as the scope in the access token.\n\nThis governs the \"strategies.jwt.scope_claim\" setting:\n\nlist: The scope claim is an array of strings named `scope`: `{ \"scope\": [\"read\", \"write\"] }`\nstring: The scope claim is a space delimited list of strings named `scp`: `{ \"scp\": \"read write\" }`\nboth: The scope claim is both a space delimited list and an array of strings named `scope` and `scp`: `{ \"scope\": [\"read\", \"write\"], \"scp\": \"read write\" }`\nlist OAuth2JWTScopeClaimList\nstring OAuth2JWTScopeClaimString\nboth OAuth2JWTScopeClaimBoth","enum":["list","string","both"],"type":"string","x-go-enum-desc":"list OAuth2JWTScopeClaimList\nstring OAuth2JWTScopeClaimString\nboth OAuth2JWTScopeClaimBoth"},"hydra_strategies_scope":{"default":"wildcard","description":"Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes\n\nThis governs the \"strategies.scope\" setting.\nexact Oauth2ScopeStrategyExact\nwildcard Oauth2ScopeStrategyWildcard","enum":["exact","wildcard"],"type":"string","x-go-enum-desc":"exact Oauth2ScopeStrategyExact\nwildcard Oauth2ScopeStrategyWildcard"},"hydra_ttl_access_token":{"default":"30m","description":"This governs the \"ttl.access_token\" setting.","example":"1h","pattern":"^[0-9]+(ns|us|ms|s|m|h)$","type":"string"},"hydra_ttl_auth_code":{"default":"720h","description":"Configures how long refresh tokens are valid.\n\nSet to -1 for refresh tokens to never expire. This is not recommended!\n\nThis governs the \"ttl.auth_code\" setting.","example":"30m","pattern":"^[0-9]+(ns|us|ms|s|m|h)$","type":"string"},"hydra_ttl_id_token":{"default":"30m","description":"This governs the \"ttl.id_token\" setting.","example":"1h","pattern":"^[0-9]+(ns|us|ms|s|m|h)$","type":"string"},"hydra_ttl_login_consent_request":{"default":"30m","description":"Configures how long a user login and consent flow may take.\n\nThis governs the \"ttl.login_consent_request\" setting.","example":"1h","pattern":"^[0-9]+(ns|us|ms|s|m|h)$","type":"string"},"hydra_ttl_refresh_token":{"default":"720h","description":"Configures how long refresh tokens are valid.\n\nSet to -1 for refresh tokens to never expire. This is not recommended!\n\nThis governs the \"ttl.refresh_token\" setting.","example":"30m","pattern":"^([0-9]+(ns|us|ms|s|m|h)|-1)$","type":"string"},"hydra_urls_consent":{"description":"Sets the OAuth2 Consent Endpoint URL of the OAuth2 User Login & Consent flow.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.consent\" setting.","type":"string"},"hydra_urls_error":{"description":"Sets the OAuth2 Error URL of the OAuth2 User Login & Consent flow.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.error\" setting.","type":"string"},"hydra_urls_login":{"description":"Sets the OAuth2 Login Endpoint URL of the OAuth2 User Login & Consent flow.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.login\" setting.","type":"string"},"hydra_urls_logout":{"description":"Sets the logout endpoint.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.logout\" setting.","type":"string"},"hydra_urls_post_logout_redirect":{"description":"When an OAuth2-related user agent requests to log out, they will be redirected to this url afterwards per default.\n\nDefaults to the Ory Account Experience in development and your application in production mode when a custom domain is connected.\n\nThis governs the \"urls.post_logout_redirect\" setting.","type":"string"},"hydra_urls_registration":{"description":"Sets the OAuth2 Registration Endpoint URL of the OAuth2 User Login & Consent flow.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.registration\" setting.","type":"string"},"hydra_urls_self_issuer":{"description":"This value will be used as the issuer in access and ID tokens. It must be specified and using HTTPS protocol, unless the development mode is enabled.\n\nOn the Ory Network it will be very rare that you want to modify this value. If left empty, it will default to the correct value for the Ory Network.\n\nThis governs the \"urls.self.issuer\" setting.","type":"string"},"hydra_webfinger_jwks_broadcast_keys":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"hydra_webfinger_oidc_discovery_auth_url":{"description":"Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL.\n\nThis governs the \"webfinger.oidc.discovery.auth_url\" setting.","type":"string"},"hydra_webfinger_oidc_discovery_client_registration_url":{"description":"Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint.\n\nThis governs the \"webfinger.oidc.discovery.client_registration_url\" setting.","type":"string"},"hydra_webfinger_oidc_discovery_jwks_url":{"description":"Configures OpenID Connect Discovery and overwrites the JWKS URL.\n\nThis governs the \"webfinger.oidc.discovery.jwks_url\" setting.","type":"string"},"hydra_webfinger_oidc_discovery_supported_claims":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"hydra_webfinger_oidc_discovery_supported_scope":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"hydra_webfinger_oidc_discovery_token_url":{"description":"Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL.\n\nThis governs the \"webfinger.oidc.discovery.token_url\" setting.","type":"string"},"hydra_webfinger_oidc_discovery_userinfo_url":{"description":"Configures OpenID Connect Discovery and overwrites userinfo endpoint to be advertised at the OpenID Connect Discovery endpoint /.well-known/openid-configuration. Defaults to Ory Hydra's userinfo endpoint at /userinfo. Set this value if you want to handle this endpoint yourself.\n\nThis governs the \"webfinger.oidc.discovery.userinfo_url\" setting.","type":"string"},"id":{"description":"The revision ID.","format":"uuid","readOnly":true,"type":"string"},"keto_namespace_configuration":{"description":"The Revisions' Keto Namespace Configuration\n\nThe string is a URL pointing to an OPL file with the configuration.","type":"string"},"keto_namespaces":{"$ref":"#/components/schemas/KetoNamespaces"},"kratos_cookies_same_site":{"description":"Configures the Ory Kratos Cookie SameSite Attribute\n\nThis governs the \"cookies.same_site\" setting.","type":"string"},"kratos_courier_channels":{"$ref":"#/components/schemas/revisionCourierChannels"},"kratos_courier_delivery_strategy":{"default":"smtp","description":"The delivery strategy to use when sending emails\n\n`smtp`: Use SMTP server\n`http`: Use the built in HTTP client to send the email to some remote service","type":"string"},"kratos_courier_http_request_config_auth_api_key_in":{"description":"The location of the API key to use in the HTTP email sending service's authentication\n\n`header`: Send the key value pair as a header\n`cookie`: Send the key value pair as a cookie\nThis governs the \"courier.http.auth.config.in\" setting","type":"string"},"kratos_courier_http_request_config_auth_api_key_name":{"description":"The name of the API key to use in the HTTP email sending service's authentication\n\nThis governs the \"courier.http.auth.config.name\" setting","type":"string"},"kratos_courier_http_request_config_auth_api_key_value":{"description":"The value of the API key to use in the HTTP email sending service's authentication\n\nThis governs the \"courier.http.auth.config.value\" setting","type":"string"},"kratos_courier_http_request_config_auth_basic_auth_password":{"description":"The password to use for basic auth in the HTTP email sending service's authentication\n\nThis governs the \"courier.http.auth.config.password\" setting","type":"string"},"kratos_courier_http_request_config_auth_basic_auth_user":{"description":"The user to use for basic auth in the HTTP email sending service's authentication\n\nThis governs the \"courier.http.auth.config.user\" setting","type":"string"},"kratos_courier_http_request_config_auth_type":{"default":"empty (no authentication)","description":"The authentication type to use while contacting the remote HTTP email sending service\n\n`basic_auth`: Use Basic Authentication\n`api_key`: Use API Key Authentication in a header or cookie","type":"string"},"kratos_courier_http_request_config_body":{"description":"The Jsonnet template to generate the body to send to the remote HTTP email sending service\n\nShould be valid Jsonnet and base64 encoded\n\nThis governs the \"courier.http.body\" setting","type":"string"},"kratos_courier_http_request_config_headers":{"$ref":"#/components/schemas/nullJsonRawMessage"},"kratos_courier_http_request_config_method":{"default":"POST","description":"The http METHOD to use when calling the remote HTTP email sending service","type":"string"},"kratos_courier_http_request_config_url":{"description":"The URL of the remote HTTP email sending service\n\nThis governs the \"courier.http.url\" setting","type":"string"},"kratos_courier_smtp_connection_uri":{"description":"Configures the Ory Kratos SMTP Connection URI\n\nThis governs the \"courier.smtp.connection_uri\" setting.","type":"string"},"kratos_courier_smtp_from_address":{"description":"Configures the Ory Kratos SMTP From Address\n\nThis governs the \"courier.smtp.from_address\" setting.","type":"string"},"kratos_courier_smtp_from_name":{"description":"Configures the Ory Kratos SMTP From Name\n\nThis governs the \"courier.smtp.from_name\" setting.","type":"string"},"kratos_courier_smtp_headers":{"$ref":"#/components/schemas/nullJsonRawMessage"},"kratos_courier_smtp_local_name":{"description":"Configures the local_name to use in SMTP connections\n\nThis governs the \"courier.smtp.local_name\" setting.","type":"string"},"kratos_courier_templates_login_code_valid_email_body_html":{"description":"Configures the Ory Kratos Valid Login via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.login_code.valid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_login_code_valid_email_body_plaintext":{"description":"Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.login_code.valid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_login_code_valid_email_subject":{"description":"Configures the Ory Kratos Valid Login via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.login_code.valid.email.subject\" setting.","type":"string"},"kratos_courier_templates_login_code_valid_sms_body_plaintext":{"description":"Configures the Ory Kratos Valid Login via Code SMS plain text body\n\nThis governs the \"courier.smtp.templates.login_code.valid.sms.plaintext\" setting.","type":"string"},"kratos_courier_templates_recovery_code_invalid_email_body_html":{"description":"Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_recovery_code_invalid_email_body_plaintext":{"description":"Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery_code.invalid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_recovery_code_invalid_email_subject":{"description":"Configures the Ory Kratos Invalid Recovery via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_recovery_code_valid_email_body_html":{"description":"Configures the Ory Kratos Valid Recovery via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.recovery_code.valid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_recovery_code_valid_email_body_plaintext":{"description":"Configures the Ory Kratos Valid Recovery via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery_code.valid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_recovery_code_valid_email_subject":{"description":"Configures the Ory Kratos Valid Recovery via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.recovery_code.valid.email.subject\" setting.","type":"string"},"kratos_courier_templates_recovery_invalid_email_body_html":{"description":"Configures the Ory Kratos Invalid Recovery Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_recovery_invalid_email_body_plaintext":{"description":"Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery.invalid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_recovery_invalid_email_subject":{"description":"Configures the Ory Kratos Invalid Recovery Email Subject Template\n\nThis governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_recovery_valid_email_body_html":{"description":"Configures the Ory Kratos Valid Recovery Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.recovery.valid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_recovery_valid_email_body_plaintext":{"description":"Configures the Ory Kratos Valid Recovery Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_recovery_valid_email_subject":{"description":"Configures the Ory Kratos Valid Recovery Email Subject Template\n\nThis governs the \"courier.smtp.templates.recovery.valid.email.subject\" setting.","type":"string"},"kratos_courier_templates_registration_code_valid_email_body_html":{"description":"Configures the Ory Kratos Valid Registration via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.registration_code.valid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_registration_code_valid_email_body_plaintext":{"description":"Configures the Ory Kratos Valid Registration via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.registration_code.valid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_registration_code_valid_email_subject":{"description":"Configures the Ory Kratos Valid Registration via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.registration_code.valid.email.subject\" setting.","type":"string"},"kratos_courier_templates_registration_code_valid_sms_body_plaintext":{"description":"Configures the Ory Kratos Valid Registration via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.registration_code.valid.sms.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_verification_code_invalid_email_body_html":{"description":"Configures the Ory Kratos Invalid Verification via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.verification_code.invalid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_verification_code_invalid_email_body_plaintext":{"description":"Configures the Ory Kratos Invalid Verification via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.verification_code.invalid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_verification_code_invalid_email_subject":{"description":"Configures the Ory Kratos Invalid Verification via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.verification_code.invalid.email.subject\" setting.","type":"string"},"kratos_courier_templates_verification_code_valid_email_body_html":{"description":"Configures the Ory Kratos Valid Verification via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.verification_code.valid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_verification_code_valid_email_body_plaintext":{"description":"Configures the Ory Kratos Valid Verification via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.verification_code.valid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_verification_code_valid_email_subject":{"description":"Configures the Ory Kratos Valid Verification via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.verification_code.valid.email.subject\" setting.","type":"string"},"kratos_courier_templates_verification_code_valid_sms_body_plaintext":{"description":"Configures the Ory Kratos Valid Verification via Code SMS Body Plaintext\n\nThis governs the \"courier.smtp.templates.verification_code.valid.sms.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_verification_invalid_email_body_html":{"description":"Configures the Ory Kratos Invalid Verification Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.verification.invalid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_verification_invalid_email_body_plaintext":{"description":"Configures the Ory Kratos Invalid Verification Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.verification.invalid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_verification_invalid_email_subject":{"description":"Configures the Ory Kratos Invalid Verification Email Subject Template\n\nThis governs the \"courier.smtp.templates.verification.invalid.email.subject\" setting.","type":"string"},"kratos_courier_templates_verification_valid_email_body_html":{"description":"Configures the Ory Kratos Valid Verification Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.verification.valid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_verification_valid_email_body_plaintext":{"description":"Configures the Ory Kratos Valid Verification Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.verification.valid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_verification_valid_email_subject":{"description":"Configures the Ory Kratos Valid Verification Email Subject Template\n\nThis governs the \"courier.smtp.templates.verification.valid.email.subject\" setting.","type":"string"},"kratos_feature_flags_cacheable_sessions":{"description":"Configures the Ory Kratos Session caching feature flag\n\nThis governs the \"feature_flags.cacheable_sessions\" setting.","type":"boolean"},"kratos_feature_flags_cacheable_sessions_max_age":{"description":"Configures the Ory Kratos Session caching max-age feature flag\n\nThis governs the \"feature_flags.cacheable_sessions_max_age\" setting.","type":"string"},"kratos_feature_flags_faster_session_extend":{"description":"Configures the Ory Kratos Faster Session Extend setting\n\nIf enabled allows faster session extension by skipping the session lookup and returning 201 instead of 200.\nDisabling this feature will be deprecated in the future.\n\nThis governs the \"feature_flags.faster_session_extend\" setting.","type":"boolean"},"kratos_feature_flags_use_continue_with_transitions":{"description":"Configures the Ory Kratos Session use_continue_with_transitions flag\n\nThis governs the \"feature_flags.use_continue_with_transitions\" setting.","type":"boolean"},"kratos_identity_schemas":{"$ref":"#/components/schemas/projectRevisionIdentitySchemas"},"kratos_oauth2_provider_headers":{"$ref":"#/components/schemas/nullJsonRawMessage"},"kratos_oauth2_provider_override_return_to":{"description":"Kratos OAuth2 Provider Override Return To\n\nEnabling this allows Kratos to set the return_to parameter automatically to the OAuth2 request URL on the login flow, allowing complex flows such as recovery to continue to the initial OAuth2 flow.","type":"boolean"},"kratos_oauth2_provider_url":{"description":"The Revisions' OAuth2 Provider Integration URL\n\nThis governs the \"oauth2_provider.url\" setting.","type":"string"},"kratos_preview_default_read_consistency_level":{"description":"Configures the default read consistency level for identity APIs\n\nThis governs the `preview.default_read_consistency_level` setting.\n\nThe read consistency level determines the consistency guarantee for reads:\n\nstrong (slow): The read is guaranteed to return the most recent data committed at the start of the read.\neventual (very fast): The result will return data that is about 4.8 seconds old.\n\nSetting the default consistency level to `eventual` may cause regressions in the future as we add consistency\ncontrols to more APIs. Currently, the following APIs will be affected by this setting:\n\n`GET /admin/identities`\n\nDefaults to \"strong\" for new and existing projects. This feature is in preview. Use with caution.","type":"string"},"kratos_secrets_cipher":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"kratos_secrets_cookie":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"kratos_secrets_default":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"kratos_selfservice_allowed_return_urls":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"kratos_selfservice_default_browser_return_url":{"description":"Configures the Ory Kratos Default Return URL\n\nThis governs the \"selfservice.allowed_return_urls\" setting.","type":"string"},"kratos_selfservice_flows_error_ui_url":{"description":"Configures the Ory Kratos Error UI URL\n\nThis governs the \"selfservice.flows.error.ui_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_code_default_browser_return_url":{"description":"Configures the Ory Kratos Login After Password Default Return URL\n\nThis governs the \"selfservice.flows.code.after.password.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_default_browser_return_url":{"description":"Configures the Ory Kratos Login Default Return URL\n\nThis governs the \"selfservice.flows.login.after.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url":{"description":"Configures the Ory Kratos Login After Password Default Return URL\n\nThis governs the \"selfservice.flows.lookup_secret.after.password.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_oidc_default_browser_return_url":{"description":"Configures the Ory Kratos Login After OIDC Default Return URL\n\nThis governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_passkey_default_browser_return_url":{"description":"Configures the Ory Kratos Login After Passkey Default Return URL\n\nThis governs the \"selfservice.flows.login.after.passkey.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_password_default_browser_return_url":{"description":"Configures the Ory Kratos Login After Password Default Return URL\n\nThis governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_totp_default_browser_return_url":{"description":"Configures the Ory Kratos Login After Password Default Return URL\n\nThis governs the \"selfservice.flows.totp.after.password.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_webauthn_default_browser_return_url":{"description":"Configures the Ory Kratos Login After WebAuthn Default Return URL\n\nThis governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_lifespan":{"description":"Configures the Ory Kratos Login Lifespan\n\nThis governs the \"selfservice.flows.login.lifespan\" setting.","type":"string"},"kratos_selfservice_flows_login_ui_url":{"description":"Configures the Ory Kratos Login UI URL\n\nThis governs the \"selfservice.flows.login.ui_url\" setting.","type":"string"},"kratos_selfservice_flows_logout_after_default_browser_return_url":{"description":"Configures the Ory Kratos Logout Default Return URL\n\nThis governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_recovery_after_default_browser_return_url":{"description":"Configures the Ory Kratos Recovery Default Return URL\n\nThis governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_recovery_enabled":{"description":"Configures the Ory Kratos Recovery Enabled Setting\n\nThis governs the \"selfservice.flows.recovery.enabled\" setting.","type":"boolean"},"kratos_selfservice_flows_recovery_lifespan":{"description":"Configures the Ory Kratos Recovery Lifespan\n\nThis governs the \"selfservice.flows.recovery.lifespan\" setting.","type":"string"},"kratos_selfservice_flows_recovery_notify_unknown_recipients":{"description":"Configures whether to notify unknown recipients of a Ory Kratos recovery flow\n\nThis governs the \"selfservice.flows.recovery.notify_unknown_recipients\" setting.","type":"boolean"},"kratos_selfservice_flows_recovery_ui_url":{"description":"Configures the Ory Kratos Recovery UI URL\n\nThis governs the \"selfservice.flows.recovery.ui_url\" setting.","type":"string"},"kratos_selfservice_flows_recovery_use":{"description":"Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\")\n\nThis governs the \"selfservice.flows.recovery.use\" setting.\nlink SelfServiceMessageVerificationStrategyLink\ncode SelfServiceMessageVerificationStrategyCode","enum":["link","code"],"type":"string","x-go-enum-desc":"link SelfServiceMessageVerificationStrategyLink\ncode SelfServiceMessageVerificationStrategyCode"},"kratos_selfservice_flows_registration_after_code_default_browser_return_url":{"description":"Configures the Ory Kratos Registration After Code Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.code.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_registration_after_default_browser_return_url":{"description":"Configures the Ory Kratos Registration Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_registration_after_oidc_default_browser_return_url":{"description":"Configures the Ory Kratos Registration After OIDC Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_registration_after_passkey_default_browser_return_url":{"description":"Configures the Ory Kratos Registration After Passkey Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_registration_after_password_default_browser_return_url":{"description":"Configures the Ory Kratos Registration After Password Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url":{"description":"Configures the Ory Kratos Registration After Webauthn Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.webauthn.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_registration_enable_legacy_one_step":{"description":"Disable two-step registration\n\nTwo-step registration is a significantly improved sign up flow and recommended\nwhen using more than one sign up methods. To revert to one-step registration,\nset this to `true`.\n\nThis governs the \"selfservice.flows.registration.enable_legacy_one_step\" setting.","type":"boolean"},"kratos_selfservice_flows_registration_enabled":{"description":"Configures the Whether Ory Kratos Registration is Enabled\n\nThis governs the \"selfservice.flows.registration.enabled\" setting.0","type":"boolean"},"kratos_selfservice_flows_registration_lifespan":{"description":"Configures the Ory Kratos Registration Lifespan\n\nThis governs the \"selfservice.flows.registration.lifespan\" setting.","type":"string"},"kratos_selfservice_flows_registration_login_hints":{"description":"Configures the Ory Kratos Registration Login Hints\n\nShows helpful information when a user tries to sign up with a duplicate account.\n\nThis governs the \"selfservice.flows.registration.login_hints\" setting.","type":"boolean"},"kratos_selfservice_flows_registration_ui_url":{"description":"Configures the Ory Kratos Registration UI URL\n\nThis governs the \"selfservice.flows.registration.ui_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL\n\nThis governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL After Updating Lookup Secrets\n\nThis governs the \"selfservice.flows.settings.after.lookup_secret.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_oidc_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL After Updating Social Sign In\n\nThis governs the \"selfservice.flows.settings.after.oidc.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_passkey_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL After Updating Passkey\n\nThis governs the \"selfservice.flows.settings.after.passkey.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_password_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL After Updating Passwords\n\nThis governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_profile_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL After Updating Profiles\n\nThis governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_totp_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL After Updating TOTP\n\nThis governs the \"selfservice.flows.settings.after.totp.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL After Updating WebAuthn\n\nThis governs the \"selfservice.flows.settings.after.webauthn.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_lifespan":{"description":"Configures the Ory Kratos Settings Lifespan\n\nThis governs the \"selfservice.flows.settings.lifespan\" setting.","type":"string"},"kratos_selfservice_flows_settings_privileged_session_max_age":{"description":"Configures the Ory Kratos Settings Privileged Session Max Age\n\nThis governs the \"selfservice.flows.settings.privileged_session_max_age\" setting.","type":"string"},"kratos_selfservice_flows_settings_required_aal":{"description":"Configures the Ory Kratos Settings Required AAL\n\nThis governs the \"selfservice.flows.settings.required_aal\" setting.","type":"string"},"kratos_selfservice_flows_settings_ui_url":{"description":"Configures the Ory Kratos Settings UI URL\n\nThis governs the \"selfservice.flows.settings.ui_url\" setting.","type":"string"},"kratos_selfservice_flows_verification_after_default_browser_return_url":{"description":"Configures the Ory Kratos Verification Default Return URL\n\nThis governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_verification_enabled":{"description":"Configures the Ory Kratos Verification Enabled Setting\n\nThis governs the \"selfservice.flows.verification.enabled\" setting.","type":"boolean"},"kratos_selfservice_flows_verification_lifespan":{"description":"Configures the Ory Kratos Verification Lifespan\n\nThis governs the \"selfservice.flows.verification.lifespan\" setting.","type":"string"},"kratos_selfservice_flows_verification_notify_unknown_recipients":{"description":"Configures whether to notify unknown recipients of a Ory Kratos verification flow\n\nThis governs the \"selfservice.flows.verification.notify_unknown_recipients\" setting.","type":"boolean"},"kratos_selfservice_flows_verification_ui_url":{"description":"Configures the Ory Kratos Verification UI URL\n\nThis governs the \"selfservice.flows.verification.ui_url\" setting.","type":"string"},"kratos_selfservice_flows_verification_use":{"description":"Configures the Ory Kratos Strategy to use for Verification\n\nThis governs the \"selfservice.flows.verification.use\" setting.\nlink SelfServiceMessageVerificationStrategyLink\ncode SelfServiceMessageVerificationStrategyCode","enum":["link","code"],"type":"string","x-go-enum-desc":"link SelfServiceMessageVerificationStrategyLink\ncode SelfServiceMessageVerificationStrategyCode"},"kratos_selfservice_methods_code_config_lifespan":{"description":"Configures the Ory Kratos Code Method's lifespan\n\nThis governs the \"selfservice.methods.code.config.lifespan\" setting.","type":"string"},"kratos_selfservice_methods_code_config_missing_credential_fallback_enabled":{"description":"Enables a fallback method required in certain legacy use cases.\n\nThis governs the \"selfservice.methods.code.config.missing_credential_fallback_enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_code_enabled":{"description":"Configures whether Ory Kratos Code Method is enabled\n\nThis governs the \"selfservice.methods.code.enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_code_mfa_enabled":{"description":"Configures whether the code method can be used to fulfil MFA flows\n\nThis governs the \"selfservice.methods.code.mfa_enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_code_passwordless_enabled":{"description":"Configures whether Ory Kratos Passwordless should use the Code Method\n\nThis governs the \"selfservice.methods.code.passwordless_enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_code_passwordless_login_fallback_enabled":{"description":"This setting allows the code method to always login a user with code if they have registered with another authentication method such as password or social sign in.\n\nThis governs the \"selfservice.methods.code.passwordless_login_fallback_enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_link_config_base_url":{"description":"Configures the Base URL which Recovery, Verification, and Login Links Point to\n\nIt is recommended to leave this value empty. It will be appropriately configured to the best matching domain\n(e.g. when using custom domains) automatically.\n\nThis governs the \"selfservice.methods.link.config.base_url\" setting.","type":"string"},"kratos_selfservice_methods_link_config_lifespan":{"description":"Configures the Ory Kratos Link Method's lifespan\n\nThis governs the \"selfservice.methods.link.config.lifespan\" setting.","type":"string"},"kratos_selfservice_methods_link_enabled":{"description":"Configures whether Ory Kratos Link Method is enabled\n\nThis governs the \"selfservice.methods.link.enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_lookup_secret_enabled":{"description":"Configures whether Ory Kratos TOTP Lookup Secret is enabled\n\nThis governs the \"selfservice.methods.lookup_secret.enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_oidc_config_base_redirect_uri":{"description":"Configures the Ory Kratos Third Party / OpenID Connect base redirect URI\n\nThis governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting.","type":"string"},"kratos_selfservice_methods_oidc_config_providers":{"$ref":"#/components/schemas/projectRevisionThirdPartyLoginProviders"},"kratos_selfservice_methods_oidc_enabled":{"description":"Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled\n\nThis governs the \"selfservice.methods.oidc.enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_passkey_config_rp_display_name":{"description":"Configures the Ory Kratos Passkey RP Display Name\n\nThis governs the \"selfservice.methods.passkey.config.rp.display_name\" setting.","type":"string"},"kratos_selfservice_methods_passkey_config_rp_id":{"description":"Configures the Ory Kratos Passkey RP ID\n\nThis governs the \"selfservice.methods.passkey.config.rp.id\" setting.","type":"string"},"kratos_selfservice_methods_passkey_config_rp_origins":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"kratos_selfservice_methods_passkey_enabled":{"description":"Configures whether Ory Kratos Passkey authentication is enabled\n\nThis governs the \"selfservice.methods.passkey.enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_password_config_haveibeenpwned_enabled":{"description":"Configures whether Ory Kratos Password HIBP Checks is enabled\n\nThis governs the \"selfservice.methods.password.config.haveibeenpwned_enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_password_config_identifier_similarity_check_enabled":{"description":"Configures whether Ory Kratos Password should disable the similarity policy.\n\nThis governs the \"selfservice.methods.password.config.identifier_similarity_check_enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_password_config_ignore_network_errors":{"description":"Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors\n\nThis governs the \"selfservice.methods.password.config.ignore_network_errors\" setting.","type":"boolean"},"kratos_selfservice_methods_password_config_max_breaches":{"description":"Configures Ory Kratos Password Max Breaches Detection\n\nThis governs the \"selfservice.methods.password.config.max_breaches\" setting.","format":"int64","type":"integer"},"kratos_selfservice_methods_password_config_min_password_length":{"description":"Configures the minimum length of passwords.\n\nThis governs the \"selfservice.methods.password.config.min_password_length\" setting.","format":"int64","type":"integer"},"kratos_selfservice_methods_password_enabled":{"description":"Configures whether Ory Kratos Password Method is enabled\n\nThis governs the \"selfservice.methods.password.enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_profile_enabled":{"description":"Configures whether Ory Kratos Profile Method is enabled\n\nThis governs the \"selfservice.methods.profile.enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_totp_config_issuer":{"description":"Configures Ory Kratos TOTP Issuer\n\nThis governs the \"selfservice.methods.totp.config.issuer\" setting.","type":"string"},"kratos_selfservice_methods_totp_enabled":{"description":"Configures whether Ory Kratos TOTP Method is enabled\n\nThis governs the \"selfservice.methods.totp.enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_webauthn_config_passwordless":{"description":"Configures whether Ory Kratos Webauthn is used for passwordless flows\n\nThis governs the \"selfservice.methods.webauthn.config.passwordless\" setting.","type":"boolean"},"kratos_selfservice_methods_webauthn_config_rp_display_name":{"description":"Configures the Ory Kratos Webauthn RP Display Name\n\nThis governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting.","type":"string"},"kratos_selfservice_methods_webauthn_config_rp_icon":{"description":"Configures the Ory Kratos Webauthn RP Icon\n\nThis governs the \"selfservice.methods.webauthn.config.rp.icon\" setting.\nDeprecated: This value will be ignored due to security considerations.","type":"string"},"kratos_selfservice_methods_webauthn_config_rp_id":{"description":"Configures the Ory Kratos Webauthn RP ID\n\nThis governs the \"selfservice.methods.webauthn.config.rp.id\" setting.","type":"string"},"kratos_selfservice_methods_webauthn_config_rp_origins":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"kratos_selfservice_methods_webauthn_enabled":{"description":"Configures whether Ory Kratos Webauthn is enabled\n\nThis governs the \"selfservice.methods.webauthn.enabled\" setting.","type":"boolean"},"kratos_session_cookie_persistent":{"description":"Configures the Ory Kratos Session Cookie Persistent Attribute\n\nThis governs the \"session.cookie.persistent\" setting.","type":"boolean"},"kratos_session_cookie_same_site":{"description":"Configures the Ory Kratos Session Cookie SameSite Attribute\n\nThis governs the \"session.cookie.same_site\" setting.","type":"string"},"kratos_session_lifespan":{"description":"Configures the Ory Kratos Session Lifespan\n\nThis governs the \"session.lifespan\" setting.","type":"string"},"kratos_session_whoami_required_aal":{"description":"Configures the Ory Kratos Session Whoami AAL requirement\n\nThis governs the \"session.whoami.required_aal\" setting.","type":"string"},"kratos_session_whoami_tokenizer_templates":{"$ref":"#/components/schemas/normalizedProjectRevisionTokenizerTemplates"},"name":{"description":"The project's name.","type":"string"},"project_id":{"description":"The Revision's Project ID","format":"uuid","type":"string"},"project_revision_hooks":{"$ref":"#/components/schemas/projectRevisionHooks"},"serve_admin_cors_allowed_origins":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"serve_admin_cors_enabled":{"description":"Enable CORS headers on all admin APIs\n\nThis governs the \"serve.admin.cors.enabled\" setting.","type":"boolean"},"serve_public_cors_allowed_origins":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"serve_public_cors_enabled":{"description":"Enable CORS headers on all public APIs\n\nThis governs the \"serve.public.cors.enabled\" setting.","type":"boolean"},"strict_security":{"description":"Whether the project should employ strict security measures. Setting this to true is recommended for going into production.","type":"boolean"},"updated_at":{"description":"Last Time Project's Revision was Updated","format":"date-time","readOnly":true,"type":"string"},"workspace_id":{"format":"uuid","type":"string"}},"required":["name","environment"],"type":"object"},"CreateSubscriptionCommon":{"properties":{"currency":{"description":"\nusd USD\neur Euro","enum":["usd","eur"],"type":"string","x-go-enum-desc":"usd USD\neur Euro"},"interval":{"description":"\nmonthly Monthly\nyearly Yearly","enum":["monthly","yearly"],"type":"string","x-go-enum-desc":"monthly Monthly\nyearly Yearly"},"plan":{"type":"string"},"return_to":{"type":"string"}},"required":["plan","interval"],"type":"object"},"CreateVerifiableCredentialRequestBody":{"properties":{"format":{"type":"string"},"proof":{"$ref":"#/components/schemas/VerifiableCredentialProof"},"types":{"items":{"type":"string"},"type":"array"}},"title":"CreateVerifiableCredentialRequestBody contains the request body to request a verifiable credential.","type":"object"},"CreateWorkspaceApiKeyBody":{"properties":{"expires_at":{"$ref":"#/components/schemas/Time"},"name":{"description":"The API Key Name\n\nA descriptive name for the API key.","type":"string"}},"required":["name"],"type":"object"},"CreateWorkspaceMemberInviteBody":{"description":"Create Workspace Invite Request Body","properties":{"invitee_email":{"description":"A email to invite","type":"string"},"role":{"description":"The role the user will have in the workspace\nowner WorkspaceMemberRoleOwner\ndeveloper WorkspaceMemberRoleDeveloper","enum":["owner","developer"],"type":"string","x-go-enum-desc":"owner WorkspaceMemberRoleOwner\ndeveloper WorkspaceMemberRoleDeveloper"}},"required":["invitee_email","role"],"type":"object"},"CustomHostnameStatus":{"title":"CustomHostnameStatus is the enumeration of valid state values in the CustomHostnameSSL.","type":"string"},"DefaultError":{},"Duration":{"description":"A Duration represents the elapsed time between two instants\nas an int64 nanosecond count. The representation limits the\nlargest representable duration to approximately 290 years.","format":"int64","type":"integer"},"GenericUsage":{"properties":{"additional_price":{"$ref":"#/components/schemas/Money"},"included_usage":{"description":"IncludedUsage is the number of included items.","format":"int64","type":"integer"}},"required":["included_usage","additional_price"],"title":"GenericUsage is the generic usage type that can be used for any feature.","type":"object"},"ID":{"format":"int64","type":"integer"},"InvoiceDataV1":{"properties":{"billing_period":{"$ref":"#/components/schemas/TimeInterval"},"currency":{"description":"The currency of the invoice.","readOnly":true,"type":"string"},"deleted":{"description":"Deleted is true if the invoice has been soft-deleted.","readOnly":true,"type":"boolean"},"items":{"description":"The items that are part of this invoice.","items":{"$ref":"#/components/schemas/LineItemV1"},"readOnly":true,"type":"array"},"plan":{"description":"The plan that this invoice is based on, in the format \"Name@version\".","readOnly":true,"type":"string"},"stripe_invoice_item":{"type":"string"},"stripe_invoice_status":{"$ref":"#/components/schemas/InvoiceStatus"},"stripe_link":{"description":"An optional link to the invoice on Stripe.","readOnly":true,"type":"string"},"subtitle":{"description":"The subtitle of the invoice.","readOnly":true,"type":"string"},"tax":{"$ref":"#/components/schemas/TaxLineItem"},"title":{"description":"The title of the invoice.","readOnly":true,"type":"string"},"total_in_cent":{"$ref":"#/components/schemas/AmountInCent"}},"required":["title","currency","total_in_cent","billing_period","items"],"type":"object"},"InvoiceStatus":{"description":"The status of the invoice, one of `draft`, `open`, `paid`, `uncollectible`, or `void`. [Learn more](https://stripe.com/docs/billing/invoices/workflow#workflow-overview)","type":"string"},"Invoices":{"items":{"$ref":"#/components/schemas/invoice"},"type":"array"},"JSONRawMessage":{"title":"JSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger.","type":"object"},"KetoNamespace":{"properties":{"id":{"format":"int64","type":"integer"},"name":{"type":"string"}},"type":"object"},"KetoNamespaces":{"items":{"$ref":"#/components/schemas/KetoNamespace"},"type":"array"},"LineItemV1":{"properties":{"amount_in_cent":{"$ref":"#/components/schemas/AmountInCent"},"description":{"type":"string"},"items":{"description":"Each line item can have sub-items to create a hierarchy.","items":{"$ref":"#/components/schemas/LineItemV1"},"type":"array"},"quantity":{"format":"int64","type":"integer"},"title":{"type":"string"},"unit_price":{"type":"string"}},"type":"object"},"Money":{"properties":{"Cents":{"format":"int64","type":"integer"},"String":{"type":"string"},"Unit":{"type":"string"}},"type":"object"},"NormalizedProjectRevisionCourierChannel":{"properties":{"channel_id":{"description":"The Channel's public ID","type":"string"},"created_at":{"description":"The creation date","format":"date-time","readOnly":true,"type":"string"},"request_config_auth_config_api_key_in":{"description":"API key location\n\nCan either be \"header\" or \"query\"","example":"header","type":"string"},"request_config_auth_config_api_key_name":{"description":"API key name\n\nOnly used if the auth type is api_key","type":"string"},"request_config_auth_config_api_key_value":{"description":"API key value\n\nOnly used if the auth type is api_key","type":"string"},"request_config_auth_config_basic_auth_password":{"description":"Basic Auth Password\n\nOnly used if the auth type is basic_auth","type":"string"},"request_config_auth_config_basic_auth_user":{"description":"Basic Auth Username\n\nOnly used if the auth type is basic_auth","type":"string"},"request_config_auth_type":{"description":"HTTP Auth Method to use for the HTTP call\n\nCan either be basic_auth or api_key\nbasic_auth CourierChannelAuthTypeBasicAuth\napi_key CourierChannelAuthTypeApiKey","enum":["basic_auth","api_key"],"type":"string","x-go-enum-desc":"basic_auth CourierChannelAuthTypeBasicAuth\napi_key CourierChannelAuthTypeApiKey"},"request_config_body":{"description":"URI pointing to the JsonNet template used for HTTP body payload generation.","type":"string"},"request_config_headers":{"$ref":"#/components/schemas/nullJsonRawMessage"},"request_config_method":{"description":"The HTTP method to use (GET, POST, etc) for the HTTP call","example":"POST","type":"string"},"request_config_url":{"type":"string"},"updated_at":{"description":"Last upate time","format":"date-time","readOnly":true,"type":"string"}},"required":["channel_id","request_config_method","request_config_body"],"type":"object"},"NullBool":{"nullable":true,"type":"boolean"},"NullDuration":{"nullable":true,"pattern":"^[0-9]+(ns|us|ms|s|m|h)$","type":"string"},"NullInt":{"nullable":true,"type":"integer"},"NullString":{"nullable":true,"type":"string"},"NullTime":{"format":"date-time","nullable":true,"type":"string"},"NullUUID":{"format":"uuid4","nullable":true,"type":"string"},"OAuth2LoginChallengeParams":{"type":"object"},"OrganizationBody":{"description":"Create B2B SSO Organization Request Body","properties":{"domains":{"description":"Domains contains the list of organization's domains.","items":{"type":"string"},"type":"array"},"label":{"description":"Label contains the organization's label.","type":"string"}},"type":"object"},"ParseError":{"properties":{"end":{"$ref":"#/components/schemas/SourcePosition"},"message":{"type":"string"},"start":{"$ref":"#/components/schemas/SourcePosition"}},"type":"object"},"Plan":{"properties":{"name":{"description":"Name is the name of the plan.","type":"string"},"version":{"description":"Version is the version of the plan. The combination of `name@version` must be unique.","format":"int64","type":"integer"}},"required":["name","version"],"type":"object"},"PlanDetails":{"properties":{"base_fee_monthly":{"description":"BaseFeeMonthly is the monthly base fee for the plan.","format":"int64","type":"integer"},"base_fee_yearly":{"description":"BaseFeeYearly is the yearly base fee for the plan.","format":"int64","type":"integer"},"custom":{"description":"Custom is true if the plan is custom. This means it will be hidden from the pricing page.","type":"boolean"},"description":{"description":"Description is the description of the plan.","type":"string"},"features":{"$ref":"#/components/schemas/PlanFeatures"},"latest":{"description":"Latest is true if the plan is the latest version of a plan and should be available for self-service usage.","type":"boolean"},"name":{"description":"Name is the name of the plan.","type":"string"},"version":{"description":"Version is the version of the plan. The combination of `name@version` must be unique.","format":"int64","type":"integer"}},"required":["name","version","description","custom","base_fee_monthly","base_fee_yearly","features"],"type":"object"},"PlanFeatures":{"additionalProperties":{"$ref":"#/components/schemas/GenericUsage"},"title":"Features are the feature definitions included in the plan.","type":"object"},"Pricing":{"items":{"$ref":"#/components/schemas/PlanDetails"},"type":"array"},"ProjectEventsDatapoint":{"properties":{"attributes":{"description":"Event attributes with details","items":{"$ref":"#/components/schemas/Attribute"},"type":"array"},"name":{"description":"Name of the event","type":"string"},"timestamp":{"description":"Time of occurence","format":"date-time","type":"string"}},"required":["name","timestamp","attributes"],"type":"object"},"RFC6749ErrorJson":{"properties":{"error":{"type":"string"},"error_debug":{"type":"string"},"error_description":{"type":"string"},"error_hint":{"type":"string"},"status_code":{"format":"int64","type":"integer"}},"title":"RFC6749ErrorJson is a helper struct for JSON encoding/decoding of RFC6749Error.","type":"object"},"RecoveryAddressType":{"title":"RecoveryAddressType must not exceed 16 characters as that is the limitation in the SQL Schema.","type":"string"},"SessionActivityDatapoint":{"properties":{"country":{"description":"Country of the events","type":"string"},"failed":{"description":"Number of events that failed in the given timeframe","format":"int64","type":"integer"},"succeeded":{"description":"Number of events that succeeded in the given timeframe","format":"int64","type":"integer"}},"required":["succeeded","failed","country"],"type":"object"},"SourcePosition":{"properties":{"Line":{"format":"int64","type":"integer"},"column":{"format":"int64","type":"integer"}},"type":"object"},"String":{"$ref":"#/components/schemas/NullString"},"StringSliceJSONFormat":{"items":{"type":"string"},"title":"StringSliceJSONFormat represents []string{} which is encoded to/from JSON for SQL storage.","type":"array"},"SubscriptionStatus":{"description":"For `collection_method=charge_automatically` a subscription moves into `incomplete` if the initial payment attempt fails. A subscription in this status can only have metadata and default_source updated. Once the first invoice is paid, the subscription moves into an `active` status. If the first invoice is not paid within 23 hours, the subscription transitions to `incomplete_expired`. This is a terminal status, the open invoice will be voided and no further invoices will be generated.\n\nA subscription that is currently in a trial period is `trialing` and moves to `active` when the trial period is over.\n\nA subscription can only enter a `paused` status [when a trial ends without a payment method](https://stripe.com/billing/subscriptions/trials#create-free-trials-without-payment). A `paused` subscription doesn't generate invoices and can be resumed after your customer adds their payment method. The `paused` status is different from [pausing collection](https://stripe.com/billing/subscriptions/pause-payment), which still generates invoices and leaves the subscription's status unchanged.\n\nIf subscription `collection_method=charge_automatically`, it becomes `past_due` when payment is required but cannot be paid (due to failed payment or awaiting additional user actions). Once Stripe has exhausted all payment retry attempts, the subscription will become `canceled` or `unpaid` (depending on your subscriptions settings).\n\nIf subscription `collection_method=send_invoice` it becomes `past_due` when its invoice is not paid by the due date, and `canceled` or `unpaid` if it is still not paid by an additional deadline after that. Note that when a subscription has a status of `unpaid`, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices.","title":"Possible values are `incomplete`, `incomplete_expired`, `trialing`, `active`, `past_due`, `canceled`, `unpaid`, or `paused`.","type":"string"},"TaxLineItem":{"properties":{"amount_in_cent":{"$ref":"#/components/schemas/AmountInCent"},"title":{"type":"string"}},"type":"object"},"Time":{"format":"date-time","type":"string"},"TimeInterval":{"properties":{"end":{"description":"The end of the time period.","format":"date-time","type":"string"},"start":{"description":"The start of the time period.","format":"date-time","type":"string"}},"required":["start","end"],"type":"object"},"UUID":{"format":"uuid4","type":"string"},"Usage":{"properties":{"GenericUsage":{"$ref":"#/components/schemas/GenericUsage"}},"type":"object"},"VerifiableCredentialProof":{"properties":{"jwt":{"type":"string"},"proof_type":{"type":"string"}},"title":"VerifiableCredentialProof contains the proof of a verifiable credential.","type":"object"},"Warning":{"properties":{"code":{"format":"int64","type":"integer"},"message":{"type":"string"}},"type":"object"},"acceptOAuth2ConsentRequest":{"properties":{"context":{"$ref":"#/components/schemas/JSONRawMessage"},"grant_access_token_audience":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"grant_scope":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"handled_at":{"$ref":"#/components/schemas/nullTime"},"remember":{"description":"Remember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same\nclient asks the same user for the same, or a subset of, scope.","type":"boolean"},"remember_for":{"description":"RememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the\nauthorization will be remembered indefinitely.","format":"int64","type":"integer"},"session":{"$ref":"#/components/schemas/acceptOAuth2ConsentRequestSession"}},"title":"The request payload used to accept a consent request.","type":"object"},"acceptOAuth2ConsentRequestSession":{"properties":{"access_token":{"description":"AccessToken sets session data for the access and refresh token, as well as any future tokens issued by the\nrefresh grant. Keep in mind that this data will be available to anyone performing OAuth 2.0 Challenge Introspection.\nIf only your services can perform OAuth 2.0 Challenge Introspection, this is usually fine. But if third parties\ncan access that endpoint as well, sensitive data from the session might be exposed to them. Use with care!"},"id_token":{"description":"IDToken sets session data for the OpenID Connect ID token. Keep in mind that the session'id payloads are readable\nby anyone that has access to the ID Challenge. Use with care!"}},"title":"Pass session data to a consent request.","type":"object"},"acceptOAuth2LoginRequest":{"properties":{"acr":{"description":"ACR sets the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it\nto express that, for example, a user authenticated using two factor authentication.","type":"string"},"amr":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"context":{"$ref":"#/components/schemas/JSONRawMessage"},"extend_session_lifespan":{"description":"Extend OAuth2 authentication session lifespan\n\nIf set to `true`, the OAuth2 authentication cookie lifespan is extended. This is for example useful if you want the user to be able to use `prompt=none` continuously.\n\nThis value can only be set to `true` if the user has an authentication, which is the case if the `skip` value is `true`.","type":"boolean"},"force_subject_identifier":{"description":"ForceSubjectIdentifier forces the \"pairwise\" user ID of the end-user that authenticated. The \"pairwise\" user ID refers to the\n(Pairwise Identifier Algorithm)[http://openid.net/specs/openid-connect-core-1_0.html#PairwiseAlg] of the OpenID\nConnect specification. It allows you to set an obfuscated subject (\"user\") identifier that is unique to the client.\n\nPlease note that this changes the user ID on endpoint /userinfo and sub claim of the ID Token. It does not change the\nsub claim in the OAuth 2.0 Introspection.\n\nPer default, ORY Hydra handles this value with its own algorithm. In case you want to set this yourself\nyou can use this field. Please note that setting this field has no effect if `pairwise` is not configured in\nORY Hydra or the OAuth 2.0 Client does not expect a pairwise identifier (set via `subject_type` key in the client's\nconfiguration).\n\nPlease also be aware that ORY Hydra is unable to properly compute this value during authentication. This implies\nthat you have to compute this value on every authentication process (probably depending on the client ID or some\nother unique value).\n\nIf you fail to compute the proper value, then authentication processes which have id_token_hint set might fail.","type":"string"},"identity_provider_session_id":{"description":"IdentityProviderSessionID is the session ID of the end-user that authenticated.\nIf specified, we will use this value to propagate the logout.","type":"string"},"remember":{"description":"Remember, if set to true, tells ORY Hydra to remember this user by telling the user agent (browser) to store\na cookie with authentication data. If the same user performs another OAuth 2.0 Authorization Request, he/she\nwill not be asked to log in again.","type":"boolean"},"remember_for":{"description":"RememberFor sets how long the authentication should be remembered for in seconds. If set to `0`, the\nauthorization will be remembered for the duration of the browser session (using a session cookie).","format":"int64","type":"integer"},"subject":{"description":"Subject is the user ID of the end-user that authenticated.","type":"string"}},"required":["subject"],"title":"HandledLoginRequest is the request payload used to accept a login request.","type":"object"},"accountExperienceConfiguration":{"properties":{"account_experience_theme_stylesheet":{"type":"string"},"favicon_type":{"type":"string"},"favicon_url":{"type":"string"},"kratos_selfservice_default_browser_return_url":{"type":"string"},"kratos_selfservice_flows_recovery_enabled":{"type":"boolean"},"kratos_selfservice_flows_registration_enabled":{"type":"boolean"},"kratos_selfservice_flows_verification_enabled":{"type":"boolean"},"logo_url":{"type":"string"},"name":{"type":"string"},"organization_map":{"additionalProperties":{"type":"string"},"type":"object"}},"type":"object"},"accountExperienceThemeVariables":{"properties":{"accent":{"type":"string"},"bg-default":{"type":"string"},"border-radius-branding":{"type":"string"},"border-radius-buttons":{"type":"string"},"border-radius-cards":{"type":"string"},"border-radius-forms":{"type":"string"},"border-radius-general":{"type":"string"},"button-primary-bg-default":{"type":"string"},"button-primary-bg-disabled":{"type":"string"},"button-primary-bg-hover":{"type":"string"},"button-primary-border-default":{"type":"string"},"button-primary-border-disabled":{"type":"string"},"button-primary-border-hover":{"type":"string"},"button-primary-fg-default":{"type":"string"},"button-primary-fg-disabled":{"type":"string"},"button-primary-fg-hover":{"type":"string"},"button-secondary-bg-default":{"type":"string"},"button-secondary-bg-disabled":{"type":"string"},"button-secondary-bg-hover":{"type":"string"},"button-secondary-border-default":{"type":"string"},"button-secondary-border-disabled":{"type":"string"},"button-secondary-border-hover":{"type":"string"},"button-secondary-fg-default":{"type":"string"},"button-secondary-fg-disabled":{"type":"string"},"button-secondary-fg-hover":{"type":"string"},"button-social-bg-default":{"type":"string"},"button-social-bg-disabled":{"type":"string"},"button-social-bg-hover":{"type":"string"},"button-social-bg-provider":{"type":"string"},"button-social-border-default":{"type":"string"},"button-social-border-disabled":{"type":"string"},"button-social-border-hover":{"type":"string"},"button-social-border-provider":{"type":"string"},"button-social-fg-default":{"type":"string"},"button-social-fg-disabled":{"type":"string"},"button-social-fg-hover":{"type":"string"},"button-social-fg-provider":{"type":"string"},"created_at":{"format":"date-time","type":"string"},"dialog-bg-default":{"type":"string"},"dialog-bg-subtle":{"type":"string"},"dialog-border-default":{"type":"string"},"dialog-fg-default":{"type":"string"},"dialog-fg-mute":{"type":"string"},"dialog-fg-subtle":{"type":"string"},"forms-bg-default":{"type":"string"},"forms-bg-disabled":{"type":"string"},"forms-bg-hover":{"type":"string"},"forms-border-default":{"type":"string"},"forms-border-disabled":{"type":"string"},"forms-border-error":{"type":"string"},"forms-border-focus":{"type":"string"},"forms-border-hover":{"type":"string"},"forms-border-success":{"type":"string"},"forms-border-warn":{"type":"string"},"forms-checkbox-bg-checked":{"type":"string"},"forms-checkbox-bg-default":{"type":"string"},"forms-checkbox-border-checked":{"type":"string"},"forms-checkbox-border-default":{"type":"string"},"forms-checkbox-fg-checked":{"type":"string"},"forms-checkbox-fg-default":{"type":"string"},"forms-fg-default":{"type":"string"},"forms-fg-error":{"type":"string"},"forms-fg-mute":{"type":"string"},"forms-fg-subtle":{"type":"string"},"forms-fg-success":{"type":"string"},"forms-fg-warn":{"type":"string"},"forms-radio-bg-checked":{"type":"string"},"forms-radio-bg-default":{"type":"string"},"forms-radio-border-checked":{"type":"string"},"forms-radio-border-default":{"type":"string"},"forms-radio-fg-checked":{"type":"string"},"forms-radio-fg-default":{"type":"string"},"forms-toggle-bg-checked":{"type":"string"},"forms-toggle-bg-default":{"type":"string"},"forms-toggle-border-checked":{"type":"string"},"forms-toggle-border-default":{"type":"string"},"forms-toggle-fg-checked":{"type":"string"},"forms-toggle-fg-default":{"type":"string"},"id":{"format":"uuid","type":"string"},"links-link-default":{"type":"string"},"links-link-disabled":{"type":"string"},"links-link-hover":{"type":"string"},"links-link-inverted-default":{"type":"string"},"links-link-inverted-hover":{"type":"string"},"links-link-mute-default":{"type":"string"},"links-link-mute-hover":{"type":"string"},"syntax-syntax":{"type":"string"},"syntax-syntax-key":{"type":"string"},"syntax-syntax-num":{"type":"string"},"syntax-syntax-value":{"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"},"activeProjectInConsole":{"description":"The Active Project ID","properties":{"project_id":{"description":"The Active Project ID\n\nformat: uuid","type":"string"}},"type":"object"},"addProjectToWorkspaceBody":{"properties":{"environment":{"description":"The environment of the project in the workspace. Can be one of \"prod\" or\n\"dev\". Note that the number of projects in the \"prod\" environment is limited\ndepending on the subscription.\nprod Production\nstage Staging\ndev Development","enum":["prod","stage","dev"],"type":"string","x-go-enum-desc":"prod Production\nstage Staging\ndev Development"},"project_subscription":{"description":"The action to take with the project subscription. Can be one of \"migrate\", and\n\"ignore\". \"migrate\" will migrate the project subscription to the workspace.\n\"ignore\" will ignore the project subscription.\nmigrate ProjectSubscriptionActionMigrate ProjectSubscriptionActionMigrate will migrate the project subscription to the workspace.\nignore ProjectSubscriptionActionIgnore ProjectSubscriptionActionIgnore will ignore the project subscription.","enum":["migrate","ignore"],"type":"string","x-go-enum-desc":"migrate ProjectSubscriptionActionMigrate ProjectSubscriptionActionMigrate will migrate the project subscription to the workspace.\nignore ProjectSubscriptionActionIgnore ProjectSubscriptionActionIgnore will ignore the project subscription."}},"required":["project_subscription","environment"],"title":"AddProjectToWorkspaceBody contains the options for migrating a project to a workspace.","type":"object"},"authenticatorAssuranceLevel":{"description":"The authenticator assurance level can be one of \"aal1\", \"aal2\", or \"aal3\". A higher number means that it is harder\nfor an attacker to compromise the account.\n\nGenerally, \"aal1\" implies that one authentication factor was used while AAL2 implies that two factors (e.g.\npassword + TOTP) have been used.\n\nTo learn more about these levels please head over to: https://www.ory.sh/kratos/docs/concepts/credentials","enum":["aal0","aal1","aal2","aal3"],"title":"Authenticator Assurance Level (AAL)","type":"string"},"batchCheckPermissionBody":{"description":"Batch Check Permission Body","properties":{"tuples":{"items":{"$ref":"#/components/schemas/relationship"},"type":"array"}},"type":"object"},"batchCheckPermissionResult":{"description":"Batch Check Permission Result","properties":{"results":{"description":"An array of check results. The order aligns with the input order.","items":{"$ref":"#/components/schemas/checkPermissionResultWithError"},"type":"array"}},"required":["results"],"type":"object"},"batchPatchIdentitiesResponse":{"description":"Patch identities response","properties":{"identities":{"description":"The patch responses for the individual identities.","items":{"$ref":"#/components/schemas/identityPatchResponse"},"type":"array"}},"type":"object"},"checkOplSyntaxBody":{"description":"Ory Permission Language Document","type":"string"},"checkOplSyntaxResult":{"properties":{"errors":{"description":"The list of syntax errors","items":{"$ref":"#/components/schemas/ParseError"},"type":"array"}},"title":"CheckOPLSyntaxResponse represents the response for an OPL syntax check request.","type":"object"},"checkPermissionResult":{"description":"The content of the allowed field is mirrored in the HTTP status code.","properties":{"allowed":{"description":"whether the relation tuple is allowed","type":"boolean"}},"required":["allowed"],"title":"Check Permission Result","type":"object"},"checkPermissionResultWithError":{"description":"Check Permission Result With Error","properties":{"allowed":{"description":"whether the relation tuple is allowed","type":"boolean"},"error":{"description":"any error generated while checking the relation tuple","type":"string"}},"required":["allowed"],"type":"object"},"cloudAccount":{"properties":{"email":{"type":"string"},"email_verified":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"name":{"type":"string"}},"required":["id","email","name","email_verified"],"type":"object"},"consistencyRequestParameters":{"description":"Control API consistency guarantees","properties":{"consistency":{"description":"Read Consistency Level (preview)\n\nThe read consistency level determines the consistency guarantee for reads:\n\nstrong (slow): The read is guaranteed to return the most recent data committed at the start of the read.\neventual (very fast): The result will return data that is about 4.8 seconds old.\n\nThe default consistency guarantee can be changed in the Ory Network Console or using the Ory CLI with\n`ory patch project --replace '/previews/default_read_consistency_level=\"strong\"'`.\n\nSetting the default consistency level to `eventual` may cause regressions in the future as we add consistency\ncontrols to more APIs. Currently, the following APIs will be affected by this setting:\n\n`GET /admin/identities`\n\nThis feature is in preview and only available in Ory Network.\n ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level.\nstrong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level.\neventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps.","enum":["","strong","eventual"],"type":"string","x-go-enum-desc":" ConsistencyLevelUnset ConsistencyLevelUnset is the unset / default consistency level.\nstrong ConsistencyLevelStrong ConsistencyLevelStrong is the strong consistency level.\neventual ConsistencyLevelEventual ConsistencyLevelEventual is the eventual consistency level using follower read timestamps."}},"type":"object"},"continueWith":{"discriminator":{"mapping":{"redirect_browser_to":"#/components/schemas/continueWithRedirectBrowserTo","set_ory_session_token":"#/components/schemas/continueWithSetOrySessionToken","show_recovery_ui":"#/components/schemas/continueWithRecoveryUi","show_settings_ui":"#/components/schemas/continueWithSettingsUi","show_verification_ui":"#/components/schemas/continueWithVerificationUi"},"propertyName":"action"},"oneOf":[{"$ref":"#/components/schemas/continueWithVerificationUi"},{"$ref":"#/components/schemas/continueWithSetOrySessionToken"},{"$ref":"#/components/schemas/continueWithSettingsUi"},{"$ref":"#/components/schemas/continueWithRecoveryUi"},{"$ref":"#/components/schemas/continueWithRedirectBrowserTo"}]},"continueWithRecoveryUi":{"description":"Indicates, that the UI flow could be continued by showing a recovery ui","properties":{"action":{"description":"Action will always be `show_recovery_ui`\nshow_recovery_ui ContinueWithActionShowRecoveryUIString","enum":["show_recovery_ui"],"type":"string","x-go-enum-desc":"show_recovery_ui ContinueWithActionShowRecoveryUIString"},"flow":{"$ref":"#/components/schemas/continueWithRecoveryUiFlow"}},"required":["action","flow"],"type":"object"},"continueWithRecoveryUiFlow":{"properties":{"id":{"description":"The ID of the recovery flow","format":"uuid","type":"string"},"url":{"description":"The URL of the recovery flow\n\nIf this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows.","type":"string"}},"required":["id"],"type":"object"},"continueWithRedirectBrowserTo":{"description":"Indicates, that the UI flow could be continued by showing a recovery ui","properties":{"action":{"description":"Action will always be `redirect_browser_to`\nredirect_browser_to ContinueWithActionRedirectBrowserToString","enum":["redirect_browser_to"],"type":"string","x-go-enum-desc":"redirect_browser_to ContinueWithActionRedirectBrowserToString"},"redirect_browser_to":{"description":"The URL to redirect the browser to","type":"string"}},"required":["action","redirect_browser_to"],"type":"object"},"continueWithSetOrySessionToken":{"description":"Indicates that a session was issued, and the application should use this token for authenticated requests","properties":{"action":{"description":"Action will always be `set_ory_session_token`\nset_ory_session_token ContinueWithActionSetOrySessionTokenString","enum":["set_ory_session_token"],"type":"string","x-go-enum-desc":"set_ory_session_token ContinueWithActionSetOrySessionTokenString"},"ory_session_token":{"description":"Token is the token of the session","type":"string"}},"required":["action","ory_session_token"],"type":"object"},"continueWithSettingsUi":{"description":"Indicates, that the UI flow could be continued by showing a settings ui","properties":{"action":{"description":"Action will always be `show_settings_ui`\nshow_settings_ui ContinueWithActionShowSettingsUIString","enum":["show_settings_ui"],"type":"string","x-go-enum-desc":"show_settings_ui ContinueWithActionShowSettingsUIString"},"flow":{"$ref":"#/components/schemas/continueWithSettingsUiFlow"}},"required":["action","flow"],"type":"object"},"continueWithSettingsUiFlow":{"properties":{"id":{"description":"The ID of the settings flow","format":"uuid","type":"string"},"url":{"description":"The URL of the settings flow\n\nIf this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows.","type":"string"}},"required":["id"],"type":"object"},"continueWithVerificationUi":{"description":"Indicates, that the UI flow could be continued by showing a verification ui","properties":{"action":{"description":"Action will always be `show_verification_ui`\nshow_verification_ui ContinueWithActionShowVerificationUIString","enum":["show_verification_ui"],"type":"string","x-go-enum-desc":"show_verification_ui ContinueWithActionShowVerificationUIString"},"flow":{"$ref":"#/components/schemas/continueWithVerificationUiFlow"}},"required":["action","flow"],"type":"object"},"continueWithVerificationUiFlow":{"properties":{"id":{"description":"The ID of the verification flow","format":"uuid","type":"string"},"url":{"description":"The URL of the verification flow\n\nIf this value is set, redirect the user's browser to this URL. This value is typically unset for native clients / API flows.","type":"string"},"verifiable_address":{"description":"The address that should be verified in this flow","type":"string"}},"required":["id","verifiable_address"],"type":"object"},"courierMessageStatus":{"description":"A Message's Status","enum":["queued","sent","processing","abandoned"],"type":"string"},"courierMessageType":{"description":"It can either be `email` or `phone`","enum":["email","phone"],"title":"A Message's Type","type":"string"},"createCustomDomainBody":{"description":"Create Custom Hostname Request Body","properties":{"cookie_domain":{"description":"The domain where cookies will be set. Has to be a parent domain of the custom hostname to work.","type":"string"},"cors_allowed_origins":{"description":"CORS Allowed origins for the custom hostname.","items":{"type":"string"},"type":"array"},"cors_enabled":{"description":"CORS Enabled for the custom hostname.","type":"boolean"},"custom_ui_base_url":{"description":"The base URL where the custom user interface will be exposed.","type":"string"},"hostname":{"description":"The custom hostname where the API will be exposed.","type":"string"}},"type":"object"},"createEventStreamBody":{"description":"Create Event Stream Request Body","properties":{"role_arn":{"description":"The AWS IAM role ARN to assume when publishing to the SNS topic.","type":"string"},"topic_arn":{"description":"The AWS SNS topic ARN.","type":"string"},"type":{"description":"The type of the event stream (AWS SNS, GCP Pub/Sub, etc).","enum":["sns"],"type":"string"}},"required":["type","topic_arn","role_arn"],"type":"object"},"createIdentityBody":{"description":"Create Identity Body","properties":{"credentials":{"$ref":"#/components/schemas/identityWithCredentials"},"metadata_admin":{"description":"Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/`."},"metadata_public":{"description":"Store metadata about the identity which the identity itself can see when calling for example the\nsession endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field."},"recovery_addresses":{"description":"RecoveryAddresses contains all the addresses that can be used to recover an identity.\n\nUse this structure to import recovery addresses for an identity. Please keep in mind\nthat the address needs to be represented in the Identity Schema or this field will be overwritten\non the next identity update.","items":{"$ref":"#/components/schemas/recoveryIdentityAddress"},"type":"array"},"schema_id":{"description":"SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.","type":"string"},"state":{"description":"State is the identity's state.\nactive StateActive\ninactive StateInactive","enum":["active","inactive"],"type":"string","x-go-enum-desc":"active StateActive\ninactive StateInactive"},"traits":{"description":"Traits represent an identity's traits. The identity is able to create, modify, and delete traits\nin a self-service manner. The input will always be validated against the JSON Schema defined\nin `schema_url`.","type":"object"},"verifiable_addresses":{"description":"VerifiableAddresses contains all the addresses that can be verified by the user.\n\nUse this structure to import verified addresses for an identity. Please keep in mind\nthat the address needs to be represented in the Identity Schema or this field will be overwritten\non the next identity update.","items":{"$ref":"#/components/schemas/verifiableIdentityAddress"},"type":"array"}},"required":["schema_id","traits"],"type":"object"},"createJsonWebKeySet":{"description":"Create JSON Web Key Set Request Body","properties":{"alg":{"description":"JSON Web Key Algorithm\n\nThe algorithm to be used for creating the key. Supports `RS256`, `ES256`, `ES512`, `HS512`, and `HS256`.","type":"string"},"kid":{"description":"JSON Web Key ID\n\nThe Key ID of the key to be created.","type":"string"},"use":{"description":"JSON Web Key Use\n\nThe \"use\" (public key use) parameter identifies the intended use of\nthe public key. The \"use\" parameter is employed to indicate whether\na public key is used for encrypting data or verifying the signature\non data. Valid values are \"enc\" and \"sig\".","type":"string"}},"required":["alg","use","kid"],"type":"object"},"createMemberInviteResponse":{"$ref":"#/components/schemas/CreateInviteResponse"},"createProjectBody":{"description":"Create Project Request Body","properties":{"environment":{"description":"The environment of the project.\nprod Production\nstage Staging\ndev Development","enum":["prod","stage","dev"],"type":"string","x-go-enum-desc":"prod Production\nstage Staging\ndev Development"},"home_region":{"description":"Home Region\n\nThe home region of the project. This is the region where the project will be created.\neu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global","enum":["eu-central","asia-northeast","us-east","us-west","us","global"],"type":"string","x-go-enum-desc":"eu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global"},"name":{"description":"The name of the project to be created","type":"string"},"workspace_id":{"description":"The workspace to create the project in.","format":"uuid","type":"string"}},"required":["name","environment"],"type":"object"},"createProjectBranding":{"description":"Create a Project Branding","properties":{"favicon_type":{"type":"string"},"favicon_url":{"type":"string"},"logo_type":{"type":"string"},"logo_url":{"type":"string"},"name":{"type":"string"},"theme":{"$ref":"#/components/schemas/projectBrandingColors"}},"type":"object"},"createRecoveryCodeForIdentityBody":{"description":"Create Recovery Code for Identity Request Body","properties":{"expires_in":{"description":"Code Expires In\n\nThe recovery code will expire after that amount of time has passed. Defaults to the configuration value of\n`selfservice.methods.code.config.lifespan`.","pattern":"^([0-9]+(ns|us|ms|s|m|h))*$","type":"string"},"flow_type":{"$ref":"#/components/schemas/selfServiceFlowType"},"identity_id":{"description":"Identity to Recover\n\nThe identity's ID you wish to recover.","format":"uuid","type":"string"}},"required":["identity_id"],"type":"object"},"createRecoveryLinkForIdentityBody":{"description":"Create Recovery Link for Identity Request Body","properties":{"expires_in":{"description":"Link Expires In\n\nThe recovery link will expire after that amount of time has passed. Defaults to the configuration value of\n`selfservice.methods.code.config.lifespan`.","pattern":"^[0-9]+(ns|us|ms|s|m|h)$","type":"string"},"identity_id":{"description":"Identity to Recover\n\nThe identity's ID you wish to recover.","format":"uuid","type":"string"}},"required":["identity_id"],"type":"object"},"createRelationshipBody":{"description":"Create Relationship Request Body","properties":{"namespace":{"description":"Namespace to query","type":"string"},"object":{"description":"Object to query","type":"string"},"relation":{"description":"Relation to query","type":"string"},"subject_id":{"description":"SubjectID to query\n\nEither SubjectSet or SubjectID can be provided.","type":"string"},"subject_set":{"$ref":"#/components/schemas/subjectSet"}},"type":"object"},"createSubscriptionBody":{"properties":{"currency":{"description":"\nusd USD\neur Euro","enum":["usd","eur"],"type":"string","x-go-enum-desc":"usd USD\neur Euro"},"interval":{"description":"\nmonthly Monthly\nyearly Yearly","enum":["monthly","yearly"],"type":"string","x-go-enum-desc":"monthly Monthly\nyearly Yearly"},"plan":{"type":"string"},"provision_first_project":{"format":"uuid","type":"string"},"return_to":{"type":"string"}},"required":["plan","interval","provision_first_project"],"type":"object"},"createWorkspaceBody":{"properties":{"name":{"description":"The name of the workspace","type":"string"}},"required":["name"],"type":"object"},"createWorkspaceSubscriptionBody":{"properties":{"currency":{"description":"\nusd USD\neur Euro","enum":["usd","eur"],"type":"string","x-go-enum-desc":"usd USD\neur Euro"},"interval":{"description":"\nmonthly Monthly\nyearly Yearly","enum":["monthly","yearly"],"type":"string","x-go-enum-desc":"monthly Monthly\nyearly Yearly"},"plan":{"type":"string"},"return_to":{"type":"string"}},"required":["plan","interval"],"type":"object"},"credentialSupportedDraft00":{"description":"Includes information about the supported verifiable credentials.","properties":{"cryptographic_binding_methods_supported":{"description":"OpenID Connect Verifiable Credentials Cryptographic Binding Methods Supported\n\nContains a list of cryptographic binding methods supported for signing the proof.","items":{"type":"string"},"type":"array"},"cryptographic_suites_supported":{"description":"OpenID Connect Verifiable Credentials Cryptographic Suites Supported\n\nContains a list of cryptographic suites methods supported for signing the proof.","items":{"type":"string"},"type":"array"},"format":{"description":"OpenID Connect Verifiable Credentials Format\n\nContains the format that is supported by this authorization server.","type":"string"},"types":{"description":"OpenID Connect Verifiable Credentials Types\n\nContains the types of verifiable credentials supported.","items":{"type":"string"},"type":"array"}},"title":"Verifiable Credentials Metadata (Draft 00)","type":"object"},"customDomain":{"description":"Custom Hostname","properties":{"cookie_domain":{"type":"string"},"cors_allowed_origins":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"cors_enabled":{"type":"boolean"},"created_at":{"format":"date-time","type":"string"},"custom_ui_base_url":{"type":"string"},"hostname":{"type":"string"},"id":{"format":"uuid","type":"string"},"ssl_status":{"enum":["initializing","pending_validation","deleted","pending_issuance","pending_deployment","pending_deletion","pending_expiration","expired","active","initializing_timed_out","validation_timed_out","issuance_timed_out","deployment_timed_out","deletion_timed_out","pending_cleanup","staging_deployment","staging_active","deactivating","inactive","backup_issued","holding_deployment",""],"type":"string","x-go-enum-desc":"initializing initializing\npending_validation pending_validation\ndeleted deleted\npending_issuance pending_issuance\npending_deployment pending_deployment\npending_deletion pending_deletion\npending_expiration pending_expiration\nexpired expired\nactive active\ninitializing_timed_out initializing_timed_out\nvalidation_timed_out validation_timed_out\nissuance_timed_out issuance_timed_out\ndeployment_timed_out deployment_timed_out\ndeletion_timed_out deletion_timed_out\npending_cleanup pending_cleanup\nstaging_deployment staging_deployment\nstaging_active staging_active\ndeactivating deactivating\ninactive inactive\nbackup_issued backup_issued\nholding_deployment holding_deployment\n unknown Cloudflare sometimes returns an empty string."},"updated_at":{"format":"date-time","type":"string"},"verification_errors":{"items":{"type":"string"},"type":"array"},"verification_status":{"$ref":"#/components/schemas/CustomHostnameStatus"}},"type":"object"},"deleteMySessionsCount":{"description":"Deleted Session Count","properties":{"count":{"description":"The number of sessions that were revoked.","format":"int64","type":"integer"}},"type":"object"},"emailTemplateData":{"description":"Contains the data of the email template, including the subject and body in HTML and plaintext variants","properties":{"body":{"$ref":"#/components/schemas/emailTemplateDataBody"},"subject":{"type":"string"}},"required":["body","subject"],"type":"object"},"emailTemplateDataBody":{"properties":{"html":{"type":"string"},"plaintext":{"type":"string"}},"required":["html","plaintext"],"type":"object"},"errorAuthenticatorAssuranceLevelNotSatisfied":{"properties":{"error":{"$ref":"#/components/schemas/genericError"},"redirect_browser_to":{"description":"Points to where to redirect the user to next.","type":"string"}},"title":"Is returned when an active session was found but the requested AAL is not satisfied.","type":"object"},"errorBrowserLocationChangeRequired":{"properties":{"error":{"$ref":"#/components/schemas/errorGeneric"},"redirect_browser_to":{"description":"Points to where to redirect the user to next.","type":"string"}},"title":"Is sent when a flow requires a browser to change its location.","type":"object"},"errorFlowReplaced":{"description":"Is sent when a flow is replaced by a different flow of the same class","properties":{"error":{"$ref":"#/components/schemas/genericError"},"use_flow_id":{"description":"The flow ID that should be used for the new flow as it contains the correct messages.","format":"uuid","type":"string"}},"type":"object"},"errorGeneric":{"description":"The standard Ory JSON API error format.","properties":{"error":{"$ref":"#/components/schemas/genericErrorContent"}},"required":["error"],"title":"JSON API Error Response","type":"object"},"errorOAuth2":{"description":"Error","properties":{"error":{"description":"Error","type":"string"},"error_debug":{"description":"Error Debug Information\n\nOnly available in dev mode.","type":"string"},"error_description":{"description":"Error Description","type":"string"},"error_hint":{"description":"Error Hint\n\nHelps the user identify the error cause.","example":"The redirect URL is not allowed.","type":"string"},"status_code":{"description":"HTTP Status Code","example":401,"format":"int64","type":"integer"}},"type":"object"},"eventStream":{"description":"Event Stream","properties":{"created_at":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"role_arn":{"type":"string"},"topic_arn":{"type":"string"},"type":{"type":"string"},"updated_at":{"format":"date-time","type":"string"}},"type":"object"},"expandedPermissionTree":{"properties":{"children":{"description":"The children of the node, possibly none.","items":{"$ref":"#/components/schemas/expandedPermissionTree"},"type":"array"},"tuple":{"$ref":"#/components/schemas/relationship"},"type":{"description":"The type of the node.\nunion TreeNodeUnion\nexclusion TreeNodeExclusion\nintersection TreeNodeIntersection\nleaf TreeNodeLeaf\ntuple_to_subject_set TreeNodeTupleToSubjectSet\ncomputed_subject_set TreeNodeComputedSubjectSet\nnot TreeNodeNot\nunspecified TreeNodeUnspecified","enum":["union","exclusion","intersection","leaf","tuple_to_subject_set","computed_subject_set","not","unspecified"],"type":"string","x-go-enum-desc":"union TreeNodeUnion\nexclusion TreeNodeExclusion\nintersection TreeNodeIntersection\nleaf TreeNodeLeaf\ntuple_to_subject_set TreeNodeTupleToSubjectSet\ncomputed_subject_set TreeNodeComputedSubjectSet\nnot TreeNodeNot\nunspecified TreeNodeUnspecified"}},"required":["type"],"type":"object"},"falsyNullBool":{"description":"It JSON decodes to false if null.","title":"FalsyNullBool represents a bool that may be null.","type":"boolean"},"flowError":{"properties":{"created_at":{"description":"CreatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"error":{"type":"object"},"id":{"description":"ID of the error container.","format":"uuid","type":"string"},"updated_at":{"description":"UpdatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"}},"required":["id"],"type":"object"},"genericError":{"description":"Error responses are sent when an error (e.g. unauthorized, bad request, ...) occurred.","properties":{"code":{"description":"The status code","example":404,"format":"int64","type":"integer"},"debug":{"description":"Debug information\n\nThis field is often not exposed to protect against leaking\nsensitive information.","example":"SQL field \"foo\" is not a bool.","type":"string"},"details":{"description":"Further error details"},"error":{"$ref":"#/components/schemas/genericErrorContent"},"id":{"description":"The error ID\n\nUseful when trying to identify various errors in application logic.","type":"string"},"message":{"description":"Error message\n\nThe error's message.","example":"The resource could not be found","type":"string"},"reason":{"description":"A human-readable reason for the error","example":"User with ID 1234 does not exist.","type":"string"},"request":{"description":"The request ID\n\nThe request ID is often exposed internally in order to trace\nerrors across service architectures. This is often a UUID.","example":"d7ef54b1-ec15-46e6-bccb-524b82c035e6","type":"string"},"status":{"description":"The status description","example":"Not Found","type":"string"}},"required":["message"],"title":"Error response","type":"object"},"genericErrorContent":{"description":"Error response","properties":{"debug":{"description":"Debug contains debug information. This is usually not available and has to be enabled.","example":"The database adapter was unable to find the element","type":"string"},"error":{"description":"Name is the error name.","example":"The requested resource could not be found","type":"string"},"error_description":{"description":"Description contains further information on the nature of the error.","example":"Object with ID 12345 does not exist","type":"string"},"message":{"description":"Message contains the error message.","type":"string"},"status_code":{"description":"Code represents the error status code (404, 403, 401, ...).","example":404,"format":"int64","type":"integer"}},"type":"object"},"getAttributesCountResponse":{"description":"Response of the getAttributesCount endpoint","properties":{"data":{"description":"The list of data points.","items":{"$ref":"#/components/schemas/AttributesCountDatapoint"},"readOnly":true,"type":"array"}},"required":["data"],"type":"object"},"getManagedIdentitySchemaLocation":{"description":"Ory Identity Schema Location","properties":{"location":{"type":"string"}},"type":"object"},"getMetricsEventAttributesResponse":{"description":"Response of the getMetricsEventAttributes endpoint","properties":{"events":{"description":"The list of data points.","items":{"type":"string"},"readOnly":true,"type":"array"}},"required":["events"],"type":"object"},"getMetricsEventTypesResponse":{"description":"Response of the getMetricsEventTypes endpoint","properties":{"events":{"description":"The list of data points.","items":{"type":"string"},"readOnly":true,"type":"array"}},"required":["events"],"type":"object"},"getOrganizationResponse":{"properties":{"organization":{"$ref":"#/components/schemas/organization"}},"required":["organization"],"title":"getOrganizationResponse represents a B2B SSO Organization.","type":"object"},"getProjectEventsBody":{"description":"Body of the getProjectEvents endpoint","properties":{"event_name":{"description":"The event name to query for","type":"string"},"filters":{"default":[],"description":"Event attribute filters","items":{"$ref":"#/components/schemas/AttributeFilter"},"type":"array"},"from":{"description":"The start RFC3339 date of the time window","format":"date-time","type":"string"},"page_size":{"default":25,"description":"Maximum number of events to return","format":"int64","type":"integer"},"page_token":{"description":"Pagination token to fetch next page, empty if first page","type":"string"},"to":{"description":"The end RFC3339 date of the time window","format":"date-time","type":"string"}},"required":["from","to"],"type":"object"},"getProjectEventsResponse":{"description":"Response of the getProjectEvents endpoint","properties":{"events":{"description":"The list of data points.","items":{"$ref":"#/components/schemas/ProjectEventsDatapoint"},"readOnly":true,"type":"array"},"page_token":{"description":"Pagination token to be included in next page request","readOnly":true,"type":"string"}},"required":["events"],"type":"object"},"getProjectMetricsResponse":{"description":"Response of the getMetrics endpoint","properties":{"data":{"description":"The list of data points.","items":{"$ref":"#/components/schemas/metricsDatapoint"},"readOnly":true,"type":"array"}},"required":["data"],"type":"object"},"getSessionActivityResponse":{"description":"Response of the getSessionActivity endpoint","properties":{"data":{"description":"The list of data points.","items":{"$ref":"#/components/schemas/SessionActivityDatapoint"},"readOnly":true,"type":"array"}},"required":["data"],"type":"object"},"healthNotReadyStatus":{"properties":{"errors":{"additionalProperties":{"type":"string"},"description":"Errors contains a list of errors that caused the not ready status.","type":"object"}},"title":"The not ready status of the service.","type":"object"},"healthStatus":{"properties":{"status":{"description":"Status always contains \"ok\".","type":"string"}},"title":"The health status of the service.","type":"object"},"identity":{"description":"An [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) represents a (human) user in Ory.","properties":{"created_at":{"description":"CreatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"credentials":{"additionalProperties":{"$ref":"#/components/schemas/identityCredentials"},"description":"Credentials represents all credentials that can be used for authenticating this identity.","type":"object"},"id":{"description":"ID is the identity's unique identifier.\n\nThe Identity ID can not be changed and can not be chosen. This ensures future\ncompatibility and optimization for distributed stores such as CockroachDB.","format":"uuid","type":"string"},"metadata_admin":{"$ref":"#/components/schemas/nullJsonRawMessage"},"metadata_public":{"$ref":"#/components/schemas/nullJsonRawMessage"},"organization_id":{"$ref":"#/components/schemas/NullUUID"},"recovery_addresses":{"description":"RecoveryAddresses contains all the addresses that can be used to recover an identity.","items":{"$ref":"#/components/schemas/recoveryIdentityAddress"},"type":"array","x-omitempty":true},"schema_id":{"description":"SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.","type":"string"},"schema_url":{"description":"SchemaURL is the URL of the endpoint where the identity's traits schema can be fetched from.\n\nformat: url","type":"string"},"state":{"description":"State is the identity's state.\n\nThis value has currently no effect.\nactive StateActive\ninactive StateInactive","enum":["active","inactive"],"type":"string","x-go-enum-desc":"active StateActive\ninactive StateInactive"},"state_changed_at":{"$ref":"#/components/schemas/nullTime"},"traits":{"$ref":"#/components/schemas/identityTraits"},"updated_at":{"description":"UpdatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"verifiable_addresses":{"description":"VerifiableAddresses contains all the addresses that can be verified by the user.","items":{"$ref":"#/components/schemas/verifiableIdentityAddress"},"type":"array","x-omitempty":true}},"required":["id","schema_id","schema_url","traits"],"title":"Identity represents an Ory Kratos identity","type":"object"},"identityCredentials":{"description":"Credentials represents a specific credential type","properties":{"config":{"$ref":"#/components/schemas/JSONRawMessage"},"created_at":{"description":"CreatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"identifiers":{"description":"Identifiers represents a list of unique identifiers this credential type matches.","items":{"type":"string"},"type":"array"},"type":{"description":"Type discriminates between different types of credentials.\npassword CredentialsTypePassword\noidc CredentialsTypeOIDC\ntotp CredentialsTypeTOTP\nlookup_secret CredentialsTypeLookup\nwebauthn CredentialsTypeWebAuthn\ncode CredentialsTypeCodeAuth\npasskey CredentialsTypePasskey\nprofile CredentialsTypeProfile\nlink_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself.\ncode_recovery CredentialsTypeRecoveryCode","enum":["password","oidc","totp","lookup_secret","webauthn","code","passkey","profile","link_recovery","code_recovery"],"type":"string","x-go-enum-desc":"password CredentialsTypePassword\noidc CredentialsTypeOIDC\ntotp CredentialsTypeTOTP\nlookup_secret CredentialsTypeLookup\nwebauthn CredentialsTypeWebAuthn\ncode CredentialsTypeCodeAuth\npasskey CredentialsTypePasskey\nprofile CredentialsTypeProfile\nlink_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself.\ncode_recovery CredentialsTypeRecoveryCode"},"updated_at":{"description":"UpdatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"version":{"description":"Version refers to the version of the credential. Useful when changing the config schema.","format":"int64","type":"integer"}},"type":"object"},"identityCredentialsCode":{"description":"CredentialsCode represents a one time login/registration code","properties":{"addresses":{"items":{"$ref":"#/components/schemas/identityCredentialsCodeAddress"},"type":"array"}},"type":"object"},"identityCredentialsCodeAddress":{"properties":{"address":{"description":"The address for this code","type":"string"},"channel":{"$ref":"#/components/schemas/CodeChannel"}},"type":"object"},"identityCredentialsOidc":{"properties":{"providers":{"items":{"$ref":"#/components/schemas/identityCredentialsOidcProvider"},"type":"array"}},"title":"CredentialsOIDC is contains the configuration for credentials of the type oidc.","type":"object"},"identityCredentialsOidcProvider":{"properties":{"initial_access_token":{"type":"string"},"initial_id_token":{"type":"string"},"initial_refresh_token":{"type":"string"},"organization":{"type":"string"},"provider":{"type":"string"},"subject":{"type":"string"}},"title":"CredentialsOIDCProvider is contains a specific OpenID COnnect credential for a particular connection (e.g. Google).","type":"object"},"identityCredentialsPassword":{"properties":{"hashed_password":{"description":"HashedPassword is a hash-representation of the password.","type":"string"},"use_password_migration_hook":{"description":"UsePasswordMigrationHook is set to true if the password should be migrated\nusing the password migration hook. If set, and the HashedPassword is empty, a\nwebhook will be called during login to migrate the password.","type":"boolean"}},"title":"CredentialsPassword is contains the configuration for credentials of the type password.","type":"object"},"identityMetaSchema":{"description":"Identity Meta Schema","type":"object"},"identityPatch":{"description":"Payload for patching an identity","properties":{"create":{"$ref":"#/components/schemas/createIdentityBody"},"patch_id":{"description":"The ID of this patch.\n\nThe patch ID is optional. If specified, the ID will be returned in the\nresponse, so consumers of this API can correlate the response with the\npatch.","format":"uuid","type":"string"}},"type":"object"},"identityPatchResponse":{"description":"Response for a single identity patch","properties":{"action":{"description":"The action for this specific patch\ncreate ActionCreate Create this identity.\nerror ActionError Error indicates that the patch failed.","enum":["create","error"],"type":"string","x-go-enum-desc":"create ActionCreate Create this identity.\nerror ActionError Error indicates that the patch failed."},"error":{"$ref":"#/components/schemas/DefaultError"},"identity":{"description":"The identity ID payload of this patch","format":"uuid","type":"string"},"patch_id":{"description":"The ID of this patch response, if an ID was specified in the patch.","format":"uuid","type":"string"}},"type":"object"},"identitySchema":{"description":"Raw JSON Schema","type":"object"},"identitySchemaContainer":{"description":"An Identity JSON Schema Container","properties":{"id":{"description":"The ID of the Identity JSON Schema","type":"string"},"schema":{"description":"The actual Identity JSON Schema","type":"object"}},"type":"object"},"identitySchemaPreset":{"properties":{"schema":{"description":"Schema is the Identity JSON Schema","type":"object"},"url":{"description":"URL is the preset identifier","type":"string"}},"required":["url","schema"],"type":"object"},"identitySchemaPresets":{"items":{"$ref":"#/components/schemas/identitySchemaPreset"},"type":"array"},"identitySchemas":{"description":"List of Identity JSON Schemas","items":{"$ref":"#/components/schemas/identitySchemaContainer"},"type":"array"},"identityTraits":{"description":"Traits represent an identity's traits. The identity is able to create, modify, and delete traits\nin a self-service manner. The input will always be validated against the JSON Schema defined\nin `schema_url`."},"identityVerifiableAddressStatus":{"description":"VerifiableAddressStatus must not exceed 16 characters as that is the limitation in the SQL Schema","type":"string"},"identityWithCredentials":{"description":"Create Identity and Import Credentials","properties":{"oidc":{"$ref":"#/components/schemas/identityWithCredentialsOidc"},"password":{"$ref":"#/components/schemas/identityWithCredentialsPassword"}},"type":"object"},"identityWithCredentialsOidc":{"description":"Create Identity and Import Social Sign In Credentials","properties":{"config":{"$ref":"#/components/schemas/identityWithCredentialsOidcConfig"}},"type":"object"},"identityWithCredentialsOidcConfig":{"properties":{"config":{"$ref":"#/components/schemas/identityWithCredentialsPasswordConfig"},"providers":{"description":"A list of OpenID Connect Providers","items":{"$ref":"#/components/schemas/identityWithCredentialsOidcConfigProvider"},"type":"array"}},"type":"object"},"identityWithCredentialsOidcConfigProvider":{"description":"Create Identity and Import Social Sign In Credentials Configuration","properties":{"provider":{"description":"The OpenID Connect provider to link the subject to. Usually something like `google` or `github`.","type":"string"},"subject":{"description":"The subject (`sub`) of the OpenID Connect connection. Usually the `sub` field of the ID Token.","type":"string"}},"required":["subject","provider"],"type":"object"},"identityWithCredentialsPassword":{"description":"Create Identity and Import Password Credentials","properties":{"config":{"$ref":"#/components/schemas/identityWithCredentialsPasswordConfig"}},"type":"object"},"identityWithCredentialsPasswordConfig":{"description":"Create Identity and Import Password Credentials Configuration","properties":{"hashed_password":{"description":"The hashed password in [PHC format](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities#hashed-passwords)","type":"string"},"password":{"description":"The password in plain text if no hash is available.","type":"string"},"use_password_migration_hook":{"description":"If set to true, the password will be migrated using the password migration hook.","type":"boolean"}},"type":"object"},"internalGetProjectBrandingBody":{"description":"Get Project Branding Request Body","properties":{"hostname":{"type":"string"}},"type":"object"},"internalIsAXWelcomeScreenEnabledForProjectBody":{"description":"Is Account Experience Enabled For Project Request Body","properties":{"path":{"description":"Path is the path of the request.","type":"string"},"project_slug":{"description":"ProjectSlug is the project's slug.","type":"string"}},"required":["project_slug","path"],"type":"object"},"internalIsOwnerForProjectBySlugBody":{"description":"Is Owner For Project By Slug Request Body","properties":{"namespace":{"description":"Namespace is the namespace of the subject.","enum":["User"," ApiKey"],"type":"string"},"project_scope":{"description":"ProjectScope is the project_id resolved from the\nAPI key.","type":"string"},"project_slug":{"description":"ProjectSlug is the project's slug.","type":"string"},"subject":{"description":"Subject is the subject acting (user or API key).","type":"string"}},"required":["subject","namespace","project_slug"],"type":"object"},"internalIsOwnerForProjectBySlugResponse":{"properties":{"project_id":{"description":"ProjectID is the project's ID.","type":"string"}},"required":["project_id"],"type":"object"},"introspectedOAuth2Token":{"description":"Introspection contains an access token's session data as specified by\n[IETF RFC 7662](https://tools.ietf.org/html/rfc7662)","properties":{"active":{"description":"Active is a boolean indicator of whether or not the presented token\nis currently active. The specifics of a token's \"active\" state\nwill vary depending on the implementation of the authorization\nserver and the information it keeps about its tokens, but a \"true\"\nvalue return for the \"active\" property will generally indicate\nthat a given token has been issued by this authorization server,\nhas not been revoked by the resource owner, and is within its\ngiven time window of validity (e.g., after its issuance time and\nbefore its expiration time).","type":"boolean"},"aud":{"description":"Audience contains a list of the token's intended audiences.","items":{"type":"string"},"type":"array"},"client_id":{"description":"ID is aclient identifier for the OAuth 2.0 client that\nrequested this token.","type":"string"},"exp":{"description":"Expires at is an integer timestamp, measured in the number of seconds\nsince January 1 1970 UTC, indicating when this token will expire.","format":"int64","type":"integer"},"ext":{"additionalProperties":{},"description":"Extra is arbitrary data set by the session.","type":"object"},"iat":{"description":"Issued at is an integer timestamp, measured in the number of seconds\nsince January 1 1970 UTC, indicating when this token was\noriginally issued.","format":"int64","type":"integer"},"iss":{"description":"IssuerURL is a string representing the issuer of this token","type":"string"},"nbf":{"description":"NotBefore is an integer timestamp, measured in the number of seconds\nsince January 1 1970 UTC, indicating when this token is not to be\nused before.","format":"int64","type":"integer"},"obfuscated_subject":{"description":"ObfuscatedSubject is set when the subject identifier algorithm was set to \"pairwise\" during authorization.\nIt is the `sub` value of the ID Token that was issued.","type":"string"},"scope":{"description":"Scope is a JSON string containing a space-separated list of\nscopes associated with this token.","type":"string"},"sub":{"description":"Subject of the token, as defined in JWT [RFC7519].\nUsually a machine-readable identifier of the resource owner who\nauthorized this token.","type":"string"},"token_type":{"description":"TokenType is the introspected token's type, typically `Bearer`.","type":"string"},"token_use":{"description":"TokenUse is the introspected token's use, for example `access_token` or `refresh_token`.","type":"string"},"username":{"description":"Username is a human-readable identifier for the resource owner who\nauthorized this token.","type":"string"}},"required":["active"],"type":"object"},"invoice":{"properties":{"id":{"description":"The ID of the invoice.","format":"uuid","readOnly":true,"type":"string"},"invoiced_at":{"$ref":"#/components/schemas/Time"},"type":{"description":"Type is the type of the invoice.\nusage InvoiceTypeUsage\nbase InvoiceTypeBase","enum":["usage","base"],"readOnly":true,"type":"string","x-go-enum-desc":"usage InvoiceTypeUsage\nbase InvoiceTypeBase"},"updated_at":{"format":"date-time","type":"string"},"v1":{"$ref":"#/components/schemas/InvoiceDataV1"}},"required":["id","invoiced_at","type"],"type":"object"},"isOwnerForProjectBySlug":{"properties":{"ProjectSlug":{"description":"ProjectSlug is the project's slug.","type":"string"},"Subject":{"description":"Subject is the subject from the API key.","type":"string"}},"required":["Subject","ProjectSlug"],"type":"object"},"jsonPatch":{"description":"A JSONPatch document as defined by RFC 6902","properties":{"from":{"description":"This field is used together with operation \"move\" and uses JSON Pointer notation.\n\nLearn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5).","example":"/name","type":"string"},"op":{"description":"The operation to be performed. One of \"add\", \"remove\", \"replace\", \"move\", \"copy\", or \"test\".","enum":["add","remove","replace","move","copy","test"],"example":"replace","type":"string"},"path":{"description":"The path to the target path. Uses JSON pointer notation.\n\nLearn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5).","example":"/name","type":"string"},"value":{"description":"The value to be used within the operations.\n\nLearn more [about JSON Pointers](https://datatracker.ietf.org/doc/html/rfc6901#section-5).","example":"foobar"}},"required":["op","path"],"type":"object"},"jsonPatchDocument":{"description":"A JSONPatchDocument request","items":{"$ref":"#/components/schemas/jsonPatch"},"type":"array"},"jsonWebKey":{"properties":{"alg":{"description":"The \"alg\" (algorithm) parameter identifies the algorithm intended for\nuse with the key. The values used should either be registered in the\nIANA \"JSON Web Signature and Encryption Algorithms\" registry\nestablished by [JWA] or be a value that contains a Collision-\nResistant Name.","example":"RS256","type":"string"},"crv":{"example":"P-256","type":"string"},"d":{"example":"T_N8I-6He3M8a7X1vWt6TGIx4xB_GP3Mb4SsZSA4v-orvJzzRiQhLlRR81naWYxfQAYt5isDI6_C2L9bdWo4FFPjGQFvNoRX-_sBJyBI_rl-TBgsZYoUlAj3J92WmY2inbA-PwyJfsaIIDceYBC-eX-xiCu6qMqkZi3MwQAFL6bMdPEM0z4JBcwFT3VdiWAIRUuACWQwrXMq672x7fMuaIaHi7XDGgt1ith23CLfaREmJku9PQcchbt_uEY-hqrFY6ntTtS4paWWQj86xLL94S-Tf6v6xkL918PfLSOTq6XCzxvlFwzBJqApnAhbwqLjpPhgUG04EDRrqrSBc5Y1BLevn6Ip5h1AhessBp3wLkQgz_roeckt-ybvzKTjESMuagnpqLvOT7Y9veIug2MwPJZI2VjczRc1vzMs25XrFQ8DpUy-bNdp89TmvAXwctUMiJdgHloJw23Cv03gIUAkDnsTqZmkpbIf-crpgNKFmQP_EDKoe8p_PXZZgfbRri3NoEVGP7Mk6yEu8LjJhClhZaBNjuWw2-KlBfOA3g79mhfBnkInee5KO9mGR50qPk1V-MorUYNTFMZIm0kFE6eYVWFBwJHLKYhHU34DoiK1VP-svZpC2uAMFNA_UJEwM9CQ2b8qe4-5e9aywMvwcuArRkAB5mBIfOaOJao3mfukKAE","type":"string"},"dp":{"example":"G4sPXkc6Ya9y8oJW9_ILj4xuppu0lzi_H7VTkS8xj5SdX3coE0oimYwxIi2emTAue0UOa5dpgFGyBJ4c8tQ2VF402XRugKDTP8akYhFo5tAA77Qe_NmtuYZc3C3m3I24G2GvR5sSDxUyAN2zq8Lfn9EUms6rY3Ob8YeiKkTiBj0","type":"string"},"dq":{"example":"s9lAH9fggBsoFR8Oac2R_E2gw282rT2kGOAhvIllETE1efrA6huUUvMfBcMpn8lqeW6vzznYY5SSQF7pMdC_agI3nG8Ibp1BUb0JUiraRNqUfLhcQb_d9GF4Dh7e74WbRsobRonujTYN1xCaP6TO61jvWrX-L18txXw494Q_cgk","type":"string"},"e":{"example":"AQAB","type":"string"},"k":{"example":"GawgguFyGrWKav7AX4VKUg","type":"string"},"kid":{"description":"The \"kid\" (key ID) parameter is used to match a specific key. This\nis used, for instance, to choose among a set of keys within a JWK Set\nduring key rollover. The structure of the \"kid\" value is\nunspecified. When \"kid\" values are used within a JWK Set, different\nkeys within the JWK Set SHOULD use distinct \"kid\" values. (One\nexample in which different keys might use the same \"kid\" value is if\nthey have different \"kty\" (key type) values but are considered to be\nequivalent alternatives by the application using them.) The \"kid\"\nvalue is a case-sensitive string.","example":"1603dfe0af8f4596","type":"string"},"kty":{"description":"The \"kty\" (key type) parameter identifies the cryptographic algorithm\nfamily used with the key, such as \"RSA\" or \"EC\". \"kty\" values should\neither be registered in the IANA \"JSON Web Key Types\" registry\nestablished by [JWA] or be a value that contains a Collision-\nResistant Name. The \"kty\" value is a case-sensitive string.","example":"RSA","type":"string"},"n":{"example":"vTqrxUyQPl_20aqf5kXHwDZrel-KovIp8s7ewJod2EXHl8tWlRB3_Rem34KwBfqlKQGp1nqah-51H4Jzruqe0cFP58hPEIt6WqrvnmJCXxnNuIB53iX_uUUXXHDHBeaPCSRoNJzNysjoJ30TIUsKBiirhBa7f235PXbKiHducLevV6PcKxJ5cY8zO286qJLBWSPm-OIevwqsIsSIH44Qtm9sioFikhkbLwoqwWORGAY0nl6XvVOlhADdLjBSqSAeT1FPuCDCnXwzCDR8N9IFB_IjdStFkC-rVt2K5BYfPd0c3yFp_vHR15eRd0zJ8XQ7woBC8Vnsac6Et1pKS59pX6256DPWu8UDdEOolKAPgcd_g2NpA76cAaF_jcT80j9KrEzw8Tv0nJBGesuCjPNjGs_KzdkWTUXt23Hn9QJsdc1MZuaW0iqXBepHYfYoqNelzVte117t4BwVp0kUM6we0IqyXClaZgOI8S-WDBw2_Ovdm8e5NmhYAblEVoygcX8Y46oH6bKiaCQfKCFDMcRgChme7AoE1yZZYsPbaG_3IjPrC4LBMHQw8rM9dWjJ8ImjicvZ1pAm0dx-KHCP3y5PVKrxBDf1zSOsBRkOSjB8TPODnJMz6-jd5hTtZxpZPwPoIdCanTZ3ZD6uRBpTmDwtpRGm63UQs1m5FWPwb0T2IF0","type":"string"},"p":{"example":"6NbkXwDWUhi-eR55Cgbf27FkQDDWIamOaDr0rj1q0f1fFEz1W5A_09YvG09Fiv1AO2-D8Rl8gS1Vkz2i0zCSqnyy8A025XOcRviOMK7nIxE4OH_PEsko8dtIrb3TmE2hUXvCkmzw9EsTF1LQBOGC6iusLTXepIC1x9ukCKFZQvdgtEObQ5kzd9Nhq-cdqmSeMVLoxPLd1blviVT9Vm8-y12CtYpeJHOaIDtVPLlBhJiBoPKWg3vxSm4XxIliNOefqegIlsmTIa3MpS6WWlCK3yHhat0Q-rRxDxdyiVdG_wzJvp0Iw_2wms7pe-PgNPYvUWH9JphWP5K38YqEBiJFXQ","type":"string"},"q":{"example":"0A1FmpOWR91_RAWpqreWSavNaZb9nXeKiBo0DQGBz32DbqKqQ8S4aBJmbRhJcctjCLjain-ivut477tAUMmzJwVJDDq2MZFwC9Q-4VYZmFU4HJityQuSzHYe64RjN-E_NQ02TWhG3QGW6roq6c57c99rrUsETwJJiwS8M5p15Miuz53DaOjv-uqqFAFfywN5WkxHbraBcjHtMiQuyQbQqkCFh-oanHkwYNeytsNhTu2mQmwR5DR2roZ2nPiFjC6nsdk-A7E3S3wMzYYFw7jvbWWoYWo9vB40_MY2Y0FYQSqcDzcBIcq_0tnnasf3VW4Fdx6m80RzOb2Fsnln7vKXAQ","type":"string"},"qi":{"example":"GyM_p6JrXySiz1toFgKbWV-JdI3jQ4ypu9rbMWx3rQJBfmt0FoYzgUIZEVFEcOqwemRN81zoDAaa-Bk0KWNGDjJHZDdDmFhW3AN7lI-puxk_mHZGJ11rxyR8O55XLSe3SPmRfKwZI6yU24ZxvQKFYItdldUKGzO6Ia6zTKhAVRU","type":"string"},"use":{"description":"Use (\"public key use\") identifies the intended use of\nthe public key. The \"use\" parameter is employed to indicate whether\na public key is used for encrypting data or verifying the signature\non data. Values are commonly \"sig\" (signature) or \"enc\" (encryption).","example":"sig","type":"string"},"x":{"example":"f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU","type":"string"},"x5c":{"description":"The \"x5c\" (X.509 certificate chain) parameter contains a chain of one\nor more PKIX certificates [RFC5280]. The certificate chain is\nrepresented as a JSON array of certificate value strings. Each\nstring in the array is a base64-encoded (Section 4 of [RFC4648] --\nnot base64url-encoded) DER [ITU.X690.1994] PKIX certificate value.\nThe PKIX certificate containing the key value MUST be the first\ncertificate.","items":{"type":"string"},"type":"array"},"y":{"example":"x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0","type":"string"}},"required":["use","kty","kid","alg"],"type":"object"},"jsonWebKeySet":{"description":"JSON Web Key Set","properties":{"keys":{"description":"List of JSON Web Keys\n\nThe value of the \"keys\" parameter is an array of JSON Web Key (JWK)\nvalues. By default, the order of the JWK values within the array does\nnot imply an order of preference among them, although applications\nof JWK Sets can choose to assign a meaning to the order for their\npurposes, if desired.","items":{"$ref":"#/components/schemas/jsonWebKey"},"type":"array"}},"type":"object"},"listCustomDomains":{"description":"Custom Hostname List","items":{"$ref":"#/components/schemas/customDomain"},"type":"array"},"listEventStreams":{"description":"Event Stream List","properties":{"event_streams":{"items":{"$ref":"#/components/schemas/eventStream"},"type":"array"}},"type":"object"},"listInvoicesResponse":{"properties":{"buckets":{"items":{"$ref":"#/components/schemas/BillingPeriodBucket"},"type":"array"},"has_next_page":{"type":"boolean"},"next_page_token":{"type":"string"}},"required":["buckets","next_page_token","has_next_page"],"type":"object"},"listOrganizationsResponse":{"description":"B2B SSO Organization List","properties":{"has_next_page":{"type":"boolean"},"next_page_token":{"type":"string"},"organizations":{"description":"The list of organizations","items":{"$ref":"#/components/schemas/organization"},"type":"array"}},"required":["organizations","next_page_token","has_next_page"],"type":"object"},"listWorkspaceProjects":{"properties":{"has_next_page":{"type":"boolean"},"next_page":{"type":"string"},"projects":{"items":{"$ref":"#/components/schemas/projectMetadata"},"type":"array"}},"required":["projects","next_page","has_next_page"],"type":"object"},"listWorkspaces":{"properties":{"has_next_page":{"type":"boolean"},"next_page_token":{"type":"string"},"workspaces":{"items":{"$ref":"#/components/schemas/workspace"},"type":"array"}},"required":["workspaces","next_page_token","has_next_page"],"type":"object"},"loginFlow":{"description":"This object represents a login flow. A login flow is initiated at the \"Initiate Login API / Browser Flow\"\nendpoint by a client.\n\nOnce a login flow is completed successfully, a session cookie or session token will be issued.","properties":{"active":{"description":"The active login method\n\nIf set contains the login method used. If the flow is new, it is unset.\npassword CredentialsTypePassword\noidc CredentialsTypeOIDC\ntotp CredentialsTypeTOTP\nlookup_secret CredentialsTypeLookup\nwebauthn CredentialsTypeWebAuthn\ncode CredentialsTypeCodeAuth\npasskey CredentialsTypePasskey\nprofile CredentialsTypeProfile\nlink_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself.\ncode_recovery CredentialsTypeRecoveryCode","enum":["password","oidc","totp","lookup_secret","webauthn","code","passkey","profile","link_recovery","code_recovery"],"type":"string","x-go-enum-desc":"password CredentialsTypePassword\noidc CredentialsTypeOIDC\ntotp CredentialsTypeTOTP\nlookup_secret CredentialsTypeLookup\nwebauthn CredentialsTypeWebAuthn\ncode CredentialsTypeCodeAuth\npasskey CredentialsTypePasskey\nprofile CredentialsTypeProfile\nlink_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself.\ncode_recovery CredentialsTypeRecoveryCode"},"created_at":{"description":"CreatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in,\na new flow has to be initiated.","format":"date-time","type":"string"},"id":{"description":"ID represents the flow's unique ID. When performing the login flow, this\nrepresents the id in the login UI's query parameter: http:///?flow=","format":"uuid","type":"string"},"issued_at":{"description":"IssuedAt is the time (UTC) when the flow started.","format":"date-time","type":"string"},"oauth2_login_challenge":{"description":"Ory OAuth 2.0 Login Challenge.\n\nThis value is set using the `login_challenge` query parameter of the registration and login endpoints.\nIf set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider.","type":"string"},"oauth2_login_request":{"$ref":"#/components/schemas/oAuth2LoginRequest"},"organization_id":{"$ref":"#/components/schemas/NullUUID"},"refresh":{"description":"Refresh stores whether this login flow should enforce re-authentication.","type":"boolean"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"requested_aal":{"$ref":"#/components/schemas/authenticatorAssuranceLevel"},"return_to":{"description":"ReturnTo contains the requested return_to URL.","type":"string"},"session_token_exchange_code":{"description":"SessionTokenExchangeCode holds the secret code that the client can use to retrieve a session token after the login flow has been completed.\nThis is only set if the client has requested a session token exchange code, and if the flow is of type \"api\",\nand only on creating the login flow.","type":"string"},"state":{"description":"State represents the state of this request:\n\nchoose_method: ask the user to choose a method to sign in with\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the login challenge was passed."},"transient_payload":{"description":"TransientPayload is used to pass data from the login to hooks and email templates","type":"object"},"type":{"$ref":"#/components/schemas/selfServiceFlowType"},"ui":{"$ref":"#/components/schemas/uiContainer"},"updated_at":{"description":"UpdatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"}},"required":["id","type","expires_at","issued_at","request_url","ui","state"],"title":"Login Flow","type":"object"},"loginFlowState":{"description":"The state represents the state of the login flow.\n\nchoose_method: ask the user to choose a method (e.g. login account via email)\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the login challenge was passed.","enum":["choose_method","sent_email","passed_challenge"],"title":"Login Flow State","type":"string"},"logoutFlow":{"description":"Logout Flow","properties":{"logout_token":{"description":"LogoutToken can be used to perform logout using AJAX.","type":"string"},"logout_url":{"description":"LogoutURL can be opened in a browser to sign the user out.\n\nformat: uri","type":"string"}},"required":["logout_url","logout_token"],"type":"object"},"managedIdentitySchema":{"description":"Together the name and identity uuid are a unique index constraint.\nThis prevents a user from having schemas with the same name.\nThis also allows schemas to have the same name across the system.","properties":{"blob_name":{"description":"The gcs file name\n\nThis is a randomly generated name which is used to uniquely identify the file on the blob storage","type":"string"},"blob_url":{"description":"The publicly accessible url of the schema","type":"string"},"content_hash":{"description":"The Content Hash\n\nContains a hash of the schema's content.","type":"string"},"created_at":{"description":"The Schema's Creation Date","format":"date-time","readOnly":true,"type":"string"},"id":{"description":"The schema's ID.","format":"uuid","readOnly":true,"type":"string"},"name":{"description":"The schema name\n\nThis is set by the user and is for them to easily recognise their schema","example":"CustomerIdentity","type":"string"},"updated_at":{"description":"Last Time Schema was Updated","format":"date-time","readOnly":true,"type":"string"}},"required":["id","name","blob_name","blob_url","created_at","updated_at"],"title":"Schema represents an Ory Kratos Identity Schema","type":"object"},"managedIdentitySchemaValidationResult":{"description":"Ory Identity Schema Validation Result","properties":{"message":{"type":"string"},"valid":{"type":"boolean"}},"type":"object"},"managedIdentitySchemas":{"items":{"$ref":"#/components/schemas/managedIdentitySchema"},"type":"array"},"memberInvite":{"properties":{"created_at":{"description":"The Project's Revision Creation Date","format":"date-time","readOnly":true,"type":"string"},"id":{"description":"The invite's ID.","format":"uuid","readOnly":true,"type":"string"},"invitee_email":{"description":"The invitee's email","type":"string"},"invitee_id":{"$ref":"#/components/schemas/NullUUID"},"owner_email":{"description":"The invite owner's email\nUsually the project's owner email","type":"string"},"owner_id":{"description":"The invite owner's ID\nUsually the project's owner","format":"uuid","type":"string"},"project_id":{"$ref":"#/components/schemas/NullUUID"},"role":{"$ref":"#/components/schemas/String"},"status":{"description":"The invite's status\nKeeps track of the invites status such as pending, accepted, declined, expired\npending PENDING\naccepted ACCEPTED\ndeclined DECLINED\nexpired EXPIRED\ncancelled CANCELLED\nremoved REMOVED","enum":["pending","accepted","declined","expired","cancelled","removed"],"type":"string","x-go-enum-desc":"pending PENDING\naccepted ACCEPTED\ndeclined DECLINED\nexpired EXPIRED\ncancelled CANCELLED\nremoved REMOVED"},"updated_at":{"description":"Last Time Project's Revision was Updated","format":"date-time","readOnly":true,"type":"string"},"workspace_id":{"$ref":"#/components/schemas/NullUUID"}},"required":["id","owner_id","owner_email","invitee_email","status","created_at","updated_at"],"type":"object"},"memberInvites":{"items":{"$ref":"#/components/schemas/memberInvite"},"type":"array"},"message":{"properties":{"body":{"type":"string"},"channel":{"type":"string"},"created_at":{"description":"CreatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"dispatches":{"description":"Dispatches store information about the attempts of delivering a message\nMay contain an error if any happened, or just the `success` state.","items":{"$ref":"#/components/schemas/messageDispatch"},"type":"array"},"id":{"format":"uuid","type":"string"},"recipient":{"type":"string"},"send_count":{"format":"int64","type":"integer"},"status":{"$ref":"#/components/schemas/courierMessageStatus"},"subject":{"type":"string"},"template_type":{"description":"\nrecovery_invalid TypeRecoveryInvalid\nrecovery_valid TypeRecoveryValid\nrecovery_code_invalid TypeRecoveryCodeInvalid\nrecovery_code_valid TypeRecoveryCodeValid\nverification_invalid TypeVerificationInvalid\nverification_valid TypeVerificationValid\nverification_code_invalid TypeVerificationCodeInvalid\nverification_code_valid TypeVerificationCodeValid\nstub TypeTestStub\nlogin_code_valid TypeLoginCodeValid\nregistration_code_valid TypeRegistrationCodeValid","enum":["recovery_invalid","recovery_valid","recovery_code_invalid","recovery_code_valid","verification_invalid","verification_valid","verification_code_invalid","verification_code_valid","stub","login_code_valid","registration_code_valid"],"type":"string","x-go-enum-desc":"recovery_invalid TypeRecoveryInvalid\nrecovery_valid TypeRecoveryValid\nrecovery_code_invalid TypeRecoveryCodeInvalid\nrecovery_code_valid TypeRecoveryCodeValid\nverification_invalid TypeVerificationInvalid\nverification_valid TypeVerificationValid\nverification_code_invalid TypeVerificationCodeInvalid\nverification_code_valid TypeVerificationCodeValid\nstub TypeTestStub\nlogin_code_valid TypeLoginCodeValid\nregistration_code_valid TypeRegistrationCodeValid"},"type":{"$ref":"#/components/schemas/courierMessageType"},"updated_at":{"description":"UpdatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"}},"required":["id","status","type","recipient","body","subject","template_type","send_count","created_at","updated_at"],"type":"object"},"messageDispatch":{"description":"MessageDispatch represents an attempt of sending a courier message\nIt contains the status of the attempt (failed or successful) and the error if any occured","properties":{"created_at":{"description":"CreatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"error":{"$ref":"#/components/schemas/JSONRawMessage"},"id":{"description":"The ID of this message dispatch","format":"uuid","type":"string"},"message_id":{"description":"The ID of the message being dispatched","format":"uuid","type":"string"},"status":{"description":"The status of this dispatch\nEither \"failed\" or \"success\"\nfailed CourierMessageDispatchStatusFailed\nsuccess CourierMessageDispatchStatusSuccess","enum":["failed","success"],"type":"string","x-go-enum-desc":"failed CourierMessageDispatchStatusFailed\nsuccess CourierMessageDispatchStatusSuccess"},"updated_at":{"description":"UpdatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"}},"required":["id","message_id","status","created_at","updated_at"],"type":"object"},"metricsDatapoint":{"description":"Represents a single datapoint/bucket of a time series","properties":{"count":{"description":"The count of events that occured in this time","format":"int64","type":"integer"},"time":{"description":"The time of the bucket","format":"date-time","type":"string"}},"required":["time","count"],"type":"object"},"namespace":{"properties":{"name":{"description":"Name of the namespace.","type":"string"}},"type":"object"},"needsPrivilegedSessionError":{"properties":{"error":{"$ref":"#/components/schemas/genericError"},"redirect_browser_to":{"description":"Points to where to redirect the user to next.","type":"string"}},"required":["redirect_browser_to"],"title":"Is sent when a privileged session is required to perform the settings update.","type":"object"},"normalizedProject":{"properties":{"created_at":{"description":"The Project's Creation Date","format":"date-time","readOnly":true,"type":"string"},"current_revision":{"$ref":"#/components/schemas/normalizedProjectRevision"},"environment":{"description":"The environment of the project.\nprod Production\nstage Staging\ndev Development","enum":["prod","stage","dev"],"type":"string","x-go-enum-desc":"prod Production\nstage Staging\ndev Development"},"home_region":{"description":"The project's data home region.\neu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global","enum":["eu-central","asia-northeast","us-east","us-west","us","global"],"readOnly":true,"type":"string","x-go-enum-desc":"eu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global"},"hosts":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"id":{"description":"The project's ID.","format":"uuid","readOnly":true,"type":"string"},"slug":{"description":"The project's slug","readOnly":true,"type":"string"},"state":{"description":"The state of the project.\nrunning Running\nhalted Halted\ndeleted Deleted","enum":["running","halted","deleted"],"readOnly":true,"type":"string","x-go-enum-desc":"running Running\nhalted Halted\ndeleted Deleted"},"subscription_id":{"$ref":"#/components/schemas/NullUUID"},"subscription_plan":{"$ref":"#/components/schemas/String"},"updated_at":{"description":"Last Time Project was Updated","format":"date-time","readOnly":true,"type":"string"},"workspace":{"$ref":"#/components/schemas/workspace"},"workspace_id":{"$ref":"#/components/schemas/NullUUID"}},"required":["id","hosts","slug","current_revision","state","environment","workspace_id","home_region","created_at","updated_at"],"type":"object"},"normalizedProjectRevision":{"properties":{"created_at":{"description":"The Project's Revision Creation Date","format":"date-time","readOnly":true,"type":"string"},"disable_account_experience_welcome_screen":{"description":"Whether to disable the account experience welcome screen, which is hosted under `/ui/welcome`.","type":"boolean"},"enable_ax_v2":{"description":"Whether the new account experience is enabled and reachable.","type":"boolean"},"hydra_oauth2_allowed_top_level_claims":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"hydra_oauth2_client_credentials_default_grant_allowed_scope":{"description":"Automatically grant authorized OAuth2 Scope in OAuth2 Client Credentials Flow.\n\nEach OAuth2 Client is allowed to request a predefined OAuth2 Scope (for example `read write`). If this option is enabled, the full\nscope is automatically granted when performing the OAuth2 Client Credentials flow.\n\nIf disabled, the OAuth2 Client has to request the scope in the OAuth2 request by providing the `scope` query parameter.\n\nSetting this option to true is common if you need compatibility with MITREid.\n\nThis governs the \"oauth2.client_credentials.default_grant_allowed_scope\" setting.","type":"boolean"},"hydra_oauth2_exclude_not_before_claim":{"description":"Set to true if you want to exclude claim `nbf (not before)` part of access token.\n\nThis governs the \"oauth2.exclude_not_before_claim\" setting.","type":"boolean"},"hydra_oauth2_grant_jwt_iat_optional":{"description":"Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523).\n\nIf set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration.\n\nThis governs the \"oauth2.grant.jwt.iat_optional\" setting.","type":"boolean"},"hydra_oauth2_grant_jwt_jti_optional":{"description":"Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523).\n\nIf set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration.\n\nThis governs the \"oauth2.grant.jwt.jti_optional\" setting.","type":"boolean"},"hydra_oauth2_grant_jwt_max_ttl":{"default":"720h","description":"Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be.\n\nThis feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied.\n\nUseful as a safety measure and recommended to keep below 720h.\n\nThis governs the \"oauth2.grant.jwt.max_ttl\" setting.","example":"30m","pattern":"^[0-9]+(ns|us|ms|s|m|h)$","type":"string"},"hydra_oauth2_mirror_top_level_claims":{"description":"Set to false if you don't want to mirror custom claims under 'ext'.\n\nThis governs the \"oauth2.mirror_top_level_claims\" setting.","type":"boolean"},"hydra_oauth2_pkce_enforced":{"description":"Configures whether PKCE should be enforced for all OAuth2 Clients.\n\nThis governs the \"oauth2.pkce.enforced\" setting.","type":"boolean"},"hydra_oauth2_pkce_enforced_for_public_clients":{"description":"Configures whether PKCE should be enforced for OAuth2 Clients without a client secret (public clients).\n\nThis governs the \"oauth2.pkce.enforced_for_public_clients\" setting.","type":"boolean"},"hydra_oauth2_refresh_token_hook":{"description":"Sets the Refresh Token Hook Endpoint. If set this endpoint will be called during the OAuth2 Token Refresh grant update the OAuth2 Access Token claims.\n\nThis governs the \"oauth2.refresh_token_hook\" setting.","type":"string"},"hydra_oauth2_token_hook":{"description":"Sets the token hook endpoint for all grant types. If set it will be called while providing token to customize claims.\n\nThis governs the \"oauth2.token_hook.url\" setting.","type":"string"},"hydra_oidc_dynamic_client_registration_default_scope":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"hydra_oidc_dynamic_client_registration_enabled":{"description":"Configures OpenID Connect Dynamic Client Registration.\n\nThis governs the \"oidc.dynamic_client_registration.enabled\" setting.","type":"boolean"},"hydra_oidc_subject_identifiers_pairwise_salt":{"description":"Configures OpenID Connect Discovery and overwrites the pairwise algorithm\n\nThis governs the \"oidc.subject_identifiers.pairwise_salt\" setting.","type":"string"},"hydra_oidc_subject_identifiers_supported_types":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"hydra_secrets_cookie":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"hydra_secrets_system":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"hydra_serve_cookies_same_site_legacy_workaround":{"description":"Configures the Ory Hydra Cookie Same Site Legacy Workaround\n\nThis governs the \"serve.cookies.same_site_legacy_workaround\" setting.","type":"boolean"},"hydra_serve_cookies_same_site_mode":{"description":"Configures the Ory Hydra Cookie Same Site Mode\n\nThis governs the \"serve.cookies.same_site_mode\" setting.","type":"string"},"hydra_strategies_access_token":{"default":"opaque","description":"Defines access token type\n\nThis governs the \"strategies.access_token\" setting.\nopaque Oauth2AccessTokenStrategyOpaque\njwt Oauth2AccessTokenStrategyJwt","enum":["opaque","jwt"],"type":"string","x-go-enum-desc":"opaque Oauth2AccessTokenStrategyOpaque\njwt Oauth2AccessTokenStrategyJwt"},"hydra_strategies_jwt_scope_claim":{"default":"list","description":"Define the claim to use as the scope in the access token.\n\nThis governs the \"strategies.jwt.scope_claim\" setting:\n\nlist: The scope claim is an array of strings named `scope`: `{ \"scope\": [\"read\", \"write\"] }`\nstring: The scope claim is a space delimited list of strings named `scp`: `{ \"scp\": \"read write\" }`\nboth: The scope claim is both a space delimited list and an array of strings named `scope` and `scp`: `{ \"scope\": [\"read\", \"write\"], \"scp\": \"read write\" }`\nlist OAuth2JWTScopeClaimList\nstring OAuth2JWTScopeClaimString\nboth OAuth2JWTScopeClaimBoth","enum":["list","string","both"],"type":"string","x-go-enum-desc":"list OAuth2JWTScopeClaimList\nstring OAuth2JWTScopeClaimString\nboth OAuth2JWTScopeClaimBoth"},"hydra_strategies_scope":{"default":"wildcard","description":"Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes\n\nThis governs the \"strategies.scope\" setting.\nexact Oauth2ScopeStrategyExact\nwildcard Oauth2ScopeStrategyWildcard","enum":["exact","wildcard"],"type":"string","x-go-enum-desc":"exact Oauth2ScopeStrategyExact\nwildcard Oauth2ScopeStrategyWildcard"},"hydra_ttl_access_token":{"default":"30m","description":"This governs the \"ttl.access_token\" setting.","example":"1h","pattern":"^[0-9]+(ns|us|ms|s|m|h)$","type":"string"},"hydra_ttl_auth_code":{"default":"720h","description":"Configures how long refresh tokens are valid.\n\nSet to -1 for refresh tokens to never expire. This is not recommended!\n\nThis governs the \"ttl.auth_code\" setting.","example":"30m","pattern":"^[0-9]+(ns|us|ms|s|m|h)$","type":"string"},"hydra_ttl_id_token":{"default":"30m","description":"This governs the \"ttl.id_token\" setting.","example":"1h","pattern":"^[0-9]+(ns|us|ms|s|m|h)$","type":"string"},"hydra_ttl_login_consent_request":{"default":"30m","description":"Configures how long a user login and consent flow may take.\n\nThis governs the \"ttl.login_consent_request\" setting.","example":"1h","pattern":"^[0-9]+(ns|us|ms|s|m|h)$","type":"string"},"hydra_ttl_refresh_token":{"default":"720h","description":"Configures how long refresh tokens are valid.\n\nSet to -1 for refresh tokens to never expire. This is not recommended!\n\nThis governs the \"ttl.refresh_token\" setting.","example":"30m","pattern":"^([0-9]+(ns|us|ms|s|m|h)|-1)$","type":"string"},"hydra_urls_consent":{"description":"Sets the OAuth2 Consent Endpoint URL of the OAuth2 User Login & Consent flow.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.consent\" setting.","type":"string"},"hydra_urls_error":{"description":"Sets the OAuth2 Error URL of the OAuth2 User Login & Consent flow.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.error\" setting.","type":"string"},"hydra_urls_login":{"description":"Sets the OAuth2 Login Endpoint URL of the OAuth2 User Login & Consent flow.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.login\" setting.","type":"string"},"hydra_urls_logout":{"description":"Sets the logout endpoint.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.logout\" setting.","type":"string"},"hydra_urls_post_logout_redirect":{"description":"When an OAuth2-related user agent requests to log out, they will be redirected to this url afterwards per default.\n\nDefaults to the Ory Account Experience in development and your application in production mode when a custom domain is connected.\n\nThis governs the \"urls.post_logout_redirect\" setting.","type":"string"},"hydra_urls_registration":{"description":"Sets the OAuth2 Registration Endpoint URL of the OAuth2 User Login & Consent flow.\n\nDefaults to the Ory Account Experience if left empty.\n\nThis governs the \"urls.registration\" setting.","type":"string"},"hydra_urls_self_issuer":{"description":"This value will be used as the issuer in access and ID tokens. It must be specified and using HTTPS protocol, unless the development mode is enabled.\n\nOn the Ory Network it will be very rare that you want to modify this value. If left empty, it will default to the correct value for the Ory Network.\n\nThis governs the \"urls.self.issuer\" setting.","type":"string"},"hydra_webfinger_jwks_broadcast_keys":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"hydra_webfinger_oidc_discovery_auth_url":{"description":"Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL.\n\nThis governs the \"webfinger.oidc.discovery.auth_url\" setting.","type":"string"},"hydra_webfinger_oidc_discovery_client_registration_url":{"description":"Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint.\n\nThis governs the \"webfinger.oidc.discovery.client_registration_url\" setting.","type":"string"},"hydra_webfinger_oidc_discovery_jwks_url":{"description":"Configures OpenID Connect Discovery and overwrites the JWKS URL.\n\nThis governs the \"webfinger.oidc.discovery.jwks_url\" setting.","type":"string"},"hydra_webfinger_oidc_discovery_supported_claims":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"hydra_webfinger_oidc_discovery_supported_scope":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"hydra_webfinger_oidc_discovery_token_url":{"description":"Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL.\n\nThis governs the \"webfinger.oidc.discovery.token_url\" setting.","type":"string"},"hydra_webfinger_oidc_discovery_userinfo_url":{"description":"Configures OpenID Connect Discovery and overwrites userinfo endpoint to be advertised at the OpenID Connect Discovery endpoint /.well-known/openid-configuration. Defaults to Ory Hydra's userinfo endpoint at /userinfo. Set this value if you want to handle this endpoint yourself.\n\nThis governs the \"webfinger.oidc.discovery.userinfo_url\" setting.","type":"string"},"id":{"description":"The revision ID.","format":"uuid","readOnly":true,"type":"string"},"keto_namespace_configuration":{"description":"The Revisions' Keto Namespace Configuration\n\nThe string is a URL pointing to an OPL file with the configuration.","type":"string"},"keto_namespaces":{"$ref":"#/components/schemas/KetoNamespaces"},"kratos_cookies_same_site":{"description":"Configures the Ory Kratos Cookie SameSite Attribute\n\nThis governs the \"cookies.same_site\" setting.","type":"string"},"kratos_courier_channels":{"$ref":"#/components/schemas/revisionCourierChannels"},"kratos_courier_delivery_strategy":{"default":"smtp","description":"The delivery strategy to use when sending emails\n\n`smtp`: Use SMTP server\n`http`: Use the built in HTTP client to send the email to some remote service","type":"string"},"kratos_courier_http_request_config_auth_api_key_in":{"description":"The location of the API key to use in the HTTP email sending service's authentication\n\n`header`: Send the key value pair as a header\n`cookie`: Send the key value pair as a cookie\nThis governs the \"courier.http.auth.config.in\" setting","type":"string"},"kratos_courier_http_request_config_auth_api_key_name":{"description":"The name of the API key to use in the HTTP email sending service's authentication\n\nThis governs the \"courier.http.auth.config.name\" setting","type":"string"},"kratos_courier_http_request_config_auth_api_key_value":{"description":"The value of the API key to use in the HTTP email sending service's authentication\n\nThis governs the \"courier.http.auth.config.value\" setting","type":"string"},"kratos_courier_http_request_config_auth_basic_auth_password":{"description":"The password to use for basic auth in the HTTP email sending service's authentication\n\nThis governs the \"courier.http.auth.config.password\" setting","type":"string"},"kratos_courier_http_request_config_auth_basic_auth_user":{"description":"The user to use for basic auth in the HTTP email sending service's authentication\n\nThis governs the \"courier.http.auth.config.user\" setting","type":"string"},"kratos_courier_http_request_config_auth_type":{"default":"empty (no authentication)","description":"The authentication type to use while contacting the remote HTTP email sending service\n\n`basic_auth`: Use Basic Authentication\n`api_key`: Use API Key Authentication in a header or cookie","type":"string"},"kratos_courier_http_request_config_body":{"description":"The Jsonnet template to generate the body to send to the remote HTTP email sending service\n\nShould be valid Jsonnet and base64 encoded\n\nThis governs the \"courier.http.body\" setting","type":"string"},"kratos_courier_http_request_config_headers":{"$ref":"#/components/schemas/nullJsonRawMessage"},"kratos_courier_http_request_config_method":{"default":"POST","description":"The http METHOD to use when calling the remote HTTP email sending service","type":"string"},"kratos_courier_http_request_config_url":{"description":"The URL of the remote HTTP email sending service\n\nThis governs the \"courier.http.url\" setting","type":"string"},"kratos_courier_smtp_connection_uri":{"description":"Configures the Ory Kratos SMTP Connection URI\n\nThis governs the \"courier.smtp.connection_uri\" setting.","type":"string"},"kratos_courier_smtp_from_address":{"description":"Configures the Ory Kratos SMTP From Address\n\nThis governs the \"courier.smtp.from_address\" setting.","type":"string"},"kratos_courier_smtp_from_name":{"description":"Configures the Ory Kratos SMTP From Name\n\nThis governs the \"courier.smtp.from_name\" setting.","type":"string"},"kratos_courier_smtp_headers":{"$ref":"#/components/schemas/nullJsonRawMessage"},"kratos_courier_smtp_local_name":{"description":"Configures the local_name to use in SMTP connections\n\nThis governs the \"courier.smtp.local_name\" setting.","type":"string"},"kratos_courier_templates_login_code_valid_email_body_html":{"description":"Configures the Ory Kratos Valid Login via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.login_code.valid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_login_code_valid_email_body_plaintext":{"description":"Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.login_code.valid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_login_code_valid_email_subject":{"description":"Configures the Ory Kratos Valid Login via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.login_code.valid.email.subject\" setting.","type":"string"},"kratos_courier_templates_login_code_valid_sms_body_plaintext":{"description":"Configures the Ory Kratos Valid Login via Code SMS plain text body\n\nThis governs the \"courier.smtp.templates.login_code.valid.sms.plaintext\" setting.","type":"string"},"kratos_courier_templates_recovery_code_invalid_email_body_html":{"description":"Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_recovery_code_invalid_email_body_plaintext":{"description":"Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery_code.invalid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_recovery_code_invalid_email_subject":{"description":"Configures the Ory Kratos Invalid Recovery via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_recovery_code_valid_email_body_html":{"description":"Configures the Ory Kratos Valid Recovery via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.recovery_code.valid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_recovery_code_valid_email_body_plaintext":{"description":"Configures the Ory Kratos Valid Recovery via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery_code.valid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_recovery_code_valid_email_subject":{"description":"Configures the Ory Kratos Valid Recovery via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.recovery_code.valid.email.subject\" setting.","type":"string"},"kratos_courier_templates_recovery_invalid_email_body_html":{"description":"Configures the Ory Kratos Invalid Recovery Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_recovery_invalid_email_body_plaintext":{"description":"Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery.invalid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_recovery_invalid_email_subject":{"description":"Configures the Ory Kratos Invalid Recovery Email Subject Template\n\nThis governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_recovery_valid_email_body_html":{"description":"Configures the Ory Kratos Valid Recovery Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.recovery.valid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_recovery_valid_email_body_plaintext":{"description":"Configures the Ory Kratos Valid Recovery Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_recovery_valid_email_subject":{"description":"Configures the Ory Kratos Valid Recovery Email Subject Template\n\nThis governs the \"courier.smtp.templates.recovery.valid.email.subject\" setting.","type":"string"},"kratos_courier_templates_registration_code_valid_email_body_html":{"description":"Configures the Ory Kratos Valid Registration via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.registration_code.valid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_registration_code_valid_email_body_plaintext":{"description":"Configures the Ory Kratos Valid Registration via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.registration_code.valid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_registration_code_valid_email_subject":{"description":"Configures the Ory Kratos Valid Registration via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.registration_code.valid.email.subject\" setting.","type":"string"},"kratos_courier_templates_registration_code_valid_sms_body_plaintext":{"description":"Configures the Ory Kratos Valid Registration via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.registration_code.valid.sms.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_verification_code_invalid_email_body_html":{"description":"Configures the Ory Kratos Invalid Verification via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.verification_code.invalid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_verification_code_invalid_email_body_plaintext":{"description":"Configures the Ory Kratos Invalid Verification via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.verification_code.invalid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_verification_code_invalid_email_subject":{"description":"Configures the Ory Kratos Invalid Verification via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.verification_code.invalid.email.subject\" setting.","type":"string"},"kratos_courier_templates_verification_code_valid_email_body_html":{"description":"Configures the Ory Kratos Valid Verification via Code Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.verification_code.valid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_verification_code_valid_email_body_plaintext":{"description":"Configures the Ory Kratos Valid Verification via Code Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.verification_code.valid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_verification_code_valid_email_subject":{"description":"Configures the Ory Kratos Valid Verification via Code Email Subject Template\n\nThis governs the \"courier.smtp.templates.verification_code.valid.email.subject\" setting.","type":"string"},"kratos_courier_templates_verification_code_valid_sms_body_plaintext":{"description":"Configures the Ory Kratos Valid Verification via Code SMS Body Plaintext\n\nThis governs the \"courier.smtp.templates.verification_code.valid.sms.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_verification_invalid_email_body_html":{"description":"Configures the Ory Kratos Invalid Verification Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.verification.invalid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_verification_invalid_email_body_plaintext":{"description":"Configures the Ory Kratos Invalid Verification Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.verification.invalid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_verification_invalid_email_subject":{"description":"Configures the Ory Kratos Invalid Verification Email Subject Template\n\nThis governs the \"courier.smtp.templates.verification.invalid.email.subject\" setting.","type":"string"},"kratos_courier_templates_verification_valid_email_body_html":{"description":"Configures the Ory Kratos Valid Verification Email Body HTML Template\n\nThis governs the \"courier.smtp.templates.verification.valid.email.body.html\" setting.","type":"string"},"kratos_courier_templates_verification_valid_email_body_plaintext":{"description":"Configures the Ory Kratos Valid Verification Email Body Plaintext Template\n\nThis governs the \"courier.smtp.templates.verification.valid.email.body.plaintext\" setting.","type":"string"},"kratos_courier_templates_verification_valid_email_subject":{"description":"Configures the Ory Kratos Valid Verification Email Subject Template\n\nThis governs the \"courier.smtp.templates.verification.valid.email.subject\" setting.","type":"string"},"kratos_feature_flags_cacheable_sessions":{"description":"Configures the Ory Kratos Session caching feature flag\n\nThis governs the \"feature_flags.cacheable_sessions\" setting.","type":"boolean"},"kratos_feature_flags_cacheable_sessions_max_age":{"description":"Configures the Ory Kratos Session caching max-age feature flag\n\nThis governs the \"feature_flags.cacheable_sessions_max_age\" setting.","type":"string"},"kratos_feature_flags_faster_session_extend":{"description":"Configures the Ory Kratos Faster Session Extend setting\n\nIf enabled allows faster session extension by skipping the session lookup and returning 201 instead of 200.\nDisabling this feature will be deprecated in the future.\n\nThis governs the \"feature_flags.faster_session_extend\" setting.","type":"boolean"},"kratos_feature_flags_use_continue_with_transitions":{"description":"Configures the Ory Kratos Session use_continue_with_transitions flag\n\nThis governs the \"feature_flags.use_continue_with_transitions\" setting.","type":"boolean"},"kratos_identity_schemas":{"$ref":"#/components/schemas/projectRevisionIdentitySchemas"},"kratos_oauth2_provider_headers":{"$ref":"#/components/schemas/nullJsonRawMessage"},"kratos_oauth2_provider_override_return_to":{"description":"Kratos OAuth2 Provider Override Return To\n\nEnabling this allows Kratos to set the return_to parameter automatically to the OAuth2 request URL on the login flow, allowing complex flows such as recovery to continue to the initial OAuth2 flow.","type":"boolean"},"kratos_oauth2_provider_url":{"description":"The Revisions' OAuth2 Provider Integration URL\n\nThis governs the \"oauth2_provider.url\" setting.","type":"string"},"kratos_preview_default_read_consistency_level":{"description":"Configures the default read consistency level for identity APIs\n\nThis governs the `preview.default_read_consistency_level` setting.\n\nThe read consistency level determines the consistency guarantee for reads:\n\nstrong (slow): The read is guaranteed to return the most recent data committed at the start of the read.\neventual (very fast): The result will return data that is about 4.8 seconds old.\n\nSetting the default consistency level to `eventual` may cause regressions in the future as we add consistency\ncontrols to more APIs. Currently, the following APIs will be affected by this setting:\n\n`GET /admin/identities`\n\nDefaults to \"strong\" for new and existing projects. This feature is in preview. Use with caution.","type":"string"},"kratos_secrets_cipher":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"kratos_secrets_cookie":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"kratos_secrets_default":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"kratos_selfservice_allowed_return_urls":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"kratos_selfservice_default_browser_return_url":{"description":"Configures the Ory Kratos Default Return URL\n\nThis governs the \"selfservice.allowed_return_urls\" setting.","type":"string"},"kratos_selfservice_flows_error_ui_url":{"description":"Configures the Ory Kratos Error UI URL\n\nThis governs the \"selfservice.flows.error.ui_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_code_default_browser_return_url":{"description":"Configures the Ory Kratos Login After Password Default Return URL\n\nThis governs the \"selfservice.flows.code.after.password.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_default_browser_return_url":{"description":"Configures the Ory Kratos Login Default Return URL\n\nThis governs the \"selfservice.flows.login.after.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url":{"description":"Configures the Ory Kratos Login After Password Default Return URL\n\nThis governs the \"selfservice.flows.lookup_secret.after.password.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_oidc_default_browser_return_url":{"description":"Configures the Ory Kratos Login After OIDC Default Return URL\n\nThis governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_passkey_default_browser_return_url":{"description":"Configures the Ory Kratos Login After Passkey Default Return URL\n\nThis governs the \"selfservice.flows.login.after.passkey.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_password_default_browser_return_url":{"description":"Configures the Ory Kratos Login After Password Default Return URL\n\nThis governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_totp_default_browser_return_url":{"description":"Configures the Ory Kratos Login After Password Default Return URL\n\nThis governs the \"selfservice.flows.totp.after.password.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_after_webauthn_default_browser_return_url":{"description":"Configures the Ory Kratos Login After WebAuthn Default Return URL\n\nThis governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_login_lifespan":{"description":"Configures the Ory Kratos Login Lifespan\n\nThis governs the \"selfservice.flows.login.lifespan\" setting.","type":"string"},"kratos_selfservice_flows_login_ui_url":{"description":"Configures the Ory Kratos Login UI URL\n\nThis governs the \"selfservice.flows.login.ui_url\" setting.","type":"string"},"kratos_selfservice_flows_logout_after_default_browser_return_url":{"description":"Configures the Ory Kratos Logout Default Return URL\n\nThis governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_recovery_after_default_browser_return_url":{"description":"Configures the Ory Kratos Recovery Default Return URL\n\nThis governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_recovery_enabled":{"description":"Configures the Ory Kratos Recovery Enabled Setting\n\nThis governs the \"selfservice.flows.recovery.enabled\" setting.","type":"boolean"},"kratos_selfservice_flows_recovery_lifespan":{"description":"Configures the Ory Kratos Recovery Lifespan\n\nThis governs the \"selfservice.flows.recovery.lifespan\" setting.","type":"string"},"kratos_selfservice_flows_recovery_notify_unknown_recipients":{"description":"Configures whether to notify unknown recipients of a Ory Kratos recovery flow\n\nThis governs the \"selfservice.flows.recovery.notify_unknown_recipients\" setting.","type":"boolean"},"kratos_selfservice_flows_recovery_ui_url":{"description":"Configures the Ory Kratos Recovery UI URL\n\nThis governs the \"selfservice.flows.recovery.ui_url\" setting.","type":"string"},"kratos_selfservice_flows_recovery_use":{"description":"Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\")\n\nThis governs the \"selfservice.flows.recovery.use\" setting.\nlink SelfServiceMessageVerificationStrategyLink\ncode SelfServiceMessageVerificationStrategyCode","enum":["link","code"],"type":"string","x-go-enum-desc":"link SelfServiceMessageVerificationStrategyLink\ncode SelfServiceMessageVerificationStrategyCode"},"kratos_selfservice_flows_registration_after_code_default_browser_return_url":{"description":"Configures the Ory Kratos Registration After Code Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.code.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_registration_after_default_browser_return_url":{"description":"Configures the Ory Kratos Registration Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_registration_after_oidc_default_browser_return_url":{"description":"Configures the Ory Kratos Registration After OIDC Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_registration_after_passkey_default_browser_return_url":{"description":"Configures the Ory Kratos Registration After Passkey Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_registration_after_password_default_browser_return_url":{"description":"Configures the Ory Kratos Registration After Password Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url":{"description":"Configures the Ory Kratos Registration After Webauthn Default Return URL\n\nThis governs the \"selfservice.flows.registration.after.webauthn.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_registration_enable_legacy_one_step":{"description":"Disable two-step registration\n\nTwo-step registration is a significantly improved sign up flow and recommended\nwhen using more than one sign up methods. To revert to one-step registration,\nset this to `true`.\n\nThis governs the \"selfservice.flows.registration.enable_legacy_one_step\" setting.","type":"boolean"},"kratos_selfservice_flows_registration_enabled":{"description":"Configures the Whether Ory Kratos Registration is Enabled\n\nThis governs the \"selfservice.flows.registration.enabled\" setting.0","type":"boolean"},"kratos_selfservice_flows_registration_lifespan":{"description":"Configures the Ory Kratos Registration Lifespan\n\nThis governs the \"selfservice.flows.registration.lifespan\" setting.","type":"string"},"kratos_selfservice_flows_registration_login_hints":{"description":"Configures the Ory Kratos Registration Login Hints\n\nShows helpful information when a user tries to sign up with a duplicate account.\n\nThis governs the \"selfservice.flows.registration.login_hints\" setting.","type":"boolean"},"kratos_selfservice_flows_registration_ui_url":{"description":"Configures the Ory Kratos Registration UI URL\n\nThis governs the \"selfservice.flows.registration.ui_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL\n\nThis governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL After Updating Lookup Secrets\n\nThis governs the \"selfservice.flows.settings.after.lookup_secret.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_oidc_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL After Updating Social Sign In\n\nThis governs the \"selfservice.flows.settings.after.oidc.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_passkey_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL After Updating Passkey\n\nThis governs the \"selfservice.flows.settings.after.passkey.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_password_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL After Updating Passwords\n\nThis governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_profile_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL After Updating Profiles\n\nThis governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_totp_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL After Updating TOTP\n\nThis governs the \"selfservice.flows.settings.after.totp.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url":{"description":"Configures the Ory Kratos Settings Default Return URL After Updating WebAuthn\n\nThis governs the \"selfservice.flows.settings.after.webauthn.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_settings_lifespan":{"description":"Configures the Ory Kratos Settings Lifespan\n\nThis governs the \"selfservice.flows.settings.lifespan\" setting.","type":"string"},"kratos_selfservice_flows_settings_privileged_session_max_age":{"description":"Configures the Ory Kratos Settings Privileged Session Max Age\n\nThis governs the \"selfservice.flows.settings.privileged_session_max_age\" setting.","type":"string"},"kratos_selfservice_flows_settings_required_aal":{"description":"Configures the Ory Kratos Settings Required AAL\n\nThis governs the \"selfservice.flows.settings.required_aal\" setting.","type":"string"},"kratos_selfservice_flows_settings_ui_url":{"description":"Configures the Ory Kratos Settings UI URL\n\nThis governs the \"selfservice.flows.settings.ui_url\" setting.","type":"string"},"kratos_selfservice_flows_verification_after_default_browser_return_url":{"description":"Configures the Ory Kratos Verification Default Return URL\n\nThis governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting.","type":"string"},"kratos_selfservice_flows_verification_enabled":{"description":"Configures the Ory Kratos Verification Enabled Setting\n\nThis governs the \"selfservice.flows.verification.enabled\" setting.","type":"boolean"},"kratos_selfservice_flows_verification_lifespan":{"description":"Configures the Ory Kratos Verification Lifespan\n\nThis governs the \"selfservice.flows.verification.lifespan\" setting.","type":"string"},"kratos_selfservice_flows_verification_notify_unknown_recipients":{"description":"Configures whether to notify unknown recipients of a Ory Kratos verification flow\n\nThis governs the \"selfservice.flows.verification.notify_unknown_recipients\" setting.","type":"boolean"},"kratos_selfservice_flows_verification_ui_url":{"description":"Configures the Ory Kratos Verification UI URL\n\nThis governs the \"selfservice.flows.verification.ui_url\" setting.","type":"string"},"kratos_selfservice_flows_verification_use":{"description":"Configures the Ory Kratos Strategy to use for Verification\n\nThis governs the \"selfservice.flows.verification.use\" setting.\nlink SelfServiceMessageVerificationStrategyLink\ncode SelfServiceMessageVerificationStrategyCode","enum":["link","code"],"type":"string","x-go-enum-desc":"link SelfServiceMessageVerificationStrategyLink\ncode SelfServiceMessageVerificationStrategyCode"},"kratos_selfservice_methods_code_config_lifespan":{"description":"Configures the Ory Kratos Code Method's lifespan\n\nThis governs the \"selfservice.methods.code.config.lifespan\" setting.","type":"string"},"kratos_selfservice_methods_code_config_missing_credential_fallback_enabled":{"description":"Enables a fallback method required in certain legacy use cases.\n\nThis governs the \"selfservice.methods.code.config.missing_credential_fallback_enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_code_enabled":{"description":"Configures whether Ory Kratos Code Method is enabled\n\nThis governs the \"selfservice.methods.code.enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_code_mfa_enabled":{"description":"Configures whether the code method can be used to fulfil MFA flows\n\nThis governs the \"selfservice.methods.code.mfa_enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_code_passwordless_enabled":{"description":"Configures whether Ory Kratos Passwordless should use the Code Method\n\nThis governs the \"selfservice.methods.code.passwordless_enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_code_passwordless_login_fallback_enabled":{"description":"This setting allows the code method to always login a user with code if they have registered with another authentication method such as password or social sign in.\n\nThis governs the \"selfservice.methods.code.passwordless_login_fallback_enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_link_config_base_url":{"description":"Configures the Base URL which Recovery, Verification, and Login Links Point to\n\nIt is recommended to leave this value empty. It will be appropriately configured to the best matching domain\n(e.g. when using custom domains) automatically.\n\nThis governs the \"selfservice.methods.link.config.base_url\" setting.","type":"string"},"kratos_selfservice_methods_link_config_lifespan":{"description":"Configures the Ory Kratos Link Method's lifespan\n\nThis governs the \"selfservice.methods.link.config.lifespan\" setting.","type":"string"},"kratos_selfservice_methods_link_enabled":{"description":"Configures whether Ory Kratos Link Method is enabled\n\nThis governs the \"selfservice.methods.link.enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_lookup_secret_enabled":{"description":"Configures whether Ory Kratos TOTP Lookup Secret is enabled\n\nThis governs the \"selfservice.methods.lookup_secret.enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_oidc_config_base_redirect_uri":{"description":"Configures the Ory Kratos Third Party / OpenID Connect base redirect URI\n\nThis governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting.","type":"string"},"kratos_selfservice_methods_oidc_config_providers":{"$ref":"#/components/schemas/projectRevisionThirdPartyLoginProviders"},"kratos_selfservice_methods_oidc_enabled":{"description":"Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled\n\nThis governs the \"selfservice.methods.oidc.enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_passkey_config_rp_display_name":{"description":"Configures the Ory Kratos Passkey RP Display Name\n\nThis governs the \"selfservice.methods.passkey.config.rp.display_name\" setting.","type":"string"},"kratos_selfservice_methods_passkey_config_rp_id":{"description":"Configures the Ory Kratos Passkey RP ID\n\nThis governs the \"selfservice.methods.passkey.config.rp.id\" setting.","type":"string"},"kratos_selfservice_methods_passkey_config_rp_origins":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"kratos_selfservice_methods_passkey_enabled":{"description":"Configures whether Ory Kratos Passkey authentication is enabled\n\nThis governs the \"selfservice.methods.passkey.enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_password_config_haveibeenpwned_enabled":{"description":"Configures whether Ory Kratos Password HIBP Checks is enabled\n\nThis governs the \"selfservice.methods.password.config.haveibeenpwned_enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_password_config_identifier_similarity_check_enabled":{"description":"Configures whether Ory Kratos Password should disable the similarity policy.\n\nThis governs the \"selfservice.methods.password.config.identifier_similarity_check_enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_password_config_ignore_network_errors":{"description":"Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors\n\nThis governs the \"selfservice.methods.password.config.ignore_network_errors\" setting.","type":"boolean"},"kratos_selfservice_methods_password_config_max_breaches":{"description":"Configures Ory Kratos Password Max Breaches Detection\n\nThis governs the \"selfservice.methods.password.config.max_breaches\" setting.","format":"int64","type":"integer"},"kratos_selfservice_methods_password_config_min_password_length":{"description":"Configures the minimum length of passwords.\n\nThis governs the \"selfservice.methods.password.config.min_password_length\" setting.","format":"int64","type":"integer"},"kratos_selfservice_methods_password_enabled":{"description":"Configures whether Ory Kratos Password Method is enabled\n\nThis governs the \"selfservice.methods.password.enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_profile_enabled":{"description":"Configures whether Ory Kratos Profile Method is enabled\n\nThis governs the \"selfservice.methods.profile.enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_totp_config_issuer":{"description":"Configures Ory Kratos TOTP Issuer\n\nThis governs the \"selfservice.methods.totp.config.issuer\" setting.","type":"string"},"kratos_selfservice_methods_totp_enabled":{"description":"Configures whether Ory Kratos TOTP Method is enabled\n\nThis governs the \"selfservice.methods.totp.enabled\" setting.","type":"boolean"},"kratos_selfservice_methods_webauthn_config_passwordless":{"description":"Configures whether Ory Kratos Webauthn is used for passwordless flows\n\nThis governs the \"selfservice.methods.webauthn.config.passwordless\" setting.","type":"boolean"},"kratos_selfservice_methods_webauthn_config_rp_display_name":{"description":"Configures the Ory Kratos Webauthn RP Display Name\n\nThis governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting.","type":"string"},"kratos_selfservice_methods_webauthn_config_rp_icon":{"description":"Configures the Ory Kratos Webauthn RP Icon\n\nThis governs the \"selfservice.methods.webauthn.config.rp.icon\" setting.\nDeprecated: This value will be ignored due to security considerations.","type":"string"},"kratos_selfservice_methods_webauthn_config_rp_id":{"description":"Configures the Ory Kratos Webauthn RP ID\n\nThis governs the \"selfservice.methods.webauthn.config.rp.id\" setting.","type":"string"},"kratos_selfservice_methods_webauthn_config_rp_origins":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"kratos_selfservice_methods_webauthn_enabled":{"description":"Configures whether Ory Kratos Webauthn is enabled\n\nThis governs the \"selfservice.methods.webauthn.enabled\" setting.","type":"boolean"},"kratos_session_cookie_persistent":{"description":"Configures the Ory Kratos Session Cookie Persistent Attribute\n\nThis governs the \"session.cookie.persistent\" setting.","type":"boolean"},"kratos_session_cookie_same_site":{"description":"Configures the Ory Kratos Session Cookie SameSite Attribute\n\nThis governs the \"session.cookie.same_site\" setting.","type":"string"},"kratos_session_lifespan":{"description":"Configures the Ory Kratos Session Lifespan\n\nThis governs the \"session.lifespan\" setting.","type":"string"},"kratos_session_whoami_required_aal":{"description":"Configures the Ory Kratos Session Whoami AAL requirement\n\nThis governs the \"session.whoami.required_aal\" setting.","type":"string"},"kratos_session_whoami_tokenizer_templates":{"$ref":"#/components/schemas/normalizedProjectRevisionTokenizerTemplates"},"name":{"description":"The project's name.","type":"string"},"project_id":{"description":"The Revision's Project ID","format":"uuid","type":"string"},"project_revision_hooks":{"$ref":"#/components/schemas/projectRevisionHooks"},"serve_admin_cors_allowed_origins":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"serve_admin_cors_enabled":{"description":"Enable CORS headers on all admin APIs\n\nThis governs the \"serve.admin.cors.enabled\" setting.","type":"boolean"},"serve_public_cors_allowed_origins":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"serve_public_cors_enabled":{"description":"Enable CORS headers on all public APIs\n\nThis governs the \"serve.public.cors.enabled\" setting.","type":"boolean"},"strict_security":{"description":"Whether the project should employ strict security measures. Setting this to true is recommended for going into production.","type":"boolean"},"updated_at":{"description":"Last Time Project's Revision was Updated","format":"date-time","readOnly":true,"type":"string"}},"required":["name"],"type":"object"},"normalizedProjectRevisionHook":{"properties":{"config_key":{"description":"The Hooks Config Key","type":"string"},"created_at":{"description":"The Project's Revision Creation Date","format":"date-time","readOnly":true,"type":"string"},"hook":{"description":"The Hook Type","type":"string"},"id":{"description":"ID of the entry","format":"uuid","type":"string"},"project_revision_id":{"description":"The Revision's ID this schema belongs to","format":"uuid","type":"string"},"updated_at":{"description":"Last Time Project's Revision was Updated","format":"date-time","readOnly":true,"type":"string"},"web_hook_config_auth_api_key_in":{"description":"Whether to send the API Key in the HTTP Header or as a HTTP Cookie","example":"header","type":"string"},"web_hook_config_auth_api_key_name":{"description":"The name of the api key","example":"X-API-Key","type":"string"},"web_hook_config_auth_api_key_value":{"description":"The value of the api key","example":"eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ","type":"string"},"web_hook_config_auth_basic_auth_password":{"description":"The password to be sent in the HTTP Basic Auth Header","type":"string"},"web_hook_config_auth_basic_auth_user":{"description":"The username to be sent in the HTTP Basic Auth Header","type":"string"},"web_hook_config_auth_type":{"description":"HTTP Auth Method to use for the Web-Hook","type":"string"},"web_hook_config_body":{"description":"URI pointing to the JsonNet template used for Web-Hook payload generation. Only used for those HTTP methods, which support HTTP body payloads.","example":"base64://ZnVuY3Rpb24oY3R4KSB7CiAgaWRlbnRpdHlfaWQ6IGlmIGN0eFsiaWRlbnRpdHkiXSAhPSBudWxsIHRoZW4gY3R4LmlkZW50aXR5LmlkLAp9=","type":"string"},"web_hook_config_can_interrupt":{"description":"If enabled allows the web hook to interrupt / abort the self-service flow. It only applies to certain flows (registration/verification/login/settings) and requires a valid response format.","type":"boolean"},"web_hook_config_method":{"description":"The HTTP method to use (GET, POST, etc) for the Web-Hook","example":"POST","type":"string"},"web_hook_config_response_ignore":{"description":"Whether to ignore the Web Hook response","type":"boolean"},"web_hook_config_response_parse":{"description":"Whether to parse the Web Hook response","type":"boolean"},"web_hook_config_url":{"description":"The URL the Web-Hook should call","example":"https://www.example.org/web-hook-listener","type":"string"}},"required":["config_key","hook"],"type":"object"},"normalizedProjectRevisionIdentitySchema":{"properties":{"created_at":{"description":"The Project's Revision Creation Date","format":"date-time","readOnly":true,"type":"string"},"id":{"description":"The unique ID of this entry.","format":"uuid","type":"string"},"identity_schema":{"$ref":"#/components/schemas/managedIdentitySchema"},"identity_schema_id":{"$ref":"#/components/schemas/NullUUID"},"import_id":{"description":"The imported (named) ID of the Identity Schema referenced in the Ory Kratos config.","type":"string"},"import_url":{"description":"The ImportURL can be used to import an Identity Schema from a bse64 encoded string.\nIn the future, this key also support HTTPS and other sources!\n\nIf you import an Ory Kratos configuration, this would be akin to the `identity.schemas.#.url` key.\n\nThe configuration will always return the import URL when you fetch it from the API.","example":"base64://ey...","type":"string"},"is_default":{"description":"If true sets the default schema for identities\n\nOnly one schema can ever be the default schema. If you\ntry to add two schemas with default to true, the\nrequest will fail.","type":"boolean"},"preset":{"description":"Use a preset instead of a custom identity schema.","type":"string"},"project_revision_id":{"description":"The Revision's ID this schema belongs to","format":"uuid","type":"string"},"updated_at":{"description":"Last Time Project's Revision was Updated","format":"date-time","readOnly":true,"type":"string"}},"type":"object"},"normalizedProjectRevisionIdentitySchemas":{"items":{"$ref":"#/components/schemas/normalizedProjectRevisionIdentitySchema"},"type":"array"},"normalizedProjectRevisionThirdPartyProvider":{"properties":{"additional_id_token_audiences":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"apple_private_key":{"$ref":"#/components/schemas/String"},"apple_private_key_id":{"description":"Apple Private Key Identifier\n\nSign In with Apple Private Key Identifier needed for generating a JWT token for client secret","example":"UX56C66723","type":"string"},"apple_team_id":{"description":"Apple Developer Team ID\n\nApple Developer Team ID needed for generating a JWT token for client secret","example":"KP76DQS54M","type":"string"},"auth_url":{"description":"AuthURL is the authorize url, typically something like: https://example.org/oauth2/auth\nShould only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when\n`provider` is set to `generic`.","example":"https://www.googleapis.com/oauth2/v2/auth","type":"string"},"azure_tenant":{"description":"Tenant is the Azure AD Tenant to use for authentication, and must be set when `provider` is set to `microsoft`.\n\nCan be either `common`, `organizations`, `consumers` for a multitenant application or a specific tenant like\n`8eaef023-2b34-4da1-9baa-8bc8c9d6a490` or `contoso.onmicrosoft.com`.","example":"contoso.onmicrosoft.com","type":"string"},"claims_source":{"$ref":"#/components/schemas/String"},"client_id":{"description":"ClientID is the application's Client ID.","type":"string"},"client_secret":{"$ref":"#/components/schemas/String"},"created_at":{"description":"The Project's Revision Creation Date","format":"date-time","readOnly":true,"type":"string"},"id":{"format":"uuid","type":"string"},"issuer_url":{"description":"IssuerURL is the OpenID Connect Server URL. You can leave this empty if `provider` is not set to `generic`.\nIf set, neither `auth_url` nor `token_url` are required.","example":"https://accounts.google.com","type":"string"},"label":{"description":"Label represents an optional label which can be used in the UI generation.","type":"string"},"mapper_url":{"description":"Mapper specifies the JSONNet code snippet which uses the OpenID Connect Provider's data (e.g. GitHub or Google\nprofile information) to hydrate the identity's data.","type":"string"},"organization_id":{"$ref":"#/components/schemas/NullUUID"},"pkce":{"description":"PKCE controls if the OpenID Connect OAuth2 flow should use PKCE (Proof Key for Code Exchange).\nPossible values are: `auto` (default), `never`, `force`.\n`auto`: PKCE is used if the provider supports it. Requires setting `issuer_url`.\n`never`: Disable PKCE entirely for this provider, even if the provider advertises support for it.\n`force`: Always use PKCE, even if the provider does not advertise support for it. OAuth2 flows will fail if the provider does not support PKCE.\nIMPORTANT: If you set this to `force`, you must whitelist a different return URL for your OAuth2 client in the provider's configuration.\nInstead of /self-service/methods/oidc/callback/, you must use /self-service/methods/oidc/callback\n(Note the missing path segment and no trailing slash).","enum":["auto","never","force"],"nullable":true,"type":"string"},"project_revision_id":{"description":"The Revision's ID this schema belongs to","format":"uuid","type":"string"},"provider":{"description":"Provider is either \"generic\" for a generic OAuth 2.0 / OpenID Connect Provider or one of:\ngeneric\ngoogle\ngithub\ngitlab\nmicrosoft\ndiscord\nslack\nfacebook\nvk\nyandex\napple","example":"google","type":"string"},"provider_id":{"description":"ID is the provider's ID","type":"string"},"requested_claims":{"$ref":"#/components/schemas/JSONRawMessage"},"scope":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"state":{"description":"State indicates the state of the provider\n\nOnly providers with state `enabled` will be used for authentication\nenabled ThirdPartyProviderStateEnabled\ndisabled ThirdPartyProviderStateDisabled","enum":["enabled","disabled"],"type":"string","x-go-enum-desc":"enabled ThirdPartyProviderStateEnabled\ndisabled ThirdPartyProviderStateDisabled"},"subject_source":{"$ref":"#/components/schemas/String"},"token_url":{"description":"TokenURL is the token url, typically something like: https://example.org/oauth2/token\n\nShould only be used when the OAuth2 / OpenID Connect server is not supporting OpenID Connect Discovery and when\n`provider` is set to `generic`.","example":"https://www.googleapis.com/oauth2/v4/token","type":"string"},"updated_at":{"description":"Last Time Project's Revision was Updated","format":"date-time","readOnly":true,"type":"string"}},"type":"object"},"normalizedProjectRevisionTokenizerTemplate":{"properties":{"claims_mapper_url":{"description":"Claims mapper URL","type":"string"},"created_at":{"description":"The Project's Revision Creation Date","format":"date-time","readOnly":true,"type":"string"},"id":{"description":"The revision ID.","format":"uuid","readOnly":true,"type":"string"},"jwks_url":{"description":"JSON Web Key URL","type":"string"},"key":{"description":"The unique key of the template","type":"string"},"project_revision_id":{"description":"The Revision's ID this schema belongs to","format":"uuid","type":"string"},"ttl":{"default":"1m","description":"Token time to live","example":"1h","pattern":"^[0-9]+(ns|us|ms|s|m|h)$","type":"string"},"updated_at":{"description":"Last Time Project's Revision was Updated","format":"date-time","readOnly":true,"type":"string"}},"type":"object"},"normalizedProjectRevisionTokenizerTemplates":{"items":{"$ref":"#/components/schemas/normalizedProjectRevisionTokenizerTemplate"},"type":"array"},"normalizedProjects":{"items":{"$ref":"#/components/schemas/normalizedProject"},"type":"array"},"nullBool":{"nullable":true,"type":"boolean"},"nullDuration":{"nullable":true,"pattern":"^[0-9]+(ns|us|ms|s|m|h)$","type":"string"},"nullInt64":{"nullable":true,"type":"integer"},"nullJsonRawMessage":{"description":"NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-","nullable":true,"type":"object"},"nullString":{"type":"string"},"nullTime":{"format":"date-time","title":"NullTime implements sql.NullTime functionality.","type":"string"},"oAuth2Client":{"description":"OAuth 2.0 Clients are used to perform OAuth 2.0 and OpenID Connect flows. Usually, OAuth 2.0 clients are\ngenerated for applications which want to consume your OAuth 2.0 or OpenID Connect capabilities.","properties":{"access_token_strategy":{"description":"OAuth 2.0 Access Token Strategy\n\nAccessTokenStrategy is the strategy used to generate access tokens.\nValid options are `jwt` and `opaque`. `jwt` is a bad idea, see https://www.ory.sh/docs/hydra/advanced#json-web-tokens\nSetting the stragegy here overrides the global setting in `strategies.access_token`.","type":"string"},"allowed_cors_origins":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"audience":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"authorization_code_grant_access_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"authorization_code_grant_id_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"authorization_code_grant_refresh_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"backchannel_logout_session_required":{"description":"OpenID Connect Back-Channel Logout Session Required\n\nBoolean value specifying whether the RP requires that a sid (session ID) Claim be included in the Logout\nToken to identify the RP session with the OP when the backchannel_logout_uri is used.\nIf omitted, the default value is false.","type":"boolean"},"backchannel_logout_uri":{"description":"OpenID Connect Back-Channel Logout URI\n\nRP URL that will cause the RP to log itself out when sent a Logout Token by the OP.","type":"string"},"client_credentials_grant_access_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"client_id":{"description":"OAuth 2.0 Client ID\n\nThe ID is immutable. If no ID is provided, a UUID4 will be generated.","type":"string"},"client_name":{"description":"OAuth 2.0 Client Name\n\nThe human-readable name of the client to be presented to the\nend-user during authorization.","type":"string"},"client_secret":{"description":"OAuth 2.0 Client Secret\n\nThe secret will be included in the create request as cleartext, and then\nnever again. The secret is kept in hashed format and is not recoverable once lost.","type":"string"},"client_secret_expires_at":{"description":"OAuth 2.0 Client Secret Expires At\n\nThe field is currently not supported and its value is always 0.","format":"int64","type":"integer"},"client_uri":{"description":"OAuth 2.0 Client URI\n\nClientURI is a URL string of a web page providing information about the client.\nIf present, the server SHOULD display this URL to the end-user in\na clickable fashion.","type":"string"},"contacts":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"created_at":{"description":"OAuth 2.0 Client Creation Date\n\nCreatedAt returns the timestamp of the client's creation.","format":"date-time","type":"string"},"frontchannel_logout_session_required":{"description":"OpenID Connect Front-Channel Logout Session Required\n\nBoolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters be\nincluded to identify the RP session with the OP when the frontchannel_logout_uri is used.\nIf omitted, the default value is false.","type":"boolean"},"frontchannel_logout_uri":{"description":"OpenID Connect Front-Channel Logout URI\n\nRP URL that will cause the RP to log itself out when rendered in an iframe by the OP. An iss (issuer) query\nparameter and a sid (session ID) query parameter MAY be included by the OP to enable the RP to validate the\nrequest and to determine which of the potentially multiple sessions is to be logged out; if either is\nincluded, both MUST be.","type":"string"},"grant_types":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"implicit_grant_access_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"implicit_grant_id_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"jwks":{"description":"OAuth 2.0 Client JSON Web Key Set\n\nClient's JSON Web Key Set [JWK] document, passed by value. The semantics of the jwks parameter are the same as\nthe jwks_uri parameter, other than that the JWK Set is passed by value, rather than by reference. This parameter\nis intended only to be used by Clients that, for some reason, are unable to use the jwks_uri parameter, for\ninstance, by native applications that might not have a location to host the contents of the JWK Set. If a Client\ncan use jwks_uri, it MUST NOT use jwks. One significant downside of jwks is that it does not enable key rotation\n(which jwks_uri does, as described in Section 10 of OpenID Connect Core 1.0 [OpenID.Core]). The jwks_uri and jwks\nparameters MUST NOT be used together."},"jwks_uri":{"description":"OAuth 2.0 Client JSON Web Key Set URL\n\nURL for the Client's JSON Web Key Set [JWK] document. If the Client signs requests to the Server, it contains\nthe signing key(s) the Server uses to validate signatures from the Client. The JWK Set MAY also contain the\nClient's encryption keys(s), which are used by the Server to encrypt responses to the Client. When both signing\nand encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced\nJWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both\nsignatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used\nto provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST\nmatch those in the certificate.","type":"string"},"jwt_bearer_grant_access_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"logo_uri":{"description":"OAuth 2.0 Client Logo URI\n\nA URL string referencing the client's logo.","type":"string"},"metadata":{"$ref":"#/components/schemas/JSONRawMessage"},"owner":{"description":"OAuth 2.0 Client Owner\n\nOwner is a string identifying the owner of the OAuth 2.0 Client.","type":"string"},"policy_uri":{"description":"OAuth 2.0 Client Policy URI\n\nPolicyURI is a URL string that points to a human-readable privacy policy document\nthat describes how the deployment organization collects, uses,\nretains, and discloses personal data.","type":"string"},"post_logout_redirect_uris":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"redirect_uris":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"refresh_token_grant_access_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"refresh_token_grant_id_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"refresh_token_grant_refresh_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"registration_access_token":{"description":"OpenID Connect Dynamic Client Registration Access Token\n\nRegistrationAccessToken can be used to update, get, or delete the OAuth2 Client. It is sent when creating a client\nusing Dynamic Client Registration.","type":"string"},"registration_client_uri":{"description":"OpenID Connect Dynamic Client Registration URL\n\nRegistrationClientURI is the URL used to update, get, or delete the OAuth2 Client.","type":"string"},"request_object_signing_alg":{"description":"OpenID Connect Request Object Signing Algorithm\n\nJWS [JWS] alg algorithm [JWA] that MUST be used for signing Request Objects sent to the OP. All Request Objects\nfrom this Client MUST be rejected, if not signed with this algorithm.","type":"string"},"request_uris":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"response_types":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"scope":{"description":"OAuth 2.0 Client Scope\n\nScope is a string containing a space-separated list of scope values (as\ndescribed in Section 3.3 of OAuth 2.0 [RFC6749]) that the client\ncan use when requesting access tokens.","example":"scope1 scope-2 scope.3 scope:4","type":"string"},"sector_identifier_uri":{"description":"OpenID Connect Sector Identifier URI\n\nURL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. The URL references a\nfile with a single JSON array of redirect_uri values.","type":"string"},"skip_consent":{"description":"SkipConsent skips the consent screen for this client. This field can only\nbe set from the admin API.","type":"boolean"},"skip_logout_consent":{"description":"SkipLogoutConsent skips the logout consent screen for this client. This field can only\nbe set from the admin API.","type":"boolean"},"subject_type":{"description":"OpenID Connect Subject Type\n\nThe `subject_types_supported` Discovery parameter contains a\nlist of the supported subject_type values for this server. Valid types include `pairwise` and `public`.","type":"string"},"token_endpoint_auth_method":{"default":"client_secret_basic","description":"OAuth 2.0 Token Endpoint Authentication Method\n\nRequested Client Authentication method for the Token Endpoint. The options are:\n\n`client_secret_basic`: (default) Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` encoded in the HTTP Authorization header.\n`client_secret_post`: Send `client_id` and `client_secret` as `application/x-www-form-urlencoded` in the HTTP body.\n`private_key_jwt`: Use JSON Web Tokens to authenticate the client.\n`none`: Used for public clients (native apps, mobile apps) which can not have secrets.","type":"string"},"token_endpoint_auth_signing_alg":{"description":"OAuth 2.0 Token Endpoint Signing Algorithm\n\nRequested Client Authentication signing algorithm for the Token Endpoint.","type":"string"},"tos_uri":{"description":"OAuth 2.0 Client Terms of Service URI\n\nA URL string pointing to a human-readable terms of service\ndocument for the client that describes a contractual relationship\nbetween the end-user and the client that the end-user accepts when\nauthorizing the client.","type":"string"},"updated_at":{"description":"OAuth 2.0 Client Last Update Date\n\nUpdatedAt returns the timestamp of the last update.","format":"date-time","type":"string"},"userinfo_signed_response_alg":{"description":"OpenID Connect Request Userinfo Signed Response Algorithm\n\nJWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. If this is specified, the response will be JWT\n[JWT] serialized, and signed using JWS. The default, if omitted, is for the UserInfo Response to return the Claims\nas a UTF-8 encoded JSON object using the application/json content-type.","type":"string"}},"title":"OAuth 2.0 Client","type":"object"},"oAuth2ClientTokenLifespans":{"description":"Lifespans of different token types issued for this OAuth 2.0 Client.","properties":{"authorization_code_grant_access_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"authorization_code_grant_id_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"authorization_code_grant_refresh_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"client_credentials_grant_access_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"implicit_grant_access_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"implicit_grant_id_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"jwt_bearer_grant_access_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"refresh_token_grant_access_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"refresh_token_grant_id_token_lifespan":{"$ref":"#/components/schemas/NullDuration"},"refresh_token_grant_refresh_token_lifespan":{"$ref":"#/components/schemas/NullDuration"}},"title":"OAuth 2.0 Client Token Lifespans","type":"object"},"oAuth2ConsentRequest":{"properties":{"acr":{"description":"ACR represents the Authentication AuthorizationContext Class Reference value for this authentication session. You can use it\nto express that, for example, a user authenticated using two factor authentication.","type":"string"},"amr":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"challenge":{"description":"ID is the identifier (\"authorization challenge\") of the consent authorization request. It is used to\nidentify the session.","type":"string"},"client":{"$ref":"#/components/schemas/oAuth2Client"},"context":{"$ref":"#/components/schemas/JSONRawMessage"},"login_challenge":{"description":"LoginChallenge is the login challenge this consent challenge belongs to. It can be used to associate\na login and consent request in the login & consent app.","type":"string"},"login_session_id":{"description":"LoginSessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag)\nthis ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false)\nthis will be a new random value. This value is used as the \"sid\" parameter in the ID Token and in OIDC Front-/Back-\nchannel logout. It's value can generally be used to associate consecutive login requests by a certain user.","type":"string"},"oidc_context":{"$ref":"#/components/schemas/oAuth2ConsentRequestOpenIDConnectContext"},"request_url":{"description":"RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which\ninitiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but\nmight come in handy if you want to deal with additional request parameters.","type":"string"},"requested_access_token_audience":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"requested_scope":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"skip":{"description":"Skip, if true, implies that the client has requested the same scopes from the same user previously.\nIf true, you must not ask the user to grant the requested scopes. You must however either allow or deny the\nconsent request using the usual API call.","type":"boolean"},"subject":{"description":"Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope\nrequested by the OAuth 2.0 client.","type":"string"}},"required":["challenge"],"title":"Contains information on an ongoing consent request.","type":"object"},"oAuth2ConsentRequestOpenIDConnectContext":{"properties":{"acr_values":{"description":"ACRValues is the Authentication AuthorizationContext Class Reference requested in the OAuth 2.0 Authorization request.\nIt is a parameter defined by OpenID Connect and expresses which level of authentication (e.g. 2FA) is required.\n\nOpenID Connect defines it as follows:\n> Requested Authentication AuthorizationContext Class Reference values. Space-separated string that specifies the acr values\nthat the Authorization Server is being requested to use for processing this Authentication Request, with the\nvalues appearing in order of preference. The Authentication AuthorizationContext Class satisfied by the authentication\nperformed is returned as the acr Claim Value, as specified in Section 2. The acr Claim is requested as a\nVoluntary Claim by this parameter.","items":{"type":"string"},"type":"array"},"display":{"description":"Display is a string value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User.\nThe defined values are:\npage: The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view. If the display parameter is not specified, this is the default display mode.\npopup: The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over.\ntouch: The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface.\nwap: The Authorization Server SHOULD display the authentication and consent UI consistent with a \"feature phone\" type display.\n\nThe Authorization Server MAY also attempt to detect the capabilities of the User Agent and present an appropriate display.","type":"string"},"id_token_hint_claims":{"additionalProperties":{},"description":"IDTokenHintClaims are the claims of the ID Token previously issued by the Authorization Server being passed as a hint about the\nEnd-User's current or past authenticated session with the Client.","type":"object"},"login_hint":{"description":"LoginHint hints about the login identifier the End-User might use to log in (if necessary).\nThis hint can be used by an RP if it first asks the End-User for their e-mail address (or other identifier)\nand then wants to pass that value as a hint to the discovered authorization service. This value MAY also be a\nphone number in the format specified for the phone_number Claim. The use of this parameter is optional.","type":"string"},"ui_locales":{"description":"UILocales is the End-User'id preferred languages and scripts for the user interface, represented as a\nspace-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For instance, the value\n\"fr-CA fr en\" represents a preference for French as spoken in Canada, then French (without a region designation),\nfollowed by English (without a region designation). An error SHOULD NOT result if some or all of the requested\nlocales are not supported by the OpenID Provider.","items":{"type":"string"},"type":"array"}},"title":"Contains optional information about the OpenID Connect request.","type":"object"},"oAuth2ConsentSession":{"description":"A completed OAuth 2.0 Consent Session.","properties":{"consent_request":{"$ref":"#/components/schemas/oAuth2ConsentRequest"},"context":{"$ref":"#/components/schemas/JSONRawMessage"},"expires_at":{"properties":{"access_token":{"format":"date-time","type":"string"},"authorize_code":{"format":"date-time","type":"string"},"id_token":{"format":"date-time","type":"string"},"par_context":{"format":"date-time","type":"string"},"refresh_token":{"format":"date-time","type":"string"}},"type":"object"},"grant_access_token_audience":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"grant_scope":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"handled_at":{"$ref":"#/components/schemas/nullTime"},"remember":{"description":"Remember Consent\n\nRemember, if set to true, tells ORY Hydra to remember this consent authorization and reuse it if the same\nclient asks the same user for the same, or a subset of, scope.","type":"boolean"},"remember_for":{"description":"Remember Consent For\n\nRememberFor sets how long the consent authorization should be remembered for in seconds. If set to `0`, the\nauthorization will be remembered indefinitely.","format":"int64","type":"integer"},"session":{"$ref":"#/components/schemas/acceptOAuth2ConsentRequestSession"}},"title":"OAuth 2.0 Consent Session","type":"object"},"oAuth2ConsentSessions":{"description":"List of OAuth 2.0 Consent Sessions","items":{"$ref":"#/components/schemas/oAuth2ConsentSession"},"type":"array"},"oAuth2LoginRequest":{"properties":{"challenge":{"description":"ID is the identifier (\"login challenge\") of the login request. It is used to\nidentify the session.","type":"string"},"client":{"$ref":"#/components/schemas/oAuth2Client"},"oidc_context":{"$ref":"#/components/schemas/oAuth2ConsentRequestOpenIDConnectContext"},"request_url":{"description":"RequestURL is the original OAuth 2.0 Authorization URL requested by the OAuth 2.0 client. It is the URL which\ninitiates the OAuth 2.0 Authorization Code or OAuth 2.0 Implicit flow. This URL is typically not needed, but\nmight come in handy if you want to deal with additional request parameters.","type":"string"},"requested_access_token_audience":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"requested_scope":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"session_id":{"description":"SessionID is the login session ID. If the user-agent reuses a login session (via cookie / remember flag)\nthis ID will remain the same. If the user-agent did not have an existing authentication session (e.g. remember is false)\nthis will be a new random value. This value is used as the \"sid\" parameter in the ID Token and in OIDC Front-/Back-\nchannel logout. It's value can generally be used to associate consecutive login requests by a certain user.","type":"string"},"skip":{"description":"Skip, if true, implies that the client has requested the same scopes from the same user previously.\nIf true, you can skip asking the user to grant the requested scopes, and simply forward the user to the redirect URL.\n\nThis feature allows you to update / set session information.","type":"boolean"},"subject":{"description":"Subject is the user ID of the end-user that authenticated. Now, that end user needs to grant or deny the scope\nrequested by the OAuth 2.0 client. If this value is set and `skip` is true, you MUST include this subject type\nwhen accepting the login request, or the request will fail.","type":"string"}},"required":["challenge","skip","subject","client","request_url"],"title":"Contains information on an ongoing login request.","type":"object"},"oAuth2LogoutRequest":{"properties":{"challenge":{"description":"Challenge is the identifier (\"logout challenge\") of the logout authentication request. It is used to\nidentify the session.","type":"string"},"client":{"$ref":"#/components/schemas/oAuth2Client"},"request_url":{"description":"RequestURL is the original Logout URL requested.","type":"string"},"rp_initiated":{"description":"RPInitiated is set to true if the request was initiated by a Relying Party (RP), also known as an OAuth 2.0 Client.","type":"boolean"},"sid":{"description":"SessionID is the login session ID that was requested to log out.","type":"string"},"subject":{"description":"Subject is the user for whom the logout was request.","type":"string"}},"title":"Contains information about an ongoing logout request.","type":"object"},"oAuth2RedirectTo":{"description":"Contains a redirect URL used to complete a login, consent, or logout request.","properties":{"redirect_to":{"description":"RedirectURL is the URL which you should redirect the user's browser to once the authentication process is completed.","type":"string"}},"required":["redirect_to"],"title":"OAuth 2.0 Redirect Browser To","type":"object"},"oAuth2TokenExchange":{"description":"OAuth2 Token Exchange Result","properties":{"access_token":{"description":"The access token issued by the authorization server.","type":"string"},"expires_in":{"description":"The lifetime in seconds of the access token. For\nexample, the value \"3600\" denotes that the access token will\nexpire in one hour from the time the response was generated.","format":"int64","type":"integer"},"id_token":{"description":"To retrieve a refresh token request the id_token scope.","type":"string"},"refresh_token":{"description":"The refresh token, which can be used to obtain new\naccess tokens. To retrieve it add the scope \"offline\" to your access token request.","type":"string"},"scope":{"description":"The scope of the access token","type":"string"},"token_type":{"description":"The type of the token issued","type":"string"}},"type":"object"},"oidcConfiguration":{"description":"Includes links to several endpoints (for example `/oauth2/token`) and exposes information on supported signature algorithms\namong others.","properties":{"authorization_endpoint":{"description":"OAuth 2.0 Authorization Endpoint URL","example":"https://playground.ory.sh/ory-hydra/public/oauth2/auth","type":"string"},"backchannel_logout_session_supported":{"description":"OpenID Connect Back-Channel Logout Session Required\n\nBoolean value specifying whether the OP can pass a sid (session ID) Claim in the Logout Token to identify the RP\nsession with the OP. If supported, the sid Claim is also included in ID Tokens issued by the OP","type":"boolean"},"backchannel_logout_supported":{"description":"OpenID Connect Back-Channel Logout Supported\n\nBoolean value specifying whether the OP supports back-channel logout, with true indicating support.","type":"boolean"},"claims_parameter_supported":{"description":"OpenID Connect Claims Parameter Parameter Supported\n\nBoolean value specifying whether the OP supports use of the claims parameter, with true indicating support.","type":"boolean"},"claims_supported":{"description":"OpenID Connect Supported Claims\n\nJSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply\nvalues for. Note that for privacy or other reasons, this might not be an exhaustive list.","items":{"type":"string"},"type":"array"},"code_challenge_methods_supported":{"description":"OAuth 2.0 PKCE Supported Code Challenge Methods\n\nJSON array containing a list of Proof Key for Code Exchange (PKCE) [RFC7636] code challenge methods supported\nby this authorization server.","items":{"type":"string"},"type":"array"},"credentials_endpoint_draft_00":{"description":"OpenID Connect Verifiable Credentials Endpoint\n\nContains the URL of the Verifiable Credentials Endpoint.","type":"string"},"credentials_supported_draft_00":{"description":"OpenID Connect Verifiable Credentials Supported\n\nJSON array containing a list of the Verifiable Credentials supported by this authorization server.","items":{"$ref":"#/components/schemas/credentialSupportedDraft00"},"type":"array"},"end_session_endpoint":{"description":"OpenID Connect End-Session Endpoint\n\nURL at the OP to which an RP can perform a redirect to request that the End-User be logged out at the OP.","type":"string"},"frontchannel_logout_session_supported":{"description":"OpenID Connect Front-Channel Logout Session Required\n\nBoolean value specifying whether the OP can pass iss (issuer) and sid (session ID) query parameters to identify\nthe RP session with the OP when the frontchannel_logout_uri is used. If supported, the sid Claim is also\nincluded in ID Tokens issued by the OP.","type":"boolean"},"frontchannel_logout_supported":{"description":"OpenID Connect Front-Channel Logout Supported\n\nBoolean value specifying whether the OP supports HTTP-based logout, with true indicating support.","type":"boolean"},"grant_types_supported":{"description":"OAuth 2.0 Supported Grant Types\n\nJSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports.","items":{"type":"string"},"type":"array"},"id_token_signed_response_alg":{"description":"OpenID Connect Default ID Token Signing Algorithms\n\nAlgorithm used to sign OpenID Connect ID Tokens.","items":{"type":"string"},"type":"array"},"id_token_signing_alg_values_supported":{"description":"OpenID Connect Supported ID Token Signing Algorithms\n\nJSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token\nto encode the Claims in a JWT.","items":{"type":"string"},"type":"array"},"issuer":{"description":"OpenID Connect Issuer URL\n\nAn URL using the https scheme with no query or fragment component that the OP asserts as its IssuerURL Identifier.\nIf IssuerURL discovery is supported , this value MUST be identical to the issuer value returned\nby WebFinger. This also MUST be identical to the iss Claim value in ID Tokens issued from this IssuerURL.","example":"https://playground.ory.sh/ory-hydra/public/","type":"string"},"jwks_uri":{"description":"OpenID Connect Well-Known JSON Web Keys URL\n\nURL of the OP's JSON Web Key Set [JWK] document. This contains the signing key(s) the RP uses to validate\nsignatures from the OP. The JWK Set MAY also contain the Server's encryption key(s), which are used by RPs\nto encrypt requests to the Server. When both signing and encryption keys are made available, a use (Key Use)\nparameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage.\nAlthough some algorithms allow the same key to be used for both signatures and encryption, doing so is\nNOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of\nkeys provided. When used, the bare key values MUST still be present and MUST match those in the certificate.","example":"https://{slug}.projects.oryapis.com/.well-known/jwks.json","type":"string"},"registration_endpoint":{"description":"OpenID Connect Dynamic Client Registration Endpoint URL","example":"https://playground.ory.sh/ory-hydra/admin/client","type":"string"},"request_object_signing_alg_values_supported":{"description":"OpenID Connect Supported Request Object Signing Algorithms\n\nJSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects,\nwhich are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when\nthe Request Object is passed by value (using the request parameter) and when it is passed by reference\n(using the request_uri parameter).","items":{"type":"string"},"type":"array"},"request_parameter_supported":{"description":"OpenID Connect Request Parameter Supported\n\nBoolean value specifying whether the OP supports use of the request parameter, with true indicating support.","type":"boolean"},"request_uri_parameter_supported":{"description":"OpenID Connect Request URI Parameter Supported\n\nBoolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support.","type":"boolean"},"require_request_uri_registration":{"description":"OpenID Connect Requires Request URI Registration\n\nBoolean value specifying whether the OP requires any request_uri values used to be pre-registered\nusing the request_uris registration parameter.","type":"boolean"},"response_modes_supported":{"description":"OAuth 2.0 Supported Response Modes\n\nJSON array containing a list of the OAuth 2.0 response_mode values that this OP supports.","items":{"type":"string"},"type":"array"},"response_types_supported":{"description":"OAuth 2.0 Supported Response Types\n\nJSON array containing a list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID\nProviders MUST support the code, id_token, and the token id_token Response Type values.","items":{"type":"string"},"type":"array"},"revocation_endpoint":{"description":"OAuth 2.0 Token Revocation URL\n\nURL of the authorization server's OAuth 2.0 revocation endpoint.","type":"string"},"scopes_supported":{"description":"OAuth 2.0 Supported Scope Values\n\nJSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server supports. The server MUST\nsupport the openid scope value. Servers MAY choose not to advertise some supported scope values even when this parameter is used","items":{"type":"string"},"type":"array"},"subject_types_supported":{"description":"OpenID Connect Supported Subject Types\n\nJSON array containing a list of the Subject Identifier types that this OP supports. Valid types include\npairwise and public.","items":{"type":"string"},"type":"array"},"token_endpoint":{"description":"OAuth 2.0 Token Endpoint URL","example":"https://playground.ory.sh/ory-hydra/public/oauth2/token","type":"string"},"token_endpoint_auth_methods_supported":{"description":"OAuth 2.0 Supported Client Authentication Methods\n\nJSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are\nclient_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0","items":{"type":"string"},"type":"array"},"userinfo_endpoint":{"description":"OpenID Connect Userinfo URL\n\nURL of the OP's UserInfo Endpoint.","type":"string"},"userinfo_signed_response_alg":{"description":"OpenID Connect User Userinfo Signing Algorithm\n\nAlgorithm used to sign OpenID Connect Userinfo Responses.","items":{"type":"string"},"type":"array"},"userinfo_signing_alg_values_supported":{"description":"OpenID Connect Supported Userinfo Signing Algorithm\n\nJSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT].","items":{"type":"string"},"type":"array"}},"required":["issuer","authorization_endpoint","token_endpoint","jwks_uri","subject_types_supported","response_types_supported","id_token_signing_alg_values_supported","id_token_signed_response_alg","userinfo_signed_response_alg"],"title":"OpenID Connect Discovery Metadata","type":"object"},"oidcUserInfo":{"description":"OpenID Connect Userinfo","properties":{"birthdate":{"description":"End-User's birthday, represented as an ISO 8601:2004 [ISO8601‑2004] YYYY-MM-DD format. The year MAY be 0000, indicating that it is omitted. To represent only the year, YYYY format is allowed. Note that depending on the underlying platform's date related function, providing just year can result in varying month and day, so the implementers need to take this factor into account to correctly process the dates.","type":"string"},"email":{"description":"End-User's preferred e-mail address. Its value MUST conform to the RFC 5322 [RFC5322] addr-spec syntax. The RP MUST NOT rely upon this value being unique, as discussed in Section 5.7.","type":"string"},"email_verified":{"description":"True if the End-User's e-mail address has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this e-mail address was controlled by the End-User at the time the verification was performed. The means by which an e-mail address is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating.","type":"boolean"},"family_name":{"description":"Surname(s) or last name(s) of the End-User. Note that in some cultures, people can have multiple family names or no family name; all can be present, with the names being separated by space characters.","type":"string"},"gender":{"description":"End-User's gender. Values defined by this specification are female and male. Other values MAY be used when neither of the defined values are applicable.","type":"string"},"given_name":{"description":"Given name(s) or first name(s) of the End-User. Note that in some cultures, people can have multiple given names; all can be present, with the names being separated by space characters.","type":"string"},"locale":{"description":"End-User's locale, represented as a BCP47 [RFC5646] language tag. This is typically an ISO 639-1 Alpha-2 [ISO639‑1] language code in lowercase and an ISO 3166-1 Alpha-2 [ISO3166‑1] country code in uppercase, separated by a dash. For example, en-US or fr-CA. As a compatibility note, some implementations have used an underscore as the separator rather than a dash, for example, en_US; Relying Parties MAY choose to accept this locale syntax as well.","type":"string"},"middle_name":{"description":"Middle name(s) of the End-User. Note that in some cultures, people can have multiple middle names; all can be present, with the names being separated by space characters. Also note that in some cultures, middle names are not used.","type":"string"},"name":{"description":"End-User's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User's locale and preferences.","type":"string"},"nickname":{"description":"Casual name of the End-User that may or may not be the same as the given_name. For instance, a nickname value of Mike might be returned alongside a given_name value of Michael.","type":"string"},"phone_number":{"description":"End-User's preferred telephone number. E.164 [E.164] is RECOMMENDED as the format of this Claim, for example, +1 (425) 555-1212 or +56 (2) 687 2400. If the phone number contains an extension, it is RECOMMENDED that the extension be represented using the RFC 3966 [RFC3966] extension syntax, for example, +1 (604) 555-1234;ext=5678.","type":"string"},"phone_number_verified":{"description":"True if the End-User's phone number has been verified; otherwise false. When this Claim Value is true, this means that the OP took affirmative steps to ensure that this phone number was controlled by the End-User at the time the verification was performed. The means by which a phone number is verified is context-specific, and dependent upon the trust framework or contractual agreements within which the parties are operating. When true, the phone_number Claim MUST be in E.164 format and any extensions MUST be represented in RFC 3966 format.","type":"boolean"},"picture":{"description":"URL of the End-User's profile picture. This URL MUST refer to an image file (for example, a PNG, JPEG, or GIF image file), rather than to a Web page containing an image. Note that this URL SHOULD specifically reference a profile photo of the End-User suitable for displaying when describing the End-User, rather than an arbitrary photo taken by the End-User.","type":"string"},"preferred_username":{"description":"Non-unique shorthand name by which the End-User wishes to be referred to at the RP, such as janedoe or j.doe. This value MAY be any valid JSON string including special characters such as @, /, or whitespace.","type":"string"},"profile":{"description":"URL of the End-User's profile page. The contents of this Web page SHOULD be about the End-User.","type":"string"},"sub":{"description":"Subject - Identifier for the End-User at the IssuerURL.","type":"string"},"updated_at":{"description":"Time the End-User's information was last updated. Its value is a JSON number representing the number of seconds from 1970-01-01T0:0:0Z as measured in UTC until the date/time.","format":"int64","type":"integer"},"website":{"description":"URL of the End-User's Web page or blog. This Web page SHOULD contain information published by the End-User or an organization that the End-User is affiliated with.","type":"string"},"zoneinfo":{"description":"String from zoneinfo [zoneinfo] time zone database representing the End-User's time zone. For example, Europe/Paris or America/Los_Angeles.","type":"string"}},"type":"object"},"organization":{"description":"B2B SSO Organization","properties":{"created_at":{"description":"The organization's creation date.","format":"date-time","readOnly":true,"type":"string"},"domains":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"id":{"description":"The organization's ID.","format":"uuid","type":"string"},"label":{"description":"The organization's human-readable label.","type":"string"},"project_id":{"description":"The project's ID.","format":"uuid","type":"string"},"updated_at":{"description":"The last time the organization was updated.","format":"date-time","readOnly":true,"type":"string"}},"required":["id","project_id","label","domains","created_at","updated_at"],"type":"object"},"pagination":{"properties":{"page_size":{"default":250,"description":"Items per page\n\nThis is the number of items per page to return.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).","format":"int64","maximum":1000,"minimum":1,"type":"integer"},"page_token":{"default":"1","description":"Next Page Token\n\nThe next page token.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).","minimum":1,"type":"string"}},"type":"object"},"paginationHeaders":{"properties":{"link":{"description":"The link header contains pagination links.\n\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).\n\nin: header","type":"string"},"x-total-count":{"description":"The total number of clients.\n\nin: header","type":"string"}},"type":"object"},"patchIdentitiesBody":{"description":"Patch Identities Body","properties":{"identities":{"description":"Identities holds the list of patches to apply\n\nrequired","items":{"$ref":"#/components/schemas/identityPatch"},"type":"array"}},"type":"object"},"performNativeLogoutBody":{"description":"Perform Native Logout Request Body","properties":{"session_token":{"description":"The Session Token\n\nInvalidate this session token.","type":"string"}},"required":["session_token"],"type":"object"},"permissionsOnProject":{"additionalProperties":{"type":"boolean"},"description":"Get Permissions on Project Request Parameters","type":"object"},"permissionsOnWorkspace":{"description":"Get Permissions on Project Request Parameters","properties":{"permissions":{"additionalProperties":{"type":"boolean"},"type":"object"}},"type":"object"},"plans":{"$ref":"#/components/schemas/Pricing"},"postCheckPermissionBody":{"description":"Check Permission using Post Request Body","properties":{"namespace":{"description":"Namespace to query","type":"string"},"object":{"description":"Object to query","type":"string"},"relation":{"description":"Relation to query","type":"string"},"subject_id":{"description":"SubjectID to query\n\nEither SubjectSet or SubjectID can be provided.","type":"string"},"subject_set":{"$ref":"#/components/schemas/subjectSet"}},"type":"object"},"postCheckPermissionOrErrorBody":{"description":"Post Check Permission Or Error Body","properties":{"namespace":{"description":"Namespace to query","type":"string"},"object":{"description":"Object to query","type":"string"},"relation":{"description":"Relation to query","type":"string"},"subject_id":{"description":"SubjectID to query\n\nEither SubjectSet or SubjectID can be provided.","type":"string"},"subject_set":{"$ref":"#/components/schemas/subjectSet"}},"type":"object"},"project":{"properties":{"cors_admin":{"$ref":"#/components/schemas/projectCors"},"cors_public":{"$ref":"#/components/schemas/projectCors"},"environment":{"description":"The environment of the project.\nprod Production\nstage Staging\ndev Development","enum":["prod","stage","dev"],"type":"string","x-go-enum-desc":"prod Production\nstage Staging\ndev Development"},"home_region":{"description":"The project home region.\n\nThis is used to set where the project data is stored and where the project's endpoints are located.\neu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global","enum":["eu-central","asia-northeast","us-east","us-west","us","global"],"type":"string","x-go-enum-desc":"eu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global"},"id":{"description":"The project's ID.","format":"uuid","readOnly":true,"type":"string"},"name":{"description":"The name of the project.","type":"string"},"revision_id":{"description":"The configuration revision ID.","format":"uuid","readOnly":true,"type":"string"},"services":{"$ref":"#/components/schemas/projectServices"},"slug":{"description":"The project's slug","readOnly":true,"type":"string"},"state":{"description":"The state of the project.\nrunning Running\nhalted Halted\ndeleted Deleted","enum":["running","halted","deleted"],"readOnly":true,"type":"string","x-go-enum-desc":"running Running\nhalted Halted\ndeleted Deleted"},"workspace_id":{"$ref":"#/components/schemas/NullUUID"}},"required":["id","revision_id","slug","services","state","name","environment","home_region"],"type":"object"},"projectApiKey":{"properties":{"created_at":{"description":"The token's creation date","format":"date-time","readOnly":true,"type":"string"},"expires_at":{"$ref":"#/components/schemas/Time"},"id":{"description":"The token's ID.","format":"uuid","readOnly":true,"type":"string"},"name":{"description":"The Token's Name\n\nSet this to help you remember, for example, where you use the token.","type":"string"},"owner_id":{"description":"The token's owner","format":"uuid","readOnly":true,"type":"string"},"project_id":{"description":"The Token's Project ID","format":"uuid","readOnly":true,"type":"string"},"updated_at":{"description":"The token's last update date","format":"date-time","readOnly":true,"type":"string"},"value":{"description":"The token's value","readOnly":true,"type":"string"}},"required":["id","name","owner_id"],"type":"object"},"projectApiKeys":{"items":{"$ref":"#/components/schemas/projectApiKey"},"type":"array"},"projectBranding":{"properties":{"created_at":{"description":"The Customization Creation Date","format":"date-time","readOnly":true,"type":"string"},"default_theme":{"$ref":"#/components/schemas/projectBrandingTheme"},"id":{"description":"The customization ID.","format":"uuid","readOnly":true,"type":"string"},"project_id":{"description":"The Project's ID this customization is associated with","format":"uuid","type":"string"},"themes":{"$ref":"#/components/schemas/projectBrandingThemes"},"updated_at":{"description":"Last Time Branding was Updated","format":"date-time","readOnly":true,"type":"string"}},"required":["id","project_id","default_theme","themes","created_at","updated_at"],"title":"ProjectBranding holds all settings for customizing the Ory Account Experience.","type":"object"},"projectBrandingColors":{"properties":{"accent_default_color":{"description":"AccentDefaultColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"accent_disabled_color":{"description":"AccentDisabledColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"accent_emphasis_color":{"description":"AccentEmphasisColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"accent_muted_color":{"description":"AccentMutedColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"accent_subtle_color":{"description":"AccentSubtleColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"background_canvas_color":{"description":"BackgroundCanvasColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"background_subtle_color":{"description":"BackgroundSubtleColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"background_surface_color":{"description":"BackgroundSurfaceColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"border_default_color":{"description":"BorderDefaultColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"error_default_color":{"description":"ErrorDefaultColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"error_emphasis_color":{"description":"ErrorEmphasisColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"error_muted_color":{"description":"ErrorMutedColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"error_subtle_color":{"description":"ErrorSubtleColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"foreground_default_color":{"description":"ForegroundDefaultColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"foreground_disabled_color":{"description":"ForegroundDisabledColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"foreground_muted_color":{"description":"ForegroundMutedColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"foreground_on_accent_color":{"description":"ForegroundOnAccentColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"foreground_on_dark_color":{"description":"ForegroundOnDarkColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"foreground_on_disabled_color":{"description":"ForegroundOnDisabledColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"foreground_subtle_color":{"description":"ForegroundSubtleColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"input_background_color":{"description":"InputBackgroundColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"input_disabled_color":{"description":"InputDisabledColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"input_placeholder_color":{"description":"InputPlaceholderColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"input_text_color":{"description":"InputTextColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"primary_color":{"description":"Primary color is an hsla color value used to derive the other colors from for the Ory Account Experience theme.","type":"string"},"secondary_color":{"description":"Secondary color is a hsla color code used to derive the other colors from for the Ory Account Experience theme.","type":"string"},"success_emphasis_color":{"description":"SuccessEmphasisColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"text_default_color":{"description":"TextDefaultColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"text_disabled_color":{"description":"TextDisabledColor is a hex color code used by the Ory Account Experience theme.","type":"string"}},"title":"ProjectBrandingColors are the colors used by the Ory Account Experience theme.","type":"object"},"projectBrandingTheme":{"properties":{"accent_default_color":{"description":"AccentDefaultColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"accent_disabled_color":{"description":"AccentDisabledColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"accent_emphasis_color":{"description":"AccentEmphasisColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"accent_muted_color":{"description":"AccentMutedColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"accent_subtle_color":{"description":"AccentSubtleColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"account_experience_variables":{"description":"The Account Experience Theme Variables.","items":{"$ref":"#/components/schemas/accountExperienceThemeVariables"},"type":"array"},"account_experience_variables_stylesheet":{"description":"AccountExperienceVariableStylesheet holds a reference to the current stylesheet that can be used in the AX","type":"string"},"background_canvas_color":{"description":"BackgroundCanvasColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"background_subtle_color":{"description":"BackgroundSubtleColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"background_surface_color":{"description":"BackgroundSurfaceColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"border_default_color":{"description":"BorderDefaultColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"created_at":{"description":"The Customization Creation Date.","format":"date-time","readOnly":true,"type":"string"},"error_default_color":{"description":"ErrorDefaultColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"error_emphasis_color":{"description":"ErrorEmphasisColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"error_muted_color":{"description":"ErrorMutedColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"error_subtle_color":{"description":"ErrorSubtleColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"favicon_type":{"description":"Favicon Type\nThe Favicon mime type.","type":"string"},"favicon_url":{"description":"Favicon URL\nFavicon can be an https:// or base64:// URL. If the URL is not allowed, the favicon will be stored inside the Ory Network storage bucket.","type":"string"},"foreground_default_color":{"description":"ForegroundDefaultColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"foreground_disabled_color":{"description":"ForegroundDisabledColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"foreground_muted_color":{"description":"ForegroundMutedColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"foreground_on_accent_color":{"description":"ForegroundOnAccentColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"foreground_on_dark_color":{"description":"ForegroundOnDarkColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"foreground_on_disabled_color":{"description":"ForegroundOnDisabledColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"foreground_subtle_color":{"description":"ForegroundSubtleColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"id":{"description":"The customization theme ID.","format":"uuid","readOnly":true,"type":"string"},"input_background_color":{"description":"InputBackgroundColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"input_disabled_color":{"description":"InputDisabledColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"input_placeholder_color":{"description":"InputPlaceholderColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"input_text_color":{"description":"InputTextColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"logo_type":{"description":"Logo Type\nThe Logo mime type.","type":"string"},"logo_url":{"description":"Logo URL\nLogo can be an https:// or base64:// URL. If the URL is not allowed, the logo will be stored inside the Ory Network storage bucket.","type":"string"},"name":{"description":"The customization theme name.","type":"string"},"primary_color":{"description":"Primary color is an hsla color value used to derive the other colors from for the Ory Account Experience theme.","type":"string"},"project_branding_id":{"description":"The ProjectBranding ID this customization is associated with.","format":"uuid","type":"string"},"secondary_color":{"description":"Secondary color is a hsla color code used to derive the other colors from for the Ory Account Experience theme.","type":"string"},"success_emphasis_color":{"description":"SuccessEmphasisColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"text_default_color":{"description":"TextDefaultColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"text_disabled_color":{"description":"TextDisabledColor is a hex color code used by the Ory Account Experience theme.","type":"string"},"updated_at":{"description":"Last Time Branding was Updated.","format":"date-time","readOnly":true,"type":"string"}},"required":["id","project_branding_id","name","created_at","updated_at"],"title":"ProjectBrandingTheme represents a Theme for the Ory Account Experience.","type":"object"},"projectBrandingThemes":{"items":{"$ref":"#/components/schemas/projectBrandingTheme"},"title":"ProjectBrandingThemes is a list of ProjectBrandingTheme.","type":"array"},"projectCors":{"properties":{"enabled":{"description":"Whether CORS is enabled for this endpoint.","type":"boolean"},"origins":{"description":"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`.","items":{"type":"string"},"type":"array"}},"type":"object"},"projectHost":{"properties":{"host":{"description":"The project's host.","type":"string"},"id":{"description":"The mapping's ID.","format":"uuid","readOnly":true,"type":"string"},"project_id":{"description":"The Revision's Project ID","format":"uuid","type":"string"}},"required":["id","host","project_id"],"type":"object"},"projectMember":{"properties":{"email":{"type":"string"},"email_verified":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"role":{"type":"string"}},"required":["id","email","name","email_verified","role"],"type":"object"},"projectMembers":{"items":{"$ref":"#/components/schemas/projectMember"},"type":"array"},"projectMetadata":{"properties":{"created_at":{"description":"The Project's Creation Date","format":"date-time","type":"string"},"environment":{"description":"The environment of the project.\nprod Production\nstage Staging\ndev Development","enum":["prod","stage","dev"],"type":"string","x-go-enum-desc":"prod Production\nstage Staging\ndev Development"},"home_region":{"description":"The project's data home region\neu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global","enum":["eu-central","asia-northeast","us-east","us-west","us","global"],"type":"string","x-go-enum-desc":"eu-central EUCentral\nasia-northeast AsiaNorthEast\nus-east USEast\nus-west USWest\nus US\nglobal Global"},"hosts":{"$ref":"#/components/schemas/StringSliceJSONFormat"},"id":{"description":"The project's ID.","format":"uuid","readOnly":true,"type":"string"},"name":{"description":"The project's name if set","type":"string"},"slug":{"description":"The project's slug","readOnly":true,"type":"string"},"state":{"description":"The state of the project.\nrunning Running\nhalted Halted\ndeleted Deleted","enum":["running","halted","deleted"],"type":"string","x-go-enum-desc":"running Running\nhalted Halted\ndeleted Deleted"},"subscription_id":{"$ref":"#/components/schemas/NullUUID"},"subscription_plan":{"$ref":"#/components/schemas/String"},"updated_at":{"description":"Last Time Project was Updated","format":"date-time","type":"string"},"workspace":{"$ref":"#/components/schemas/workspace"},"workspace_id":{"$ref":"#/components/schemas/NullUUID"}},"required":["id","hosts","slug","state","created_at","updated_at","name","environment","home_region"],"type":"object"},"projectMetadataList":{"items":{"$ref":"#/components/schemas/projectMetadata"},"type":"array"},"projectRevisionHooks":{"items":{"$ref":"#/components/schemas/normalizedProjectRevisionHook"},"type":"array"},"projectRevisionIdentitySchemas":{"items":{"$ref":"#/components/schemas/normalizedProjectRevisionIdentitySchema"},"type":"array"},"projectRevisionThirdPartyLoginProviders":{"items":{"$ref":"#/components/schemas/normalizedProjectRevisionThirdPartyProvider"},"type":"array"},"projectRevisions":{"items":{"$ref":"#/components/schemas/normalizedProjectRevision"},"type":"array"},"projectServiceIdentity":{"properties":{"config":{"type":"object"}},"required":["config"],"type":"object"},"projectServiceOAuth2":{"properties":{"config":{"type":"object"}},"required":["config"],"type":"object"},"projectServicePermission":{"properties":{"config":{"type":"object"}},"required":["config"],"type":"object"},"projectServices":{"properties":{"identity":{"$ref":"#/components/schemas/projectServiceIdentity"},"oauth2":{"$ref":"#/components/schemas/projectServiceOAuth2"},"permission":{"$ref":"#/components/schemas/projectServicePermission"}},"type":"object"},"quotaUsage":{"properties":{"additional_price":{"description":"The additional price per unit in cents.","type":"string"},"can_use_more":{"type":"boolean"},"feature":{"description":"\nproduction_projects ProductionProjects\nstaging_projects StagingProjects\ndevelopment_projects DevelopmentProjects\ndaily_active_users DailyActiveUsers\ncustom_domains CustomDomains\nevent_streams EventStreams\nevent_stream_events EventStreamEvents\nsla SLA\ncollaborator_seats CollaboratorSeats\nedge_cache EdgeCache\nbranding_themes BrandingThemes\nzendesk_support ZendeskSupport\nproject_metrics ProjectMetrics\nproject_metrics_time_window ProjectMetricsTimeWindow\nproject_metrics_events_history ProjectMetricsEventsHistory\norganizations Organizations\nrop_grant ResourceOwnerPasswordGrant\nconcierge_onboarding ConciergeOnboarding\ncredit Credit\ndata_location_global DataLocationGlobal\ndata_location_us DataLocationUS\ndata_location_asiane DataLocationAsiaNorthEast\nm2m_token_issuance M2MTokenIssuance\npermission_checks PermissionChecks\ncaptcha Captcha\ndata_location_regional DataLocationRegional Required Features\nrate_limit_tier RateLimitTier\nsession_rate_limit_tier RateLimitTierSessions\nidentities_list_rate_limit_tier RateLimitTierIdentitiesList\npermission_checks_rate_limit_tier RateLimitTierPermissionChecks\noauth2_introspect_rate_limit_tier RateLimitTierOAuth2Introspect","enum":["production_projects","staging_projects","development_projects","daily_active_users","custom_domains","event_streams","event_stream_events","sla","collaborator_seats","edge_cache","branding_themes","zendesk_support","project_metrics","project_metrics_time_window","project_metrics_events_history","organizations","rop_grant","concierge_onboarding","credit","data_location_global","data_location_us","data_location_asiane","m2m_token_issuance","permission_checks","captcha","data_location_regional","rate_limit_tier","session_rate_limit_tier","identities_list_rate_limit_tier","permission_checks_rate_limit_tier","oauth2_introspect_rate_limit_tier"],"type":"string","x-go-enum-desc":"production_projects ProductionProjects\nstaging_projects StagingProjects\ndevelopment_projects DevelopmentProjects\ndaily_active_users DailyActiveUsers\ncustom_domains CustomDomains\nevent_streams EventStreams\nevent_stream_events EventStreamEvents\nsla SLA\ncollaborator_seats CollaboratorSeats\nedge_cache EdgeCache\nbranding_themes BrandingThemes\nzendesk_support ZendeskSupport\nproject_metrics ProjectMetrics\nproject_metrics_time_window ProjectMetricsTimeWindow\nproject_metrics_events_history ProjectMetricsEventsHistory\norganizations Organizations\nrop_grant ResourceOwnerPasswordGrant\nconcierge_onboarding ConciergeOnboarding\ncredit Credit\ndata_location_global DataLocationGlobal\ndata_location_us DataLocationUS\ndata_location_asiane DataLocationAsiaNorthEast\nm2m_token_issuance M2MTokenIssuance\npermission_checks PermissionChecks\ncaptcha Captcha\ndata_location_regional DataLocationRegional Required Features\nrate_limit_tier RateLimitTier\nsession_rate_limit_tier RateLimitTierSessions\nidentities_list_rate_limit_tier RateLimitTierIdentitiesList\npermission_checks_rate_limit_tier RateLimitTierPermissionChecks\noauth2_introspect_rate_limit_tier RateLimitTierOAuth2Introspect"},"feature_available":{"type":"boolean"},"included":{"format":"int64","type":"integer"},"is_unlimited":{"type":"boolean"},"used":{"format":"int64","type":"integer"}},"required":["feature","included","used","is_unlimited","additional_price","can_use_more","feature_available"],"type":"object"},"recoveryCodeForIdentity":{"description":"Used when an administrator creates a recovery code for an identity.","properties":{"expires_at":{"description":"Expires At is the timestamp of when the recovery flow expires\n\nThe timestamp when the recovery code expires.","format":"date-time","type":"string"},"recovery_code":{"description":"RecoveryCode is the code that can be used to recover the account","type":"string"},"recovery_link":{"description":"RecoveryLink with flow\n\nThis link opens the recovery UI with an empty `code` field.","type":"string"}},"required":["recovery_link","recovery_code"],"title":"Recovery Code for Identity","type":"object"},"recoveryFlow":{"description":"This request is used when an identity wants to recover their account.\n\nWe recommend reading the [Account Recovery Documentation](../self-service/flows/password-reset-account-recovery)","properties":{"active":{"description":"Active, if set, contains the recovery method that is being used. It is initially\nnot set.","type":"string"},"continue_with":{"description":"Contains possible actions that could follow this flow","items":{"$ref":"#/components/schemas/continueWith"},"type":"array"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the request expires. If the user still wishes to update the setting,\na new request has to be initiated.","format":"date-time","type":"string"},"id":{"description":"ID represents the request's unique ID. When performing the recovery flow, this\nrepresents the id in the recovery ui's query parameter: http://?request=","format":"uuid","type":"string"},"issued_at":{"description":"IssuedAt is the time (UTC) when the request occurred.","format":"date-time","type":"string"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"return_to":{"description":"ReturnTo contains the requested return_to URL.","type":"string"},"state":{"description":"State represents the state of this request:\n\nchoose_method: ask the user to choose a method (e.g. recover account via email)\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the recovery challenge was passed."},"transient_payload":{"description":"TransientPayload is used to pass data from the recovery flow to hooks and email templates","type":"object"},"type":{"$ref":"#/components/schemas/selfServiceFlowType"},"ui":{"$ref":"#/components/schemas/uiContainer"}},"required":["id","type","expires_at","issued_at","request_url","ui","state"],"title":"A Recovery Flow","type":"object"},"recoveryFlowState":{"description":"The state represents the state of the recovery flow.\n\nchoose_method: ask the user to choose a method (e.g. recover account via email)\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the recovery challenge was passed.","enum":["choose_method","sent_email","passed_challenge"],"title":"Recovery Flow State","type":"string"},"recoveryIdentityAddress":{"properties":{"created_at":{"description":"CreatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"updated_at":{"description":"UpdatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"value":{"type":"string"},"via":{"$ref":"#/components/schemas/RecoveryAddressType"}},"required":["id","value","via"],"type":"object"},"recoveryLinkForIdentity":{"description":"Used when an administrator creates a recovery link for an identity.","properties":{"expires_at":{"description":"Recovery Link Expires At\n\nThe timestamp when the recovery link expires.","format":"date-time","type":"string"},"recovery_link":{"description":"Recovery Link\n\nThis link can be used to recover the account.","type":"string"}},"required":["recovery_link"],"title":"Identity Recovery Link","type":"object"},"registrationFlow":{"properties":{"active":{"description":"Active, if set, contains the registration method that is being used. It is initially\nnot set.\npassword CredentialsTypePassword\noidc CredentialsTypeOIDC\ntotp CredentialsTypeTOTP\nlookup_secret CredentialsTypeLookup\nwebauthn CredentialsTypeWebAuthn\ncode CredentialsTypeCodeAuth\npasskey CredentialsTypePasskey\nprofile CredentialsTypeProfile\nlink_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself.\ncode_recovery CredentialsTypeRecoveryCode","enum":["password","oidc","totp","lookup_secret","webauthn","code","passkey","profile","link_recovery","code_recovery"],"type":"string","x-go-enum-desc":"password CredentialsTypePassword\noidc CredentialsTypeOIDC\ntotp CredentialsTypeTOTP\nlookup_secret CredentialsTypeLookup\nwebauthn CredentialsTypeWebAuthn\ncode CredentialsTypeCodeAuth\npasskey CredentialsTypePasskey\nprofile CredentialsTypeProfile\nlink_recovery CredentialsTypeRecoveryLink CredentialsTypeRecoveryLink is a special credential type linked to the link strategy (recovery flow). It is not used within the credentials object itself.\ncode_recovery CredentialsTypeRecoveryCode"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in,\na new flow has to be initiated.","format":"date-time","type":"string"},"id":{"description":"ID represents the flow's unique ID. When performing the registration flow, this\nrepresents the id in the registration ui's query parameter: http:///?flow=","format":"uuid","type":"string"},"issued_at":{"description":"IssuedAt is the time (UTC) when the flow occurred.","format":"date-time","type":"string"},"oauth2_login_challenge":{"description":"Ory OAuth 2.0 Login Challenge.\n\nThis value is set using the `login_challenge` query parameter of the registration and login endpoints.\nIf set will cooperate with Ory OAuth2 and OpenID to act as an OAuth2 server / OpenID Provider.","type":"string"},"oauth2_login_request":{"$ref":"#/components/schemas/oAuth2LoginRequest"},"organization_id":{"$ref":"#/components/schemas/NullUUID"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"return_to":{"description":"ReturnTo contains the requested return_to URL.","type":"string"},"session_token_exchange_code":{"description":"SessionTokenExchangeCode holds the secret code that the client can use to retrieve a session token after the flow has been completed.\nThis is only set if the client has requested a session token exchange code, and if the flow is of type \"api\",\nand only on creating the flow.","type":"string"},"state":{"description":"State represents the state of this request:\n\nchoose_method: ask the user to choose a method (e.g. registration with email)\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the registration challenge was passed."},"transient_payload":{"description":"TransientPayload is used to pass data from the registration to a webhook","type":"object"},"type":{"$ref":"#/components/schemas/selfServiceFlowType"},"ui":{"$ref":"#/components/schemas/uiContainer"}},"required":["id","type","expires_at","issued_at","request_url","ui","state"],"type":"object"},"registrationFlowState":{"description":"choose_method: ask the user to choose a method (e.g. registration with email)\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the registration challenge was passed.","enum":["choose_method","sent_email","passed_challenge"],"title":"State represents the state of this request:","type":"string"},"rejectOAuth2Request":{"properties":{"error":{"description":"The error should follow the OAuth2 error format (e.g. `invalid_request`, `login_required`).\n\nDefaults to `request_denied`.","type":"string"},"error_debug":{"description":"Debug contains information to help resolve the problem as a developer. Usually not exposed\nto the public but only in the server logs.","type":"string"},"error_description":{"description":"Description of the error in a human readable format.","type":"string"},"error_hint":{"description":"Hint to help resolve the error.","type":"string"},"status_code":{"description":"Represents the HTTP status code of the error (e.g. 401 or 403)\n\nDefaults to 400","format":"int64","type":"integer"}},"title":"The request payload used to accept a login or consent request.","type":"object"},"relationQuery":{"description":"Relation Query","properties":{"namespace":{"description":"Namespace to query","type":"string"},"object":{"description":"Object to query","type":"string"},"relation":{"description":"Relation to query","type":"string"},"subject_id":{"description":"SubjectID to query\n\nEither SubjectSet or SubjectID can be provided.","type":"string"},"subject_set":{"$ref":"#/components/schemas/subjectSet"}},"type":"object"},"relationship":{"description":"Relationship","properties":{"namespace":{"description":"Namespace of the Relation Tuple","type":"string"},"object":{"description":"Object of the Relation Tuple","type":"string"},"relation":{"description":"Relation of the Relation Tuple","type":"string"},"subject_id":{"description":"SubjectID of the Relation Tuple\n\nEither SubjectSet or SubjectID can be provided.","type":"string"},"subject_set":{"$ref":"#/components/schemas/subjectSet"}},"required":["namespace","object","relation"],"type":"object"},"relationshipNamespaces":{"description":"Relationship Namespace List","properties":{"namespaces":{"items":{"$ref":"#/components/schemas/namespace"},"type":"array"}},"type":"object"},"relationshipPatch":{"description":"Payload for patching a relationship","properties":{"action":{"enum":["insert","delete"],"type":"string","x-go-enum-desc":"insert ActionInsert\ndelete ActionDelete"},"relation_tuple":{"$ref":"#/components/schemas/relationship"}},"type":"object"},"relationships":{"description":"Paginated Relationship List","properties":{"next_page_token":{"description":"The opaque token to provide in a subsequent request\nto get the next page. It is the empty string iff this is\nthe last page.","type":"string"},"relation_tuples":{"items":{"$ref":"#/components/schemas/relationship"},"type":"array"}},"type":"object"},"revisionCourierChannels":{"items":{"$ref":"#/components/schemas/NormalizedProjectRevisionCourierChannel"},"type":"array"},"schemaPatch":{"properties":{"data":{"description":"The json schema","type":"object"},"name":{"description":"The user defined schema name","type":"string"}},"required":["name","data"],"type":"object"},"selfServiceFlowExpiredError":{"description":"Is sent when a flow is expired","properties":{"error":{"$ref":"#/components/schemas/genericError"},"expired_at":{"description":"When the flow has expired","format":"date-time","type":"string"},"since":{"$ref":"#/components/schemas/Duration"},"use_flow_id":{"description":"The flow ID that should be used for the new flow as it contains the correct messages.","format":"uuid","type":"string"}},"type":"object"},"selfServiceFlowType":{"description":"The flow type can either be `api` or `browser`.","title":"Type is the flow type.","type":"string"},"session":{"description":"A Session","properties":{"active":{"description":"Active state. If false the session is no longer active.","type":"boolean"},"authenticated_at":{"description":"The Session Authentication Timestamp\n\nWhen this session was authenticated at. If multi-factor authentication was used this\nis the time when the last factor was authenticated (e.g. the TOTP code challenge was completed).","format":"date-time","type":"string"},"authentication_methods":{"$ref":"#/components/schemas/sessionAuthenticationMethods"},"authenticator_assurance_level":{"$ref":"#/components/schemas/authenticatorAssuranceLevel"},"devices":{"description":"Devices has history of all endpoints where the session was used","items":{"$ref":"#/components/schemas/sessionDevice"},"type":"array"},"expires_at":{"description":"The Session Expiry\n\nWhen this session expires at.","format":"date-time","type":"string"},"id":{"description":"Session ID","format":"uuid","type":"string"},"identity":{"$ref":"#/components/schemas/identity"},"issued_at":{"description":"The Session Issuance Timestamp\n\nWhen this session was issued at. Usually equal or close to `authenticated_at`.","format":"date-time","type":"string"},"tokenized":{"description":"Tokenized is the tokenized (e.g. JWT) version of the session.\n\nIt is only set when the `tokenize` query parameter was set to a valid tokenize template during calls to `/session/whoami`.","type":"string"}},"required":["id"],"type":"object"},"sessionAuthenticationMethod":{"description":"A singular authenticator used during authentication / login.","properties":{"aal":{"$ref":"#/components/schemas/authenticatorAssuranceLevel"},"completed_at":{"description":"When the authentication challenge was completed.","format":"date-time","type":"string"},"method":{"enum":["link_recovery","code_recovery","password","code","totp","oidc","webauthn","lookup_secret","v0.6_legacy_session"],"title":"The method used","type":"string"},"organization":{"description":"The Organization id used for authentication","type":"string"},"provider":{"description":"OIDC or SAML provider id used for authentication","type":"string"}},"title":"AuthenticationMethod identifies an authentication method","type":"object"},"sessionAuthenticationMethods":{"description":"A list of authenticators which were used to authenticate the session.","items":{"$ref":"#/components/schemas/sessionAuthenticationMethod"},"title":"List of (Used) AuthenticationMethods","type":"array"},"sessionDevice":{"description":"Device corresponding to a Session","properties":{"id":{"description":"Device record ID","format":"uuid","type":"string"},"ip_address":{"description":"IPAddress of the client","type":"string"},"location":{"description":"Geo Location corresponding to the IP Address","type":"string"},"user_agent":{"description":"UserAgent of the client","type":"string"}},"required":["id"],"type":"object"},"setActiveProjectInConsoleBody":{"description":"Set active project in the Ory Network Console Request Body","properties":{"project_id":{"description":"Project ID\n\nThe Project ID you want to set active.\n\nformat: uuid","type":"string"}},"required":["project_id"],"type":"object"},"setCustomDomainBody":{"description":"Update Custom Hostname Body","properties":{"cookie_domain":{"description":"The domain where cookies will be set. Has to be a parent domain of the custom hostname to work.","type":"string"},"cors_allowed_origins":{"description":"CORS Allowed origins for the custom hostname.","items":{"type":"string"},"type":"array"},"cors_enabled":{"description":"CORS Enabled for the custom hostname.","type":"boolean"},"custom_ui_base_url":{"description":"The custom UI base URL where the UI will be exposed.","type":"string"},"hostname":{"description":"The custom hostname where the API will be exposed.","type":"string"}},"type":"object"},"setEventStreamBody":{"description":"Update Event Stream Body","properties":{"role_arn":{"description":"The AWS IAM role ARN to assume when publishing to the SNS topic.","type":"string"},"topic_arn":{"description":"The AWS SNS topic ARN.","type":"string"},"type":{"description":"The type of the event stream (AWS SNS, GCP Pub/Sub, etc).","enum":["sns"],"type":"string"}},"required":["type","topic_arn","role_arn"],"type":"object"},"setProject":{"properties":{"cors_admin":{"$ref":"#/components/schemas/projectCors"},"cors_public":{"$ref":"#/components/schemas/projectCors"},"name":{"description":"The name of the project.","type":"string"},"services":{"$ref":"#/components/schemas/projectServices"}},"required":["services","name","cors_public","cors_admin"],"type":"object"},"setProjectBrandingThemeBody":{"properties":{"favicon_type":{"description":"Favicon Type","type":"string"},"favicon_url":{"description":"Favicon URL","type":"string"},"logo_type":{"description":"Logo type","type":"string"},"logo_url":{"description":"Logo URL","type":"string"},"name":{"description":"Branding name","type":"string"},"theme":{"$ref":"#/components/schemas/projectBrandingColors"}},"title":"SetProjectBrandingThemeBody is the request body for the set project branding theme endpoint.","type":"object"},"settingsFlow":{"description":"This flow is used when an identity wants to update settings\n(e.g. profile data, passwords, ...) in a selfservice manner.\n\nWe recommend reading the [User Settings Documentation](../self-service/flows/user-settings)","properties":{"active":{"description":"Active, if set, contains the registration method that is being used. It is initially\nnot set.","type":"string"},"continue_with":{"description":"Contains a list of actions, that could follow this flow\n\nIt can, for example, contain a reference to the verification flow, created as part of the user's\nregistration.","items":{"$ref":"#/components/schemas/continueWith"},"type":"array"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to update the setting,\na new flow has to be initiated.","format":"date-time","type":"string"},"id":{"description":"ID represents the flow's unique ID. When performing the settings flow, this\nrepresents the id in the settings ui's query parameter: http://?flow=","format":"uuid","type":"string"},"identity":{"$ref":"#/components/schemas/identity"},"issued_at":{"description":"IssuedAt is the time (UTC) when the flow occurred.","format":"date-time","type":"string"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"return_to":{"description":"ReturnTo contains the requested return_to URL.","type":"string"},"state":{"description":"State represents the state of this flow. It knows two states:\n\nshow_form: No user data has been collected, or it is invalid, and thus the form should be shown.\nsuccess: Indicates that the settings flow has been updated successfully with the provided data.\nDone will stay true when repeatedly checking. If set to true, done will revert back to false only\nwhen a flow with invalid (e.g. \"please use a valid phone number\") data was sent."},"transient_payload":{"description":"TransientPayload is used to pass data from the settings flow to hooks and email templates","type":"object"},"type":{"$ref":"#/components/schemas/selfServiceFlowType"},"ui":{"$ref":"#/components/schemas/uiContainer"}},"required":["id","type","expires_at","issued_at","request_url","ui","identity","state"],"title":"Flow represents a Settings Flow","type":"object"},"settingsFlowState":{"description":"show_form: No user data has been collected, or it is invalid, and thus the form should be shown.\nsuccess: Indicates that the settings flow has been updated successfully with the provided data.\nDone will stay true when repeatedly checking. If set to true, done will revert back to false only\nwhen a flow with invalid (e.g. \"please use a valid phone number\") data was sent.","enum":["show_form","success"],"title":"State represents the state of this flow. It knows two states:","type":"string"},"subjectSet":{"properties":{"namespace":{"description":"Namespace of the Subject Set","type":"string"},"object":{"description":"Object of the Subject Set","type":"string"},"relation":{"description":"Relation of the Subject Set","type":"string"}},"required":["namespace","object","relation"],"type":"object"},"subscription":{"properties":{"created_at":{"format":"date-time","readOnly":true,"type":"string"},"currency":{"description":"The currency of the subscription. To change this, a new subscription must be created.\nusd USD\neur Euro","enum":["usd","eur"],"readOnly":true,"type":"string","x-go-enum-desc":"usd USD\neur Euro"},"current_interval":{"description":"The currently active interval of the subscription\nmonthly Monthly\nyearly Yearly","enum":["monthly","yearly"],"readOnly":true,"type":"string","x-go-enum-desc":"monthly Monthly\nyearly Yearly"},"current_plan":{"description":"The currently active plan of the subscription","readOnly":true,"type":"string"},"current_plan_details":{"$ref":"#/components/schemas/PlanDetails"},"customer_id":{"description":"The ID of the stripe customer","readOnly":true,"type":"string"},"id":{"description":"The ID of the subscription","format":"uuid","readOnly":true,"type":"string"},"interval_changes_to":{"$ref":"#/components/schemas/String"},"ongoing_stripe_checkout_id":{"$ref":"#/components/schemas/String"},"payed_until":{"description":"Until when the subscription is payed","format":"date-time","readOnly":true,"type":"string"},"plan_changes_at":{"$ref":"#/components/schemas/Time"},"plan_changes_to":{"$ref":"#/components/schemas/String"},"status":{"$ref":"#/components/schemas/SubscriptionStatus"},"stripe_checkout_expires_at":{"$ref":"#/components/schemas/Time"},"updated_at":{"format":"date-time","readOnly":true,"type":"string"}},"required":["id","customer_id","status","payed_until","current_plan","current_interval","plan_changes_to","interval_changes_to","currency","created_at","updated_at"],"type":"object"},"successfulCodeExchangeResponse":{"description":"The Response for Registration Flows via API","properties":{"session":{"$ref":"#/components/schemas/session"},"session_token":{"description":"The Session Token\n\nA session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization\nHeader:\n\nAuthorization: bearer ${session-token}\n\nThe session token is only issued for API flows, not for Browser flows!","type":"string"}},"required":["session"],"type":"object"},"successfulNativeLogin":{"description":"The Response for Login Flows via API","properties":{"continue_with":{"description":"Contains a list of actions, that could follow this flow\n\nIt can, for example, this will contain a reference to the verification flow, created as part of the user's\nregistration or the token of the session.","items":{"$ref":"#/components/schemas/continueWith"},"type":"array"},"session":{"$ref":"#/components/schemas/session"},"session_token":{"description":"The Session Token\n\nA session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization\nHeader:\n\nAuthorization: bearer ${session-token}\n\nThe session token is only issued for API flows, not for Browser flows!","type":"string"}},"required":["session"],"type":"object"},"successfulNativeRegistration":{"description":"The Response for Registration Flows via API","properties":{"continue_with":{"description":"Contains a list of actions, that could follow this flow\n\nIt can, for example, this will contain a reference to the verification flow, created as part of the user's\nregistration or the token of the session.","items":{"$ref":"#/components/schemas/continueWith"},"type":"array"},"identity":{"$ref":"#/components/schemas/identity"},"session":{"$ref":"#/components/schemas/session"},"session_token":{"description":"The Session Token\n\nThis field is only set when the session hook is configured as a post-registration hook.\n\nA session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization\nHeader:\n\nAuthorization: bearer ${session-token}\n\nThe session token is only issued for API flows, not for Browser flows!","type":"string"}},"required":["identity"],"type":"object"},"successfulProjectUpdate":{"properties":{"project":{"$ref":"#/components/schemas/project"},"warnings":{"description":"Import Warnings\n\nNot all configuration items can be imported to the Ory Network. For example,\nsetting the port does not make sense because the Ory Network provides the runtime\nand networking.\n\nThis field contains warnings where configuration keys were found but can not\nbe imported. These keys will be ignored by the Ory Network. This field will help\nyou understand why certain configuration keys might not be respected!","items":{"$ref":"#/components/schemas/Warning"},"type":"array"}},"required":["project","warnings"],"type":"object"},"tokenPagination":{"properties":{"page_size":{"default":250,"description":"Items per page\n\nThis is the number of items per page to return.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).","format":"int64","maximum":1000,"minimum":1,"type":"integer"},"page_token":{"default":"1","description":"Next Page Token\n\nThe next page token.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).","minimum":1,"type":"string"}},"type":"object"},"tokenPaginationHeaders":{"properties":{"link":{"description":"The link header contains pagination links.\n\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).\n\nin: header","type":"string"},"x-total-count":{"description":"The total number of clients.\n\nin: header","type":"string"}},"type":"object"},"tokenPaginationRequestParameters":{"description":"The `Link` HTTP header contains multiple links (`first`, `next`, `last`, `previous`) formatted as:\n`; rel=\"{page}\"`\n\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).","properties":{"page_size":{"default":250,"description":"Items per Page\n\nThis is the number of items per page to return.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).","format":"int64","maximum":500,"minimum":1,"type":"integer"},"page_token":{"default":"1","description":"Next Page Token\n\nThe next page token.\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).","minimum":1,"type":"string"}},"title":"Pagination Request Parameters","type":"object"},"tokenPaginationResponseHeaders":{"description":"The `Link` HTTP header contains multiple links (`first`, `next`, `last`, `previous`) formatted as:\n`; rel=\"{page}\"`\n\nFor details on pagination please head over to the [pagination documentation](https://www.ory.sh/docs/ecosystem/api-design#pagination).","properties":{"link":{"description":"The Link HTTP Header\n\nThe `Link` header contains a comma-delimited list of links to the following pages:\n\nfirst: The first page of results.\nnext: The next page of results.\nprev: The previous page of results.\nlast: The last page of results.\n\nPages are omitted if they do not exist. For example, if there is no next page, the `next` link is omitted. Examples:\n\n; rel=\"first\",; rel=\"next\",; rel=\"prev\",; rel=\"last\"","type":"string"},"x-total-count":{"description":"The X-Total-Count HTTP Header\n\nThe `X-Total-Count` header contains the total number of items in the collection.","format":"int64","type":"integer"}},"title":"Pagination Response Header","type":"object"},"trustOAuth2JwtGrantIssuer":{"description":"Trust OAuth2 JWT Bearer Grant Type Issuer Request Body","properties":{"allow_any_subject":{"description":"The \"allow_any_subject\" indicates that the issuer is allowed to have any principal as the subject of the JWT.","type":"boolean"},"expires_at":{"description":"The \"expires_at\" indicates, when grant will expire, so we will reject assertion from \"issuer\" targeting \"subject\".","format":"date-time","type":"string"},"issuer":{"description":"The \"issuer\" identifies the principal that issued the JWT assertion (same as \"iss\" claim in JWT).","example":"https://jwt-idp.example.com","type":"string"},"jwk":{"$ref":"#/components/schemas/jsonWebKey"},"scope":{"description":"The \"scope\" contains list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749])","example":["openid","offline"],"items":{"type":"string"},"type":"array"},"subject":{"description":"The \"subject\" identifies the principal that is the subject of the JWT.","example":"mike@example.com","type":"string"}},"required":["issuer","scope","jwk","expires_at"],"type":"object"},"trustedOAuth2JwtGrantIssuer":{"description":"OAuth2 JWT Bearer Grant Type Issuer Trust Relationship","properties":{"allow_any_subject":{"description":"The \"allow_any_subject\" indicates that the issuer is allowed to have any principal as the subject of the JWT.","type":"boolean"},"created_at":{"description":"The \"created_at\" indicates, when grant was created.","format":"date-time","type":"string"},"expires_at":{"description":"The \"expires_at\" indicates, when grant will expire, so we will reject assertion from \"issuer\" targeting \"subject\".","format":"date-time","type":"string"},"id":{"example":"9edc811f-4e28-453c-9b46-4de65f00217f","type":"string"},"issuer":{"description":"The \"issuer\" identifies the principal that issued the JWT assertion (same as \"iss\" claim in JWT).","example":"https://jwt-idp.example.com","type":"string"},"public_key":{"$ref":"#/components/schemas/trustedOAuth2JwtGrantJsonWebKey"},"scope":{"description":"The \"scope\" contains list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749])","example":["openid","offline"],"items":{"type":"string"},"type":"array"},"subject":{"description":"The \"subject\" identifies the principal that is the subject of the JWT.","example":"mike@example.com","type":"string"}},"type":"object"},"trustedOAuth2JwtGrantIssuers":{"description":"OAuth2 JWT Bearer Grant Type Issuer Trust Relationships","items":{"$ref":"#/components/schemas/trustedOAuth2JwtGrantIssuer"},"type":"array"},"trustedOAuth2JwtGrantJsonWebKey":{"description":"OAuth2 JWT Bearer Grant Type Issuer Trusted JSON Web Key","properties":{"kid":{"description":"The \"key_id\" is key unique identifier (same as kid header in jws/jwt).","example":"123e4567-e89b-12d3-a456-426655440000","type":"string"},"set":{"description":"The \"set\" is basically a name for a group(set) of keys. Will be the same as \"issuer\" in grant.","example":"https://jwt-idp.example.com","type":"string"}},"type":"object"},"uiContainer":{"description":"Container represents a HTML Form. The container can work with both HTTP Form and JSON requests","properties":{"action":{"description":"Action should be used as the form action URL ``.","type":"string"},"messages":{"$ref":"#/components/schemas/uiTexts"},"method":{"description":"Method is the form method (e.g. POST)","type":"string"},"nodes":{"$ref":"#/components/schemas/uiNodes"}},"required":["action","method","nodes"],"type":"object"},"uiNode":{"description":"Nodes are represented as HTML elements or their native UI equivalents. For example,\na node can be an `` tag, or an `` but also `some plain text`.","properties":{"attributes":{"$ref":"#/components/schemas/uiNodeAttributes"},"group":{"description":"Group specifies which group (e.g. password authenticator) this node belongs to.\ndefault DefaultGroup\npassword PasswordGroup\noidc OpenIDConnectGroup\nprofile ProfileGroup\nlink LinkGroup\ncode CodeGroup\ntotp TOTPGroup\nlookup_secret LookupGroup\nwebauthn WebAuthnGroup\npasskey PasskeyGroup\nidentifier_first IdentifierFirstGroup","enum":["default","password","oidc","profile","link","code","totp","lookup_secret","webauthn","passkey","identifier_first"],"type":"string","x-go-enum-desc":"default DefaultGroup\npassword PasswordGroup\noidc OpenIDConnectGroup\nprofile ProfileGroup\nlink LinkGroup\ncode CodeGroup\ntotp TOTPGroup\nlookup_secret LookupGroup\nwebauthn WebAuthnGroup\npasskey PasskeyGroup\nidentifier_first IdentifierFirstGroup"},"messages":{"$ref":"#/components/schemas/uiTexts"},"meta":{"$ref":"#/components/schemas/uiNodeMeta"},"type":{"description":"The node's type\ntext Text\ninput Input\nimg Image\na Anchor\nscript Script","enum":["text","input","img","a","script"],"type":"string","x-go-enum-desc":"text Text\ninput Input\nimg Image\na Anchor\nscript Script"}},"required":["type","group","attributes","messages","meta"],"title":"Node represents a flow's nodes","type":"object"},"uiNodeAnchorAttributes":{"properties":{"href":{"description":"The link's href (destination) URL.\n\nformat: uri","type":"string"},"id":{"description":"A unique identifier","type":"string"},"node_type":{"description":"NodeType represents this node's types. It is a mirror of `node.type` and\nis primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"a\".\ntext Text\ninput Input\nimg Image\na Anchor\nscript Script","enum":["text","input","img","a","script"],"type":"string","x-go-enum-desc":"text Text\ninput Input\nimg Image\na Anchor\nscript Script"},"title":{"$ref":"#/components/schemas/uiText"}},"required":["href","title","id","node_type"],"title":"AnchorAttributes represents the attributes of an anchor node.","type":"object"},"uiNodeAttributes":{"discriminator":{"mapping":{"a":"#/components/schemas/uiNodeAnchorAttributes","img":"#/components/schemas/uiNodeImageAttributes","input":"#/components/schemas/uiNodeInputAttributes","script":"#/components/schemas/uiNodeScriptAttributes","text":"#/components/schemas/uiNodeTextAttributes"},"propertyName":"node_type"},"oneOf":[{"$ref":"#/components/schemas/uiNodeInputAttributes"},{"$ref":"#/components/schemas/uiNodeTextAttributes"},{"$ref":"#/components/schemas/uiNodeImageAttributes"},{"$ref":"#/components/schemas/uiNodeAnchorAttributes"},{"$ref":"#/components/schemas/uiNodeScriptAttributes"}],"title":"Attributes represents a list of attributes (e.g. `href=\"foo\"` for links)."},"uiNodeImageAttributes":{"properties":{"height":{"description":"Height of the image","format":"int64","type":"integer"},"id":{"description":"A unique identifier","type":"string"},"node_type":{"description":"NodeType represents this node's types. It is a mirror of `node.type` and\nis primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"img\".\ntext Text\ninput Input\nimg Image\na Anchor\nscript Script","enum":["text","input","img","a","script"],"type":"string","x-go-enum-desc":"text Text\ninput Input\nimg Image\na Anchor\nscript Script"},"src":{"description":"The image's source URL.\n\nformat: uri","type":"string"},"width":{"description":"Width of the image","format":"int64","type":"integer"}},"required":["src","id","width","height","node_type"],"title":"ImageAttributes represents the attributes of an image node.","type":"object"},"uiNodeInputAttributes":{"description":"InputAttributes represents the attributes of an input node","properties":{"autocomplete":{"description":"The autocomplete attribute for the input.\nemail InputAttributeAutocompleteEmail\ntel InputAttributeAutocompleteTel\nurl InputAttributeAutocompleteUrl\ncurrent-password InputAttributeAutocompleteCurrentPassword\nnew-password InputAttributeAutocompleteNewPassword\none-time-code InputAttributeAutocompleteOneTimeCode","enum":["email","tel","url","current-password","new-password","one-time-code"],"type":"string","x-go-enum-desc":"email InputAttributeAutocompleteEmail\ntel InputAttributeAutocompleteTel\nurl InputAttributeAutocompleteUrl\ncurrent-password InputAttributeAutocompleteCurrentPassword\nnew-password InputAttributeAutocompleteNewPassword\none-time-code InputAttributeAutocompleteOneTimeCode"},"disabled":{"description":"Sets the input's disabled field to true or false.","type":"boolean"},"label":{"$ref":"#/components/schemas/uiText"},"maxlength":{"description":"MaxLength may contain the input's maximum length.","format":"int64","type":"integer"},"name":{"description":"The input's element name.","type":"string"},"node_type":{"description":"NodeType represents this node's types. It is a mirror of `node.type` and\nis primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"input\".\ntext Text\ninput Input\nimg Image\na Anchor\nscript Script","enum":["text","input","img","a","script"],"type":"string","x-go-enum-desc":"text Text\ninput Input\nimg Image\na Anchor\nscript Script"},"onclick":{"description":"OnClick may contain javascript which should be executed on click. This is primarily\nused for WebAuthn.\n\nDeprecated: Using OnClick requires the use of eval() which is a security risk. Use OnClickTrigger instead.","type":"string"},"onclickTrigger":{"description":"OnClickTrigger may contain a WebAuthn trigger which should be executed on click.\n\nThe trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login.\noryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration\noryWebAuthnLogin WebAuthnTriggersWebAuthnLogin\noryPasskeyLogin WebAuthnTriggersPasskeyLogin\noryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit\noryPasskeyRegistration WebAuthnTriggersPasskeyRegistration\noryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration","enum":["oryWebAuthnRegistration","oryWebAuthnLogin","oryPasskeyLogin","oryPasskeyLoginAutocompleteInit","oryPasskeyRegistration","oryPasskeySettingsRegistration"],"type":"string","x-go-enum-desc":"oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration\noryWebAuthnLogin WebAuthnTriggersWebAuthnLogin\noryPasskeyLogin WebAuthnTriggersPasskeyLogin\noryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit\noryPasskeyRegistration WebAuthnTriggersPasskeyRegistration\noryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration"},"onload":{"description":"OnLoad may contain javascript which should be executed on load. This is primarily\nused for WebAuthn.\n\nDeprecated: Using OnLoad requires the use of eval() which is a security risk. Use OnLoadTrigger instead.","type":"string"},"onloadTrigger":{"description":"OnLoadTrigger may contain a WebAuthn trigger which should be executed on load.\n\nThe trigger maps to a JavaScript function provided by Ory, which triggers actions such as PassKey registration or login.\noryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration\noryWebAuthnLogin WebAuthnTriggersWebAuthnLogin\noryPasskeyLogin WebAuthnTriggersPasskeyLogin\noryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit\noryPasskeyRegistration WebAuthnTriggersPasskeyRegistration\noryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration","enum":["oryWebAuthnRegistration","oryWebAuthnLogin","oryPasskeyLogin","oryPasskeyLoginAutocompleteInit","oryPasskeyRegistration","oryPasskeySettingsRegistration"],"type":"string","x-go-enum-desc":"oryWebAuthnRegistration WebAuthnTriggersWebAuthnRegistration\noryWebAuthnLogin WebAuthnTriggersWebAuthnLogin\noryPasskeyLogin WebAuthnTriggersPasskeyLogin\noryPasskeyLoginAutocompleteInit WebAuthnTriggersPasskeyLoginAutocompleteInit\noryPasskeyRegistration WebAuthnTriggersPasskeyRegistration\noryPasskeySettingsRegistration WebAuthnTriggersPasskeySettingsRegistration"},"pattern":{"description":"The input's pattern.","type":"string"},"required":{"description":"Mark this input field as required.","type":"boolean"},"type":{"description":"The input's element type.\ntext InputAttributeTypeText\npassword InputAttributeTypePassword\nnumber InputAttributeTypeNumber\ncheckbox InputAttributeTypeCheckbox\nhidden InputAttributeTypeHidden\nemail InputAttributeTypeEmail\ntel InputAttributeTypeTel\nsubmit InputAttributeTypeSubmit\nbutton InputAttributeTypeButton\ndatetime-local InputAttributeTypeDateTimeLocal\ndate InputAttributeTypeDate\nurl InputAttributeTypeURI","enum":["text","password","number","checkbox","hidden","email","tel","submit","button","datetime-local","date","url"],"type":"string","x-go-enum-desc":"text InputAttributeTypeText\npassword InputAttributeTypePassword\nnumber InputAttributeTypeNumber\ncheckbox InputAttributeTypeCheckbox\nhidden InputAttributeTypeHidden\nemail InputAttributeTypeEmail\ntel InputAttributeTypeTel\nsubmit InputAttributeTypeSubmit\nbutton InputAttributeTypeButton\ndatetime-local InputAttributeTypeDateTimeLocal\ndate InputAttributeTypeDate\nurl InputAttributeTypeURI"},"value":{"description":"The input's value.","nullable":true}},"required":["name","type","disabled","node_type"],"type":"object"},"uiNodeMeta":{"description":"This might include a label and other information that can optionally\nbe used to render UIs.","properties":{"label":{"$ref":"#/components/schemas/uiText"}},"title":"A Node's Meta Information","type":"object"},"uiNodeScriptAttributes":{"properties":{"async":{"description":"The script async type","type":"boolean"},"crossorigin":{"description":"The script cross origin policy","type":"string"},"id":{"description":"A unique identifier","type":"string"},"integrity":{"description":"The script's integrity hash","type":"string"},"node_type":{"description":"NodeType represents this node's types. It is a mirror of `node.type` and\nis primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\".\ntext Text\ninput Input\nimg Image\na Anchor\nscript Script","enum":["text","input","img","a","script"],"type":"string","x-go-enum-desc":"text Text\ninput Input\nimg Image\na Anchor\nscript Script"},"nonce":{"description":"Nonce for CSP\n\nA nonce you may want to use to improve your Content Security Policy.\nYou do not have to use this value but if you want to improve your CSP\npolicies you may use it. You can also choose to use your own nonce value!","type":"string"},"referrerpolicy":{"description":"The script referrer policy","type":"string"},"src":{"description":"The script source","type":"string"},"type":{"description":"The script MIME type","type":"string"}},"required":["src","async","referrerpolicy","crossorigin","integrity","type","id","nonce","node_type"],"title":"ScriptAttributes represent script nodes which load javascript.","type":"object"},"uiNodeTextAttributes":{"properties":{"id":{"description":"A unique identifier","type":"string"},"node_type":{"description":"NodeType represents this node's types. It is a mirror of `node.type` and\nis primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"text\".\ntext Text\ninput Input\nimg Image\na Anchor\nscript Script","enum":["text","input","img","a","script"],"type":"string","x-go-enum-desc":"text Text\ninput Input\nimg Image\na Anchor\nscript Script"},"text":{"$ref":"#/components/schemas/uiText"}},"required":["text","id","node_type"],"title":"TextAttributes represents the attributes of a text node.","type":"object"},"uiNodes":{"items":{"$ref":"#/components/schemas/uiNode"},"type":"array"},"uiText":{"properties":{"context":{"description":"The message's context. Useful when customizing messages.","type":"object"},"id":{"$ref":"#/components/schemas/ID"},"text":{"description":"The message text. Written in american english.","type":"string"},"type":{"description":"The message type.\ninfo Info\nerror Error\nsuccess Success","enum":["info","error","success"],"type":"string","x-go-enum-desc":"info Info\nerror Error\nsuccess Success"}},"required":["id","text","type"],"type":"object"},"uiTexts":{"items":{"$ref":"#/components/schemas/uiText"},"type":"array"},"unexpectedError":{"type":"string"},"updateIdentityBody":{"description":"Update Identity Body","properties":{"credentials":{"$ref":"#/components/schemas/identityWithCredentials"},"metadata_admin":{"description":"Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/`."},"metadata_public":{"description":"Store metadata about the identity which the identity itself can see when calling for example the\nsession endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field."},"schema_id":{"description":"SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. If set\nwill update the Identity's SchemaID.","type":"string"},"state":{"description":"State is the identity's state.\nactive StateActive\ninactive StateInactive","enum":["active","inactive"],"type":"string","x-go-enum-desc":"active StateActive\ninactive StateInactive"},"traits":{"description":"Traits represent an identity's traits. The identity is able to create, modify, and delete traits\nin a self-service manner. The input will always be validated against the JSON Schema defined\nin `schema_id`.","type":"object"}},"required":["schema_id","traits","state"],"type":"object"},"updateLoginFlowBody":{"discriminator":{"mapping":{"code":"#/components/schemas/updateLoginFlowWithCodeMethod","identifier_first":"#/components/schemas/updateLoginFlowWithIdentifierFirstMethod","lookup_secret":"#/components/schemas/updateLoginFlowWithLookupSecretMethod","oidc":"#/components/schemas/updateLoginFlowWithOidcMethod","passkey":"#/components/schemas/updateLoginFlowWithPasskeyMethod","password":"#/components/schemas/updateLoginFlowWithPasswordMethod","totp":"#/components/schemas/updateLoginFlowWithTotpMethod","webauthn":"#/components/schemas/updateLoginFlowWithWebAuthnMethod"},"propertyName":"method"},"oneOf":[{"$ref":"#/components/schemas/updateLoginFlowWithPasswordMethod"},{"$ref":"#/components/schemas/updateLoginFlowWithOidcMethod"},{"$ref":"#/components/schemas/updateLoginFlowWithTotpMethod"},{"$ref":"#/components/schemas/updateLoginFlowWithWebAuthnMethod"},{"$ref":"#/components/schemas/updateLoginFlowWithLookupSecretMethod"},{"$ref":"#/components/schemas/updateLoginFlowWithCodeMethod"},{"$ref":"#/components/schemas/updateLoginFlowWithPasskeyMethod"},{"$ref":"#/components/schemas/updateLoginFlowWithIdentifierFirstMethod"}]},"updateLoginFlowWithCodeMethod":{"description":"Update Login flow using the code method","properties":{"address":{"description":"Address is the address to send the code to, in case that there are multiple addresses. This field\nis only used in two-factor flows and is ineffective for passwordless flows.","type":"string"},"code":{"description":"Code is the 6 digits code sent to the user","type":"string"},"csrf_token":{"description":"CSRFToken is the anti-CSRF token","type":"string"},"identifier":{"description":"Identifier is the code identifier\nThe identifier requires that the user has already completed the registration or settings with code flow.","type":"string"},"method":{"description":"Method should be set to \"code\" when logging in using the code strategy.","type":"string"},"resend":{"description":"Resend is set when the user wants to resend the code","type":"string"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"}},"required":["method","csrf_token"],"type":"object"},"updateLoginFlowWithIdentifierFirstMethod":{"description":"Update Login Flow with Multi-Step Method","properties":{"csrf_token":{"description":"Sending the anti-csrf token is only required for browser login flows.","type":"string"},"identifier":{"description":"Identifier is the email or username of the user trying to log in.","type":"string"},"method":{"description":"Method should be set to \"password\" when logging in using the identifier and password strategy.","type":"string"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"}},"required":["method","identifier"],"type":"object"},"updateLoginFlowWithLookupSecretMethod":{"description":"Update Login Flow with Lookup Secret Method","properties":{"csrf_token":{"description":"Sending the anti-csrf token is only required for browser login flows.","type":"string"},"lookup_secret":{"description":"The lookup secret.","type":"string"},"method":{"description":"Method should be set to \"lookup_secret\" when logging in using the lookup_secret strategy.","type":"string"}},"required":["method","lookup_secret"],"type":"object"},"updateLoginFlowWithOidcMethod":{"description":"Update Login Flow with OpenID Connect Method","properties":{"csrf_token":{"description":"The CSRF Token","type":"string"},"id_token":{"description":"IDToken is an optional id token provided by an OIDC provider\n\nIf submitted, it is verified using the OIDC provider's public key set and the claims are used to populate\nthe OIDC credentials of the identity.\nIf the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use\nthe `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken.\n\nSupported providers are\nApple\nGoogle","type":"string"},"id_token_nonce":{"description":"IDTokenNonce is the nonce, used when generating the IDToken.\nIf the provider supports nonce validation, the nonce will be validated against this value and required.","type":"string"},"method":{"description":"Method to use\n\nThis field must be set to `oidc` when using the oidc method.","type":"string"},"provider":{"description":"The provider to register with","type":"string"},"traits":{"description":"The identity traits. This is a placeholder for the registration flow.","type":"object"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"},"upstream_parameters":{"description":"UpstreamParameters are the parameters that are passed to the upstream identity provider.\n\nThese parameters are optional and depend on what the upstream identity provider supports.\nSupported parameters are:\n`login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session.\n`hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`.\n`prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`.","type":"object"}},"required":["provider","method"],"type":"object"},"updateLoginFlowWithPasskeyMethod":{"description":"Update Login Flow with Passkey Method","properties":{"csrf_token":{"description":"Sending the anti-csrf token is only required for browser login flows.","type":"string"},"method":{"description":"Method should be set to \"passkey\" when logging in using the Passkey strategy.","type":"string"},"passkey_login":{"description":"Login a WebAuthn Security Key\n\nThis must contain the ID of the WebAuthN connection.","type":"string"}},"required":["method"],"type":"object"},"updateLoginFlowWithPasswordMethod":{"description":"Update Login Flow with Password Method","properties":{"csrf_token":{"description":"Sending the anti-csrf token is only required for browser login flows.","type":"string"},"identifier":{"description":"Identifier is the email or username of the user trying to log in.","type":"string"},"method":{"description":"Method should be set to \"password\" when logging in using the identifier and password strategy.","type":"string"},"password":{"description":"The user's password.","type":"string"},"password_identifier":{"description":"Identifier is the email or username of the user trying to log in.\nThis field is deprecated!","type":"string"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"}},"required":["method","password","identifier"],"type":"object"},"updateLoginFlowWithTotpMethod":{"description":"Update Login Flow with TOTP Method","properties":{"csrf_token":{"description":"Sending the anti-csrf token is only required for browser login flows.","type":"string"},"method":{"description":"Method should be set to \"totp\" when logging in using the TOTP strategy.","type":"string"},"totp_code":{"description":"The TOTP code.","type":"string"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"}},"required":["method","totp_code"],"type":"object"},"updateLoginFlowWithWebAuthnMethod":{"description":"Update Login Flow with WebAuthn Method","properties":{"csrf_token":{"description":"Sending the anti-csrf token is only required for browser login flows.","type":"string"},"identifier":{"description":"Identifier is the email or username of the user trying to log in.","type":"string"},"method":{"description":"Method should be set to \"webAuthn\" when logging in using the WebAuthn strategy.","type":"string"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"},"webauthn_login":{"description":"Login a WebAuthn Security Key\n\nThis must contain the ID of the WebAuthN connection.","type":"string"}},"required":["identifier","method"],"type":"object"},"updateRecoveryFlowBody":{"description":"Update Recovery Flow Request Body","discriminator":{"mapping":{"code":"#/components/schemas/updateRecoveryFlowWithCodeMethod","link":"#/components/schemas/updateRecoveryFlowWithLinkMethod"},"propertyName":"method"},"oneOf":[{"$ref":"#/components/schemas/updateRecoveryFlowWithLinkMethod"},{"$ref":"#/components/schemas/updateRecoveryFlowWithCodeMethod"}]},"updateRecoveryFlowWithCodeMethod":{"description":"Update Recovery Flow with Code Method","properties":{"code":{"description":"Code from the recovery email\n\nIf you want to submit a code, use this field, but make sure to _not_ include the email field, as well.","type":"string"},"csrf_token":{"description":"Sending the anti-csrf token is only required for browser login flows.","type":"string"},"email":{"description":"The email address of the account to recover\n\nIf the email belongs to a valid account, a recovery email will be sent.\n\nIf you want to notify the email address if the account does not exist, see\nthe [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/account-recovery-password-reset#attempted-recovery-notifications)\n\nIf a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code.\n\nformat: email","type":"string"},"method":{"description":"Method is the method that should be used for this recovery flow\n\nAllowed values are `link` and `code`.\nlink RecoveryStrategyLink\ncode RecoveryStrategyCode","enum":["link","code"],"type":"string","x-go-enum-desc":"link RecoveryStrategyLink\ncode RecoveryStrategyCode"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"}},"required":["method"],"type":"object"},"updateRecoveryFlowWithLinkMethod":{"description":"Update Recovery Flow with Link Method","properties":{"csrf_token":{"description":"Sending the anti-csrf token is only required for browser login flows.","type":"string"},"email":{"description":"Email to Recover\n\nNeeds to be set when initiating the flow. If the email is a registered\nrecovery email, a recovery link will be sent. If the email is not known,\na email with details on what happened will be sent instead.\n\nformat: email","type":"string"},"method":{"description":"Method is the method that should be used for this recovery flow\n\nAllowed values are `link` and `code`\nlink RecoveryStrategyLink\ncode RecoveryStrategyCode","enum":["link","code"],"type":"string","x-go-enum-desc":"link RecoveryStrategyLink\ncode RecoveryStrategyCode"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"}},"required":["email","method"],"type":"object"},"updateRegistrationFlowBody":{"description":"Update Registration Request Body","discriminator":{"mapping":{"code":"#/components/schemas/updateRegistrationFlowWithCodeMethod","oidc":"#/components/schemas/updateRegistrationFlowWithOidcMethod","passkey":"#/components/schemas/updateRegistrationFlowWithPasskeyMethod","password":"#/components/schemas/updateRegistrationFlowWithPasswordMethod","profile":"#/components/schemas/updateRegistrationFlowWithProfileMethod","webauthn":"#/components/schemas/updateRegistrationFlowWithWebAuthnMethod"},"propertyName":"method"},"oneOf":[{"$ref":"#/components/schemas/updateRegistrationFlowWithPasswordMethod"},{"$ref":"#/components/schemas/updateRegistrationFlowWithOidcMethod"},{"$ref":"#/components/schemas/updateRegistrationFlowWithWebAuthnMethod"},{"$ref":"#/components/schemas/updateRegistrationFlowWithCodeMethod"},{"$ref":"#/components/schemas/updateRegistrationFlowWithPasskeyMethod"},{"$ref":"#/components/schemas/updateRegistrationFlowWithProfileMethod"}]},"updateRegistrationFlowWithCodeMethod":{"description":"Update Registration Flow with Code Method","properties":{"code":{"description":"The OTP Code sent to the user","type":"string"},"csrf_token":{"description":"The CSRF Token","type":"string"},"method":{"description":"Method to use\n\nThis field must be set to `code` when using the code method.","type":"string"},"resend":{"description":"Resend restarts the flow with a new code","type":"string"},"traits":{"description":"The identity's traits","type":"object"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"}},"required":["traits","method"],"type":"object"},"updateRegistrationFlowWithOidcMethod":{"description":"Update Registration Flow with OpenID Connect Method","properties":{"csrf_token":{"description":"The CSRF Token","type":"string"},"id_token":{"description":"IDToken is an optional id token provided by an OIDC provider\n\nIf submitted, it is verified using the OIDC provider's public key set and the claims are used to populate\nthe OIDC credentials of the identity.\nIf the OIDC provider does not store additional claims (such as name, etc.) in the IDToken itself, you can use\nthe `traits` field to populate the identity's traits. Note, that Apple only includes the users email in the IDToken.\n\nSupported providers are\nApple\nGoogle","type":"string"},"id_token_nonce":{"description":"IDTokenNonce is the nonce, used when generating the IDToken.\nIf the provider supports nonce validation, the nonce will be validated against this value and is required.","type":"string"},"method":{"description":"Method to use\n\nThis field must be set to `oidc` when using the oidc method.","type":"string"},"provider":{"description":"The provider to register with","type":"string"},"traits":{"description":"The identity traits","type":"object"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"},"upstream_parameters":{"description":"UpstreamParameters are the parameters that are passed to the upstream identity provider.\n\nThese parameters are optional and depend on what the upstream identity provider supports.\nSupported parameters are:\n`login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session.\n`hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`.\n`prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`.","type":"object"}},"required":["provider","method"],"type":"object"},"updateRegistrationFlowWithPasskeyMethod":{"description":"Update Registration Flow with Passkey Method","properties":{"csrf_token":{"description":"CSRFToken is the anti-CSRF token","type":"string"},"method":{"description":"Method\n\nShould be set to \"passkey\" when trying to add, update, or remove a Passkey.","type":"string"},"passkey_register":{"description":"Register a WebAuthn Security Key\n\nIt is expected that the JSON returned by the WebAuthn registration process\nis included here.","type":"string"},"traits":{"description":"The identity's traits","type":"object"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"}},"required":["traits","method"],"type":"object"},"updateRegistrationFlowWithPasswordMethod":{"description":"Update Registration Flow with Password Method","properties":{"csrf_token":{"description":"The CSRF Token","type":"string"},"method":{"description":"Method to use\n\nThis field must be set to `password` when using the password method.","type":"string"},"password":{"description":"Password to sign the user up with","type":"string"},"traits":{"description":"The identity's traits","type":"object"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"}},"required":["password","traits","method"],"type":"object"},"updateRegistrationFlowWithProfileMethod":{"description":"Update Registration Flow with Profile Method","properties":{"csrf_token":{"description":"The Anti-CSRF Token\n\nThis token is only required when performing browser flows.","type":"string"},"method":{"description":"Method\n\nShould be set to profile when trying to update a profile.","type":"string"},"screen":{"description":"Screen requests navigation to a previous screen.\n\nThis must be set to credential-selection to go back to the credential\nselection screen.\ncredential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential\nprevious RegistrationScreenPrevious","enum":["credential-selection","previous"],"type":"string","x-go-enum-desc":"credential-selection RegistrationScreenCredentialSelection nolint:gosec // not a credential\nprevious RegistrationScreenPrevious"},"traits":{"description":"Traits\n\nThe identity's traits.","type":"object"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"}},"required":["traits","method"],"type":"object"},"updateRegistrationFlowWithWebAuthnMethod":{"description":"Update Registration Flow with WebAuthn Method","properties":{"csrf_token":{"description":"CSRFToken is the anti-CSRF token","type":"string"},"method":{"description":"Method\n\nShould be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing.","type":"string"},"traits":{"description":"The identity's traits","type":"object"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"},"webauthn_register":{"description":"Register a WebAuthn Security Key\n\nIt is expected that the JSON returned by the WebAuthn registration process\nis included here.","type":"string"},"webauthn_register_displayname":{"description":"Name of the WebAuthn Security Key to be Added\n\nA human-readable name for the security key which will be added.","type":"string"}},"required":["traits","method"],"type":"object"},"updateSettingsFlowBody":{"description":"Update Settings Flow Request Body","discriminator":{"mapping":{"lookup_secret":"#/components/schemas/updateSettingsFlowWithLookupMethod","oidc":"#/components/schemas/updateSettingsFlowWithOidcMethod","passkey":"#/components/schemas/updateSettingsFlowWithPasskeyMethod","password":"#/components/schemas/updateSettingsFlowWithPasswordMethod","profile":"#/components/schemas/updateSettingsFlowWithProfileMethod","totp":"#/components/schemas/updateSettingsFlowWithTotpMethod","webauthn":"#/components/schemas/updateSettingsFlowWithWebAuthnMethod"},"propertyName":"method"},"oneOf":[{"$ref":"#/components/schemas/updateSettingsFlowWithPasswordMethod"},{"$ref":"#/components/schemas/updateSettingsFlowWithProfileMethod"},{"$ref":"#/components/schemas/updateSettingsFlowWithOidcMethod"},{"$ref":"#/components/schemas/updateSettingsFlowWithTotpMethod"},{"$ref":"#/components/schemas/updateSettingsFlowWithWebAuthnMethod"},{"$ref":"#/components/schemas/updateSettingsFlowWithLookupMethod"},{"$ref":"#/components/schemas/updateSettingsFlowWithPasskeyMethod"}]},"updateSettingsFlowWithLookupMethod":{"description":"Update Settings Flow with Lookup Method","properties":{"csrf_token":{"description":"CSRFToken is the anti-CSRF token","type":"string"},"lookup_secret_confirm":{"description":"If set to true will save the regenerated lookup secrets","type":"boolean"},"lookup_secret_disable":{"description":"Disables this method if true.","type":"boolean"},"lookup_secret_regenerate":{"description":"If set to true will regenerate the lookup secrets","type":"boolean"},"lookup_secret_reveal":{"description":"If set to true will reveal the lookup secrets","type":"boolean"},"method":{"description":"Method\n\nShould be set to \"lookup\" when trying to add, update, or remove a lookup pairing.","type":"string"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"}},"required":["method"],"type":"object"},"updateSettingsFlowWithOidcMethod":{"description":"Update Settings Flow with OpenID Connect Method","properties":{"flow":{"description":"Flow ID is the flow's ID.\n\nin: query","type":"string"},"link":{"description":"Link this provider\n\nEither this or `unlink` must be set.\n\ntype: string\nin: body","type":"string"},"method":{"description":"Method\n\nShould be set to profile when trying to update a profile.","type":"string"},"traits":{"description":"The identity's traits\n\nin: body","type":"object"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"},"unlink":{"description":"Unlink this provider\n\nEither this or `link` must be set.\n\ntype: string\nin: body","type":"string"},"upstream_parameters":{"description":"UpstreamParameters are the parameters that are passed to the upstream identity provider.\n\nThese parameters are optional and depend on what the upstream identity provider supports.\nSupported parameters are:\n`login_hint` (string): The `login_hint` parameter suppresses the account chooser and either pre-fills the email box on the sign-in form, or selects the proper session.\n`hd` (string): The `hd` parameter limits the login/registration process to a Google Organization, e.g. `mycollege.edu`.\n`prompt` (string): The `prompt` specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. `select_account`.","type":"object"}},"required":["method"],"type":"object"},"updateSettingsFlowWithPasskeyMethod":{"description":"Update Settings Flow with Passkey Method","properties":{"csrf_token":{"description":"CSRFToken is the anti-CSRF token","type":"string"},"method":{"description":"Method\n\nShould be set to \"passkey\" when trying to add, update, or remove a webAuthn pairing.","type":"string"},"passkey_remove":{"description":"Remove a WebAuthn Security Key\n\nThis must contain the ID of the WebAuthN connection.","type":"string"},"passkey_settings_register":{"description":"Register a WebAuthn Security Key\n\nIt is expected that the JSON returned by the WebAuthn registration process\nis included here.","type":"string"}},"required":["method"],"type":"object"},"updateSettingsFlowWithPasswordMethod":{"description":"Update Settings Flow with Password Method","properties":{"csrf_token":{"description":"CSRFToken is the anti-CSRF token","type":"string"},"method":{"description":"Method\n\nShould be set to password when trying to update a password.","type":"string"},"password":{"description":"Password is the updated password","type":"string"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"}},"required":["password","method"],"type":"object"},"updateSettingsFlowWithProfileMethod":{"description":"Update Settings Flow with Profile Method","properties":{"csrf_token":{"description":"The Anti-CSRF Token\n\nThis token is only required when performing browser flows.","type":"string"},"method":{"description":"Method\n\nShould be set to profile when trying to update a profile.","type":"string"},"traits":{"description":"Traits\n\nThe identity's traits.","type":"object"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"}},"required":["traits","method"],"type":"object"},"updateSettingsFlowWithTotpMethod":{"description":"Update Settings Flow with TOTP Method","properties":{"csrf_token":{"description":"CSRFToken is the anti-CSRF token","type":"string"},"method":{"description":"Method\n\nShould be set to \"totp\" when trying to add, update, or remove a totp pairing.","type":"string"},"totp_code":{"description":"ValidationTOTP must contain a valid TOTP based on the","type":"string"},"totp_unlink":{"description":"UnlinkTOTP if true will remove the TOTP pairing,\neffectively removing the credential. This can be used\nto set up a new TOTP device.","type":"boolean"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"}},"required":["method"],"type":"object"},"updateSettingsFlowWithWebAuthnMethod":{"description":"Update Settings Flow with WebAuthn Method","properties":{"csrf_token":{"description":"CSRFToken is the anti-CSRF token","type":"string"},"method":{"description":"Method\n\nShould be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing.","type":"string"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"},"webauthn_register":{"description":"Register a WebAuthn Security Key\n\nIt is expected that the JSON returned by the WebAuthn registration process\nis included here.","type":"string"},"webauthn_register_displayname":{"description":"Name of the WebAuthn Security Key to be Added\n\nA human-readable name for the security key which will be added.","type":"string"},"webauthn_remove":{"description":"Remove a WebAuthn Security Key\n\nThis must contain the ID of the WebAuthN connection.","type":"string"}},"required":["method"],"type":"object"},"updateSubscriptionBody":{"properties":{"interval":{"description":"\nmonthly Monthly\nyearly Yearly","enum":["monthly","yearly"],"type":"string","x-go-enum-desc":"monthly Monthly\nyearly Yearly"},"plan":{"type":"string"},"return_to":{"type":"string"}},"required":["plan","interval"],"type":"object"},"updateVerificationFlowBody":{"description":"Update Verification Flow Request Body","discriminator":{"mapping":{"code":"#/components/schemas/updateVerificationFlowWithCodeMethod","link":"#/components/schemas/updateVerificationFlowWithLinkMethod"},"propertyName":"method"},"oneOf":[{"$ref":"#/components/schemas/updateVerificationFlowWithLinkMethod"},{"$ref":"#/components/schemas/updateVerificationFlowWithCodeMethod"}]},"updateVerificationFlowWithCodeMethod":{"properties":{"code":{"description":"Code from the recovery email\n\nIf you want to submit a code, use this field, but make sure to _not_ include the email field, as well.","type":"string"},"csrf_token":{"description":"Sending the anti-csrf token is only required for browser login flows.","type":"string"},"email":{"description":"The email address to verify\n\nIf the email belongs to a valid account, a verifiation email will be sent.\n\nIf you want to notify the email address if the account does not exist, see\nthe [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications)\n\nIf a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code.\n\nformat: email","type":"string"},"method":{"description":"Method is the method that should be used for this verification flow\n\nAllowed values are `link` and `code`.\nlink VerificationStrategyLink\ncode VerificationStrategyCode","enum":["link","code"],"type":"string","x-go-enum-desc":"link VerificationStrategyLink\ncode VerificationStrategyCode"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"}},"required":["method"],"type":"object"},"updateVerificationFlowWithLinkMethod":{"description":"Update Verification Flow with Link Method","properties":{"csrf_token":{"description":"Sending the anti-csrf token is only required for browser login flows.","type":"string"},"email":{"description":"Email to Verify\n\nNeeds to be set when initiating the flow. If the email is a registered\nverification email, a verification link will be sent. If the email is not known,\na email with details on what happened will be sent instead.\n\nformat: email","type":"string"},"method":{"description":"Method is the method that should be used for this verification flow\n\nAllowed values are `link` and `code`\nlink VerificationStrategyLink\ncode VerificationStrategyCode","enum":["link","code"],"type":"string","x-go-enum-desc":"link VerificationStrategyLink\ncode VerificationStrategyCode"},"transient_payload":{"description":"Transient data to pass along to any webhooks","type":"object"}},"required":["email","method"],"type":"object"},"updateWorkspaceBody":{"properties":{"name":{"description":"The name of the workspace.","type":"string"}},"required":["name"],"type":"object"},"verifiableCredentialPrimingResponse":{"properties":{"c_nonce":{"type":"string"},"c_nonce_expires_in":{"format":"int64","type":"integer"},"error":{"type":"string"},"error_debug":{"type":"string"},"error_description":{"type":"string"},"error_hint":{"type":"string"},"format":{"type":"string"},"status_code":{"format":"int64","type":"integer"}},"title":"VerifiableCredentialPrimingResponse contains the nonce to include in the proof-of-possession JWT.","type":"object"},"verifiableCredentialResponse":{"properties":{"credential_draft_00":{"type":"string"},"format":{"type":"string"}},"title":"VerifiableCredentialResponse contains the verifiable credential.","type":"object"},"verifiableIdentityAddress":{"description":"VerifiableAddress is an identity's verifiable address","properties":{"created_at":{"description":"When this entry was created","example":"2014-01-01T23:28:56.782Z","format":"date-time","type":"string"},"id":{"description":"The ID","format":"uuid","type":"string"},"status":{"$ref":"#/components/schemas/identityVerifiableAddressStatus"},"updated_at":{"description":"When this entry was last updated","example":"2014-01-01T23:28:56.782Z","format":"date-time","type":"string"},"value":{"description":"The address value\n\nexample foo@user.com","type":"string"},"verified":{"description":"Indicates if the address has already been verified","example":true,"type":"boolean"},"verified_at":{"$ref":"#/components/schemas/nullTime"},"via":{"description":"The delivery method","enum":["email","sms"],"example":"email","type":"string"}},"required":["value","verified","via","status"],"type":"object"},"verificationFlow":{"description":"Used to verify an out-of-band communication\nchannel such as an email address or a phone number.\n\nFor more information head over to: https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation","properties":{"active":{"description":"Active, if set, contains the registration method that is being used. It is initially\nnot set.","type":"string"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the request expires. If the user still wishes to verify the address,\na new request has to be initiated.","format":"date-time","type":"string"},"id":{"description":"ID represents the request's unique ID. When performing the verification flow, this\nrepresents the id in the verify ui's query parameter: http://?request=\n\ntype: string\nformat: uuid","format":"uuid","type":"string"},"issued_at":{"description":"IssuedAt is the time (UTC) when the request occurred.","format":"date-time","type":"string"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"return_to":{"description":"ReturnTo contains the requested return_to URL.","type":"string"},"state":{"description":"State represents the state of this request:\n\nchoose_method: ask the user to choose a method (e.g. verify your email)\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the verification challenge was passed."},"transient_payload":{"description":"TransientPayload is used to pass data from the verification flow to hooks and email templates","type":"object"},"type":{"$ref":"#/components/schemas/selfServiceFlowType"},"ui":{"$ref":"#/components/schemas/uiContainer"}},"required":["id","type","ui","state"],"title":"A Verification Flow","type":"object"},"verificationFlowState":{"description":"The state represents the state of the verification flow.\n\nchoose_method: ask the user to choose a method (e.g. recover account via email)\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the recovery challenge was passed.","enum":["choose_method","sent_email","passed_challenge"],"title":"Verification Flow State","type":"string"},"version":{"properties":{"version":{"description":"Version is the service's version.","type":"string"}},"type":"object"},"webAuthnJavaScript":{"type":"string"},"workspace":{"properties":{"created_at":{"format":"date-time","type":"string"},"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"subscription_id":{"$ref":"#/components/schemas/NullUUID"},"subscription_plan":{"$ref":"#/components/schemas/String"},"updated_at":{"format":"date-time","type":"string"}},"required":["id","name","created_at","updated_at"],"type":"object"},"workspaceApiKey":{"properties":{"created_at":{"description":"The API key's creation date","format":"date-time","readOnly":true,"type":"string"},"expires_at":{"$ref":"#/components/schemas/Time"},"id":{"description":"The key's ID.","format":"uuid","readOnly":true,"type":"string"},"name":{"description":"The API key's Name\n\nSet this to help you remember, for example, where you use the API key.","type":"string"},"owner_id":{"description":"The key's owner","format":"uuid","readOnly":true,"type":"string"},"updated_at":{"description":"The API key's last update date","format":"date-time","readOnly":true,"type":"string"},"value":{"description":"The key's value","readOnly":true,"type":"string"},"workspace_id":{"description":"The API key's workspace ID","format":"uuid","readOnly":true,"type":"string"}},"required":["id","name","owner_id"],"type":"object"},"workspaceApiKeys":{"items":{"$ref":"#/components/schemas/workspaceApiKey"},"type":"array"},"workspaces":{"items":{"$ref":"#/components/schemas/workspace"},"type":"array"}},"securitySchemes":{"basic":{"scheme":"basic","type":"http"},"bearer":{"scheme":"bearer","type":"http"},"oauth2":{"flows":{"authorizationCode":{"authorizationUrl":"https://hydra.demo.ory.sh/oauth2/auth","scopes":{"offline":"A scope required when requesting refresh tokens (alias for `offline_access`)","offline_access":"A scope required when requesting refresh tokens","openid":"Request an OpenID Connect ID Token"},"tokenUrl":"https://hydra.demo.ory.sh/oauth2/token"}},"type":"oauth2"},"oryAccessToken":{"description":"To use this endpoint you need an [Ory Network API key](https://www.ory.sh/docs/concepts/personal-access-token).","scheme":"bearer","type":"http"},"oryWorkspaceApiKey":{"description":"To use this endpoint you need a workspace-level [Ory Network API key](https://www.ory.sh/docs/concepts/personal-access-token).","scheme":"bearer","type":"http"}}},"info":{"contact":{"email":"support@ory.sh","name":"API Support"},"description":"# Introduction\nDocumentation for all public and administrative Ory APIs. Administrative APIs can only be accessed\nwith a valid Personal Access Token. Public APIs are mostly used in browsers.\n\n## SDKs\nThis document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages:\n\n| Language | Download SDK | Documentation |\n| -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ |\n| Dart | [pub.dev](https://pub.dev/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md) |\n| .NET | [nuget.org](https://www.nuget.org/packages/Ory.Client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md) |\n| Elixir | [hex.pm](https://hex.pm/packages/ory_client) | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md) |\n| Go | [github.com](https://github.com/ory/client-go) | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md) |\n| 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) |\n| JavaScript | [npmjs.com](https://www.npmjs.com/package/@ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) |\n| 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) | \n| PHP | [packagist.org](https://packagist.org/packages/ory/client) | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md) |\n| Python | [pypi.org](https://pypi.org/project/ory-client/) | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md) |\n| Ruby | [rubygems.org](https://rubygems.org/gems/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md) |\n| Rust | [crates.io](https://crates.io/crates/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md) |\n","license":{"name":"Apache 2.0","url":"https://www.apache.org/licenses/LICENSE-2.0.html"},"termsOfService":"/ptos","title":"Ory APIs","version":"v1.15.11"},"openapi":"3.0.3","paths":{"/.well-known/jwks.json":{"get":{"description":"This endpoint returns JSON Web Keys required to verifying OpenID Connect ID Tokens and,\nif enabled, OAuth 2.0 JWT Access Tokens. This endpoint can be used with client libraries like\n[node-jwks-rsa](https://github.com/auth0/node-jwks-rsa) among others.\n\nAdding custom keys requires first creating a keyset via the createJsonWebKeySet operation,\nand then configuring the webfinger.jwks.broadcast_keys configuration value to include the keyset name.","operationId":"discoverJsonWebKeys","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/jsonWebKeySet"}}},"description":"jsonWebKeySet"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorOAuth2"}}},"description":"errorOAuth2"}},"summary":"Discover Well-Known JSON Web Keys","tags":["wellknown"]}},"/.well-known/openid-configuration":{"get":{"description":"A mechanism for an OpenID Connect Relying Party to discover the End-User's OpenID Provider and obtain information needed to interact with it, including its OAuth 2.0 endpoint locations.\n\nPopular libraries for OpenID Connect clients include oidc-client-js (JavaScript), go-oidc (Golang), and others.\nFor a full list of clients go here: https://openid.net/developers/certified/","operationId":"discoverOidcConfiguration","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/oidcConfiguration"}}},"description":"oidcConfiguration"},"default":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/errorOAuth2"}}},"description":"errorOAuth2"}},"summary":"OpenID Connect Discovery","tags":["oidc"]}},"/.well-known/ory/webauthn.js":{"get":{"description":"This endpoint provides JavaScript which is needed in order to perform WebAuthn login and registration.\n\nIf you are building a JavaScript Browser App (e.g. in ReactJS or AngularJS) you will need to load this file:\n\n```html\n