Skip to content

Commit

Permalink
feat(codegen): create magic link request fields are now optional (#115)
Browse files Browse the repository at this point in the history
Co-authored-by: ctran88 <[email protected]>
  • Loading branch information
passage-beachball-bot and ctran88 authored Dec 6, 2024
1 parent 9246e3c commit b1f164b
Show file tree
Hide file tree
Showing 112 changed files with 1,675 additions and 1,191 deletions.
9 changes: 6 additions & 3 deletions docs/generated/AppInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**additional_auth_origins** | **List[str]** | |
Expand All @@ -13,6 +14,7 @@ Name | Type | Description | Notes
**auth_fallback_method_ttl** | **int** | Deprecated Property. Please refer to &#x60;auth_methods&#x60; to view settings for individual authentication methods. |
**auth_methods** | [**AuthMethods**](AuthMethods.md) | |
**auth_origin** | **str** | |
**auto_theme_enabled** | **bool** | Deprecated Property. Please use &#x60;hosted_theme&#x60; to set hosted page theming instead. |
**created_at** | **datetime** | |
**default_language** | **str** | |
**id** | **str** | |
Expand All @@ -21,8 +23,9 @@ Name | Type | Description | Notes
**light_logo_url** | **str** | | [optional]
**dark_logo_url** | **str** | | [optional]
**name** | **str** | |
**hosted** | **bool** | whether or not the app&#39;s login page hosted by passage |
**hosted** | **bool** | whether or not the app&#39;s login page is hosted by Passage |
**hosted_subdomain** | **str** | the subdomain of the app&#39;s hosted login page |
**hosted_theme** | [**ThemeType**](ThemeType.md) | |
**id_token_lifetime** | **int** | | [optional]
**passage_branding** | **bool** | |
**profile_management** | **bool** | |
Expand Down Expand Up @@ -54,12 +57,12 @@ json = "{}"
# create an instance of AppInfo from a JSON string
app_info_instance = AppInfo.from_json(json)
# print the JSON string representation of the object
print AppInfo.to_json()
print(AppInfo.to_json())

# convert the object into a dict
app_info_dict = app_info_instance.to_dict()
# create an instance of AppInfo from a dict
app_info_form_dict = app_info.from_dict(app_info_dict)
app_info_from_dict = AppInfo.from_dict(app_info_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
5 changes: 3 additions & 2 deletions docs/generated/AppResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**app** | [**AppInfo**](AppInfo.md) | |
Expand All @@ -16,12 +17,12 @@ json = "{}"
# create an instance of AppResponse from a JSON string
app_response_instance = AppResponse.from_json(json)
# print the JSON string representation of the object
print AppResponse.to_json()
print(AppResponse.to_json())

# convert the object into a dict
app_response_dict = app_response_instance.to_dict()
# create an instance of AppResponse from a dict
app_response_form_dict = app_response.from_dict(app_response_dict)
app_response_from_dict = AppResponse.from_dict(app_response_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
5 changes: 3 additions & 2 deletions docs/generated/AppleUserSocialConnection.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**provider_id** | **str** | The external ID of the Social Connection. |
Expand All @@ -19,12 +20,12 @@ json = "{}"
# create an instance of AppleUserSocialConnection from a JSON string
apple_user_social_connection_instance = AppleUserSocialConnection.from_json(json)
# print the JSON string representation of the object
print AppleUserSocialConnection.to_json()
print(AppleUserSocialConnection.to_json())

# convert the object into a dict
apple_user_social_connection_dict = apple_user_social_connection_instance.to_dict()
# create an instance of AppleUserSocialConnection from a dict
apple_user_social_connection_form_dict = apple_user_social_connection.from_dict(apple_user_social_connection_dict)
apple_user_social_connection_from_dict = AppleUserSocialConnection.from_dict(apple_user_social_connection_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
5 changes: 3 additions & 2 deletions docs/generated/AppsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ Get app information.
### Example

* Bearer (JWT) Authentication (bearerAuth):

```python
import time
import os
import passageidentity.openapi_client
from passageidentity.openapi_client.models.app_response import AppResponse
from passageidentity.openapi_client.rest import ApiException
Expand Down Expand Up @@ -60,6 +59,7 @@ with passageidentity.openapi_client.ApiClient(configuration) as api_client:

### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**app_id** | **str**| App ID |
Expand All @@ -78,6 +78,7 @@ Name | Type | Description | Notes
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | OK | - |
Expand Down
5 changes: 3 additions & 2 deletions docs/generated/AuthMethods.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Denotes what methods this app is allowed to use for authentication with configurations

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**passkeys** | [**PasskeysAuthMethod**](PasskeysAuthMethod.md) | |
Expand All @@ -19,12 +20,12 @@ json = "{}"
# create an instance of AuthMethods from a JSON string
auth_methods_instance = AuthMethods.from_json(json)
# print the JSON string representation of the object
print AuthMethods.to_json()
print(AuthMethods.to_json())

# convert the object into a dict
auth_methods_dict = auth_methods_instance.to_dict()
# create an instance of AuthMethods from a dict
auth_methods_form_dict = auth_methods.from_dict(auth_methods_dict)
auth_methods_from_dict = AuthMethods.from_dict(auth_methods_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
21 changes: 11 additions & 10 deletions docs/generated/CreateMagicLinkRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**channel** | [**MagicLinkChannel**](MagicLinkChannel.md) | |
**email** | **str** | |
**channel** | [**MagicLinkChannel**](MagicLinkChannel.md) | | [optional]
**email** | **str** | | [optional]
**language** | **str** | language of the email to send (optional) | [optional]
**magic_link_path** | **str** | |
**phone** | **str** | |
**redirect_url** | **str** | |
**send** | **bool** | |
**ttl** | **int** | |
**magic_link_path** | **str** | must be a relative url | [optional]
**phone** | **str** | | [optional]
**redirect_url** | **str** | | [optional]
**send** | **bool** | | [optional]
**ttl** | **int** | | [optional]
**type** | [**MagicLinkType**](MagicLinkType.md) | | [optional]
**user_id** | **str** | |
**user_id** | **str** | | [optional]

## Example

Expand All @@ -25,12 +26,12 @@ json = "{}"
# create an instance of CreateMagicLinkRequest from a JSON string
create_magic_link_request_instance = CreateMagicLinkRequest.from_json(json)
# print the JSON string representation of the object
print CreateMagicLinkRequest.to_json()
print(CreateMagicLinkRequest.to_json())

# convert the object into a dict
create_magic_link_request_dict = create_magic_link_request_instance.to_dict()
# create an instance of CreateMagicLinkRequest from a dict
create_magic_link_request_form_dict = create_magic_link_request.from_dict(create_magic_link_request_dict)
create_magic_link_request_from_dict = CreateMagicLinkRequest.from_dict(create_magic_link_request_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
5 changes: 3 additions & 2 deletions docs/generated/CreateUserRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**email** | **str** | Email of the new user. Either this or &#x60;phone&#x60; is required; both may be provided. | [optional]
Expand All @@ -18,12 +19,12 @@ json = "{}"
# create an instance of CreateUserRequest from a JSON string
create_user_request_instance = CreateUserRequest.from_json(json)
# print the JSON string representation of the object
print CreateUserRequest.to_json()
print(CreateUserRequest.to_json())

# convert the object into a dict
create_user_request_dict = create_user_request_instance.to_dict()
# create an instance of CreateUserRequest from a dict
create_user_request_form_dict = create_user_request.from_dict(create_user_request_dict)
create_user_request_from_dict = CreateUserRequest.from_dict(create_user_request_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
9 changes: 5 additions & 4 deletions docs/generated/ElementCustomization.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**passage_container_background_color** | **str** | Container background color in hex. Default is &#x60;#ffffff&#x60; in light mode &amp; &#x60;#383838&#x60; in dark mode. | [optional]
**passage_container_max_width** | **int** | Maximum width of container (px) | [optional] [default to 300]
**passage_input_box_background_color** | **str** | Input box background color in hex. Default is &#x60;#ffffff&#x60; in light mode &amp; &#x60;#4b4b4b&#x60; in dark mode. | [optional]
**passage_input_box_border_radius** | **int** | Input box border radius (px) | [optional] [default to 5]
**passage_header_font_family** | [**FontFamily**](FontFamily.md) | | [optional]
**passage_body_font_family** | [**FontFamily**](FontFamily.md) | | [optional]
**passage_header_font_family** | [**FontFamily**](FontFamily.md) | | [optional] [default to FontFamily.HELVETICA]
**passage_body_font_family** | [**FontFamily**](FontFamily.md) | | [optional] [default to FontFamily.HELVETICA]
**passage_header_text_color** | **str** | Header text color in hex. Default is &#x60;#222222&#x60; in light mode &amp; &#x60;#f3f3f3&#x60; in dark mode. | [optional]
**passage_body_text_color** | **str** | Body text color in hex. Default is &#x60;#222222&#x60; in light mode &amp; &#x60;#f3f3f3&#x60; in dark mode. | [optional]
**passage_primary_button_background_color** | **str** | Primary button background colour (hex) | [optional] [default to '#121212']
Expand All @@ -35,12 +36,12 @@ json = "{}"
# create an instance of ElementCustomization from a JSON string
element_customization_instance = ElementCustomization.from_json(json)
# print the JSON string representation of the object
print ElementCustomization.to_json()
print(ElementCustomization.to_json())

# convert the object into a dict
element_customization_dict = element_customization_instance.to_dict()
# create an instance of ElementCustomization from a dict
element_customization_form_dict = element_customization.from_dict(element_customization_dict)
element_customization_from_dict = ElementCustomization.from_dict(element_customization_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
44 changes: 41 additions & 3 deletions docs/generated/FontFamily.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,47 @@

Body font family

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
## Enum

* `HELVETICA` (value: `'Helvetica'`)

* `ARIAL` (value: `'Arial'`)

* `ARIAL_BLACK` (value: `'Arial Black'`)

* `VERDANA` (value: `'Verdana'`)

* `TAHOMA` (value: `'Tahoma'`)

* `TREBUCHET_MS` (value: `'Trebuchet MS'`)

* `IMPACT` (value: `'Impact'`)

* `GILL_SANS` (value: `'Gill Sans'`)

* `TIMES_NEW_ROMAN` (value: `'Times New Roman'`)

* `GEORGIA` (value: `'Georgia'`)

* `PALATINO` (value: `'Palatino'`)

* `BASKERVILLE` (value: `'Baskerville'`)

* `ANDALÉ_MONO` (value: `'Andalé Mono'`)

* `COURIER` (value: `'Courier'`)

* `LUCIDA` (value: `'Lucida'`)

* `MONACO` (value: `'Monaco'`)

* `BRADLEY_HAND` (value: `'Bradley Hand'`)

* `BRUSH_SCRIPT_MT` (value: `'Brush Script MT'`)

* `LUMINARI` (value: `'Luminari'`)

* `COMIC_SANS_MS` (value: `'Comic Sans MS'`)

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
5 changes: 3 additions & 2 deletions docs/generated/GithubUserSocialConnection.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**provider_id** | **str** | The external ID of the Social Connection. |
Expand All @@ -19,12 +20,12 @@ json = "{}"
# create an instance of GithubUserSocialConnection from a JSON string
github_user_social_connection_instance = GithubUserSocialConnection.from_json(json)
# print the JSON string representation of the object
print GithubUserSocialConnection.to_json()
print(GithubUserSocialConnection.to_json())

# convert the object into a dict
github_user_social_connection_dict = github_user_social_connection_instance.to_dict()
# create an instance of GithubUserSocialConnection from a dict
github_user_social_connection_form_dict = github_user_social_connection.from_dict(github_user_social_connection_dict)
github_user_social_connection_from_dict = GithubUserSocialConnection.from_dict(github_user_social_connection_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
5 changes: 3 additions & 2 deletions docs/generated/GoogleUserSocialConnection.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**provider_id** | **str** | The external ID of the Social Connection. |
Expand All @@ -19,12 +20,12 @@ json = "{}"
# create an instance of GoogleUserSocialConnection from a JSON string
google_user_social_connection_instance = GoogleUserSocialConnection.from_json(json)
# print the JSON string representation of the object
print GoogleUserSocialConnection.to_json()
print(GoogleUserSocialConnection.to_json())

# convert the object into a dict
google_user_social_connection_dict = google_user_social_connection_instance.to_dict()
# create an instance of GoogleUserSocialConnection from a dict
google_user_social_connection_form_dict = google_user_social_connection.from_dict(google_user_social_connection_dict)
google_user_social_connection_from_dict = GoogleUserSocialConnection.from_dict(google_user_social_connection_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
5 changes: 3 additions & 2 deletions docs/generated/LayoutConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**h** | **int** | |
Expand All @@ -20,12 +21,12 @@ json = "{}"
# create an instance of LayoutConfig from a JSON string
layout_config_instance = LayoutConfig.from_json(json)
# print the JSON string representation of the object
print LayoutConfig.to_json()
print(LayoutConfig.to_json())

# convert the object into a dict
layout_config_dict = layout_config_instance.to_dict()
# create an instance of LayoutConfig from a dict
layout_config_form_dict = layout_config.from_dict(layout_config_dict)
layout_config_from_dict = LayoutConfig.from_dict(layout_config_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
5 changes: 3 additions & 2 deletions docs/generated/Layouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**profile** | [**List[LayoutConfig]**](LayoutConfig.md) | |
Expand All @@ -17,12 +18,12 @@ json = "{}"
# create an instance of Layouts from a JSON string
layouts_instance = Layouts.from_json(json)
# print the JSON string representation of the object
print Layouts.to_json()
print(Layouts.to_json())

# convert the object into a dict
layouts_dict = layouts_instance.to_dict()
# create an instance of Layouts from a dict
layouts_form_dict = layouts.from_dict(layouts_dict)
layouts_from_dict = Layouts.from_dict(layouts_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
Loading

0 comments on commit b1f164b

Please sign in to comment.