Skip to content

Commit

Permalink
Update SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Concourse committed Jun 16, 2023
1 parent 4f725d7 commit 260af3a
Show file tree
Hide file tree
Showing 55 changed files with 366 additions and 97 deletions.
67 changes: 66 additions & 1 deletion lydia.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"url": "https://www.finbourne.com",
"email": "[email protected]"
},
"version": "0.0.2450",
"version": "0.0.2452",
"x-logo": {
"url": "https://www.lusid.com/app/assets/logo_white.png",
"backgroundColor": "#415464"
Expand Down Expand Up @@ -2246,6 +2246,71 @@
"x-fbn-apistatus": "EarlyAccess"
}
},
"/api/users/$runnable": {
"get": {
"tags": [
"Users"
],
"summary": "[EARLY ACCESS] ListRunnableUsers: List Runable Users",
"description": "List the available runnable Users",
"operationId": "ListRunnableUsers",
"responses": {
"200": {
"description": "List the available runnable users",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UserResponse"
}
},
"example": [
{
"id": "asybvrs5",
"emailAddress": "[email protected]",
"login": "[email protected]",
"firstName": "Joe",
"lastName": "Bloggs",
"roles": [
{
"id": "customrole1",
"roleId": {
"scope": "default",
"code": "customrole2"
},
"source": "LusidUser",
"name": "Front Office Administrator",
"description": "Administration role for Front Office staff"
}
],
"type": "Personal",
"status": "ACTIVE",
"external": false
}
]
}
}
},
"default": {
"description": "Error response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/LusidProblemDetails"
}
}
}
}
},
"security": [
{
"oauth2": []
}
],
"x-fbn-apistatus": "EarlyAccess"
}
},
"/api/users/{id}": {
"get": {
"tags": [
Expand Down
5 changes: 3 additions & 2 deletions sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FINBOURNE Technology

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.0.2450
- Package version: 0.0.2450
- API version: 0.0.2452
- Package version: 0.0.2452
- Build package: org.openapitools.codegen.languages.PythonLegacyClientCodegen
For more information, please visit [https://www.finbourne.com](https://www.finbourne.com)

Expand Down Expand Up @@ -123,6 +123,7 @@ Class | Method | HTTP request | Description
*UsersApi* | [**expire_password**](docs/UsersApi.md#expire_password) | **POST** /api/users/{id}/lifecycle/$expirepassword | [EARLY ACCESS] ExpirePassword: Reset the user's password to a temporary one
*UsersApi* | [**find_users_by_id**](docs/UsersApi.md#find_users_by_id) | **GET** /api/directory | [EARLY ACCESS] FindUsersById: Find users by id endpoint
*UsersApi* | [**get_user**](docs/UsersApi.md#get_user) | **GET** /api/users/{id} | [EARLY ACCESS] GetUser: Get User
*UsersApi* | [**list_runnable_users**](docs/UsersApi.md#list_runnable_users) | **GET** /api/users/$runnable | [EARLY ACCESS] ListRunnableUsers: List Runable Users
*UsersApi* | [**list_users**](docs/UsersApi.md#list_users) | **GET** /api/users | [EARLY ACCESS] ListUsers: List Users
*UsersApi* | [**reset_factors**](docs/UsersApi.md#reset_factors) | **POST** /api/users/{id}/lifecycle/$resetfactors | [EARLY ACCESS] ResetFactors: Reset MFA factors
*UsersApi* | [**reset_password**](docs/UsersApi.md#reset_password) | **POST** /api/users/{id}/lifecycle/$resetpassword | [EARLY ACCESS] ResetPassword: Reset Password
Expand Down
71 changes: 71 additions & 0 deletions sdk/docs/UsersApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Method | HTTP request | Description
[**expire_password**](UsersApi.md#expire_password) | **POST** /api/users/{id}/lifecycle/$expirepassword | [EARLY ACCESS] ExpirePassword: Reset the user's password to a temporary one
[**find_users_by_id**](UsersApi.md#find_users_by_id) | **GET** /api/directory | [EARLY ACCESS] FindUsersById: Find users by id endpoint
[**get_user**](UsersApi.md#get_user) | **GET** /api/users/{id} | [EARLY ACCESS] GetUser: Get User
[**list_runnable_users**](UsersApi.md#list_runnable_users) | **GET** /api/users/$runnable | [EARLY ACCESS] ListRunnableUsers: List Runable Users
[**list_users**](UsersApi.md#list_users) | **GET** /api/users | [EARLY ACCESS] ListUsers: List Users
[**reset_factors**](UsersApi.md#reset_factors) | **POST** /api/users/{id}/lifecycle/$resetfactors | [EARLY ACCESS] ResetFactors: Reset MFA factors
[**reset_password**](UsersApi.md#reset_password) | **POST** /api/users/{id}/lifecycle/$resetpassword | [EARLY ACCESS] ResetPassword: Reset Password
Expand Down Expand Up @@ -397,6 +398,76 @@ Name | Type | Description | Notes

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

# **list_runnable_users**
> list[UserResponse] list_runnable_users()
[EARLY ACCESS] ListRunnableUsers: List Runable Users

List the available runnable Users

### Example

* OAuth Authentication (oauth2):
```python
from __future__ import print_function
import time
import finbourne_identity
from finbourne_identity.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://fbn-ci.lusid.com/identity
# See configuration.py for a list of all supported configuration parameters.
configuration = finbourne_identity.Configuration(
host = "https://fbn-ci.lusid.com/identity"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure OAuth2 access token for authorization: oauth2
configuration = finbourne_identity.Configuration(
host = "https://fbn-ci.lusid.com/identity"
)
configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Enter a context with an instance of the API client
with finbourne_identity.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = finbourne_identity.UsersApi(api_client)

try:
# [EARLY ACCESS] ListRunnableUsers: List Runable Users
api_response = api_instance.list_runnable_users()
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->list_runnable_users: %s\n" % e)
```

### Parameters
This endpoint does not need any parameter.

### Return type

[**list[UserResponse]**](UserResponse.md)

### Authorization

[oauth2](../README.md#oauth2)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | List the available runnable users | - |
**0** | Error response | - |

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

# **list_users**
> list[UserResponse] list_users(include_roles=include_roles, include_deactivated=include_deactivated)
Expand Down
4 changes: 2 additions & 2 deletions sdk/finbourne_identity/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
FINBOURNE Technology # noqa: E501
The version of the OpenAPI document: 0.0.2450
The version of the OpenAPI document: 0.0.2452
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

__version__ = "0.0.2450"
__version__ = "0.0.2452"

# import apis into sdk package
from finbourne_identity.api.application_metadata_api import ApplicationMetadataApi
Expand Down
2 changes: 1 addition & 1 deletion sdk/finbourne_identity/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.2450"
__version__ = "0.0.2452"
4 changes: 2 additions & 2 deletions sdk/finbourne_identity/api/application_metadata_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
FINBOURNE Technology # noqa: E501
The version of the OpenAPI document: 0.0.2450
The version of the OpenAPI document: 0.0.2452
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -145,7 +145,7 @@ def list_access_controlled_resources_with_http_info(self, **kwargs): # noqa: E5

# set the LUSID header
header_params['X-LUSID-SDK-Language'] = 'Python'
header_params['X-LUSID-SDK-Version'] = '0.0.2450'
header_params['X-LUSID-SDK-Version'] = '0.0.2452'

# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
Expand Down
12 changes: 6 additions & 6 deletions sdk/finbourne_identity/api/applications_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
FINBOURNE Technology # noqa: E501
The version of the OpenAPI document: 0.0.2450
The version of the OpenAPI document: 0.0.2452
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -157,7 +157,7 @@ def create_application_with_http_info(self, **kwargs): # noqa: E501

# set the LUSID header
header_params['X-LUSID-SDK-Language'] = 'Python'
header_params['X-LUSID-SDK-Version'] = '0.0.2450'
header_params['X-LUSID-SDK-Version'] = '0.0.2452'

# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
Expand Down Expand Up @@ -309,7 +309,7 @@ def delete_application_with_http_info(self, id, **kwargs): # noqa: E501

# set the LUSID header
header_params['X-LUSID-SDK-Language'] = 'Python'
header_params['X-LUSID-SDK-Version'] = '0.0.2450'
header_params['X-LUSID-SDK-Version'] = '0.0.2452'

# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
Expand Down Expand Up @@ -465,7 +465,7 @@ def get_application_with_http_info(self, id, **kwargs): # noqa: E501

# set the LUSID header
header_params['X-LUSID-SDK-Language'] = 'Python'
header_params['X-LUSID-SDK-Version'] = '0.0.2450'
header_params['X-LUSID-SDK-Version'] = '0.0.2452'

# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
Expand Down Expand Up @@ -599,7 +599,7 @@ def list_applications_with_http_info(self, **kwargs): # noqa: E501

# set the LUSID header
header_params['X-LUSID-SDK-Language'] = 'Python'
header_params['X-LUSID-SDK-Version'] = '0.0.2450'
header_params['X-LUSID-SDK-Version'] = '0.0.2452'

# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
Expand Down Expand Up @@ -750,7 +750,7 @@ def rotate_application_secrets_with_http_info(self, id, **kwargs): # noqa: E501

# set the LUSID header
header_params['X-LUSID-SDK-Language'] = 'Python'
header_params['X-LUSID-SDK-Version'] = '0.0.2450'
header_params['X-LUSID-SDK-Version'] = '0.0.2452'

# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
Expand Down
12 changes: 6 additions & 6 deletions sdk/finbourne_identity/api/authentication_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
FINBOURNE Technology # noqa: E501
The version of the OpenAPI document: 0.0.2450
The version of the OpenAPI document: 0.0.2452
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -149,7 +149,7 @@ def get_authentication_information_with_http_info(self, **kwargs): # noqa: E501

# set the LUSID header
header_params['X-LUSID-SDK-Language'] = 'Python'
header_params['X-LUSID-SDK-Version'] = '0.0.2450'
header_params['X-LUSID-SDK-Version'] = '0.0.2452'

# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
Expand Down Expand Up @@ -281,7 +281,7 @@ def get_support_access_history_with_http_info(self, **kwargs): # noqa: E501

# set the LUSID header
header_params['X-LUSID-SDK-Language'] = 'Python'
header_params['X-LUSID-SDK-Version'] = '0.0.2450'
header_params['X-LUSID-SDK-Version'] = '0.0.2452'

# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
Expand Down Expand Up @@ -413,7 +413,7 @@ def get_support_roles_with_http_info(self, **kwargs): # noqa: E501

# set the LUSID header
header_params['X-LUSID-SDK-Language'] = 'Python'
header_params['X-LUSID-SDK-Version'] = '0.0.2450'
header_params['X-LUSID-SDK-Version'] = '0.0.2452'

# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
Expand Down Expand Up @@ -559,7 +559,7 @@ def grant_support_access_with_http_info(self, support_access_request, **kwargs):

# set the LUSID header
header_params['X-LUSID-SDK-Language'] = 'Python'
header_params['X-LUSID-SDK-Version'] = '0.0.2450'
header_params['X-LUSID-SDK-Version'] = '0.0.2452'

# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
Expand Down Expand Up @@ -692,7 +692,7 @@ def invalidate_support_access_with_http_info(self, **kwargs): # noqa: E501

# set the LUSID header
header_params['X-LUSID-SDK-Language'] = 'Python'
header_params['X-LUSID-SDK-Version'] = '0.0.2450'
header_params['X-LUSID-SDK-Version'] = '0.0.2452'

# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
Expand Down
6 changes: 3 additions & 3 deletions sdk/finbourne_identity/api/identity_provider_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
FINBOURNE Technology # noqa: E501
The version of the OpenAPI document: 0.0.2450
The version of the OpenAPI document: 0.0.2452
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -160,7 +160,7 @@ def add_scim_with_http_info(self, **kwargs): # noqa: E501

# set the LUSID header
header_params['X-LUSID-SDK-Language'] = 'Python'
header_params['X-LUSID-SDK-Version'] = '0.0.2450'
header_params['X-LUSID-SDK-Version'] = '0.0.2452'

# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
Expand Down Expand Up @@ -293,7 +293,7 @@ def remove_scim_with_http_info(self, **kwargs): # noqa: E501

# set the LUSID header
header_params['X-LUSID-SDK-Language'] = 'Python'
header_params['X-LUSID-SDK-Version'] = '0.0.2450'
header_params['X-LUSID-SDK-Version'] = '0.0.2452'

# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
Expand Down
6 changes: 3 additions & 3 deletions sdk/finbourne_identity/api/me_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
FINBOURNE Technology # noqa: E501
The version of the OpenAPI document: 0.0.2450
The version of the OpenAPI document: 0.0.2452
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -148,7 +148,7 @@ def get_user_info_with_http_info(self, **kwargs): # noqa: E501

# set the LUSID header
header_params['X-LUSID-SDK-Language'] = 'Python'
header_params['X-LUSID-SDK-Version'] = '0.0.2450'
header_params['X-LUSID-SDK-Version'] = '0.0.2452'

# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
Expand Down Expand Up @@ -294,7 +294,7 @@ def set_password_with_http_info(self, set_password, **kwargs): # noqa: E501

# set the LUSID header
header_params['X-LUSID-SDK-Language'] = 'Python'
header_params['X-LUSID-SDK-Version'] = '0.0.2450'
header_params['X-LUSID-SDK-Version'] = '0.0.2452'

# Authentication setting
auth_settings = ['oauth2'] # noqa: E501
Expand Down
Loading

0 comments on commit 260af3a

Please sign in to comment.