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

Regenerate library #17

Merged
merged 3 commits into from
Jun 24, 2024
Merged
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
4 changes: 0 additions & 4 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ authress/models/invite.py
authress/models/link.py
authress/models/linked_group.py
authress/models/links.py
authress/models/metadata_object.py
authress/models/metadata_object_account.py
authress/models/o_auth_authorize_response.py
authress/models/o_auth_token_request.py
authress/models/o_auth_token_response.py
Expand Down Expand Up @@ -217,8 +215,6 @@ test/test_invites_api.py
test/test_link.py
test/test_linked_group.py
test/test_links.py
test/test_metadata_object.py
test/test_metadata_object_account.py
test/test_o_auth_authorize_response.py
test/test_o_auth_token_request.py
test/test_o_auth_token_response.py
Expand Down
2 changes: 0 additions & 2 deletions authress/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@
from authress.models.link import Link
from authress.models.linked_group import LinkedGroup
from authress.models.links import Links
from authress.models.metadata_object import MetadataObject
from authress.models.metadata_object_account import MetadataObjectAccount
from authress.models.o_auth_authorize_response import OAuthAuthorizeResponse
from authress.models.o_auth_token_request import OAuthTokenRequest
from authress.models.o_auth_token_response import OAuthTokenResponse
Expand Down
13 changes: 9 additions & 4 deletions authress/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"""
Authress

<p> <h2>Introduction</h2> <p>Welcome to the Authress Authorization API. <br>The Authress REST API provides the operations and resources necessary to create records, assign permissions, and verify any user in your platform.</p> <p><ul> <li>Manage multitenant platforms and create user tenants for SSO connections.</li> <li>Create records to assign roles and resources to grant access for users.</li> <li>Check user access control by calling the authorization API at the right time.</li> <li>Configure service clients to securely access services in your platform.</li> </ul></p> <p>For more in-depth scenarios check out the <a href=\"https://authress.io/knowledge-base\" target=\"_blank\">Authress knowledge base</a>.</p> </p> # noqa: E501
<p> <h2>Introduction</h2> <p>Welcome to the Authress Authorization API. <br>The Authress REST API provides the operations and resources necessary to create records, assign permissions, and verify any user in your platform.</p> <p><ul> <li>Manage multitenant platforms and create user tenants for SSO connections.</li> <li>Create records to assign roles and resources to grant access for users.</li> <li>Check user access control by calling the authorization API at the right time.</li> <li>Configure service clients to securely access services in your platform.</li> </ul></p> <p>For more in-depth scenarios check out the <a href=\"https://authress.io/knowledge-base\" target=\"_blank\">Authress knowledge base</a>.</p> </p>

The version of the OpenAPI document: v1
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
"""
""" # noqa: E501


# import models into model package
Expand All @@ -31,11 +31,15 @@
from authress.models.client_access_key import ClientAccessKey
from authress.models.client_collection import ClientCollection
from authress.models.client_options import ClientOptions
from authress.models.client_rate_limit import ClientRateLimit
from authress.models.collection_links import CollectionLinks
from authress.models.connection import Connection
from authress.models.connection_collection import ConnectionCollection
from authress.models.connection_conditions import ConnectionConditions
from authress.models.connection_data import ConnectionData
from authress.models.connection_default_connection_properties import ConnectionDefaultConnectionProperties
from authress.models.connection_linking_configuration import ConnectionLinkingConfiguration
from authress.models.connection_user_data_configuration import ConnectionUserDataConfiguration
from authress.models.extension import Extension
from authress.models.extension_application import ExtensionApplication
from authress.models.extension_client import ExtensionClient
Expand All @@ -46,11 +50,10 @@
from authress.models.identity_collection import IdentityCollection
from authress.models.identity_request import IdentityRequest
from authress.models.invite import Invite
from authress.models.invite_statement import InviteStatement
from authress.models.link import Link
from authress.models.linked_group import LinkedGroup
from authress.models.links import Links
from authress.models.metadata_object import MetadataObject
from authress.models.metadata_object_account import MetadataObjectAccount
from authress.models.o_auth_authorize_response import OAuthAuthorizeResponse
from authress.models.o_auth_token_request import OAuthTokenRequest
from authress.models.o_auth_token_response import OAuthTokenResponse
Expand All @@ -71,6 +74,8 @@
from authress.models.tenant_collection import TenantCollection
from authress.models.tenant_connection import TenantConnection
from authress.models.tenant_data import TenantData
from authress.models.tenant_domain import TenantDomain
from authress.models.tenant_user import TenantUser
from authress.models.token_request import TokenRequest
from authress.models.user import User
from authress.models.user_connection_credentials import UserConnectionCredentials
Expand Down
32 changes: 16 additions & 16 deletions authress/models/access_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"""
Authress

