Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK updates #63

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/Model/AppInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Name | Type | Description | Notes
**auth_fallback_method_ttl** | **int** | Deprecated Property. Please refer to `auth_methods` to view settings for individual authentication methods. |
**auth_methods** | [**\OpenAPI\Client\Model\AuthMethods**](AuthMethods.md) | |
**auth_origin** | **string** | |
**auto_theme_enabled** | **bool** | Deprecated Property. Please use `hosted_theme` to set hosted page theming instead. |
**created_at** | **\DateTime** | |
**default_language** | **string** | |
**id** | **string** | |
Expand All @@ -23,6 +24,7 @@ Name | Type | Description | Notes
**name** | **string** | |
**hosted** | **bool** | whether or not the app's login page hosted by passage |
**hosted_subdomain** | **string** | the subdomain of the app's hosted login page |
**hosted_theme** | [**\OpenAPI\Client\Model\ThemeType**](ThemeType.md) | |
**id_token_lifetime** | **int** | | [optional]
**passage_branding** | **bool** | |
**profile_management** | **bool** | |
Expand Down
2 changes: 1 addition & 1 deletion docs/Model/CreateMagicLinkRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**channel** | [**\OpenAPI\Client\Model\MagicLinkChannel**](MagicLinkChannel.md) | |
**email** | **string** | |
**language** | **string** | language of the email to send (optional) | [optional]
**magic_link_path** | **string** | |
**magic_link_path** | **string** | must be a relative url |
**phone** | **string** | |
**redirect_url** | **string** | |
**send** | **bool** | |
Expand Down
1 change: 1 addition & 0 deletions docs/Model/ListPaginatedUsersItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**created_at** | **\DateTime** | |
**email** | **string** | |
**email_verified** | **bool** | |
**external_id** | **string** | The external ID of the user. Only set if the user was created in a Flex app. |
**id** | **string** | |
**last_login_at** | **\DateTime** | |
**login_count** | **int** | |
Expand Down
8 changes: 8 additions & 0 deletions docs/Model/SocialConnectionType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# # SocialConnectionType

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
8 changes: 8 additions & 0 deletions docs/Model/ThemeType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# # ThemeType

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
8 changes: 8 additions & 0 deletions docs/Model/UserEventAction.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# # UserEventAction

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
1 change: 1 addition & 0 deletions docs/Model/UserInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**created_at** | **\DateTime** | |
**email** | **string** | |
**email_verified** | **bool** | |
**external_id** | **string** | The external ID of the user. Only set if the user was created in a Flex app. |
**id** | **string** | |
**last_login_at** | **\DateTime** | |
**login_count** | **int** | |
Expand Down
2 changes: 2 additions & 0 deletions docs/Model/UserRecentEvent.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ Name | Type | Description | Notes
**status** | [**\OpenAPI\Client\Model\UserEventStatus**](UserEventStatus.md) | |
**type** | **string** | |
**user_agent** | **string** | |
**action** | [**\OpenAPI\Client\Model\UserEventAction**](UserEventAction.md) | |
**social_login_type** | [**\OpenAPI\Client\Model\SocialConnectionType**](SocialConnectionType.md) | |

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
9 changes: 9 additions & 0 deletions generated/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@ docs/Model/Nonce.md
docs/Model/OtpAuthMethod.md
docs/Model/PaginatedLinks.md
docs/Model/PasskeysAuthMethod.md
docs/Model/SocialConnectionType.md
docs/Model/Technologies.md
docs/Model/ThemeType.md
docs/Model/TtlDisplayUnit.md
docs/Model/UpdateUserRequest.md
docs/Model/UserEventAction.md
docs/Model/UserEventStatus.md
docs/Model/UserInfo.md
docs/Model/UserMetadataField.md
Expand Down Expand Up @@ -93,9 +96,12 @@ lib/Model/Nonce.php
lib/Model/OtpAuthMethod.php
lib/Model/PaginatedLinks.php
lib/Model/PasskeysAuthMethod.php
lib/Model/SocialConnectionType.php
lib/Model/Technologies.php
lib/Model/ThemeType.php
lib/Model/TtlDisplayUnit.php
lib/Model/UpdateUserRequest.php
lib/Model/UserEventAction.php
lib/Model/UserEventStatus.php
lib/Model/UserInfo.php
lib/Model/UserMetadataField.php
Expand Down Expand Up @@ -144,9 +150,12 @@ test/Model/NonceTest.php
test/Model/OtpAuthMethodTest.php
test/Model/PaginatedLinksTest.php
test/Model/PasskeysAuthMethodTest.php
test/Model/SocialConnectionTypeTest.php
test/Model/TechnologiesTest.php
test/Model/ThemeTypeTest.php
test/Model/TtlDisplayUnitTest.php
test/Model/UpdateUserRequestTest.php
test/Model/UserEventActionTest.php
test/Model/UserEventStatusTest.php
test/Model/UserInfoTest.php
test/Model/UserMetadataFieldTest.php
Expand Down
3 changes: 3 additions & 0 deletions generated/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,12 @@ Class | Method | HTTP request | Description
- [OtpAuthMethod](docs/Model/OtpAuthMethod.md)
- [PaginatedLinks](docs/Model/PaginatedLinks.md)
- [PasskeysAuthMethod](docs/Model/PasskeysAuthMethod.md)
- [SocialConnectionType](docs/Model/SocialConnectionType.md)
- [Technologies](docs/Model/Technologies.md)
- [ThemeType](docs/Model/ThemeType.md)
- [TtlDisplayUnit](docs/Model/TtlDisplayUnit.md)
- [UpdateUserRequest](docs/Model/UpdateUserRequest.md)
- [UserEventAction](docs/Model/UserEventAction.md)
- [UserEventStatus](docs/Model/UserEventStatus.md)
- [UserInfo](docs/Model/UserInfo.md)
- [UserMetadataField](docs/Model/UserMetadataField.md)
Expand Down
76 changes: 76 additions & 0 deletions generated/lib/Model/AppInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class AppInfo implements ModelInterface, ArrayAccess, \JsonSerializable
'auth_fallback_method_ttl' => 'int',
'auth_methods' => '\OpenAPI\Client\Model\AuthMethods',
'auth_origin' => 'string',
'auto_theme_enabled' => 'bool',
'created_at' => '\DateTime',
'default_language' => 'string',
'id' => 'string',
Expand All @@ -77,6 +78,7 @@ class AppInfo implements ModelInterface, ArrayAccess, \JsonSerializable
'name' => 'string',
'hosted' => 'bool',
'hosted_subdomain' => 'string',
'hosted_theme' => '\OpenAPI\Client\Model\ThemeType',
'id_token_lifetime' => 'int',
'passage_branding' => 'bool',
'profile_management' => 'bool',
Expand Down Expand Up @@ -116,6 +118,7 @@ class AppInfo implements ModelInterface, ArrayAccess, \JsonSerializable
'auth_fallback_method_ttl' => null,
'auth_methods' => null,
'auth_origin' => null,
'auto_theme_enabled' => null,
'created_at' => 'date-time',
'default_language' => null,
'id' => null,
Expand All @@ -126,6 +129,7 @@ class AppInfo implements ModelInterface, ArrayAccess, \JsonSerializable
'name' => null,
'hosted' => null,
'hosted_subdomain' => null,
'hosted_theme' => null,
'id_token_lifetime' => null,
'passage_branding' => null,
'profile_management' => null,
Expand Down Expand Up @@ -163,6 +167,7 @@ class AppInfo implements ModelInterface, ArrayAccess, \JsonSerializable
'auth_fallback_method_ttl' => false,
'auth_methods' => false,
'auth_origin' => false,
'auto_theme_enabled' => false,
'created_at' => false,
'default_language' => false,
'id' => false,
Expand All @@ -173,6 +178,7 @@ class AppInfo implements ModelInterface, ArrayAccess, \JsonSerializable
'name' => false,
'hosted' => false,
'hosted_subdomain' => false,
'hosted_theme' => false,
'id_token_lifetime' => false,
'passage_branding' => false,
'profile_management' => false,
Expand Down Expand Up @@ -290,6 +296,7 @@ public function isNullableSetToNull(string $property): bool
'auth_fallback_method_ttl' => 'auth_fallback_method_ttl',
'auth_methods' => 'auth_methods',
'auth_origin' => 'auth_origin',
'auto_theme_enabled' => 'auto_theme_enabled',
'created_at' => 'created_at',
'default_language' => 'default_language',
'id' => 'id',
Expand All @@ -300,6 +307,7 @@ public function isNullableSetToNull(string $property): bool
'name' => 'name',
'hosted' => 'hosted',
'hosted_subdomain' => 'hosted_subdomain',
'hosted_theme' => 'hosted_theme',
'id_token_lifetime' => 'id_token_lifetime',
'passage_branding' => 'passage_branding',
'profile_management' => 'profile_management',
Expand Down Expand Up @@ -337,6 +345,7 @@ public function isNullableSetToNull(string $property): bool
'auth_fallback_method_ttl' => 'setAuthFallbackMethodTtl',
'auth_methods' => 'setAuthMethods',
'auth_origin' => 'setAuthOrigin',
'auto_theme_enabled' => 'setAutoThemeEnabled',
'created_at' => 'setCreatedAt',
'default_language' => 'setDefaultLanguage',
'id' => 'setId',
Expand All @@ -347,6 +356,7 @@ public function isNullableSetToNull(string $property): bool
'name' => 'setName',
'hosted' => 'setHosted',
'hosted_subdomain' => 'setHostedSubdomain',
'hosted_theme' => 'setHostedTheme',
'id_token_lifetime' => 'setIdTokenLifetime',
'passage_branding' => 'setPassageBranding',
'profile_management' => 'setProfileManagement',
Expand Down Expand Up @@ -384,6 +394,7 @@ public function isNullableSetToNull(string $property): bool
'auth_fallback_method_ttl' => 'getAuthFallbackMethodTtl',
'auth_methods' => 'getAuthMethods',
'auth_origin' => 'getAuthOrigin',
'auto_theme_enabled' => 'getAutoThemeEnabled',
'created_at' => 'getCreatedAt',
'default_language' => 'getDefaultLanguage',
'id' => 'getId',
Expand All @@ -394,6 +405,7 @@ public function isNullableSetToNull(string $property): bool
'name' => 'getName',
'hosted' => 'getHosted',
'hosted_subdomain' => 'getHostedSubdomain',
'hosted_theme' => 'getHostedTheme',
'id_token_lifetime' => 'getIdTokenLifetime',
'passage_branding' => 'getPassageBranding',
'profile_management' => 'getProfileManagement',
Expand Down Expand Up @@ -497,6 +509,7 @@ public function __construct(array $data = null)
$this->setIfExists('auth_fallback_method_ttl', $data ?? [], null);
$this->setIfExists('auth_methods', $data ?? [], null);
$this->setIfExists('auth_origin', $data ?? [], null);
$this->setIfExists('auto_theme_enabled', $data ?? [], null);
$this->setIfExists('created_at', $data ?? [], null);
$this->setIfExists('default_language', $data ?? [], null);
$this->setIfExists('id', $data ?? [], null);
Expand All @@ -507,6 +520,7 @@ public function __construct(array $data = null)
$this->setIfExists('name', $data ?? [], null);
$this->setIfExists('hosted', $data ?? [], null);
$this->setIfExists('hosted_subdomain', $data ?? [], null);
$this->setIfExists('hosted_theme', $data ?? [], null);
$this->setIfExists('id_token_lifetime', $data ?? [], null);
$this->setIfExists('passage_branding', $data ?? [], null);
$this->setIfExists('profile_management', $data ?? [], null);
Expand Down Expand Up @@ -583,6 +597,9 @@ public function listInvalidProperties()
if ($this->container['auth_origin'] === null) {
$invalidProperties[] = "'auth_origin' can't be null";
}
if ($this->container['auto_theme_enabled'] === null) {
$invalidProperties[] = "'auto_theme_enabled' can't be null";
}
if ($this->container['created_at'] === null) {
$invalidProperties[] = "'created_at' can't be null";
}
Expand All @@ -607,6 +624,9 @@ public function listInvalidProperties()
if ($this->container['hosted_subdomain'] === null) {
$invalidProperties[] = "'hosted_subdomain' can't be null";
}
if ($this->container['hosted_theme'] === null) {
$invalidProperties[] = "'hosted_theme' can't be null";
}
if ($this->container['passage_branding'] === null) {
$invalidProperties[] = "'passage_branding' can't be null";
}
Expand Down Expand Up @@ -932,6 +952,35 @@ public function setAuthOrigin($auth_origin)
return $this;
}

