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

Auto generate SDK from openAPI #53

Merged
merged 1 commit into from
Sep 16, 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
16 changes: 14 additions & 2 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ docs/ChatGetRequest.md
docs/ChatV2ObjectMessage.md
docs/ClearStatusRequest.md
docs/ClientContentInfo.md
docs/ClientContentInfoJson.md
docs/ClientDataEntry.md
docs/ClientManifestJsonResponse.md
docs/ClientManifestResponse.md
Expand Down Expand Up @@ -191,7 +192,6 @@ docs/FacebookPaymentUpdateResponse.md
docs/FacebookUpdatedEntry.md
docs/FailPurchaseRequest.md
docs/FailedInFlightFilterRequest.md
docs/FederationInfo.md
docs/FindAccountRequest.md
docs/Friend.md
docs/FriendSource.md
Expand Down Expand Up @@ -277,12 +277,16 @@ docs/GroupType.md
docs/GroupUpdate.md
docs/GroupUser.md
docs/GroupUserMember.md
docs/GroupUsersObjectFederationInfo.md
docs/GroupsObjectFederationInfo.md
docs/HttpCall.md
docs/ImportFriendsRequest.md
docs/InFlightFailure.md
docs/InFlightFailureResponse.md
docs/InFlightMessage.md
docs/InventoryBasicFederationInfo.md
docs/InventoryGetRequest.md
docs/InventoryObjectFederationInfo.md
docs/InventoryQueryRequest.md
docs/InventoryUpdateRequest.md
docs/InventoryView.md
Expand Down Expand Up @@ -408,6 +412,7 @@ docs/OnlineStatus.md
docs/OnlineStatusQuery.md
docs/OnlineStatusRequest.md
docs/OnlineStatusResponses.md
docs/OptionalJsonNodeWrapper.md
docs/OrderRule.md
docs/OrderRules.md
docs/PaNamespace.md
Expand Down Expand Up @@ -469,6 +474,7 @@ docs/PutLocalizationsRequest.md
docs/Query.md
docs/RankEntry.md
docs/RankEntryStat.md
docs/RealmConfigChangeRequest.md
docs/RealmConfigResponse.md
docs/RealmConfigSaveRequest.md
docs/RealmConfiguration.md
Expand Down Expand Up @@ -713,6 +719,7 @@ src/models/chat_get_request.rs
src/models/chat_v2_object_message.rs
src/models/clear_status_request.rs
src/models/client_content_info.rs
src/models/client_content_info_json.rs
src/models/client_data_entry.rs
src/models/client_manifest_json_response.rs
src/models/client_manifest_response.rs
Expand Down Expand Up @@ -832,7 +839,6 @@ src/models/facebook_payment_update_response.rs
src/models/facebook_updated_entry.rs
src/models/fail_purchase_request.rs
src/models/failed_in_flight_filter_request.rs
src/models/federation_info.rs
src/models/find_account_request.rs
src/models/friend.rs
src/models/friend_source.rs
Expand Down Expand Up @@ -918,12 +924,16 @@ src/models/group_type.rs
src/models/group_update.rs
src/models/group_user.rs
src/models/group_user_member.rs
src/models/group_users_object_federation_info.rs
src/models/groups_object_federation_info.rs
src/models/http_call.rs
src/models/import_friends_request.rs
src/models/in_flight_failure.rs
src/models/in_flight_failure_response.rs
src/models/in_flight_message.rs
src/models/inventory_basic_federation_info.rs
src/models/inventory_get_request.rs
src/models/inventory_object_federation_info.rs
src/models/inventory_query_request.rs
src/models/inventory_update_request.rs
src/models/inventory_view.rs
Expand Down Expand Up @@ -1047,6 +1057,7 @@ src/models/online_status.rs
src/models/online_status_query.rs
src/models/online_status_request.rs
src/models/online_status_responses.rs
src/models/optional_json_node_wrapper.rs
src/models/order_rule.rs
src/models/order_rules.rs
src/models/pa_namespace.rs
Expand Down Expand Up @@ -1104,6 +1115,7 @@ src/models/put_localizations_request.rs
src/models/query.rs
src/models/rank_entry.rs
src/models/rank_entry_stat.rs
src/models/realm_config_change_request.rs
src/models/realm_config_response.rs
src/models/realm_config_save_request.rs
src/models/realm_configuration.rs
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**basic_realms_admin_inflight_failures_get**](docs/DefaultApi.md#basic_realms_admin_inflight_failures_get) | **GET** /basic/realms/admin/inflight/failures |
*DefaultApi* | [**basic_realms_client_defaults_get**](docs/DefaultApi.md#basic_realms_client_defaults_get) | **GET** /basic/realms/client/defaults |
*DefaultApi* | [**basic_realms_config_get**](docs/DefaultApi.md#basic_realms_config_get) | **GET** /basic/realms/config |
*DefaultApi* | [**basic_realms_config_post**](docs/DefaultApi.md#basic_realms_config_post) | **POST** /basic/realms/config |
*DefaultApi* | [**basic_realms_config_put**](docs/DefaultApi.md#basic_realms_config_put) | **PUT** /basic/realms/config |
*DefaultApi* | [**basic_realms_customer_alias_available_get**](docs/DefaultApi.md#basic_realms_customer_alias_available_get) | **GET** /basic/realms/customer/alias/available |
*DefaultApi* | [**basic_realms_customer_get**](docs/DefaultApi.md#basic_realms_customer_get) | **GET** /basic/realms/customer |
Expand Down Expand Up @@ -484,6 +485,7 @@ Class | Method | HTTP request | Description
- [ChatV2ObjectMessage](docs/ChatV2ObjectMessage.md)
- [ClearStatusRequest](docs/ClearStatusRequest.md)
- [ClientContentInfo](docs/ClientContentInfo.md)
- [ClientContentInfoJson](docs/ClientContentInfoJson.md)
- [ClientDataEntry](docs/ClientDataEntry.md)
- [ClientManifestJsonResponse](docs/ClientManifestJsonResponse.md)
- [ClientManifestResponse](docs/ClientManifestResponse.md)
Expand Down Expand Up @@ -603,7 +605,6 @@ Class | Method | HTTP request | Description
- [FacebookUpdatedEntry](docs/FacebookUpdatedEntry.md)
- [FailPurchaseRequest](docs/FailPurchaseRequest.md)
- [FailedInFlightFilterRequest](docs/FailedInFlightFilterRequest.md)
- [FederationInfo](docs/FederationInfo.md)
- [FindAccountRequest](docs/FindAccountRequest.md)
- [Friend](docs/Friend.md)
- [FriendSource](docs/FriendSource.md)
Expand Down Expand Up @@ -689,12 +690,16 @@ Class | Method | HTTP request | Description
- [GroupUpdate](docs/GroupUpdate.md)
- [GroupUser](docs/GroupUser.md)
- [GroupUserMember](docs/GroupUserMember.md)
- [GroupUsersObjectFederationInfo](docs/GroupUsersObjectFederationInfo.md)
- [GroupsObjectFederationInfo](docs/GroupsObjectFederationInfo.md)
- [HttpCall](docs/HttpCall.md)
- [ImportFriendsRequest](docs/ImportFriendsRequest.md)
- [InFlightFailure](docs/InFlightFailure.md)
- [InFlightFailureResponse](docs/InFlightFailureResponse.md)
- [InFlightMessage](docs/InFlightMessage.md)
- [InventoryBasicFederationInfo](docs/InventoryBasicFederationInfo.md)
- [InventoryGetRequest](docs/InventoryGetRequest.md)
- [InventoryObjectFederationInfo](docs/InventoryObjectFederationInfo.md)
- [InventoryQueryRequest](docs/InventoryQueryRequest.md)
- [InventoryUpdateRequest](docs/InventoryUpdateRequest.md)
- [InventoryView](docs/InventoryView.md)
Expand Down Expand Up @@ -817,6 +822,7 @@ Class | Method | HTTP request | Description
- [OnlineStatusQuery](docs/OnlineStatusQuery.md)
- [OnlineStatusRequest](docs/OnlineStatusRequest.md)
- [OnlineStatusResponses](docs/OnlineStatusResponses.md)
- [OptionalJsonNodeWrapper](docs/OptionalJsonNodeWrapper.md)
- [OrderRule](docs/OrderRule.md)
- [OrderRules](docs/OrderRules.md)
- [PaNamespace](docs/PaNamespace.md)
Expand Down Expand Up @@ -874,6 +880,7 @@ Class | Method | HTTP request | Description
- [Query](docs/Query.md)
- [RankEntry](docs/RankEntry.md)
- [RankEntryStat](docs/RankEntryStat.md)
- [RealmConfigChangeRequest](docs/RealmConfigChangeRequest.md)
- [RealmConfigResponse](docs/RealmConfigResponse.md)
- [RealmConfigSaveRequest](docs/RealmConfigSaveRequest.md)
- [RealmConfiguration](docs/RealmConfiguration.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/ClientContentInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**uri** | **String** | |
**version** | **String** | |
**content_id** | **String** | |
**r#type** | **String** | |
**r#type** | [**models::ContentType**](ContentType.md) | |

[[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
15 changes: 15 additions & 0 deletions docs/ClientContentInfoJson.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# ClientContentInfoJson

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**tags** | **Vec<String>** | |
**uri** | **String** | |
**version** | **String** | |
**content_id** | **String** | |
**r#type** | [**models::ContentType**](ContentType.md) | |

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


2 changes: 1 addition & 1 deletion docs/ClientManifestJsonResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**items** | [**Vec<models::ClientContentInfo>**](ClientContentInfo.md) | |
**entries** | [**Vec<models::ClientContentInfoJson>**](ClientContentInfoJson.md) | |

[[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
2 changes: 1 addition & 1 deletion docs/Currency.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**amount** | **i64** | |
**id** | **String** | |
**properties** | Option<[**Vec<models::CurrencyProperty>**](CurrencyProperty.md)> | | [optional]
**proxy** | Option<[**models::FederationInfo**](FederationInfo.md)> | | [optional]
**proxy** | Option<[**models::GroupUsersObjectFederationInfo**](Group-usersObjectFederationInfo.md)> | | [optional]

[[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
2 changes: 1 addition & 1 deletion docs/CurrencyArchetype.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**symbol** | **String** | |
**external** | Option<[**models::FederationInfo**](FederationInfo.md)> | | [optional]
**external** | Option<[**models::InventoryBasicFederationInfo**](InventoryBasicFederationInfo.md)> | | [optional]
**client_permission** | Option<[**models::ClientPermission**](ClientPermission.md)> | | [optional]
**starting_amount** | Option<**i64**> | | [optional]

Expand Down
2 changes: 1 addition & 1 deletion docs/CurrencyView.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**id** | **String** | |
**amount** | **i64** | |
**properties** | [**Vec<models::CurrencyProperty>**](CurrencyProperty.md) | |
**proxy** | Option<[**models::FederationInfo**](FederationInfo.md)> | | [optional]
**proxy** | Option<[**models::InventoryObjectFederationInfo**](InventoryObjectFederationInfo.md)> | | [optional]

[[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
35 changes: 33 additions & 2 deletions docs/DefaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ Method | HTTP request | Description
[**basic_realms_admin_inflight_failures_get**](DefaultApi.md#basic_realms_admin_inflight_failures_get) | **GET** /basic/realms/admin/inflight/failures |
[**basic_realms_client_defaults_get**](DefaultApi.md#basic_realms_client_defaults_get) | **GET** /basic/realms/client/defaults |
[**basic_realms_config_get**](DefaultApi.md#basic_realms_config_get) | **GET** /basic/realms/config |
[**basic_realms_config_post**](DefaultApi.md#basic_realms_config_post) | **POST** /basic/realms/config |
[**basic_realms_config_put**](DefaultApi.md#basic_realms_config_put) | **PUT** /basic/realms/config |
[**basic_realms_customer_alias_available_get**](DefaultApi.md#basic_realms_customer_alias_available_get) | **GET** /basic/realms/customer/alias/available |
[**basic_realms_customer_get**](DefaultApi.md#basic_realms_customer_get) | **GET** /basic/realms/customer |
Expand Down Expand Up @@ -2690,7 +2691,7 @@ Name | Type | Description | Required | Notes
### HTTP request headers

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

[[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)

Expand Down Expand Up @@ -2750,7 +2751,7 @@ Name | Type | Description | Required | Notes
### HTTP request headers

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

[[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)

Expand Down Expand Up @@ -5581,6 +5582,36 @@ Name | Type | Description | Required | 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)


## basic_realms_config_post

> models::CommonResponse basic_realms_config_post(x_beam_scope, x_beam_gamertag, realm_config_change_request)


### Parameters


Name | Type | Description | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**x_beam_scope** | **String** | Customer and project scope. This should be in the form of '<customer-id>.<project-id>'. | [required] |
**x_beam_gamertag** | Option<**String**> | Override the Gamer Tag of the player. This is generally inferred by the auth token. | |
**realm_config_change_request** | Option<[**RealmConfigChangeRequest**](RealmConfigChangeRequest.md)> | | |

### Return type

[**models::CommonResponse**](CommonResponse.md)

### Authorization

[server](../README.md#server), [user](../README.md#user)

### HTTP request headers

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

[[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)


## basic_realms_config_put

> models::CommonResponse basic_realms_config_put(x_beam_scope, x_beam_gamertag, realm_config_save_request)
Expand Down
13 changes: 13 additions & 0 deletions docs/GroupUsersObjectFederationInfo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# GroupUsersObjectFederationInfo

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**service** | **String** | |
**namespace** | **String** | |
**settings** | Option<[**models::OptionalJsonNodeWrapper**](OptionalJsonNodeWrapper.md)> | | [optional]

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


13 changes: 13 additions & 0 deletions docs/GroupsObjectFederationInfo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# GroupsObjectFederationInfo

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**service** | **String** | |
**namespace** | **String** | |
**settings** | Option<[**models::OptionalJsonNodeWrapper**](OptionalJsonNodeWrapper.md)> | | [optional]

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


Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# FederationInfo
# InventoryBasicFederationInfo

## Properties

Expand Down
12 changes: 12 additions & 0 deletions docs/InventoryObjectFederationInfo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# InventoryObjectFederationInfo

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**service** | **String** | |
**namespace** | **String** | |

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


2 changes: 1 addition & 1 deletion docs/Item.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**proxy_id** | Option<**String**> | | [optional]
**id** | **i64** | |
**properties** | [**Vec<models::ItemProperty>**](ItemProperty.md) | |
**proxy** | Option<[**models::FederationInfo**](FederationInfo.md)> | | [optional]
**proxy** | Option<[**models::InventoryObjectFederationInfo**](InventoryObjectFederationInfo.md)> | | [optional]
**created_at** | Option<**i64**> | | [optional]

[[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
2 changes: 1 addition & 1 deletion docs/ItemArchetype.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**symbol** | **String** | |
**external** | Option<[**models::FederationInfo**](FederationInfo.md)> | | [optional]
**external** | Option<[**models::InventoryBasicFederationInfo**](InventoryBasicFederationInfo.md)> | | [optional]
**client_permission** | Option<[**models::ClientPermission**](ClientPermission.md)> | | [optional]

[[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
11 changes: 11 additions & 0 deletions docs/OptionalJsonNodeWrapper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# OptionalJsonNodeWrapper

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**node** | Option<**String**> | | [optional]

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


12 changes: 12 additions & 0 deletions docs/RealmConfigChangeRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# RealmConfigChangeRequest

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**upserts** | Option<**std::collections::HashMap<String, String>**> | | [optional]
**deletes** | Option<**Vec<String>**> | | [optional]

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


Loading