<p> <h2>Introduction</h2> <p>Welcome to the Authress Authorization API. <br>The Authress REST API provides the operations and resources necessary to create records, assign permissions, and verify any user in your platform.</p> <p><ul> <li>Manage multitenant platforms and create user tenants for SSO connections.</li> <li>Create records to assign roles and resources to grant access for users.</li> <li>Check user access control by calling the authorization API at the right time.</li> <li>Configure service clients to securely access services in your platform.</li> </ul></p> <p>For more in-depth scenarios check out the <a href=\"https://authress.io/knowledge-base\" target=\"_blank\">Authress knowledge base</a>.</p> </p> # noqa: E501
<p> <h2>Introduction</h2> <p>Welcome to the Authress Authorization API. <br>The Authress REST API provides the operations and resources necessary to create records, assign permissions, and verify any user in your platform.</p> <p><ul> <li>Manage multitenant platforms and create user tenants for SSO connections.</li> <li>Create records to assign roles and resources to grant access for users.</li> <li>Check user access control by calling the authorization API at the right time.</li> <li>Configure service clients to securely access services in your platform.</li> </ul></p> <p>For more in-depth scenarios check out the <a href=\"https://authress.io/knowledge-base\" target=\"_blank\">Authress knowledge base</a>.</p> </p>

The version of the OpenAPI document: v1
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
"""
""" # noqa: E501


from __future__ import annotations
Expand All @@ -32,21 +32,21 @@

class AccessRecord(BaseModel):
"""
The access record which links users to roles.
The access record which links users to roles. # noqa: E501
"""
record_id: Optional[constr(strict=True, max_length=100, min_length=1)] = Field(None, alias="recordId", description="Unique identifier for the record, can be specified on record creation.")
name: constr(strict=True, max_length=128, min_length=1) = Field(..., description="A helpful name for this record")
description: Optional[constr(strict=True, max_length=1024, min_length=0)] = Field(None, description="More details about this record")
capacity: Optional[Union[confloat(le=1, ge=0, strict=True), conint(le=1, ge=0, strict=True)]] = Field(None, description="Percentage capacity of record that is filled.")
last_updated: Optional[datetime] = Field(None, alias="lastUpdated", description="The expected last time the record was updated")
status: Optional[StrictStr] = Field(None, description="Current status of the access record.")
account: Optional[AccessRecordAccount] = Field(...)
users: Optional[conlist(User)] = Field(None, description="The list of users this record applies to")
admins: Optional[conlist(User)] = Field(None, description="The list of admin that can edit this record even if they do not have global record edit permissions.")
groups: Optional[conlist(LinkedGroup)] = Field(None, description="The list of groups this record applies to. Users in these groups will be receive access to the resources listed.")
statements: conlist(Statement, min_items=1) = Field(..., description="A list of statements which match roles to resources.")
links: Optional[AccountLinks] = Field(...)
tags: Optional[Dict[str, constr(strict=True, max_length=128)]] = Field(None, description="The tags associated with this resource, this property is an map. { key1: value1, key2: value2 }")
record_id: Optional[constr(strict=True, max_length=100, min_length=1)] = Field(default=None, alias="recordId", description="Unique identifier for the record, can be specified on record creation.")
name: constr(strict=True, max_length=128, min_length=1) = Field(default=..., description="A helpful name for this record")
description: Optional[constr(strict=True, max_length=1024, min_length=0)] = Field(default=None, description="More details about this record")
capacity: Optional[Union[confloat(le=1, ge=0, strict=True), conint(le=1, ge=0, strict=True)]] = Field(default=None, description="Percentage capacity of record that is filled.")
last_updated: Optional[datetime] = Field(default=None, alias="lastUpdated", description="The expected last time the record was updated")
status: Optional[StrictStr] = Field(default=None, description="Current status of the access record.")
account: Optional[AccessRecordAccount] = None
users: Optional[conlist(User, max_items=1000, min_items=0)] = Field(default=None, description="The list of users this record applies to. The record is finite in size, for patterns where the list of users might grow indefinitely, the recommended solution is to specify each user in their own access record.")
admins: Optional[conlist(User, max_items=100, min_items=0)] = Field(default=None, description="The list of admin that can edit this record even if they do not have global record edit permissions.")
groups: Optional[conlist(LinkedGroup, max_items=100, min_items=0)] = Field(default=None, description="The list of groups this record applies to. Users in these groups will be receive access to the resources listed.")
statements: conlist(Statement, max_items=100, min_items=1) = Field(default=..., description="A list of statements which match roles to resources.")
links: Optional[AccountLinks] = None
tags: Optional[Dict[str, constr(strict=True, max_length=128)]] = Field(default=None, description="The tags associated with this resource, this property is an map. { key1: value1, key2: value2 }")
__properties = ["recordId", "name", "description", "capacity", "lastUpdated", "status", "account", "users", "admins", "groups", "statements", "links", "tags"]