/**
* Gets auto_theme_enabled
*
* @return bool
* @deprecated
*/
public function getAutoThemeEnabled()
{
return $this->container['auto_theme_enabled'];
}

/**
* Sets auto_theme_enabled
*
* @param bool $auto_theme_enabled Deprecated Property. Please use `hosted_theme` to set hosted page theming instead.
*
* @return self
* @deprecated
*/
public function setAutoThemeEnabled($auto_theme_enabled)
{
if (is_null($auto_theme_enabled)) {
throw new \InvalidArgumentException('non-nullable auto_theme_enabled cannot be null');
}
$this->container['auto_theme_enabled'] = $auto_theme_enabled;

return $this;
}

/**
* Gets created_at
*
Expand Down Expand Up @@ -1202,6 +1251,33 @@ public function setHostedSubdomain($hosted_subdomain)
return $this;
}

/**
* Gets hosted_theme
*
* @return \OpenAPI\Client\Model\ThemeType
*/
public function getHostedTheme()
{
return $this->container['hosted_theme'];
}

/**
* Sets hosted_theme
*
* @param \OpenAPI\Client\Model\ThemeType $hosted_theme hosted_theme
*
* @return self
*/
public function setHostedTheme($hosted_theme)
{
if (is_null($hosted_theme)) {
throw new \InvalidArgumentException('non-nullable hosted_theme cannot be null');
}
$this->container['hosted_theme'] = $hosted_theme;

return $this;
}

/**
* Gets id_token_lifetime
*
Expand Down
2 changes: 1 addition & 1 deletion generated/lib/Model/CreateMagicLinkRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ public function getMagicLinkPath()
/**
* Sets magic_link_path
*
* @param string $magic_link_path magic_link_path
* @param string $magic_link_path must be a relative url
*
* @return self
*/
Expand Down
Loading
Loading