@validator('record_id')
Expand Down
6 changes: 3 additions & 3 deletions authress/models/access_record_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"""
Authress

<p> <h2>Introduction</h2> <p>Welcome to the Authress Authorization API. <br>The Authress REST API provides the operations and resources necessary to create records, assign permissions, and verify any user in your platform.</p> <p><ul> <li>Manage multitenant platforms and create user tenants for SSO connections.</li> <li>Create records to assign roles and resources to grant access for users.</li> <li>Check user access control by calling the authorization API at the right time.</li> <li>Configure service clients to securely access services in your platform.</li> </ul></p> <p>For more in-depth scenarios check out the <a href=\"https://authress.io/knowledge-base\" target=\"_blank\">Authress knowledge base</a>.</p> </p> # noqa: E501
<p> <h2>Introduction</h2> <p>Welcome to the Authress Authorization API. <br>The Authress REST API provides the operations and resources necessary to create records, assign permissions, and verify any user in your platform.</p> <p><ul> <li>Manage multitenant platforms and create user tenants for SSO connections.</li> <li>Create records to assign roles and resources to grant access for users.</li> <li>Check user access control by calling the authorization API at the right time.</li> <li>Configure service clients to securely access services in your platform.</li> </ul></p> <p>For more in-depth scenarios check out the <a href=\"https://authress.io/knowledge-base\" target=\"_blank\">Authress knowledge base</a>.</p> </p>

The version of the OpenAPI document: v1
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
"""
""" # noqa: E501


from __future__ import annotations
Expand All @@ -29,7 +29,7 @@ class AccessRecordAccount(BaseModel):
"""
AccessRecordAccount
"""
account_id: StrictStr = Field(..., alias="accountId")
account_id: StrictStr = Field(default=..., alias="accountId")
__properties = ["accountId"]

class Config:
Expand Down
8 changes: 4 additions & 4 deletions authress/models/access_record_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"""
Authress

<p> <h2>Introduction</h2> <p>Welcome to the Authress Authorization API. <br>The Authress REST API provides the operations and resources necessary to create records, assign permissions, and verify any user in your platform.</p> <p><ul> <li>Manage multitenant platforms and create user tenants for SSO connections.</li> <li>Create records to assign roles and resources to grant access for users.</li> <li>Check user access control by calling the authorization API at the right time.</li> <li>Configure service clients to securely access services in your platform.</li> </ul></p> <p>For more in-depth scenarios check out the <a href=\"https://authress.io/knowledge-base\" target=\"_blank\">Authress knowledge base</a>.</p> </p> # noqa: E501
<p> <h2>Introduction</h2> <p>Welcome to the Authress Authorization API. <br>The Authress REST API provides the operations and resources necessary to create records, assign permissions, and verify any user in your platform.</p> <p><ul> <li>Manage multitenant platforms and create user tenants for SSO connections.</li> <li>Create records to assign roles and resources to grant access for users.</li> <li>Check user access control by calling the authorization API at the right time.</li> <li>Configure service clients to securely access services in your platform.</li> </ul></p> <p>For more in-depth scenarios check out the <a href=\"https://authress.io/knowledge-base\" target=\"_blank\">Authress knowledge base</a>.</p> </p>

The version of the OpenAPI document: v1
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
"""
""" # noqa: E501


from __future__ import annotations
Expand All @@ -30,9 +30,9 @@

class AccessRecordCollection(BaseModel):
"""
A collection of access records
A collection of access records # noqa: E501
"""
records: conlist(AccessRecord) = Field(..., description="A list of access records")
records: conlist(AccessRecord) = Field(default=..., description="A list of access records")
pagination: Optional[Pagination] = None
links: CollectionLinks = Field(...)
__properties = ["records", "pagination", "links"]
Expand Down
16 changes: 8 additions & 8 deletions authress/models/access_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"""
Authress

<p> <h2>Introduction</h2> <p>Welcome to the Authress Authorization API. <br>The Authress REST API provides the operations and resources necessary to create records, assign permissions, and verify any user in your platform.</p> <p><ul> <li>Manage multitenant platforms and create user tenants for SSO connections.</li> <li>Create records to assign roles and resources to grant access for users.</li> <li>Check user access control by calling the authorization API at the right time.</li> <li>Configure service clients to securely access services in your platform.</li> </ul></p> <p>For more in-depth scenarios check out the <a href=\"https://authress.io/knowledge-base\" target=\"_blank\">Authress knowledge base</a>.</p> </p> # noqa: E501
<p> <h2>Introduction</h2> <p>Welcome to the Authress Authorization API. <br>The Authress REST API provides the operations and resources necessary to create records, assign permissions, and verify any user in your platform.</p> <p><ul> <li>Manage multitenant platforms and create user tenants for SSO connections.</li> <li>Create records to assign roles and resources to grant access for users.</li> <li>Check user access control by calling the authorization API at the right time.</li> <li>Configure service clients to securely access services in your platform.</li> </ul></p> <p>For more in-depth scenarios check out the <a href=\"https://authress.io/knowledge-base\" target=\"_blank\">Authress knowledge base</a>.</p> </p>

The version of the OpenAPI document: v1
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
"""
""" # noqa: E501


from __future__ import annotations
Expand All @@ -29,14 +29,14 @@

class AccessRequest(BaseModel):
"""
The access requested by a user.
The access requested by a user. # noqa: E501
"""
request_id: constr(strict=True, max_length=100, min_length=1) = Field(..., alias="requestId", description="Unique identifier for the request.")
last_updated: Optional[datetime] = Field(None, alias="lastUpdated", description="The expected last time the request was updated")
status: Optional[StrictStr] = Field(None, description="Current status of the access request.")
request_id: constr(strict=True, max_length=100, min_length=1) = Field(default=..., alias="requestId", description="Unique identifier for the request.")
last_updated: Optional[datetime] = Field(default=None, alias="lastUpdated", description="The expected last time the request was updated")
status: Optional[StrictStr] = Field(default=None, description="Current status of the access request.")
access: AccessTemplate = Field(...)
links: Optional[AccountLinks] = Field(...)
tags: Optional[Dict[str, constr(strict=True, max_length=128)]] = Field(None, description="The tags associated with this resource, this property is an map. { key1: value1, key2: value2 }")
links: Optional[AccountLinks] = None
tags: Optional[Dict[str, constr(strict=True, max_length=128)]] = Field(default=None, description="The tags associated with this resource, this property is an map. { key1: value1, key2: value2 }")
__properties = ["requestId", "lastUpdated", "status", "access", "links", "tags"]

@validator('request_id')
Expand Down
Loading
Loading