diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 98af008..e85bd14 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -13,13 +13,13 @@ docs/AccountRolesReport.md docs/AccountSearchResponse.md docs/AccountUpdate.md docs/ActivationRequest.md +docs/ActivationStatus.md docs/ActiveListingResponse.md docs/AddTags.md docs/AdminGetPlayerStatusRequest.md docs/AdminGetPlayerStatusResponse.md docs/AdminPlayerStatus.md docs/AliasAvailableRequest.md -docs/AliasAvailableResponse.md docs/AnnouncementAttachment.md docs/AnnouncementContent.md docs/AnnouncementContentResponse.md @@ -55,7 +55,7 @@ docs/BeamoBasicManifestChecksum.md docs/BeamoBasicManifestChecksums.md docs/BeamoBasicReference.md docs/BeamoBasicUrlResponse.md -docs/BeamoLimits.md +docs/BeamoOtelApi.md docs/BeamoV2ConnectionStringResponse.md docs/BeamoV2DataPoint.md docs/BeamoV2DatabaseMeasurement.md @@ -149,6 +149,8 @@ docs/ContentReference.md docs/ContentType.md docs/ContentVisibility.md docs/CooldownModifierRequest.md +docs/CreateAccountWithCredsApiResponse.md +docs/CreateAccountWithCredsRequest.md docs/CreateDonationRequest.md docs/CreateElevatedAccountRequest.md docs/CreateFederatedGameServer.md @@ -157,8 +159,10 @@ docs/CreateLobby.md docs/CreateParty.md docs/CreatePlanRequest.md docs/CreateProjectRequest.md +docs/CreateRealmRequest.md docs/CreateRoomRequest.md docs/CreateRoomResponse.md +docs/CreateServicePlanRequest.md docs/CreateTrialRestRequest.md docs/CronTrigger.md docs/Currency.md @@ -170,12 +174,24 @@ docs/CurrencyPreview.md docs/CurrencyProperty.md docs/CurrencyView.md docs/CustomCohortRule.md -docs/Customer.md +docs/CustomerActorAliasAvailableResponse.md +docs/CustomerActorCustomer.md +docs/CustomerActorCustomerView.md +docs/CustomerActorCustomersResponse.md +docs/CustomerActorHtmlResponse.md +docs/CustomerActorNewCustomerRequest.md +docs/CustomerActorNewCustomerResponse.md +docs/CustomerActorPromoteRealmRequest.md +docs/CustomerActorPromoteRealmResponse.md +docs/CustomerActorPromotionScope.md +docs/CustomerActorRealmConfigResponse.md +docs/CustomerActorRealmConfigSaveRequest.md +docs/CustomerActorRealmConfiguration.md +docs/CustomerActorUpdateGameHierarchyRequest.md +docs/CustomerActorWebSocketConfiguration.md +docs/CustomerApi.md docs/CustomerResponse.md -docs/CustomerView.md docs/CustomerViewResponse.md -docs/CustomersResponse.md -docs/DataDomain.md docs/DataPoint.md docs/DatabaseMeasurement.md docs/DatabaseMeasurements.md @@ -261,6 +277,7 @@ docs/GetElasticContainerRegistryUri.md docs/GetExactManifestRequest.md docs/GetGameRequest.md docs/GetGameResponse.md +docs/GetGamesResponse.md docs/GetGroupStatusRequest.md docs/GetGroupStatusResponse.md docs/GetGroupsRequest.md @@ -271,6 +288,8 @@ docs/GetLogsInsightUrlRequest.md docs/GetLogsUrlHeader.md docs/GetLogsUrlRequest.md docs/GetMailDetailsRequest.md +docs/GetManifestDiffsRequest.md +docs/GetManifestDiffsResponse.md docs/GetManifestHistoryRequest.md docs/GetManifestHistoryResponse.md docs/GetManifestRequestJson.md @@ -326,7 +345,6 @@ docs/GroupUpdate.md docs/GroupUser.md docs/GroupUserMember.md docs/GuestAuthRequest.md -docs/HtmlResponse.md docs/HttpCall.md docs/ImportFriendsRequest.md docs/InFlightFailure.md @@ -430,6 +448,7 @@ docs/MailTemplate.md docs/MailboxApi.md docs/MakeDonationRequest.md docs/MakeFriendshipRequest.md +docs/ManifestDiffSummary.md docs/ManifestSummary.md docs/ManifestView.md docs/Match.md @@ -450,12 +469,11 @@ docs/MicroserviceRegistrationsResponse.md docs/MicroserviceSecretResponse.md docs/MultipliersGetResponse.md docs/MyMailUpdate.md -docs/NewCustomerRequest.md -docs/NewCustomerResponse.md docs/NewGameRequest.md docs/NewItemReward.md docs/NotificationRequest.md docs/NotificationRequestData.md +docs/ObjectId.md docs/ObjectMetadataResponse.md docs/ObjectRequest.md docs/ObjectRequests.md @@ -470,6 +488,9 @@ docs/OnlineStatusResponses.md docs/OptionalJsonNodeWrapper.md docs/OrderRule.md docs/OrderRules.md +docs/OtelAuthConfig.md +docs/OtelView.md +docs/OtelViewsResponse.md docs/PaNamespace.md docs/PaSlowQuery.md docs/PaSuggestedIndex.md @@ -485,6 +506,7 @@ docs/PaymentAuditEntryViewModel.md docs/PaymentDetailsEntryViewModel.md docs/PaymentHistoryEntryViewModel.md docs/PaymentResultResponse.md +docs/PaymentStatus.md docs/PaymentTotal.md docs/PerformanceResponse.md docs/Period.md @@ -517,12 +539,10 @@ docs/ProductView.md docs/Project.md docs/ProjectView.md docs/Promotable.md +docs/PromotableType.md docs/PromoteNewLeader.md -docs/PromoteRealmRequest.md -docs/PromoteRealmResponse.md docs/PromoteRealmResponseOld.md docs/Promotion.md -docs/PromotionScope.md docs/PublishMessage.md docs/PullAllManifestsRequest.md docs/PullBeamoManifestRequest.md @@ -532,15 +552,34 @@ docs/PutLocalizationsRequest.md docs/Query.md docs/RankEntry.md docs/RankEntryStat.md +docs/Realm.md docs/RealmConfigChangeRequest.md -docs/RealmConfigResponse.md -docs/RealmConfigSaveRequest.md -docs/RealmConfiguration.md docs/RealmPromotion.md docs/RealmRolesReport.md +docs/RealmView.md docs/RealmsBasicAccount.md -docs/RedisShard.md -docs/RedisShardRequest.md +docs/RealmsBasicAliasAvailableResponse.md +docs/RealmsBasicBeamoLimits.md +docs/RealmsBasicCustomer.md +docs/RealmsBasicCustomerView.md +docs/RealmsBasicCustomersResponse.md +docs/RealmsBasicDataDomain.md +docs/RealmsBasicHtmlResponse.md +docs/RealmsBasicNewCustomerRequest.md +docs/RealmsBasicNewCustomerResponse.md +docs/RealmsBasicPromoteRealmRequest.md +docs/RealmsBasicPromoteRealmResponse.md +docs/RealmsBasicPromotionScope.md +docs/RealmsBasicRealmConfigResponse.md +docs/RealmsBasicRealmConfigSaveRequest.md +docs/RealmsBasicRealmConfiguration.md +docs/RealmsBasicRedisShard.md +docs/RealmsBasicRedisShardRequest.md +docs/RealmsBasicServiceLimits.md +docs/RealmsBasicServicePlan.md +docs/RealmsBasicServicePlansResponse.md +docs/RealmsBasicUpdateGameHierarchyRequest.md +docs/RealmsBasicWebSocketConfiguration.md docs/ReferenceSuperset.md docs/RefreshTokenAuthRequest.md docs/RegisterReq.md @@ -548,6 +587,7 @@ docs/RemoveFromLobby.md docs/RemoveLaunchMessageRequest.md docs/RemoveTags.md docs/RenameProjectRequest.md +docs/RenameRealmRequest.md docs/RepeatManifestRequest.md docs/ReplaceObjectsRequest.md docs/ReportPurchaseRequest.md @@ -570,6 +610,7 @@ docs/SaveContentRequest.md docs/SaveContentResponse.md docs/SaveGameDataResponse.md docs/SaveManifestRequest.md +docs/SaveManifestResponse.md docs/SaveSkusRequest.md docs/SaveTextRequest.md docs/SaveTextResponse.md @@ -598,9 +639,13 @@ docs/ServiceCall.md docs/ServiceComponent.md docs/ServiceDependencyReference.md docs/ServiceImageLayers.md -docs/ServiceLimits.md -docs/ServicePlan.md -docs/ServicePlansResponse.md +docs/ServicePlanActorDataDomain.md +docs/ServicePlanActorRedisShard.md +docs/ServicePlanActorRedisShardRequest.md +docs/ServicePlanActorServiceLimits.md +docs/ServicePlanActorServicePlan.md +docs/ServicePlanActorServicePlansResponse.md +docs/ServicePlanApi.md docs/ServiceReference.md docs/ServiceRoute.md docs/ServiceStatus.md @@ -615,6 +660,8 @@ docs/SessionHistoryResponse.md docs/SessionLanguageContext.md docs/SessionUser.md docs/SetContentRequest.md +docs/SetCustomerAliasRequest.md +docs/SetLobbyResponse.md docs/SetPresenceStatusRequest.md docs/Sku.md docs/SkuDefinitions.md @@ -672,11 +719,12 @@ docs/Trial.md docs/TrialCustomRule.md docs/TrialSuccessResponse.md docs/UnarchiveProjectRequest.md +docs/UpdateCustomerRequest.md docs/UpdateData.md -docs/UpdateGameHierarchyRequest.md docs/UpdateListingCooldownRequest.md docs/UpdateLobby.md docs/UpdateMailRequest.md +docs/UpdateOtelViewRequest.md docs/UpdateParty.md docs/UpdatePlayerStatusRequest.md docs/UpdateRole.md @@ -690,7 +738,6 @@ docs/UrlsResponse.md docs/VariableReference.md docs/VerifyPurchaseRequest.md docs/VipBonus.md -docs/WebSocketConfiguration.md docs/WebhookComet.md docs/WebhookInvocationStrategy.md docs/WebhookInvocationType.md @@ -700,7 +747,9 @@ docs/WebhookServiceType.md git_push.sh src/apis/auth_api.rs src/apis/beamo_api.rs +src/apis/beamo_otel_api.rs src/apis/configuration.rs +src/apis/customer_api.rs src/apis/default_api.rs src/apis/lobby_api.rs src/apis/mailbox_api.rs @@ -713,6 +762,7 @@ src/apis/player_presence_api.rs src/apis/player_ticket_api.rs src/apis/presence_api.rs src/apis/scheduler_api.rs +src/apis/service_plan_api.rs src/apis/ticket_api.rs src/lib.rs src/models/accept_multiple_attachments.rs @@ -727,13 +777,13 @@ src/models/account_roles_report.rs src/models/account_search_response.rs src/models/account_update.rs src/models/activation_request.rs +src/models/activation_status.rs src/models/active_listing_response.rs src/models/add_tags.rs src/models/admin_get_player_status_request.rs src/models/admin_get_player_status_response.rs src/models/admin_player_status.rs src/models/alias_available_request.rs -src/models/alias_available_response.rs src/models/announcement_attachment.rs src/models/announcement_content.rs src/models/announcement_content_response.rs @@ -767,7 +817,6 @@ src/models/beamo_basic_manifest_checksum.rs src/models/beamo_basic_manifest_checksums.rs src/models/beamo_basic_reference.rs src/models/beamo_basic_url_response.rs -src/models/beamo_limits.rs src/models/beamo_v2_connection_string_response.rs src/models/beamo_v2_data_point.rs src/models/beamo_v2_database_measurement.rs @@ -861,6 +910,8 @@ src/models/content_reference.rs src/models/content_type.rs src/models/content_visibility.rs src/models/cooldown_modifier_request.rs +src/models/create_account_with_creds_api_response.rs +src/models/create_account_with_creds_request.rs src/models/create_donation_request.rs src/models/create_elevated_account_request.rs src/models/create_federated_game_server.rs @@ -869,8 +920,10 @@ src/models/create_lobby.rs src/models/create_party.rs src/models/create_plan_request.rs src/models/create_project_request.rs +src/models/create_realm_request.rs src/models/create_room_request.rs src/models/create_room_response.rs +src/models/create_service_plan_request.rs src/models/create_trial_rest_request.rs src/models/cron_trigger.rs src/models/currency.rs @@ -882,12 +935,23 @@ src/models/currency_preview.rs src/models/currency_property.rs src/models/currency_view.rs src/models/custom_cohort_rule.rs -src/models/customer.rs +src/models/customer_actor_alias_available_response.rs +src/models/customer_actor_customer.rs +src/models/customer_actor_customer_view.rs +src/models/customer_actor_customers_response.rs +src/models/customer_actor_html_response.rs +src/models/customer_actor_new_customer_request.rs +src/models/customer_actor_new_customer_response.rs +src/models/customer_actor_promote_realm_request.rs +src/models/customer_actor_promote_realm_response.rs +src/models/customer_actor_promotion_scope.rs +src/models/customer_actor_realm_config_response.rs +src/models/customer_actor_realm_config_save_request.rs +src/models/customer_actor_realm_configuration.rs +src/models/customer_actor_update_game_hierarchy_request.rs +src/models/customer_actor_web_socket_configuration.rs src/models/customer_response.rs -src/models/customer_view.rs src/models/customer_view_response.rs -src/models/customers_response.rs -src/models/data_domain.rs src/models/data_point.rs src/models/database_measurement.rs src/models/database_measurements.rs @@ -972,6 +1036,7 @@ src/models/get_elastic_container_registry_uri.rs src/models/get_exact_manifest_request.rs src/models/get_game_request.rs src/models/get_game_response.rs +src/models/get_games_response.rs src/models/get_group_status_request.rs src/models/get_group_status_response.rs src/models/get_groups_request.rs @@ -982,6 +1047,8 @@ src/models/get_logs_insight_url_request.rs src/models/get_logs_url_header.rs src/models/get_logs_url_request.rs src/models/get_mail_details_request.rs +src/models/get_manifest_diffs_request.rs +src/models/get_manifest_diffs_response.rs src/models/get_manifest_history_request.rs src/models/get_manifest_history_response.rs src/models/get_manifest_request_json.rs @@ -1037,7 +1104,6 @@ src/models/group_update.rs src/models/group_user.rs src/models/group_user_member.rs src/models/guest_auth_request.rs -src/models/html_response.rs src/models/http_call.rs src/models/import_friends_request.rs src/models/in_flight_failure.rs @@ -1139,6 +1205,7 @@ src/models/mail_success_response.rs src/models/mail_template.rs src/models/make_donation_request.rs src/models/make_friendship_request.rs +src/models/manifest_diff_summary.rs src/models/manifest_summary.rs src/models/manifest_view.rs src/models/match_making_matches_pvp_response.rs @@ -1159,12 +1226,11 @@ src/models/mod.rs src/models/model_match.rs src/models/multipliers_get_response.rs src/models/my_mail_update.rs -src/models/new_customer_request.rs -src/models/new_customer_response.rs src/models/new_game_request.rs src/models/new_item_reward.rs src/models/notification_request.rs src/models/notification_request_data.rs +src/models/object_id.rs src/models/object_metadata_response.rs src/models/object_request.rs src/models/object_requests.rs @@ -1179,6 +1245,9 @@ 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/otel_auth_config.rs +src/models/otel_view.rs +src/models/otel_views_response.rs src/models/pa_namespace.rs src/models/pa_slow_query.rs src/models/pa_suggested_index.rs @@ -1193,6 +1262,7 @@ src/models/payment_audit_entry_view_model.rs src/models/payment_details_entry_view_model.rs src/models/payment_history_entry_view_model.rs src/models/payment_result_response.rs +src/models/payment_status.rs src/models/payment_total.rs src/models/performance_response.rs src/models/period.rs @@ -1220,12 +1290,10 @@ src/models/product_view.rs src/models/project.rs src/models/project_view.rs src/models/promotable.rs +src/models/promotable_type.rs src/models/promote_new_leader.rs -src/models/promote_realm_request.rs -src/models/promote_realm_response.rs src/models/promote_realm_response_old.rs src/models/promotion.rs -src/models/promotion_scope.rs src/models/publish_message.rs src/models/pull_all_manifests_request.rs src/models/pull_beamo_manifest_request.rs @@ -1235,15 +1303,34 @@ src/models/put_localizations_request.rs src/models/query.rs src/models/rank_entry.rs src/models/rank_entry_stat.rs +src/models/realm.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 src/models/realm_promotion.rs src/models/realm_roles_report.rs +src/models/realm_view.rs src/models/realms_basic_account.rs -src/models/redis_shard.rs -src/models/redis_shard_request.rs +src/models/realms_basic_alias_available_response.rs +src/models/realms_basic_beamo_limits.rs +src/models/realms_basic_customer.rs +src/models/realms_basic_customer_view.rs +src/models/realms_basic_customers_response.rs +src/models/realms_basic_data_domain.rs +src/models/realms_basic_html_response.rs +src/models/realms_basic_new_customer_request.rs +src/models/realms_basic_new_customer_response.rs +src/models/realms_basic_promote_realm_request.rs +src/models/realms_basic_promote_realm_response.rs +src/models/realms_basic_promotion_scope.rs +src/models/realms_basic_realm_config_response.rs +src/models/realms_basic_realm_config_save_request.rs +src/models/realms_basic_realm_configuration.rs +src/models/realms_basic_redis_shard.rs +src/models/realms_basic_redis_shard_request.rs +src/models/realms_basic_service_limits.rs +src/models/realms_basic_service_plan.rs +src/models/realms_basic_service_plans_response.rs +src/models/realms_basic_update_game_hierarchy_request.rs +src/models/realms_basic_web_socket_configuration.rs src/models/reference_superset.rs src/models/refresh_token_auth_request.rs src/models/register_req.rs @@ -1251,6 +1338,7 @@ src/models/remove_from_lobby.rs src/models/remove_launch_message_request.rs src/models/remove_tags.rs src/models/rename_project_request.rs +src/models/rename_realm_request.rs src/models/repeat_manifest_request.rs src/models/replace_objects_request.rs src/models/report_purchase_request.rs @@ -1273,6 +1361,7 @@ src/models/save_content_request.rs src/models/save_content_response.rs src/models/save_game_data_response.rs src/models/save_manifest_request.rs +src/models/save_manifest_response.rs src/models/save_skus_request.rs src/models/save_text_request.rs src/models/save_text_response.rs @@ -1300,9 +1389,12 @@ src/models/service_call.rs src/models/service_component.rs src/models/service_dependency_reference.rs src/models/service_image_layers.rs -src/models/service_limits.rs -src/models/service_plan.rs -src/models/service_plans_response.rs +src/models/service_plan_actor_data_domain.rs +src/models/service_plan_actor_redis_shard.rs +src/models/service_plan_actor_redis_shard_request.rs +src/models/service_plan_actor_service_limits.rs +src/models/service_plan_actor_service_plan.rs +src/models/service_plan_actor_service_plans_response.rs src/models/service_reference.rs src/models/service_route.rs src/models/service_status.rs @@ -1317,6 +1409,8 @@ src/models/session_history_response.rs src/models/session_language_context.rs src/models/session_user.rs src/models/set_content_request.rs +src/models/set_customer_alias_request.rs +src/models/set_lobby_response.rs src/models/set_presence_status_request.rs src/models/sku.rs src/models/sku_definitions.rs @@ -1373,11 +1467,12 @@ src/models/trial.rs src/models/trial_custom_rule.rs src/models/trial_success_response.rs src/models/unarchive_project_request.rs +src/models/update_customer_request.rs src/models/update_data.rs -src/models/update_game_hierarchy_request.rs src/models/update_listing_cooldown_request.rs src/models/update_lobby.rs src/models/update_mail_request.rs +src/models/update_otel_view_request.rs src/models/update_party.rs src/models/update_player_status_request.rs src/models/update_role.rs @@ -1391,7 +1486,6 @@ src/models/urls_response.rs src/models/variable_reference.rs src/models/verify_purchase_request.rs src/models/vip_bonus.rs -src/models/web_socket_configuration.rs src/models/webhook_comet.rs src/models/webhook_invocation_strategy.rs src/models/webhook_invocation_type.rs diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index e465da4..5e52829 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.14.0 +7.16.0-SNAPSHOT diff --git a/Cargo.toml b/Cargo.toml index 5257544..fb41a8d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,3 +14,8 @@ serde_repr = "^0.1" url = "^2.5" uuid = { version = "^1.8", features = ["serde", "v4"] } reqwest = { version = "^0.12", default-features = false, features = ["json", "multipart"] } + +[features] +default = ["native-tls"] +native-tls = ["reqwest/native-tls"] +rustls-tls = ["reqwest/rustls-tls"] diff --git a/README.md b/README.md index ce8a595..da2a3e7 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat - API version: 1.0 - Package version: 0.1.0 -- Generator version: 7.14.0 +- Generator version: 7.16.0-SNAPSHOT - Build package: `org.openapitools.codegen.languages.RustClientCodegen` ## Installation @@ -52,6 +52,35 @@ Class | Method | HTTP request | Description *BeamoApi* | [**api_beamo_storage_connection_get**](docs/BeamoApi.md#api_beamo_storage_connection_get) | **GET** /api/beamo/storage/connection | *BeamoApi* | [**api_beamo_storage_storage_object_name_performance_get**](docs/BeamoApi.md#api_beamo_storage_storage_object_name_performance_get) | **GET** /api/beamo/storage/{storageObjectName}/performance | *BeamoApi* | [**api_beamo_templates_get**](docs/BeamoApi.md#api_beamo_templates_get) | **GET** /api/beamo/templates | +*BeamoOtelApi* | [**api_beamo_otel_auth_reader_config_get**](docs/BeamoOtelApi.md#api_beamo_otel_auth_reader_config_get) | **GET** /api/beamo/otel/auth/reader/config | +*BeamoOtelApi* | [**api_beamo_otel_auth_writer_config_get**](docs/BeamoOtelApi.md#api_beamo_otel_auth_writer_config_get) | **GET** /api/beamo/otel/auth/writer/config | +*BeamoOtelApi* | [**api_beamo_otel_views_get**](docs/BeamoOtelApi.md#api_beamo_otel_views_get) | **GET** /api/beamo/otel/views | +*BeamoOtelApi* | [**api_beamo_otel_views_post**](docs/BeamoOtelApi.md#api_beamo_otel_views_post) | **POST** /api/beamo/otel/views | +*BeamoOtelApi* | [**api_beamo_otel_views_view_id_delete**](docs/BeamoOtelApi.md#api_beamo_otel_views_view_id_delete) | **DELETE** /api/beamo/otel/views/{viewId} | +*BeamoOtelApi* | [**api_beamo_otel_views_view_id_put**](docs/BeamoOtelApi.md#api_beamo_otel_views_view_id_put) | **PUT** /api/beamo/otel/views/{viewId} | +*CustomerApi* | [**api_customers_activate_put**](docs/CustomerApi.md#api_customers_activate_put) | **PUT** /api/customers/activate | +*CustomerApi* | [**api_customers_aliases_alias_get**](docs/CustomerApi.md#api_customers_aliases_alias_get) | **GET** /api/customers/aliases/{alias} | +*CustomerApi* | [**api_customers_customer_id_alias_put**](docs/CustomerApi.md#api_customers_customer_id_alias_put) | **PUT** /api/customers/{customerId}/alias | +*CustomerApi* | [**api_customers_customer_id_games_game_id_get**](docs/CustomerApi.md#api_customers_customer_id_games_game_id_get) | **GET** /api/customers/{customerId}/games/{gameId} | +*CustomerApi* | [**api_customers_customer_id_games_game_id_put**](docs/CustomerApi.md#api_customers_customer_id_games_game_id_put) | **PUT** /api/customers/{customerId}/games/{gameId} | +*CustomerApi* | [**api_customers_customer_id_games_get**](docs/CustomerApi.md#api_customers_customer_id_games_get) | **GET** /api/customers/{customerId}/games | +*CustomerApi* | [**api_customers_customer_id_games_post**](docs/CustomerApi.md#api_customers_customer_id_games_post) | **POST** /api/customers/{customerId}/games | +*CustomerApi* | [**api_customers_customer_id_get**](docs/CustomerApi.md#api_customers_customer_id_get) | **GET** /api/customers/{customerId} | +*CustomerApi* | [**api_customers_customer_id_put**](docs/CustomerApi.md#api_customers_customer_id_put) | **PUT** /api/customers/{customerId} | +*CustomerApi* | [**api_customers_customer_id_realms_destination_realm_id_promotion_get**](docs/CustomerApi.md#api_customers_customer_id_realms_destination_realm_id_promotion_get) | **GET** /api/customers/{customerId}/realms/{destinationRealmId}/promotion | +*CustomerApi* | [**api_customers_customer_id_realms_destination_realm_id_promotion_post**](docs/CustomerApi.md#api_customers_customer_id_realms_destination_realm_id_promotion_post) | **POST** /api/customers/{customerId}/realms/{destinationRealmId}/promotion | +*CustomerApi* | [**api_customers_customer_id_realms_post**](docs/CustomerApi.md#api_customers_customer_id_realms_post) | **POST** /api/customers/{customerId}/realms | +*CustomerApi* | [**api_customers_customer_id_realms_realm_id_client_defaults_get**](docs/CustomerApi.md#api_customers_customer_id_realms_realm_id_client_defaults_get) | **GET** /api/customers/{customerId}/realms/{realmId}/client-defaults | +*CustomerApi* | [**api_customers_customer_id_realms_realm_id_config_get**](docs/CustomerApi.md#api_customers_customer_id_realms_realm_id_config_get) | **GET** /api/customers/{customerId}/realms/{realmId}/config | +*CustomerApi* | [**api_customers_customer_id_realms_realm_id_config_patch**](docs/CustomerApi.md#api_customers_customer_id_realms_realm_id_config_patch) | **PATCH** /api/customers/{customerId}/realms/{realmId}/config | +*CustomerApi* | [**api_customers_customer_id_realms_realm_id_config_put**](docs/CustomerApi.md#api_customers_customer_id_realms_realm_id_config_put) | **PUT** /api/customers/{customerId}/realms/{realmId}/config | +*CustomerApi* | [**api_customers_customer_id_realms_realm_id_delete**](docs/CustomerApi.md#api_customers_customer_id_realms_realm_id_delete) | **DELETE** /api/customers/{customerId}/realms/{realmId} | +*CustomerApi* | [**api_customers_customer_id_realms_realm_id_get**](docs/CustomerApi.md#api_customers_customer_id_realms_realm_id_get) | **GET** /api/customers/{customerId}/realms/{realmId} | +*CustomerApi* | [**api_customers_customer_id_realms_realm_id_put**](docs/CustomerApi.md#api_customers_customer_id_realms_realm_id_put) | **PUT** /api/customers/{customerId}/realms/{realmId} | +*CustomerApi* | [**api_customers_customer_id_realms_realm_id_rename_put**](docs/CustomerApi.md#api_customers_customer_id_realms_realm_id_rename_put) | **PUT** /api/customers/{customerId}/realms/{realmId}/rename | +*CustomerApi* | [**api_customers_get**](docs/CustomerApi.md#api_customers_get) | **GET** /api/customers | +*CustomerApi* | [**api_customers_post**](docs/CustomerApi.md#api_customers_post) | **POST** /api/customers | +*CustomerApi* | [**api_customers_verify_post**](docs/CustomerApi.md#api_customers_verify_post) | **POST** /api/customers/verify | *DefaultApi* | [**basic_accounts_admin_admin_user_post**](docs/DefaultApi.md#basic_accounts_admin_admin_user_post) | **POST** /basic/accounts/admin/admin-user | *DefaultApi* | [**basic_accounts_admin_admin_users_get**](docs/DefaultApi.md#basic_accounts_admin_admin_users_get) | **GET** /basic/accounts/admin/admin-users | *DefaultApi* | [**basic_accounts_admin_me_get**](docs/DefaultApi.md#basic_accounts_admin_me_get) | **GET** /basic/accounts/admin/me | @@ -73,6 +102,7 @@ Class | Method | HTTP request | Description *DefaultApi* | [**basic_accounts_password_update_init_post**](docs/DefaultApi.md#basic_accounts_password_update_init_post) | **POST** /basic/accounts/password-update/init | *DefaultApi* | [**basic_accounts_register_post**](docs/DefaultApi.md#basic_accounts_register_post) | **POST** /basic/accounts/register | *DefaultApi* | [**basic_accounts_search_get**](docs/DefaultApi.md#basic_accounts_search_get) | **GET** /basic/accounts/search | +*DefaultApi* | [**basic_accounts_signup_post**](docs/DefaultApi.md#basic_accounts_signup_post) | **POST** /basic/accounts/signup | *DefaultApi* | [**basic_announcements_content_get**](docs/DefaultApi.md#basic_announcements_content_get) | **GET** /basic/announcements/content | *DefaultApi* | [**basic_announcements_delete**](docs/DefaultApi.md#basic_announcements_delete) | **DELETE** /basic/announcements/ | *DefaultApi* | [**basic_announcements_list_definitions_get**](docs/DefaultApi.md#basic_announcements_list_definitions_get) | **GET** /basic/announcements/list/definitions | @@ -129,6 +159,7 @@ Class | Method | HTTP request | Description *DefaultApi* | [**basic_content_localizations_put**](docs/DefaultApi.md#basic_content_localizations_put) | **PUT** /basic/content/localizations | *DefaultApi* | [**basic_content_manifest_checksum_get**](docs/DefaultApi.md#basic_content_manifest_checksum_get) | **GET** /basic/content/manifest/checksum | *DefaultApi* | [**basic_content_manifest_checksums_get**](docs/DefaultApi.md#basic_content_manifest_checksums_get) | **GET** /basic/content/manifest/checksums | +*DefaultApi* | [**basic_content_manifest_diffs_get**](docs/DefaultApi.md#basic_content_manifest_diffs_get) | **GET** /basic/content/manifest/diffs | *DefaultApi* | [**basic_content_manifest_exact_get**](docs/DefaultApi.md#basic_content_manifest_exact_get) | **GET** /basic/content/manifest/exact | *DefaultApi* | [**basic_content_manifest_get**](docs/DefaultApi.md#basic_content_manifest_get) | **GET** /basic/content/manifest | *DefaultApi* | [**basic_content_manifest_history_get**](docs/DefaultApi.md#basic_content_manifest_history_get) | **GET** /basic/content/manifest/history | @@ -414,6 +445,7 @@ Class | Method | HTTP request | Description *LobbyApi* | [**api_lobbies_id_tags_put**](docs/LobbyApi.md#api_lobbies_id_tags_put) | **PUT** /api/lobbies/{id}/tags | *LobbyApi* | [**api_lobbies_passcode_put**](docs/LobbyApi.md#api_lobbies_passcode_put) | **PUT** /api/lobbies/passcode | *LobbyApi* | [**api_lobbies_post**](docs/LobbyApi.md#api_lobbies_post) | **POST** /api/lobbies | +*LobbyApi* | [**api_lobbies_put**](docs/LobbyApi.md#api_lobbies_put) | **PUT** /api/lobbies | *MailboxApi* | [**api_mailbox_publish_post**](docs/MailboxApi.md#api_mailbox_publish_post) | **POST** /api/mailbox/publish | *MatchApi* | [**api_matchmaking_matches_id_get**](docs/MatchApi.md#api_matchmaking_matches_id_get) | **GET** /api/matchmaking/matches/{id} | *PartyApi* | [**api_parties_id_get**](docs/PartyApi.md#api_parties_id_get) | **GET** /api/parties/{id} | @@ -448,6 +480,10 @@ Class | Method | HTTP request | Description *SchedulerApi* | [**api_scheduler_jobs_get**](docs/SchedulerApi.md#api_scheduler_jobs_get) | **GET** /api/scheduler/jobs | *SchedulerApi* | [**api_scheduler_jobs_paged_get**](docs/SchedulerApi.md#api_scheduler_jobs_paged_get) | **GET** /api/scheduler/jobs-paged | *SchedulerApi* | [**api_scheduler_jobs_suspended_get**](docs/SchedulerApi.md#api_scheduler_jobs_suspended_get) | **GET** /api/scheduler/jobs/suspended | +*ServicePlanApi* | [**api_service_plans_get**](docs/ServicePlanApi.md#api_service_plans_get) | **GET** /api/service-plans | +*ServicePlanApi* | [**api_service_plans_name_delete**](docs/ServicePlanApi.md#api_service_plans_name_delete) | **DELETE** /api/service-plans/{name} | +*ServicePlanApi* | [**api_service_plans_name_get**](docs/ServicePlanApi.md#api_service_plans_name_get) | **GET** /api/service-plans/{name} | +*ServicePlanApi* | [**api_service_plans_post**](docs/ServicePlanApi.md#api_service_plans_post) | **POST** /api/service-plans | *TicketApi* | [**api_matchmaking_tickets_get**](docs/TicketApi.md#api_matchmaking_tickets_get) | **GET** /api/matchmaking/tickets | *TicketApi* | [**api_matchmaking_tickets_id_delete**](docs/TicketApi.md#api_matchmaking_tickets_id_delete) | **DELETE** /api/matchmaking/tickets/{id} | *TicketApi* | [**api_matchmaking_tickets_id_get**](docs/TicketApi.md#api_matchmaking_tickets_id_get) | **GET** /api/matchmaking/tickets/{id} | @@ -468,13 +504,13 @@ Class | Method | HTTP request | Description - [AccountSearchResponse](docs/AccountSearchResponse.md) - [AccountUpdate](docs/AccountUpdate.md) - [ActivationRequest](docs/ActivationRequest.md) + - [ActivationStatus](docs/ActivationStatus.md) - [ActiveListingResponse](docs/ActiveListingResponse.md) - [AddTags](docs/AddTags.md) - [AdminGetPlayerStatusRequest](docs/AdminGetPlayerStatusRequest.md) - [AdminGetPlayerStatusResponse](docs/AdminGetPlayerStatusResponse.md) - [AdminPlayerStatus](docs/AdminPlayerStatus.md) - [AliasAvailableRequest](docs/AliasAvailableRequest.md) - - [AliasAvailableResponse](docs/AliasAvailableResponse.md) - [AnnouncementAttachment](docs/AnnouncementAttachment.md) - [AnnouncementContent](docs/AnnouncementContent.md) - [AnnouncementContentResponse](docs/AnnouncementContentResponse.md) @@ -508,7 +544,6 @@ Class | Method | HTTP request | Description - [BeamoBasicManifestChecksums](docs/BeamoBasicManifestChecksums.md) - [BeamoBasicReference](docs/BeamoBasicReference.md) - [BeamoBasicUrlResponse](docs/BeamoBasicUrlResponse.md) - - [BeamoLimits](docs/BeamoLimits.md) - [BeamoV2ConnectionStringResponse](docs/BeamoV2ConnectionStringResponse.md) - [BeamoV2DataPoint](docs/BeamoV2DataPoint.md) - [BeamoV2DatabaseMeasurement](docs/BeamoV2DatabaseMeasurement.md) @@ -602,6 +637,8 @@ Class | Method | HTTP request | Description - [ContentType](docs/ContentType.md) - [ContentVisibility](docs/ContentVisibility.md) - [CooldownModifierRequest](docs/CooldownModifierRequest.md) + - [CreateAccountWithCredsApiResponse](docs/CreateAccountWithCredsApiResponse.md) + - [CreateAccountWithCredsRequest](docs/CreateAccountWithCredsRequest.md) - [CreateDonationRequest](docs/CreateDonationRequest.md) - [CreateElevatedAccountRequest](docs/CreateElevatedAccountRequest.md) - [CreateFederatedGameServer](docs/CreateFederatedGameServer.md) @@ -610,8 +647,10 @@ Class | Method | HTTP request | Description - [CreateParty](docs/CreateParty.md) - [CreatePlanRequest](docs/CreatePlanRequest.md) - [CreateProjectRequest](docs/CreateProjectRequest.md) + - [CreateRealmRequest](docs/CreateRealmRequest.md) - [CreateRoomRequest](docs/CreateRoomRequest.md) - [CreateRoomResponse](docs/CreateRoomResponse.md) + - [CreateServicePlanRequest](docs/CreateServicePlanRequest.md) - [CreateTrialRestRequest](docs/CreateTrialRestRequest.md) - [CronTrigger](docs/CronTrigger.md) - [Currency](docs/Currency.md) @@ -623,12 +662,23 @@ Class | Method | HTTP request | Description - [CurrencyProperty](docs/CurrencyProperty.md) - [CurrencyView](docs/CurrencyView.md) - [CustomCohortRule](docs/CustomCohortRule.md) - - [Customer](docs/Customer.md) + - [CustomerActorAliasAvailableResponse](docs/CustomerActorAliasAvailableResponse.md) + - [CustomerActorCustomer](docs/CustomerActorCustomer.md) + - [CustomerActorCustomerView](docs/CustomerActorCustomerView.md) + - [CustomerActorCustomersResponse](docs/CustomerActorCustomersResponse.md) + - [CustomerActorHtmlResponse](docs/CustomerActorHtmlResponse.md) + - [CustomerActorNewCustomerRequest](docs/CustomerActorNewCustomerRequest.md) + - [CustomerActorNewCustomerResponse](docs/CustomerActorNewCustomerResponse.md) + - [CustomerActorPromoteRealmRequest](docs/CustomerActorPromoteRealmRequest.md) + - [CustomerActorPromoteRealmResponse](docs/CustomerActorPromoteRealmResponse.md) + - [CustomerActorPromotionScope](docs/CustomerActorPromotionScope.md) + - [CustomerActorRealmConfigResponse](docs/CustomerActorRealmConfigResponse.md) + - [CustomerActorRealmConfigSaveRequest](docs/CustomerActorRealmConfigSaveRequest.md) + - [CustomerActorRealmConfiguration](docs/CustomerActorRealmConfiguration.md) + - [CustomerActorUpdateGameHierarchyRequest](docs/CustomerActorUpdateGameHierarchyRequest.md) + - [CustomerActorWebSocketConfiguration](docs/CustomerActorWebSocketConfiguration.md) - [CustomerResponse](docs/CustomerResponse.md) - - [CustomerView](docs/CustomerView.md) - [CustomerViewResponse](docs/CustomerViewResponse.md) - - [CustomersResponse](docs/CustomersResponse.md) - - [DataDomain](docs/DataDomain.md) - [DataPoint](docs/DataPoint.md) - [DatabaseMeasurement](docs/DatabaseMeasurement.md) - [DatabaseMeasurements](docs/DatabaseMeasurements.md) @@ -713,6 +763,7 @@ Class | Method | HTTP request | Description - [GetExactManifestRequest](docs/GetExactManifestRequest.md) - [GetGameRequest](docs/GetGameRequest.md) - [GetGameResponse](docs/GetGameResponse.md) + - [GetGamesResponse](docs/GetGamesResponse.md) - [GetGroupStatusRequest](docs/GetGroupStatusRequest.md) - [GetGroupStatusResponse](docs/GetGroupStatusResponse.md) - [GetGroupsRequest](docs/GetGroupsRequest.md) @@ -723,6 +774,8 @@ Class | Method | HTTP request | Description - [GetLogsUrlHeader](docs/GetLogsUrlHeader.md) - [GetLogsUrlRequest](docs/GetLogsUrlRequest.md) - [GetMailDetailsRequest](docs/GetMailDetailsRequest.md) + - [GetManifestDiffsRequest](docs/GetManifestDiffsRequest.md) + - [GetManifestDiffsResponse](docs/GetManifestDiffsResponse.md) - [GetManifestHistoryRequest](docs/GetManifestHistoryRequest.md) - [GetManifestHistoryResponse](docs/GetManifestHistoryResponse.md) - [GetManifestRequestJson](docs/GetManifestRequestJson.md) @@ -778,7 +831,6 @@ Class | Method | HTTP request | Description - [GroupUser](docs/GroupUser.md) - [GroupUserMember](docs/GroupUserMember.md) - [GuestAuthRequest](docs/GuestAuthRequest.md) - - [HtmlResponse](docs/HtmlResponse.md) - [HttpCall](docs/HttpCall.md) - [ImportFriendsRequest](docs/ImportFriendsRequest.md) - [InFlightFailure](docs/InFlightFailure.md) @@ -880,6 +932,7 @@ Class | Method | HTTP request | Description - [MailTemplate](docs/MailTemplate.md) - [MakeDonationRequest](docs/MakeDonationRequest.md) - [MakeFriendshipRequest](docs/MakeFriendshipRequest.md) + - [ManifestDiffSummary](docs/ManifestDiffSummary.md) - [ManifestSummary](docs/ManifestSummary.md) - [ManifestView](docs/ManifestView.md) - [Match](docs/Match.md) @@ -899,12 +952,11 @@ Class | Method | HTTP request | Description - [MicroserviceSecretResponse](docs/MicroserviceSecretResponse.md) - [MultipliersGetResponse](docs/MultipliersGetResponse.md) - [MyMailUpdate](docs/MyMailUpdate.md) - - [NewCustomerRequest](docs/NewCustomerRequest.md) - - [NewCustomerResponse](docs/NewCustomerResponse.md) - [NewGameRequest](docs/NewGameRequest.md) - [NewItemReward](docs/NewItemReward.md) - [NotificationRequest](docs/NotificationRequest.md) - [NotificationRequestData](docs/NotificationRequestData.md) + - [ObjectId](docs/ObjectId.md) - [ObjectMetadataResponse](docs/ObjectMetadataResponse.md) - [ObjectRequest](docs/ObjectRequest.md) - [ObjectRequests](docs/ObjectRequests.md) @@ -919,6 +971,9 @@ Class | Method | HTTP request | Description - [OptionalJsonNodeWrapper](docs/OptionalJsonNodeWrapper.md) - [OrderRule](docs/OrderRule.md) - [OrderRules](docs/OrderRules.md) + - [OtelAuthConfig](docs/OtelAuthConfig.md) + - [OtelView](docs/OtelView.md) + - [OtelViewsResponse](docs/OtelViewsResponse.md) - [PaNamespace](docs/PaNamespace.md) - [PaSlowQuery](docs/PaSlowQuery.md) - [PaSuggestedIndex](docs/PaSuggestedIndex.md) @@ -933,6 +988,7 @@ Class | Method | HTTP request | Description - [PaymentDetailsEntryViewModel](docs/PaymentDetailsEntryViewModel.md) - [PaymentHistoryEntryViewModel](docs/PaymentHistoryEntryViewModel.md) - [PaymentResultResponse](docs/PaymentResultResponse.md) + - [PaymentStatus](docs/PaymentStatus.md) - [PaymentTotal](docs/PaymentTotal.md) - [PerformanceResponse](docs/PerformanceResponse.md) - [Period](docs/Period.md) @@ -960,12 +1016,10 @@ Class | Method | HTTP request | Description - [Project](docs/Project.md) - [ProjectView](docs/ProjectView.md) - [Promotable](docs/Promotable.md) + - [PromotableType](docs/PromotableType.md) - [PromoteNewLeader](docs/PromoteNewLeader.md) - - [PromoteRealmRequest](docs/PromoteRealmRequest.md) - - [PromoteRealmResponse](docs/PromoteRealmResponse.md) - [PromoteRealmResponseOld](docs/PromoteRealmResponseOld.md) - [Promotion](docs/Promotion.md) - - [PromotionScope](docs/PromotionScope.md) - [PublishMessage](docs/PublishMessage.md) - [PullAllManifestsRequest](docs/PullAllManifestsRequest.md) - [PullBeamoManifestRequest](docs/PullBeamoManifestRequest.md) @@ -975,15 +1029,34 @@ Class | Method | HTTP request | Description - [Query](docs/Query.md) - [RankEntry](docs/RankEntry.md) - [RankEntryStat](docs/RankEntryStat.md) + - [Realm](docs/Realm.md) - [RealmConfigChangeRequest](docs/RealmConfigChangeRequest.md) - - [RealmConfigResponse](docs/RealmConfigResponse.md) - - [RealmConfigSaveRequest](docs/RealmConfigSaveRequest.md) - - [RealmConfiguration](docs/RealmConfiguration.md) - [RealmPromotion](docs/RealmPromotion.md) - [RealmRolesReport](docs/RealmRolesReport.md) + - [RealmView](docs/RealmView.md) - [RealmsBasicAccount](docs/RealmsBasicAccount.md) - - [RedisShard](docs/RedisShard.md) - - [RedisShardRequest](docs/RedisShardRequest.md) + - [RealmsBasicAliasAvailableResponse](docs/RealmsBasicAliasAvailableResponse.md) + - [RealmsBasicBeamoLimits](docs/RealmsBasicBeamoLimits.md) + - [RealmsBasicCustomer](docs/RealmsBasicCustomer.md) + - [RealmsBasicCustomerView](docs/RealmsBasicCustomerView.md) + - [RealmsBasicCustomersResponse](docs/RealmsBasicCustomersResponse.md) + - [RealmsBasicDataDomain](docs/RealmsBasicDataDomain.md) + - [RealmsBasicHtmlResponse](docs/RealmsBasicHtmlResponse.md) + - [RealmsBasicNewCustomerRequest](docs/RealmsBasicNewCustomerRequest.md) + - [RealmsBasicNewCustomerResponse](docs/RealmsBasicNewCustomerResponse.md) + - [RealmsBasicPromoteRealmRequest](docs/RealmsBasicPromoteRealmRequest.md) + - [RealmsBasicPromoteRealmResponse](docs/RealmsBasicPromoteRealmResponse.md) + - [RealmsBasicPromotionScope](docs/RealmsBasicPromotionScope.md) + - [RealmsBasicRealmConfigResponse](docs/RealmsBasicRealmConfigResponse.md) + - [RealmsBasicRealmConfigSaveRequest](docs/RealmsBasicRealmConfigSaveRequest.md) + - [RealmsBasicRealmConfiguration](docs/RealmsBasicRealmConfiguration.md) + - [RealmsBasicRedisShard](docs/RealmsBasicRedisShard.md) + - [RealmsBasicRedisShardRequest](docs/RealmsBasicRedisShardRequest.md) + - [RealmsBasicServiceLimits](docs/RealmsBasicServiceLimits.md) + - [RealmsBasicServicePlan](docs/RealmsBasicServicePlan.md) + - [RealmsBasicServicePlansResponse](docs/RealmsBasicServicePlansResponse.md) + - [RealmsBasicUpdateGameHierarchyRequest](docs/RealmsBasicUpdateGameHierarchyRequest.md) + - [RealmsBasicWebSocketConfiguration](docs/RealmsBasicWebSocketConfiguration.md) - [ReferenceSuperset](docs/ReferenceSuperset.md) - [RefreshTokenAuthRequest](docs/RefreshTokenAuthRequest.md) - [RegisterReq](docs/RegisterReq.md) @@ -991,6 +1064,7 @@ Class | Method | HTTP request | Description - [RemoveLaunchMessageRequest](docs/RemoveLaunchMessageRequest.md) - [RemoveTags](docs/RemoveTags.md) - [RenameProjectRequest](docs/RenameProjectRequest.md) + - [RenameRealmRequest](docs/RenameRealmRequest.md) - [RepeatManifestRequest](docs/RepeatManifestRequest.md) - [ReplaceObjectsRequest](docs/ReplaceObjectsRequest.md) - [ReportPurchaseRequest](docs/ReportPurchaseRequest.md) @@ -1013,6 +1087,7 @@ Class | Method | HTTP request | Description - [SaveContentResponse](docs/SaveContentResponse.md) - [SaveGameDataResponse](docs/SaveGameDataResponse.md) - [SaveManifestRequest](docs/SaveManifestRequest.md) + - [SaveManifestResponse](docs/SaveManifestResponse.md) - [SaveSkusRequest](docs/SaveSkusRequest.md) - [SaveTextRequest](docs/SaveTextRequest.md) - [SaveTextResponse](docs/SaveTextResponse.md) @@ -1040,9 +1115,12 @@ Class | Method | HTTP request | Description - [ServiceComponent](docs/ServiceComponent.md) - [ServiceDependencyReference](docs/ServiceDependencyReference.md) - [ServiceImageLayers](docs/ServiceImageLayers.md) - - [ServiceLimits](docs/ServiceLimits.md) - - [ServicePlan](docs/ServicePlan.md) - - [ServicePlansResponse](docs/ServicePlansResponse.md) + - [ServicePlanActorDataDomain](docs/ServicePlanActorDataDomain.md) + - [ServicePlanActorRedisShard](docs/ServicePlanActorRedisShard.md) + - [ServicePlanActorRedisShardRequest](docs/ServicePlanActorRedisShardRequest.md) + - [ServicePlanActorServiceLimits](docs/ServicePlanActorServiceLimits.md) + - [ServicePlanActorServicePlan](docs/ServicePlanActorServicePlan.md) + - [ServicePlanActorServicePlansResponse](docs/ServicePlanActorServicePlansResponse.md) - [ServiceReference](docs/ServiceReference.md) - [ServiceRoute](docs/ServiceRoute.md) - [ServiceStatus](docs/ServiceStatus.md) @@ -1057,6 +1135,8 @@ Class | Method | HTTP request | Description - [SessionLanguageContext](docs/SessionLanguageContext.md) - [SessionUser](docs/SessionUser.md) - [SetContentRequest](docs/SetContentRequest.md) + - [SetCustomerAliasRequest](docs/SetCustomerAliasRequest.md) + - [SetLobbyResponse](docs/SetLobbyResponse.md) - [SetPresenceStatusRequest](docs/SetPresenceStatusRequest.md) - [Sku](docs/Sku.md) - [SkuDefinitions](docs/SkuDefinitions.md) @@ -1113,11 +1193,12 @@ Class | Method | HTTP request | Description - [TrialCustomRule](docs/TrialCustomRule.md) - [TrialSuccessResponse](docs/TrialSuccessResponse.md) - [UnarchiveProjectRequest](docs/UnarchiveProjectRequest.md) + - [UpdateCustomerRequest](docs/UpdateCustomerRequest.md) - [UpdateData](docs/UpdateData.md) - - [UpdateGameHierarchyRequest](docs/UpdateGameHierarchyRequest.md) - [UpdateListingCooldownRequest](docs/UpdateListingCooldownRequest.md) - [UpdateLobby](docs/UpdateLobby.md) - [UpdateMailRequest](docs/UpdateMailRequest.md) + - [UpdateOtelViewRequest](docs/UpdateOtelViewRequest.md) - [UpdateParty](docs/UpdateParty.md) - [UpdatePlayerStatusRequest](docs/UpdatePlayerStatusRequest.md) - [UpdateRole](docs/UpdateRole.md) @@ -1131,7 +1212,6 @@ Class | Method | HTTP request | Description - [VariableReference](docs/VariableReference.md) - [VerifyPurchaseRequest](docs/VerifyPurchaseRequest.md) - [VipBonus](docs/VipBonus.md) - - [WebSocketConfiguration](docs/WebSocketConfiguration.md) - [WebhookComet](docs/WebhookComet.md) - [WebhookInvocationStrategy](docs/WebhookInvocationStrategy.md) - [WebhookInvocationType](docs/WebhookInvocationType.md) diff --git a/docs/ActivationStatus.md b/docs/ActivationStatus.md new file mode 100644 index 0000000..b415c93 --- /dev/null +++ b/docs/ActivationStatus.md @@ -0,0 +1,13 @@ +# ActivationStatus + +## Enum Variants + +| Name | Value | +|---- | -----| +| Pending | Pending | +| Activated | Activated | + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/BeamoOtelApi.md b/docs/BeamoOtelApi.md new file mode 100644 index 0000000..44ecfca --- /dev/null +++ b/docs/BeamoOtelApi.md @@ -0,0 +1,193 @@ +# \BeamoOtelApi + +All URIs are relative to *https://api.beamable.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**api_beamo_otel_auth_reader_config_get**](BeamoOtelApi.md#api_beamo_otel_auth_reader_config_get) | **GET** /api/beamo/otel/auth/reader/config | +[**api_beamo_otel_auth_writer_config_get**](BeamoOtelApi.md#api_beamo_otel_auth_writer_config_get) | **GET** /api/beamo/otel/auth/writer/config | +[**api_beamo_otel_views_get**](BeamoOtelApi.md#api_beamo_otel_views_get) | **GET** /api/beamo/otel/views | +[**api_beamo_otel_views_post**](BeamoOtelApi.md#api_beamo_otel_views_post) | **POST** /api/beamo/otel/views | +[**api_beamo_otel_views_view_id_delete**](BeamoOtelApi.md#api_beamo_otel_views_view_id_delete) | **DELETE** /api/beamo/otel/views/{viewId} | +[**api_beamo_otel_views_view_id_put**](BeamoOtelApi.md#api_beamo_otel_views_view_id_put) | **PUT** /api/beamo/otel/views/{viewId} | + + + +## api_beamo_otel_auth_reader_config_get + +> models::OtelAuthConfig api_beamo_otel_auth_reader_config_get(x_beam_scope, x_beam_gamertag) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | + +### Return type + +[**models::OtelAuthConfig**](OtelAuthConfig.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/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) + + +## api_beamo_otel_auth_writer_config_get + +> models::OtelAuthConfig api_beamo_otel_auth_writer_config_get(x_beam_scope, x_beam_gamertag) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | + +### Return type + +[**models::OtelAuthConfig**](OtelAuthConfig.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/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) + + +## api_beamo_otel_views_get + +> models::OtelViewsResponse api_beamo_otel_views_get(x_beam_scope, x_beam_gamertag, player_id) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | +**player_id** | Option<**String**> | | | + +### Return type + +[**models::OtelViewsResponse**](OtelViewsResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: text/plain, application/json, text/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) + + +## api_beamo_otel_views_post + +> models::OtelView api_beamo_otel_views_post(x_beam_scope, x_beam_gamertag, otel_view) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | +**otel_view** | Option<[**OtelView**](OtelView.md)> | | | + +### Return type + +[**models::OtelView**](OtelView.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: text/plain, application/json, text/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) + + +## api_beamo_otel_views_view_id_delete + +> serde_json::Value api_beamo_otel_views_view_id_delete(view_id, x_beam_scope, x_beam_gamertag) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**view_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | + +### Return type + +[**serde_json::Value**](serde_json::Value.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **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) + + +## api_beamo_otel_views_view_id_put + +> models::OtelView api_beamo_otel_views_view_id_put(view_id, x_beam_scope, x_beam_gamertag, update_otel_view_request) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**view_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | +**update_otel_view_request** | Option<[**UpdateOtelViewRequest**](UpdateOtelViewRequest.md)> | | | + +### Return type + +[**models::OtelView**](OtelView.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: text/plain, application/json, text/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) + diff --git a/docs/ClientContentInfo.md b/docs/ClientContentInfo.md index a27b633..8bf2c5e 100644 --- a/docs/ClientContentInfo.md +++ b/docs/ClientContentInfo.md @@ -4,10 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**updated_at** | Option<**i64**> | | [optional] **tags** | **Vec** | | **uri** | **String** | | **version** | **String** | | **checksum** | Option<**String**> | | [optional] +**created_at** | Option<**i64**> | | [optional] **content_id** | **String** | | **r#type** | [**models::ContentType**](ContentType.md) | | diff --git a/docs/ClientContentInfoJson.md b/docs/ClientContentInfoJson.md index ce0e70e..b092f87 100644 --- a/docs/ClientContentInfoJson.md +++ b/docs/ClientContentInfoJson.md @@ -4,10 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**updated_at** | Option<**i64**> | | [optional] **tags** | **Vec** | | **uri** | **String** | | **version** | **String** | | **checksum** | Option<**String**> | | [optional] +**created_at** | Option<**i64**> | | [optional] **content_id** | **String** | | **r#type** | [**models::ContentType**](ContentType.md) | | diff --git a/docs/ClientManifestJsonResponse.md b/docs/ClientManifestJsonResponse.md index f4a41ca..c488ba3 100644 --- a/docs/ClientManifestJsonResponse.md +++ b/docs/ClientManifestJsonResponse.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **uid** | Option<**String**> | | [optional] **entries** | [**Vec**](ClientContentInfoJson.md) | | **publisher_account_id** | Option<**i64**> | | [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) diff --git a/docs/ClientManifestResponse.md b/docs/ClientManifestResponse.md index 821ec25..b84dfa4 100644 --- a/docs/ClientManifestResponse.md +++ b/docs/ClientManifestResponse.md @@ -5,6 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **items** | [**Vec**](ClientContentInfo.md) | | +**created_at** | Option<**i64**> | | [optional] +**latest_update** | 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) diff --git a/docs/ContentBasicManifest.md b/docs/ContentBasicManifest.md index c38c2fe..3fdf1f5 100644 --- a/docs/ContentBasicManifest.md +++ b/docs/ContentBasicManifest.md @@ -5,10 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **archived** | Option<**bool**> | | [optional] +**diff_object_key** | Option<**String**> | | [optional] **references** | [**Vec**](ContentBasicManifest_references_inner.md) | | **publisher_account_id** | Option<**i64**> | | [optional] **id** | **String** | | **checksum** | **String** | | +**last_changed** | Option<**i64**> | | [optional] **uid** | Option<**String**> | | [optional] **created** | **i64** | | diff --git a/docs/CreateAccountWithCredsApiResponse.md b/docs/CreateAccountWithCredsApiResponse.md new file mode 100644 index 0000000..550ee94 --- /dev/null +++ b/docs/CreateAccountWithCredsApiResponse.md @@ -0,0 +1,13 @@ +# CreateAccountWithCredsApiResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**account** | Option<[**models::AccountPlayerView**](AccountPlayerView.md)> | | [optional] +**challenge_token** | Option<**String**> | | [optional] +**token** | Option<[**models::TokenResponse**](TokenResponse.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) + + diff --git a/docs/CreateAccountWithCredsRequest.md b/docs/CreateAccountWithCredsRequest.md new file mode 100644 index 0000000..ce635b5 --- /dev/null +++ b/docs/CreateAccountWithCredsRequest.md @@ -0,0 +1,17 @@ +# CreateAccountWithCredsRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**username** | Option<**String**> | | [optional] +**provider_namespace** | Option<**String**> | | [optional] +**challenge_solution** | Option<[**models::ChallengeSolution**](ChallengeSolution.md)> | | [optional] +**external_token** | Option<**String**> | | [optional] +**init_properties** | Option<**std::collections::HashMap**> | | [optional] +**provider_service** | Option<**String**> | | [optional] +**password** | 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) + + diff --git a/docs/CreatePlanRequest.md b/docs/CreatePlanRequest.md index acae6f3..1991fc8 100644 --- a/docs/CreatePlanRequest.md +++ b/docs/CreatePlanRequest.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **sharded** | **bool** | | **mongo_hosts** | **String** | | **message_bus_common** | Option<**Vec**> | | [optional] -**redis_shards** | [**Vec**](RedisShardRequest.md) | | +**redis_shards** | [**Vec**](RealmsBasicRedisShardRequest.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) diff --git a/docs/CreateRealmRequest.md b/docs/CreateRealmRequest.md new file mode 100644 index 0000000..f3baeb8 --- /dev/null +++ b/docs/CreateRealmRequest.md @@ -0,0 +1,14 @@ +# CreateRealmRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | | +**plan** | Option<**String**> | | [optional] +**sharded** | Option<**bool**> | | [optional] +**parent** | 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) + + diff --git a/docs/CreateServicePlanRequest.md b/docs/CreateServicePlanRequest.md new file mode 100644 index 0000000..6e4126e --- /dev/null +++ b/docs/CreateServicePlanRequest.md @@ -0,0 +1,18 @@ +# CreateServicePlanRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | | +**mongo_hosts** | Option<**String**> | | [optional] +**mongo_sharded** | Option<**bool**> | | [optional] +**mongo_tls** | Option<**bool**> | | [optional] +**redis_shards** | Option<[**Vec**](ServicePlanActorRedisShardRequest.md)> | | [optional] +**message_bus_analytics** | Option<**Vec**> | | [optional] +**message_bus_common** | Option<**Vec**> | | [optional] +**mongo_srv_address** | 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) + + diff --git a/docs/CustomerActorAliasAvailableResponse.md b/docs/CustomerActorAliasAvailableResponse.md new file mode 100644 index 0000000..ca81f30 --- /dev/null +++ b/docs/CustomerActorAliasAvailableResponse.md @@ -0,0 +1,13 @@ +# CustomerActorAliasAvailableResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**alias** | **String** | | +**available** | **bool** | | +**customer_id** | 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) + + diff --git a/docs/CustomerActorCustomer.md b/docs/CustomerActorCustomer.md new file mode 100644 index 0000000..368a974 --- /dev/null +++ b/docs/CustomerActorCustomer.md @@ -0,0 +1,19 @@ +# CustomerActorCustomer + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customer_id** | **i64** | | +**name** | **String** | | +**alias** | Option<**String**> | | [optional] +**realms** | Option<[**Vec**](Realm.md)> | | [optional] +**payment_status** | Option<[**models::PaymentStatus**](PaymentStatus.md)> | | [optional] +**activation_status** | Option<[**models::ActivationStatus**](ActivationStatus.md)> | | [optional] +**contact** | Option<**String**> | | [optional] +**created** | Option<**i64**> | | [optional] +**updated** | 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) + + diff --git a/docs/CustomerActorCustomerView.md b/docs/CustomerActorCustomerView.md new file mode 100644 index 0000000..fc1b8a8 --- /dev/null +++ b/docs/CustomerActorCustomerView.md @@ -0,0 +1,14 @@ +# CustomerActorCustomerView + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customer_id** | **String** | | +**name** | **String** | | +**alias** | Option<**String**> | | [optional] +**realms** | Option<[**Vec**](RealmView.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) + + diff --git a/docs/CustomerActorCustomersResponse.md b/docs/CustomerActorCustomersResponse.md new file mode 100644 index 0000000..c2dcb8f --- /dev/null +++ b/docs/CustomerActorCustomersResponse.md @@ -0,0 +1,11 @@ +# CustomerActorCustomersResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**customers** | Option<[**Vec**](CustomerActorCustomer.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) + + diff --git a/docs/CustomersResponse.md b/docs/CustomerActorHtmlResponse.md similarity index 77% rename from docs/CustomersResponse.md rename to docs/CustomerActorHtmlResponse.md index f04c33c..b5374e6 100644 --- a/docs/CustomersResponse.md +++ b/docs/CustomerActorHtmlResponse.md @@ -1,10 +1,10 @@ -# CustomersResponse +# CustomerActorHtmlResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**result** | [**Vec**](Customer.md) | | +**html** | 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) diff --git a/docs/CustomerActorNewCustomerRequest.md b/docs/CustomerActorNewCustomerRequest.md new file mode 100644 index 0000000..dd8b84f --- /dev/null +++ b/docs/CustomerActorNewCustomerRequest.md @@ -0,0 +1,16 @@ +# CustomerActorNewCustomerRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**realm_name** | **String** | | +**customer_name** | Option<**String**> | | [optional] +**email** | **String** | | +**password** | **String** | | +**hierarchy** | Option<**bool**> | | [optional] +**alias** | 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) + + diff --git a/docs/CustomerActorNewCustomerResponse.md b/docs/CustomerActorNewCustomerResponse.md new file mode 100644 index 0000000..54152d9 --- /dev/null +++ b/docs/CustomerActorNewCustomerResponse.md @@ -0,0 +1,17 @@ +# CustomerActorNewCustomerResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**token** | [**models::AuthResponse**](AuthResponse.md) | | +**customer_id** | **String** | | +**realm_id** | **String** | | +**name** | **String** | | +**alias** | Option<**String**> | | [optional] +**realm_name** | **String** | | +**activation_pending** | Option<**bool**> | | [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) + + diff --git a/docs/CustomerActorPromoteRealmRequest.md b/docs/CustomerActorPromoteRealmRequest.md new file mode 100644 index 0000000..7b4a0ce --- /dev/null +++ b/docs/CustomerActorPromoteRealmRequest.md @@ -0,0 +1,13 @@ +# CustomerActorPromoteRealmRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**source_realm_id** | **String** | | +**promotions** | Option<[**Vec**](PromotableType.md)> | | [optional] +**content_manifest_ids** | Option<**Vec**> | | [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) + + diff --git a/docs/CustomerActorPromoteRealmResponse.md b/docs/CustomerActorPromoteRealmResponse.md new file mode 100644 index 0000000..fe710a8 --- /dev/null +++ b/docs/CustomerActorPromoteRealmResponse.md @@ -0,0 +1,12 @@ +# CustomerActorPromoteRealmResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**source_realm_id** | **String** | | +**scopes** | Option<[**Vec**](CustomerActorPromotionScope.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) + + diff --git a/docs/CustomerActorPromotionScope.md b/docs/CustomerActorPromotionScope.md new file mode 100644 index 0000000..eff60b7 --- /dev/null +++ b/docs/CustomerActorPromotionScope.md @@ -0,0 +1,12 @@ +# CustomerActorPromotionScope + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | [**models::PromotableType**](PromotableType.md) | | +**promotions** | Option<[**Vec**](Promotion.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) + + diff --git a/docs/CustomerActorRealmConfigResponse.md b/docs/CustomerActorRealmConfigResponse.md new file mode 100644 index 0000000..f3d268f --- /dev/null +++ b/docs/CustomerActorRealmConfigResponse.md @@ -0,0 +1,11 @@ +# CustomerActorRealmConfigResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**config** | Option<**std::collections::HashMap**> | | [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) + + diff --git a/docs/CustomerActorRealmConfigSaveRequest.md b/docs/CustomerActorRealmConfigSaveRequest.md new file mode 100644 index 0000000..1b44270 --- /dev/null +++ b/docs/CustomerActorRealmConfigSaveRequest.md @@ -0,0 +1,11 @@ +# CustomerActorRealmConfigSaveRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**config** | Option<**std::collections::HashMap**> | | [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) + + diff --git a/docs/CustomerActorRealmConfiguration.md b/docs/CustomerActorRealmConfiguration.md new file mode 100644 index 0000000..6a9656b --- /dev/null +++ b/docs/CustomerActorRealmConfiguration.md @@ -0,0 +1,16 @@ +# CustomerActorRealmConfiguration + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**environment** | **String** | | +**websocket_config** | [**models::CustomerActorWebSocketConfiguration**](CustomerActorWebSocketConfiguration.md) | | +**microservice_uri** | **String** | | +**microservice_ecr_uri** | **String** | | +**portal_uri** | **String** | | +**storage_browser_uri** | **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) + + diff --git a/docs/CustomerActorUpdateGameHierarchyRequest.md b/docs/CustomerActorUpdateGameHierarchyRequest.md new file mode 100644 index 0000000..c30a542 --- /dev/null +++ b/docs/CustomerActorUpdateGameHierarchyRequest.md @@ -0,0 +1,11 @@ +# CustomerActorUpdateGameHierarchyRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**realms** | [**Vec**](RealmView.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) + + diff --git a/docs/CustomerActorWebSocketConfiguration.md b/docs/CustomerActorWebSocketConfiguration.md new file mode 100644 index 0000000..7e1db3a --- /dev/null +++ b/docs/CustomerActorWebSocketConfiguration.md @@ -0,0 +1,12 @@ +# CustomerActorWebSocketConfiguration + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**provider** | Option<**String**> | | [optional] +**uri** | 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) + + diff --git a/docs/CustomerApi.md b/docs/CustomerApi.md new file mode 100644 index 0000000..c8dcdf0 --- /dev/null +++ b/docs/CustomerApi.md @@ -0,0 +1,743 @@ +# \CustomerApi + +All URIs are relative to *https://api.beamable.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**api_customers_activate_put**](CustomerApi.md#api_customers_activate_put) | **PUT** /api/customers/activate | +[**api_customers_aliases_alias_get**](CustomerApi.md#api_customers_aliases_alias_get) | **GET** /api/customers/aliases/{alias} | +[**api_customers_customer_id_alias_put**](CustomerApi.md#api_customers_customer_id_alias_put) | **PUT** /api/customers/{customerId}/alias | +[**api_customers_customer_id_games_game_id_get**](CustomerApi.md#api_customers_customer_id_games_game_id_get) | **GET** /api/customers/{customerId}/games/{gameId} | +[**api_customers_customer_id_games_game_id_put**](CustomerApi.md#api_customers_customer_id_games_game_id_put) | **PUT** /api/customers/{customerId}/games/{gameId} | +[**api_customers_customer_id_games_get**](CustomerApi.md#api_customers_customer_id_games_get) | **GET** /api/customers/{customerId}/games | +[**api_customers_customer_id_games_post**](CustomerApi.md#api_customers_customer_id_games_post) | **POST** /api/customers/{customerId}/games | +[**api_customers_customer_id_get**](CustomerApi.md#api_customers_customer_id_get) | **GET** /api/customers/{customerId} | +[**api_customers_customer_id_put**](CustomerApi.md#api_customers_customer_id_put) | **PUT** /api/customers/{customerId} | +[**api_customers_customer_id_realms_destination_realm_id_promotion_get**](CustomerApi.md#api_customers_customer_id_realms_destination_realm_id_promotion_get) | **GET** /api/customers/{customerId}/realms/{destinationRealmId}/promotion | +[**api_customers_customer_id_realms_destination_realm_id_promotion_post**](CustomerApi.md#api_customers_customer_id_realms_destination_realm_id_promotion_post) | **POST** /api/customers/{customerId}/realms/{destinationRealmId}/promotion | +[**api_customers_customer_id_realms_post**](CustomerApi.md#api_customers_customer_id_realms_post) | **POST** /api/customers/{customerId}/realms | +[**api_customers_customer_id_realms_realm_id_client_defaults_get**](CustomerApi.md#api_customers_customer_id_realms_realm_id_client_defaults_get) | **GET** /api/customers/{customerId}/realms/{realmId}/client-defaults | +[**api_customers_customer_id_realms_realm_id_config_get**](CustomerApi.md#api_customers_customer_id_realms_realm_id_config_get) | **GET** /api/customers/{customerId}/realms/{realmId}/config | +[**api_customers_customer_id_realms_realm_id_config_patch**](CustomerApi.md#api_customers_customer_id_realms_realm_id_config_patch) | **PATCH** /api/customers/{customerId}/realms/{realmId}/config | +[**api_customers_customer_id_realms_realm_id_config_put**](CustomerApi.md#api_customers_customer_id_realms_realm_id_config_put) | **PUT** /api/customers/{customerId}/realms/{realmId}/config | +[**api_customers_customer_id_realms_realm_id_delete**](CustomerApi.md#api_customers_customer_id_realms_realm_id_delete) | **DELETE** /api/customers/{customerId}/realms/{realmId} | +[**api_customers_customer_id_realms_realm_id_get**](CustomerApi.md#api_customers_customer_id_realms_realm_id_get) | **GET** /api/customers/{customerId}/realms/{realmId} | +[**api_customers_customer_id_realms_realm_id_put**](CustomerApi.md#api_customers_customer_id_realms_realm_id_put) | **PUT** /api/customers/{customerId}/realms/{realmId} | +[**api_customers_customer_id_realms_realm_id_rename_put**](CustomerApi.md#api_customers_customer_id_realms_realm_id_rename_put) | **PUT** /api/customers/{customerId}/realms/{realmId}/rename | +[**api_customers_get**](CustomerApi.md#api_customers_get) | **GET** /api/customers | +[**api_customers_post**](CustomerApi.md#api_customers_post) | **POST** /api/customers | +[**api_customers_verify_post**](CustomerApi.md#api_customers_verify_post) | **POST** /api/customers/verify | + + + +## api_customers_activate_put + +> models::CustomerActorHtmlResponse api_customers_activate_put(x_beam_scope, x_beam_gamertag) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | + +### Return type + +[**models::CustomerActorHtmlResponse**](CustomerActorHtmlResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **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) + + +## api_customers_aliases_alias_get + +> models::CustomerActorAliasAvailableResponse api_customers_aliases_alias_get(alias, x_beam_scope, x_beam_gamertag) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**alias** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | + +### Return type + +[**models::CustomerActorAliasAvailableResponse**](CustomerActorAliasAvailableResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **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) + + +## api_customers_customer_id_alias_put + +> serde_json::Value api_customers_customer_id_alias_put(customer_id, x_beam_scope, x_beam_gamertag, set_customer_alias_request) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**customer_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | +**set_customer_alias_request** | Option<[**SetCustomerAliasRequest**](SetCustomerAliasRequest.md)> | | | + +### Return type + +[**serde_json::Value**](serde_json::Value.md) + +### Authorization + +No authorization required + +### 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) + + +## api_customers_customer_id_games_game_id_get + +> models::GetGamesResponse api_customers_customer_id_games_game_id_get(customer_id, game_id, x_beam_scope, x_beam_gamertag) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**customer_id** | **String** | | [required] | +**game_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | + +### Return type + +[**models::GetGamesResponse**](GetGamesResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **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) + + +## api_customers_customer_id_games_game_id_put + +> serde_json::Value api_customers_customer_id_games_game_id_put(customer_id, game_id, x_beam_scope, x_beam_gamertag, customer_actor_update_game_hierarchy_request) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**customer_id** | **String** | | [required] | +**game_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | +**customer_actor_update_game_hierarchy_request** | Option<[**CustomerActorUpdateGameHierarchyRequest**](CustomerActorUpdateGameHierarchyRequest.md)> | | | + +### Return type + +[**serde_json::Value**](serde_json::Value.md) + +### Authorization + +No authorization required + +### 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) + + +## api_customers_customer_id_games_get + +> models::GetGamesResponse api_customers_customer_id_games_get(customer_id, x_beam_scope, x_beam_gamertag) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**customer_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | + +### Return type + +[**models::GetGamesResponse**](GetGamesResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **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) + + +## api_customers_customer_id_games_post + +> models::RealmView api_customers_customer_id_games_post(customer_id, x_beam_scope, x_beam_gamertag, new_game_request) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**customer_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | +**new_game_request** | Option<[**NewGameRequest**](NewGameRequest.md)> | | | + +### Return type + +[**models::RealmView**](RealmView.md) + +### Authorization + +No authorization required + +### 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) + + +## api_customers_customer_id_get + +> models::CustomerActorCustomerView api_customers_customer_id_get(customer_id, x_beam_scope, x_beam_gamertag) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**customer_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | + +### Return type + +[**models::CustomerActorCustomerView**](CustomerActorCustomerView.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **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) + + +## api_customers_customer_id_put + +> serde_json::Value api_customers_customer_id_put(customer_id, x_beam_scope, x_beam_gamertag, update_customer_request) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**customer_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | +**update_customer_request** | Option<[**UpdateCustomerRequest**](UpdateCustomerRequest.md)> | | | + +### Return type + +[**serde_json::Value**](serde_json::Value.md) + +### Authorization + +No authorization required + +### 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) + + +## api_customers_customer_id_realms_destination_realm_id_promotion_get + +> models::CustomerActorPromoteRealmResponse api_customers_customer_id_realms_destination_realm_id_promotion_get(customer_id, destination_realm_id, x_beam_scope, x_beam_gamertag, source_realm_id, promotables, content_ids) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**customer_id** | **String** | | [required] | +**destination_realm_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | +**source_realm_id** | Option<**String**> | | | +**promotables** | Option<**String**> | | | +**content_ids** | Option<**String**> | | | + +### Return type + +[**models::CustomerActorPromoteRealmResponse**](CustomerActorPromoteRealmResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **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) + + +## api_customers_customer_id_realms_destination_realm_id_promotion_post + +> models::CustomerActorPromoteRealmResponse api_customers_customer_id_realms_destination_realm_id_promotion_post(customer_id, destination_realm_id, x_beam_scope, x_beam_gamertag, customer_actor_promote_realm_request) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**customer_id** | **String** | | [required] | +**destination_realm_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | +**customer_actor_promote_realm_request** | Option<[**CustomerActorPromoteRealmRequest**](CustomerActorPromoteRealmRequest.md)> | | | + +### Return type + +[**models::CustomerActorPromoteRealmResponse**](CustomerActorPromoteRealmResponse.md) + +### Authorization + +No authorization required + +### 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) + + +## api_customers_customer_id_realms_post + +> serde_json::Value api_customers_customer_id_realms_post(customer_id, x_beam_scope, x_beam_gamertag, create_realm_request) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**customer_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | +**create_realm_request** | Option<[**CreateRealmRequest**](CreateRealmRequest.md)> | | | + +### Return type + +[**serde_json::Value**](serde_json::Value.md) + +### Authorization + +No authorization required + +### 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) + + +## api_customers_customer_id_realms_realm_id_client_defaults_get + +> models::CustomerActorRealmConfiguration api_customers_customer_id_realms_realm_id_client_defaults_get(customer_id, realm_id, x_beam_scope, x_beam_gamertag) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**customer_id** | **String** | | [required] | +**realm_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | + +### Return type + +[**models::CustomerActorRealmConfiguration**](CustomerActorRealmConfiguration.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **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) + + +## api_customers_customer_id_realms_realm_id_config_get + +> models::CustomerActorRealmConfigResponse api_customers_customer_id_realms_realm_id_config_get(customer_id, realm_id, x_beam_scope, x_beam_gamertag) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**customer_id** | **String** | | [required] | +**realm_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | + +### Return type + +[**models::CustomerActorRealmConfigResponse**](CustomerActorRealmConfigResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **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) + + +## api_customers_customer_id_realms_realm_id_config_patch + +> serde_json::Value api_customers_customer_id_realms_realm_id_config_patch(customer_id, realm_id, x_beam_scope, x_beam_gamertag, realm_config_change_request) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**customer_id** | **String** | | [required] | +**realm_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | +**realm_config_change_request** | Option<[**RealmConfigChangeRequest**](RealmConfigChangeRequest.md)> | | | + +### Return type + +[**serde_json::Value**](serde_json::Value.md) + +### Authorization + +No authorization required + +### 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) + + +## api_customers_customer_id_realms_realm_id_config_put + +> serde_json::Value api_customers_customer_id_realms_realm_id_config_put(customer_id, realm_id, x_beam_scope, x_beam_gamertag, customer_actor_realm_config_save_request) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**customer_id** | **String** | | [required] | +**realm_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | +**customer_actor_realm_config_save_request** | Option<[**CustomerActorRealmConfigSaveRequest**](CustomerActorRealmConfigSaveRequest.md)> | | | + +### Return type + +[**serde_json::Value**](serde_json::Value.md) + +### Authorization + +No authorization required + +### 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) + + +## api_customers_customer_id_realms_realm_id_delete + +> serde_json::Value api_customers_customer_id_realms_realm_id_delete(customer_id, realm_id, x_beam_scope, x_beam_gamertag) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**customer_id** | **String** | | [required] | +**realm_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | + +### Return type + +[**serde_json::Value**](serde_json::Value.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **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) + + +## api_customers_customer_id_realms_realm_id_get + +> models::RealmView api_customers_customer_id_realms_realm_id_get(customer_id, realm_id, x_beam_scope, x_beam_gamertag) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**customer_id** | **String** | | [required] | +**realm_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | + +### Return type + +[**models::RealmView**](RealmView.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **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) + + +## api_customers_customer_id_realms_realm_id_put + +> serde_json::Value api_customers_customer_id_realms_realm_id_put(customer_id, realm_id, x_beam_scope, x_beam_gamertag) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**customer_id** | **String** | | [required] | +**realm_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | + +### Return type + +[**serde_json::Value**](serde_json::Value.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **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) + + +## api_customers_customer_id_realms_realm_id_rename_put + +> serde_json::Value api_customers_customer_id_realms_realm_id_rename_put(customer_id, realm_id, x_beam_scope, x_beam_gamertag, rename_realm_request) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**customer_id** | **String** | | [required] | +**realm_id** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | +**rename_realm_request** | Option<[**RenameRealmRequest**](RenameRealmRequest.md)> | | | + +### Return type + +[**serde_json::Value**](serde_json::Value.md) + +### Authorization + +No authorization required + +### 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) + + +## api_customers_get + +> models::CustomerActorCustomersResponse api_customers_get(x_beam_scope, x_beam_gamertag) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | + +### Return type + +[**models::CustomerActorCustomersResponse**](CustomerActorCustomersResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **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) + + +## api_customers_post + +> models::CustomerActorNewCustomerResponse api_customers_post(x_beam_scope, x_beam_gamertag, customer_actor_new_customer_request) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | +**customer_actor_new_customer_request** | Option<[**CustomerActorNewCustomerRequest**](CustomerActorNewCustomerRequest.md)> | | | + +### Return type + +[**models::CustomerActorNewCustomerResponse**](CustomerActorNewCustomerResponse.md) + +### Authorization + +No authorization required + +### 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) + + +## api_customers_verify_post + +> models::CustomerActorNewCustomerResponse api_customers_verify_post(x_beam_scope, x_beam_gamertag, customer_actor_new_customer_request) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | +**customer_actor_new_customer_request** | Option<[**CustomerActorNewCustomerRequest**](CustomerActorNewCustomerRequest.md)> | | | + +### Return type + +[**models::CustomerActorNewCustomerResponse**](CustomerActorNewCustomerResponse.md) + +### Authorization + +No authorization required + +### 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) + diff --git a/docs/CustomerResponse.md b/docs/CustomerResponse.md index 6dc2155..e455ba5 100644 --- a/docs/CustomerResponse.md +++ b/docs/CustomerResponse.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**customer** | [**models::Customer**](Customer.md) | | +**customer** | [**models::RealmsBasicCustomer**](RealmsBasicCustomer.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) diff --git a/docs/CustomerViewResponse.md b/docs/CustomerViewResponse.md index a836452..d567367 100644 --- a/docs/CustomerViewResponse.md +++ b/docs/CustomerViewResponse.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**customer** | [**models::CustomerView**](CustomerView.md) | | +**customer** | [**models::RealmsBasicCustomerView**](RealmsBasicCustomerView.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) diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index 42b30e2..ccb682a 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -25,6 +25,7 @@ Method | HTTP request | Description [**basic_accounts_password_update_init_post**](DefaultApi.md#basic_accounts_password_update_init_post) | **POST** /basic/accounts/password-update/init | [**basic_accounts_register_post**](DefaultApi.md#basic_accounts_register_post) | **POST** /basic/accounts/register | [**basic_accounts_search_get**](DefaultApi.md#basic_accounts_search_get) | **GET** /basic/accounts/search | +[**basic_accounts_signup_post**](DefaultApi.md#basic_accounts_signup_post) | **POST** /basic/accounts/signup | [**basic_announcements_content_get**](DefaultApi.md#basic_announcements_content_get) | **GET** /basic/announcements/content | [**basic_announcements_delete**](DefaultApi.md#basic_announcements_delete) | **DELETE** /basic/announcements/ | [**basic_announcements_list_definitions_get**](DefaultApi.md#basic_announcements_list_definitions_get) | **GET** /basic/announcements/list/definitions | @@ -81,6 +82,7 @@ Method | HTTP request | Description [**basic_content_localizations_put**](DefaultApi.md#basic_content_localizations_put) | **PUT** /basic/content/localizations | [**basic_content_manifest_checksum_get**](DefaultApi.md#basic_content_manifest_checksum_get) | **GET** /basic/content/manifest/checksum | [**basic_content_manifest_checksums_get**](DefaultApi.md#basic_content_manifest_checksums_get) | **GET** /basic/content/manifest/checksums | +[**basic_content_manifest_diffs_get**](DefaultApi.md#basic_content_manifest_diffs_get) | **GET** /basic/content/manifest/diffs | [**basic_content_manifest_exact_get**](DefaultApi.md#basic_content_manifest_exact_get) | **GET** /basic/content/manifest/exact | [**basic_content_manifest_get**](DefaultApi.md#basic_content_manifest_get) | **GET** /basic/content/manifest | [**basic_content_manifest_history_get**](DefaultApi.md#basic_content_manifest_history_get) | **GET** /basic/content/manifest/history | @@ -991,6 +993,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_accounts_signup_post + +> models::CreateAccountWithCredsApiResponse basic_accounts_signup_post(x_beam_scope, x_beam_gamertag, create_account_with_creds_request) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**x_beam_scope** | **String** | Customer and project scope. This should be in the form of '.'. | [required] | +**x_beam_gamertag** | Option<**String**> | Override the Gamer Tag of the player. This is generally inferred by the auth token. | | +**create_account_with_creds_request** | Option<[**CreateAccountWithCredsRequest**](CreateAccountWithCredsRequest.md)> | | | + +### Return type + +[**models::CreateAccountWithCredsApiResponse**](CreateAccountWithCredsApiResponse.md) + +### Authorization + +No authorization required + +### 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_announcements_content_get > models::AnnouncementContentResponse basic_announcements_content_get(x_beam_scope, x_beam_gamertag) @@ -2672,6 +2704,42 @@ 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_content_manifest_diffs_get + +> models::GetManifestDiffsResponse basic_content_manifest_diffs_get(x_beam_scope, manifest_id, x_beam_gamertag, from_uid, to_uid, offset, from_date, to_date, limit) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**x_beam_scope** | **String** | Customer and project scope. This should be in the form of '.'. | [required] | +**manifest_id** | **String** | | [required] | +**x_beam_gamertag** | Option<**String**> | Override the Gamer Tag of the player. This is generally inferred by the auth token. | | +**from_uid** | Option<**String**> | | | +**to_uid** | Option<**String**> | | | +**offset** | Option<**i32**> | | | +**from_date** | Option<**i64**> | | | +**to_date** | Option<**i64**> | | | +**limit** | Option<**i32**> | | | + +### Return type + +[**models::GetManifestDiffsResponse**](GetManifestDiffsResponse.md) + +### Authorization + +[server](../README.md#server), [user](../README.md#user) + +### HTTP request headers + +- **Content-Type**: Not defined +- **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_content_manifest_exact_get > models::ContentBasicManifest basic_content_manifest_exact_get(x_beam_scope, uid, x_beam_gamertag) @@ -2766,7 +2834,7 @@ Name | Type | Description | Required | Notes ## basic_content_manifest_post -> models::ContentBasicManifest basic_content_manifest_post(x_beam_scope, x_beam_gamertag, save_manifest_request) +> models::SaveManifestResponse basic_content_manifest_post(x_beam_scope, x_beam_gamertag, save_manifest_request) ### Parameters @@ -2780,7 +2848,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ContentBasicManifest**](ContentBasicManifest.md) +[**models::SaveManifestResponse**](SaveManifestResponse.md) ### Authorization @@ -5659,7 +5727,7 @@ Name | Type | Description | Required | Notes ## basic_realms_client_defaults_get -> models::RealmConfiguration basic_realms_client_defaults_get(x_beam_scope, x_beam_gamertag) +> models::RealmsBasicRealmConfiguration basic_realms_client_defaults_get(x_beam_scope, x_beam_gamertag) ### Parameters @@ -5672,7 +5740,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::RealmConfiguration**](RealmConfiguration.md) +[**models::RealmsBasicRealmConfiguration**](RealmsBasicRealmConfiguration.md) ### Authorization @@ -5688,7 +5756,7 @@ No authorization required ## basic_realms_config_get -> models::RealmConfigResponse basic_realms_config_get(x_beam_scope, x_beam_gamertag) +> models::RealmsBasicRealmConfigResponse basic_realms_config_get(x_beam_scope, x_beam_gamertag) ### Parameters @@ -5701,7 +5769,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::RealmConfigResponse**](RealmConfigResponse.md) +[**models::RealmsBasicRealmConfigResponse**](RealmsBasicRealmConfigResponse.md) ### Authorization @@ -5747,7 +5815,7 @@ Name | Type | Description | Required | Notes ## basic_realms_config_put -> models::CommonResponse basic_realms_config_put(x_beam_scope, x_beam_gamertag, realm_config_save_request) +> models::CommonResponse basic_realms_config_put(x_beam_scope, x_beam_gamertag, realms_basic_realm_config_save_request) ### Parameters @@ -5757,7 +5825,7 @@ Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **x_beam_scope** | **String** | Customer and project scope. This should be in the form of '.'. | [required] | **x_beam_gamertag** | Option<**String**> | Override the Gamer Tag of the player. This is generally inferred by the auth token. | | -**realm_config_save_request** | Option<[**RealmConfigSaveRequest**](RealmConfigSaveRequest.md)> | | | +**realms_basic_realm_config_save_request** | Option<[**RealmsBasicRealmConfigSaveRequest**](RealmsBasicRealmConfigSaveRequest.md)> | | | ### Return type @@ -5777,7 +5845,7 @@ Name | Type | Description | Required | Notes ## basic_realms_customer_activate_get -> models::HtmlResponse basic_realms_customer_activate_get(x_beam_scope, token, cid, x_beam_gamertag) +> models::RealmsBasicHtmlResponse basic_realms_customer_activate_get(x_beam_scope, token, cid, x_beam_gamertag) ### Parameters @@ -5792,7 +5860,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::HtmlResponse**](HtmlResponse.md) +[**models::RealmsBasicHtmlResponse**](RealmsBasicHtmlResponse.md) ### Authorization @@ -5808,7 +5876,7 @@ No authorization required ## basic_realms_customer_alias_available_get -> models::AliasAvailableResponse basic_realms_customer_alias_available_get(x_beam_scope, alias, x_beam_gamertag) +> models::RealmsBasicAliasAvailableResponse basic_realms_customer_alias_available_get(x_beam_scope, alias, x_beam_gamertag) ### Parameters @@ -5822,7 +5890,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::AliasAvailableResponse**](AliasAvailableResponse.md) +[**models::RealmsBasicAliasAvailableResponse**](RealmsBasicAliasAvailableResponse.md) ### Authorization @@ -5867,7 +5935,7 @@ Name | Type | Description | Required | Notes ## basic_realms_customer_post -> models::NewCustomerResponse basic_realms_customer_post(x_beam_scope, x_beam_gamertag, new_customer_request) +> models::RealmsBasicNewCustomerResponse basic_realms_customer_post(x_beam_scope, x_beam_gamertag, realms_basic_new_customer_request) ### Parameters @@ -5877,11 +5945,11 @@ Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **x_beam_scope** | **String** | Customer and project scope. This should be in the form of '.'. | [required] | **x_beam_gamertag** | Option<**String**> | Override the Gamer Tag of the player. This is generally inferred by the auth token. | | -**new_customer_request** | Option<[**NewCustomerRequest**](NewCustomerRequest.md)> | | | +**realms_basic_new_customer_request** | Option<[**RealmsBasicNewCustomerRequest**](RealmsBasicNewCustomerRequest.md)> | | | ### Return type -[**models::NewCustomerResponse**](NewCustomerResponse.md) +[**models::RealmsBasicNewCustomerResponse**](RealmsBasicNewCustomerResponse.md) ### Authorization @@ -5897,7 +5965,7 @@ No authorization required ## basic_realms_customer_verify_post -> models::NewCustomerResponse basic_realms_customer_verify_post(x_beam_scope, x_beam_gamertag, new_customer_request) +> models::RealmsBasicNewCustomerResponse basic_realms_customer_verify_post(x_beam_scope, x_beam_gamertag, realms_basic_new_customer_request) ### Parameters @@ -5907,11 +5975,11 @@ Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **x_beam_scope** | **String** | Customer and project scope. This should be in the form of '.'. | [required] | **x_beam_gamertag** | Option<**String**> | Override the Gamer Tag of the player. This is generally inferred by the auth token. | | -**new_customer_request** | Option<[**NewCustomerRequest**](NewCustomerRequest.md)> | | | +**realms_basic_new_customer_request** | Option<[**RealmsBasicNewCustomerRequest**](RealmsBasicNewCustomerRequest.md)> | | | ### Return type -[**models::NewCustomerResponse**](NewCustomerResponse.md) +[**models::RealmsBasicNewCustomerResponse**](RealmsBasicNewCustomerResponse.md) ### Authorization @@ -5927,7 +5995,7 @@ No authorization required ## basic_realms_customers_get -> models::CustomersResponse basic_realms_customers_get(x_beam_scope, x_beam_gamertag) +> models::RealmsBasicCustomersResponse basic_realms_customers_get(x_beam_scope, x_beam_gamertag) ### Parameters @@ -5940,7 +6008,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::CustomersResponse**](CustomersResponse.md) +[**models::RealmsBasicCustomersResponse**](RealmsBasicCustomersResponse.md) ### Authorization @@ -6016,7 +6084,7 @@ Name | Type | Description | Required | Notes ## basic_realms_game_put -> models::CommonResponse basic_realms_game_put(x_beam_scope, x_beam_gamertag, update_game_hierarchy_request) +> models::CommonResponse basic_realms_game_put(x_beam_scope, x_beam_gamertag, realms_basic_update_game_hierarchy_request) ### Parameters @@ -6026,7 +6094,7 @@ Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **x_beam_scope** | **String** | Customer and project scope. This should be in the form of '.'. | [required] | **x_beam_gamertag** | Option<**String**> | Override the Gamer Tag of the player. This is generally inferred by the auth token. | | -**update_game_hierarchy_request** | Option<[**UpdateGameHierarchyRequest**](UpdateGameHierarchyRequest.md)> | | | +**realms_basic_update_game_hierarchy_request** | Option<[**RealmsBasicUpdateGameHierarchyRequest**](RealmsBasicUpdateGameHierarchyRequest.md)> | | | ### Return type @@ -6193,7 +6261,7 @@ Name | Type | Description | Required | Notes ## basic_realms_plans_get -> models::ServicePlansResponse basic_realms_plans_get(x_beam_scope, x_beam_gamertag) +> models::RealmsBasicServicePlansResponse basic_realms_plans_get(x_beam_scope, x_beam_gamertag) ### Parameters @@ -6206,7 +6274,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::ServicePlansResponse**](ServicePlansResponse.md) +[**models::RealmsBasicServicePlansResponse**](RealmsBasicServicePlansResponse.md) ### Authorization @@ -6403,7 +6471,7 @@ Name | Type | Description | Required | Notes ## basic_realms_project_promote_post -> models::PromoteRealmResponseOld basic_realms_project_promote_post(x_beam_scope, x_beam_gamertag, promote_realm_request) +> models::PromoteRealmResponseOld basic_realms_project_promote_post(x_beam_scope, x_beam_gamertag, realms_basic_promote_realm_request) ### Parameters @@ -6413,7 +6481,7 @@ Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **x_beam_scope** | **String** | Customer and project scope. This should be in the form of '.'. | [required] | **x_beam_gamertag** | Option<**String**> | Override the Gamer Tag of the player. This is generally inferred by the auth token. | | -**promote_realm_request** | Option<[**PromoteRealmRequest**](PromoteRealmRequest.md)> | | | +**realms_basic_promote_realm_request** | Option<[**RealmsBasicPromoteRealmRequest**](RealmsBasicPromoteRealmRequest.md)> | | | ### Return type @@ -6493,7 +6561,7 @@ Name | Type | Description | Required | Notes ## basic_realms_promotion_get -> models::PromoteRealmResponse basic_realms_promotion_get(x_beam_scope, source_pid, x_beam_gamertag, promotions, content_manifest_ids) +> models::RealmsBasicPromoteRealmResponse basic_realms_promotion_get(x_beam_scope, source_pid, x_beam_gamertag, promotions, content_manifest_ids) ### Parameters @@ -6509,7 +6577,7 @@ Name | Type | Description | Required | Notes ### Return type -[**models::PromoteRealmResponse**](PromoteRealmResponse.md) +[**models::RealmsBasicPromoteRealmResponse**](RealmsBasicPromoteRealmResponse.md) ### Authorization @@ -6525,7 +6593,7 @@ Name | Type | Description | Required | Notes ## basic_realms_promotion_post -> models::PromoteRealmResponse basic_realms_promotion_post(x_beam_scope, x_beam_gamertag, promote_realm_request) +> models::RealmsBasicPromoteRealmResponse basic_realms_promotion_post(x_beam_scope, x_beam_gamertag, realms_basic_promote_realm_request) ### Parameters @@ -6535,11 +6603,11 @@ Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **x_beam_scope** | **String** | Customer and project scope. This should be in the form of '.'. | [required] | **x_beam_gamertag** | Option<**String**> | Override the Gamer Tag of the player. This is generally inferred by the auth token. | | -**promote_realm_request** | Option<[**PromoteRealmRequest**](PromoteRealmRequest.md)> | | | +**realms_basic_promote_realm_request** | Option<[**RealmsBasicPromoteRealmRequest**](RealmsBasicPromoteRealmRequest.md)> | | | ### Return type -[**models::PromoteRealmResponse**](PromoteRealmResponse.md) +[**models::RealmsBasicPromoteRealmResponse**](RealmsBasicPromoteRealmResponse.md) ### Authorization diff --git a/docs/GetGamesResponse.md b/docs/GetGamesResponse.md new file mode 100644 index 0000000..756d968 --- /dev/null +++ b/docs/GetGamesResponse.md @@ -0,0 +1,11 @@ +# GetGamesResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**realms** | Option<[**Vec**](RealmView.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) + + diff --git a/docs/GetManifestDiffsRequest.md b/docs/GetManifestDiffsRequest.md new file mode 100644 index 0000000..f85972e --- /dev/null +++ b/docs/GetManifestDiffsRequest.md @@ -0,0 +1,17 @@ +# GetManifestDiffsRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**manifest_id** | **String** | | +**from_uid** | Option<**String**> | | [optional] +**to_uid** | Option<**String**> | | [optional] +**offset** | Option<**i32**> | | [optional] +**from_date** | Option<**i64**> | | [optional] +**to_date** | Option<**i64**> | | [optional] +**limit** | Option<**i32**> | | [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) + + diff --git a/docs/GetManifestDiffsResponse.md b/docs/GetManifestDiffsResponse.md new file mode 100644 index 0000000..f69cb14 --- /dev/null +++ b/docs/GetManifestDiffsResponse.md @@ -0,0 +1,14 @@ +# GetManifestDiffsResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**manifest_id** | **String** | | +**diffs** | [**Vec**](ManifestDiffSummary.md) | | +**has_more** | **bool** | | +**total_count** | **i32** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/LobbyApi.md b/docs/LobbyApi.md index 6402f89..3d26261 100644 --- a/docs/LobbyApi.md +++ b/docs/LobbyApi.md @@ -14,6 +14,7 @@ Method | HTTP request | Description [**api_lobbies_id_tags_put**](LobbyApi.md#api_lobbies_id_tags_put) | **PUT** /api/lobbies/{id}/tags | [**api_lobbies_passcode_put**](LobbyApi.md#api_lobbies_passcode_put) | **PUT** /api/lobbies/passcode | [**api_lobbies_post**](LobbyApi.md#api_lobbies_post) | **POST** /api/lobbies | +[**api_lobbies_put**](LobbyApi.md#api_lobbies_put) | **PUT** /api/lobbies | @@ -56,7 +57,7 @@ No authorization required > serde_json::Value api_lobbies_id_delete(id, x_beam_scope, x_beam_gamertag, remove_from_lobby) -Remove the requested player from the lobby. The host is able to remove anyone. Others may only remove themselves without error. +Remove the requested player from the lobby. The host is able to remove anyone. Others may only remove themselves without error. ### Parameters @@ -344,3 +345,35 @@ No authorization required [[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) + +## api_lobbies_put + +> models::SetLobbyResponse api_lobbies_put(x_beam_scope, x_beam_gamertag, lobby) + + +Exposes the internal \"SetLobby\" behavior as an Admin only endpoint + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | +**lobby** | Option<[**Lobby**](Lobby.md)> | | | + +### Return type + +[**models::SetLobbyResponse**](SetLobbyResponse.md) + +### Authorization + +No authorization required + +### 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) + diff --git a/docs/ManifestDiffSummary.md b/docs/ManifestDiffSummary.md new file mode 100644 index 0000000..90281d6 --- /dev/null +++ b/docs/ManifestDiffSummary.md @@ -0,0 +1,13 @@ +# ManifestDiffSummary + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**manifest_uid** | **String** | | +**diff_url** | **String** | | +**created_date** | **i64** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ObjectId.md b/docs/ObjectId.md new file mode 100644 index 0000000..75c22ce --- /dev/null +++ b/docs/ObjectId.md @@ -0,0 +1,12 @@ +# ObjectId + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**timestamp** | Option<**i32**> | | [optional][readonly] +**creation_time** | Option<**String**> | | [optional][readonly] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/OtelAuthConfig.md b/docs/OtelAuthConfig.md new file mode 100644 index 0000000..62c6306 --- /dev/null +++ b/docs/OtelAuthConfig.md @@ -0,0 +1,14 @@ +# OtelAuthConfig + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**endpoint** | **String** | | +**username** | **String** | | +**password** | **String** | | +**expires_at** | 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) + + diff --git a/docs/OtelView.md b/docs/OtelView.md new file mode 100644 index 0000000..0a51497 --- /dev/null +++ b/docs/OtelView.md @@ -0,0 +1,16 @@ +# OtelView + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | Option<[**models::ObjectId**](ObjectId.md)> | | [optional] +**player_id** | **String** | | +**name** | **String** | | +**query** | **String** | | +**is_public** | Option<**bool**> | | [optional] +**is_favorite** | Option<**bool**> | | [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) + + diff --git a/docs/ServicePlansResponse.md b/docs/OtelViewsResponse.md similarity index 75% rename from docs/ServicePlansResponse.md rename to docs/OtelViewsResponse.md index c2a9484..5c64e63 100644 --- a/docs/ServicePlansResponse.md +++ b/docs/OtelViewsResponse.md @@ -1,10 +1,10 @@ -# ServicePlansResponse +# OtelViewsResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**result** | [**Vec**](ServicePlan.md) | | +**views** | [**Vec**](OtelView.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) diff --git a/docs/PartyApi.md b/docs/PartyApi.md index 507180d..c3eac95 100644 --- a/docs/PartyApi.md +++ b/docs/PartyApi.md @@ -118,7 +118,7 @@ No authorization required > serde_json::Value api_parties_id_members_delete(id, x_beam_scope, x_beam_gamertag, leave_party) -Remove the requested player from the party. The leader is able to remove anyone. Others may only remove themselves without error. +Remove the requested player from the party. The leader is able to remove anyone. Others may only remove themselves without error. ### Parameters diff --git a/docs/PaymentStatus.md b/docs/PaymentStatus.md new file mode 100644 index 0000000..616ea6f --- /dev/null +++ b/docs/PaymentStatus.md @@ -0,0 +1,14 @@ +# PaymentStatus + +## Enum Variants + +| Name | Value | +|---- | -----| +| Free | Free | +| Paid | Paid | +| Banned | Banned | + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PromotableType.md b/docs/PromotableType.md new file mode 100644 index 0000000..d12f6b7 --- /dev/null +++ b/docs/PromotableType.md @@ -0,0 +1,13 @@ +# PromotableType + +## Enum Variants + +| Name | Value | +|---- | -----| +| Content | Content | +| Microservices | Microservices | + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/Realm.md b/docs/Realm.md new file mode 100644 index 0000000..4264f6a --- /dev/null +++ b/docs/Realm.md @@ -0,0 +1,19 @@ +# Realm + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | Option<**String**> | | [optional] +**secret** | Option<**String**> | | [optional] +**plan** | Option<**String**> | | [optional] +**sharded** | Option<**bool**> | | [optional] +**display_name** | Option<**String**> | | [optional] +**parent** | Option<**String**> | | [optional] +**children** | Option<**Vec**> | | [optional] +**config** | Option<**std::collections::HashMap**> | | [optional] +**is_archived** | Option<**bool**> | | [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) + + diff --git a/docs/RealmView.md b/docs/RealmView.md new file mode 100644 index 0000000..9a3139e --- /dev/null +++ b/docs/RealmView.md @@ -0,0 +1,18 @@ +# RealmView + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**display_name** | **String** | | +**realm_id** | **String** | | +**customer_id** | Option<**String**> | | [optional] +**sharded** | Option<**bool**> | | [optional] +**parent** | Option<**String**> | | [optional] +**children** | Option<**Vec**> | | [optional] +**archived** | Option<**bool**> | | [optional] +**secret** | 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) + + diff --git a/docs/AliasAvailableResponse.md b/docs/RealmsBasicAliasAvailableResponse.md similarity index 90% rename from docs/AliasAvailableResponse.md rename to docs/RealmsBasicAliasAvailableResponse.md index 1dbd005..fd7cdb2 100644 --- a/docs/AliasAvailableResponse.md +++ b/docs/RealmsBasicAliasAvailableResponse.md @@ -1,4 +1,4 @@ -# AliasAvailableResponse +# RealmsBasicAliasAvailableResponse ## Properties diff --git a/docs/BeamoLimits.md b/docs/RealmsBasicBeamoLimits.md similarity index 93% rename from docs/BeamoLimits.md rename to docs/RealmsBasicBeamoLimits.md index b469062..e7102a7 100644 --- a/docs/BeamoLimits.md +++ b/docs/RealmsBasicBeamoLimits.md @@ -1,4 +1,4 @@ -# BeamoLimits +# RealmsBasicBeamoLimits ## Properties diff --git a/docs/Customer.md b/docs/RealmsBasicCustomer.md similarity index 97% rename from docs/Customer.md rename to docs/RealmsBasicCustomer.md index 975f0d4..dee5609 100644 --- a/docs/Customer.md +++ b/docs/RealmsBasicCustomer.md @@ -1,4 +1,4 @@ -# Customer +# RealmsBasicCustomer ## Properties diff --git a/docs/CustomerView.md b/docs/RealmsBasicCustomerView.md similarity index 94% rename from docs/CustomerView.md rename to docs/RealmsBasicCustomerView.md index e400c3f..39f5982 100644 --- a/docs/CustomerView.md +++ b/docs/RealmsBasicCustomerView.md @@ -1,4 +1,4 @@ -# CustomerView +# RealmsBasicCustomerView ## Properties diff --git a/docs/RealmsBasicCustomersResponse.md b/docs/RealmsBasicCustomersResponse.md new file mode 100644 index 0000000..d504c38 --- /dev/null +++ b/docs/RealmsBasicCustomersResponse.md @@ -0,0 +1,11 @@ +# RealmsBasicCustomersResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | [**Vec**](RealmsBasicCustomer.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) + + diff --git a/docs/DataDomain.md b/docs/RealmsBasicDataDomain.md similarity index 83% rename from docs/DataDomain.md rename to docs/RealmsBasicDataDomain.md index 54031bc..7e3bb18 100644 --- a/docs/DataDomain.md +++ b/docs/RealmsBasicDataDomain.md @@ -1,4 +1,4 @@ -# DataDomain +# RealmsBasicDataDomain ## Properties @@ -12,7 +12,7 @@ Name | Type | Description | Notes **mongo_hosts** | **Vec** | | **mongo_ssl_enabled** | **bool** | | **message_bus_common** | Option<**Vec**> | | [optional] -**redis_shards** | Option<[**Vec**](RedisShard.md)> | | [optional] +**redis_shards** | Option<[**Vec**](RealmsBasicRedisShard.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) diff --git a/docs/HtmlResponse.md b/docs/RealmsBasicHtmlResponse.md similarity index 92% rename from docs/HtmlResponse.md rename to docs/RealmsBasicHtmlResponse.md index ed30362..fad0ed7 100644 --- a/docs/HtmlResponse.md +++ b/docs/RealmsBasicHtmlResponse.md @@ -1,4 +1,4 @@ -# HtmlResponse +# RealmsBasicHtmlResponse ## Properties diff --git a/docs/NewCustomerRequest.md b/docs/RealmsBasicNewCustomerRequest.md similarity index 94% rename from docs/NewCustomerRequest.md rename to docs/RealmsBasicNewCustomerRequest.md index a349ff9..cba755c 100644 --- a/docs/NewCustomerRequest.md +++ b/docs/RealmsBasicNewCustomerRequest.md @@ -1,4 +1,4 @@ -# NewCustomerRequest +# RealmsBasicNewCustomerRequest ## Properties diff --git a/docs/NewCustomerResponse.md b/docs/RealmsBasicNewCustomerResponse.md similarity index 94% rename from docs/NewCustomerResponse.md rename to docs/RealmsBasicNewCustomerResponse.md index 536511f..050de0e 100644 --- a/docs/NewCustomerResponse.md +++ b/docs/RealmsBasicNewCustomerResponse.md @@ -1,4 +1,4 @@ -# NewCustomerResponse +# RealmsBasicNewCustomerResponse ## Properties diff --git a/docs/PromoteRealmRequest.md b/docs/RealmsBasicPromoteRealmRequest.md similarity index 92% rename from docs/PromoteRealmRequest.md rename to docs/RealmsBasicPromoteRealmRequest.md index e97e908..4b35172 100644 --- a/docs/PromoteRealmRequest.md +++ b/docs/RealmsBasicPromoteRealmRequest.md @@ -1,4 +1,4 @@ -# PromoteRealmRequest +# RealmsBasicPromoteRealmRequest ## Properties diff --git a/docs/PromoteRealmResponse.md b/docs/RealmsBasicPromoteRealmResponse.md similarity index 70% rename from docs/PromoteRealmResponse.md rename to docs/RealmsBasicPromoteRealmResponse.md index a1a3b2e..570607e 100644 --- a/docs/PromoteRealmResponse.md +++ b/docs/RealmsBasicPromoteRealmResponse.md @@ -1,11 +1,11 @@ -# PromoteRealmResponse +# RealmsBasicPromoteRealmResponse ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **source_pid** | **String** | | -**scopes** | [**Vec**](PromotionScope.md) | | +**scopes** | [**Vec**](RealmsBasicPromotionScope.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) diff --git a/docs/PromotionScope.md b/docs/RealmsBasicPromotionScope.md similarity index 92% rename from docs/PromotionScope.md rename to docs/RealmsBasicPromotionScope.md index 3c893a8..368031f 100644 --- a/docs/PromotionScope.md +++ b/docs/RealmsBasicPromotionScope.md @@ -1,4 +1,4 @@ -# PromotionScope +# RealmsBasicPromotionScope ## Properties diff --git a/docs/RealmConfigSaveRequest.md b/docs/RealmsBasicRealmConfigResponse.md similarity index 91% rename from docs/RealmConfigSaveRequest.md rename to docs/RealmsBasicRealmConfigResponse.md index 78436ec..73b6ff0 100644 --- a/docs/RealmConfigSaveRequest.md +++ b/docs/RealmsBasicRealmConfigResponse.md @@ -1,4 +1,4 @@ -# RealmConfigSaveRequest +# RealmsBasicRealmConfigResponse ## Properties diff --git a/docs/RealmConfigResponse.md b/docs/RealmsBasicRealmConfigSaveRequest.md similarity index 90% rename from docs/RealmConfigResponse.md rename to docs/RealmsBasicRealmConfigSaveRequest.md index 922eab2..fe7cd93 100644 --- a/docs/RealmConfigResponse.md +++ b/docs/RealmsBasicRealmConfigSaveRequest.md @@ -1,4 +1,4 @@ -# RealmConfigResponse +# RealmsBasicRealmConfigSaveRequest ## Properties diff --git a/docs/RealmConfiguration.md b/docs/RealmsBasicRealmConfiguration.md similarity index 76% rename from docs/RealmConfiguration.md rename to docs/RealmsBasicRealmConfiguration.md index cd0628f..6a2199d 100644 --- a/docs/RealmConfiguration.md +++ b/docs/RealmsBasicRealmConfiguration.md @@ -1,10 +1,10 @@ -# RealmConfiguration +# RealmsBasicRealmConfiguration ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**websocket_config** | [**models::WebSocketConfiguration**](WebSocketConfiguration.md) | | +**websocket_config** | [**models::RealmsBasicWebSocketConfiguration**](RealmsBasicWebSocketConfiguration.md) | | **microservice_uri** | **String** | | **portal_uri** | **String** | | **microservice_ecr_uri** | **String** | | diff --git a/docs/RedisShard.md b/docs/RealmsBasicRedisShard.md similarity index 94% rename from docs/RedisShard.md rename to docs/RealmsBasicRedisShard.md index 400a588..66b3ab0 100644 --- a/docs/RedisShard.md +++ b/docs/RealmsBasicRedisShard.md @@ -1,4 +1,4 @@ -# RedisShard +# RealmsBasicRedisShard ## Properties diff --git a/docs/RedisShardRequest.md b/docs/RealmsBasicRedisShardRequest.md similarity index 92% rename from docs/RedisShardRequest.md rename to docs/RealmsBasicRedisShardRequest.md index 3d5ea1f..c639728 100644 --- a/docs/RedisShardRequest.md +++ b/docs/RealmsBasicRedisShardRequest.md @@ -1,4 +1,4 @@ -# RedisShardRequest +# RealmsBasicRedisShardRequest ## Properties diff --git a/docs/ServiceLimits.md b/docs/RealmsBasicServiceLimits.md similarity index 77% rename from docs/ServiceLimits.md rename to docs/RealmsBasicServiceLimits.md index f09c68e..b312cf4 100644 --- a/docs/ServiceLimits.md +++ b/docs/RealmsBasicServiceLimits.md @@ -1,10 +1,10 @@ -# ServiceLimits +# RealmsBasicServiceLimits ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**beamo** | Option<[**models::BeamoLimits**](BeamoLimits.md)> | | [optional] +**beamo** | Option<[**models::RealmsBasicBeamoLimits**](RealmsBasicBeamoLimits.md)> | | [optional] **content** | Option<[**models::ContentLimits**](ContentLimits.md)> | | [optional] **gateway** | Option<[**models::GatewayLimits**](GatewayLimits.md)> | | [optional] diff --git a/docs/ServicePlan.md b/docs/RealmsBasicServicePlan.md similarity index 65% rename from docs/ServicePlan.md rename to docs/RealmsBasicServicePlan.md index 3776f53..f414a86 100644 --- a/docs/ServicePlan.md +++ b/docs/RealmsBasicServicePlan.md @@ -1,4 +1,4 @@ -# ServicePlan +# RealmsBasicServicePlan ## Properties @@ -6,8 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **min_customer_status_saved** | Option<**String**> | | [optional] **name** | **String** | | -**data_domain** | [**models::DataDomain**](DataDomain.md) | | -**limits** | Option<[**models::ServiceLimits**](ServiceLimits.md)> | | [optional] +**data_domain** | [**models::RealmsBasicDataDomain**](RealmsBasicDataDomain.md) | | +**limits** | Option<[**models::RealmsBasicServiceLimits**](RealmsBasicServiceLimits.md)> | | [optional] **created** | 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) diff --git a/docs/RealmsBasicServicePlansResponse.md b/docs/RealmsBasicServicePlansResponse.md new file mode 100644 index 0000000..e0f62e4 --- /dev/null +++ b/docs/RealmsBasicServicePlansResponse.md @@ -0,0 +1,11 @@ +# RealmsBasicServicePlansResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | [**Vec**](RealmsBasicServicePlan.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) + + diff --git a/docs/UpdateGameHierarchyRequest.md b/docs/RealmsBasicUpdateGameHierarchyRequest.md similarity index 90% rename from docs/UpdateGameHierarchyRequest.md rename to docs/RealmsBasicUpdateGameHierarchyRequest.md index af13723..e9fc904 100644 --- a/docs/UpdateGameHierarchyRequest.md +++ b/docs/RealmsBasicUpdateGameHierarchyRequest.md @@ -1,4 +1,4 @@ -# UpdateGameHierarchyRequest +# RealmsBasicUpdateGameHierarchyRequest ## Properties diff --git a/docs/WebSocketConfiguration.md b/docs/RealmsBasicWebSocketConfiguration.md similarity index 90% rename from docs/WebSocketConfiguration.md rename to docs/RealmsBasicWebSocketConfiguration.md index 6ecd8a2..22e8d88 100644 --- a/docs/WebSocketConfiguration.md +++ b/docs/RealmsBasicWebSocketConfiguration.md @@ -1,4 +1,4 @@ -# WebSocketConfiguration +# RealmsBasicWebSocketConfiguration ## Properties diff --git a/docs/RenameRealmRequest.md b/docs/RenameRealmRequest.md new file mode 100644 index 0000000..63721a6 --- /dev/null +++ b/docs/RenameRealmRequest.md @@ -0,0 +1,11 @@ +# RenameRealmRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**new_name** | **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) + + diff --git a/docs/SaveManifestResponse.md b/docs/SaveManifestResponse.md new file mode 100644 index 0000000..e0fcbe3 --- /dev/null +++ b/docs/SaveManifestResponse.md @@ -0,0 +1,15 @@ +# SaveManifestResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**diff_url** | Option<**String**> | | [optional] +**id** | **String** | | +**checksum** | **String** | | +**uid** | **String** | | +**created** | **i64** | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SearchExtendedRequest.md b/docs/SearchExtendedRequest.md index afb7fd8..dd63092 100644 --- a/docs/SearchExtendedRequest.md +++ b/docs/SearchExtendedRequest.md @@ -6,8 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **criteria** | [**Vec**](StatsSearchCriteria.md) | | **domain** | **String** | | +**offset** | Option<**i32**> | | [optional] **object_type** | **String** | | **stat_keys** | **Vec** | | +**limit** | Option<**i32**> | | [optional] **access** | **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) diff --git a/docs/SearchExtendedResponse.md b/docs/SearchExtendedResponse.md index 651bb74..6bdc1f9 100644 --- a/docs/SearchExtendedResponse.md +++ b/docs/SearchExtendedResponse.md @@ -5,6 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **gamer_stats** | [**std::collections::HashMap>**](std::collections::HashMap.md) | | +**offset** | Option<**i32**> | | [optional] +**limit** | Option<**i32**> | | [optional] +**total** | 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) diff --git a/docs/ServicePlanActorDataDomain.md b/docs/ServicePlanActorDataDomain.md new file mode 100644 index 0000000..4a604cb --- /dev/null +++ b/docs/ServicePlanActorDataDomain.md @@ -0,0 +1,17 @@ +# ServicePlanActorDataDomain + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**mongo_hosts** | Option<**Vec**> | | [optional] +**mongo_srv_address** | Option<**String**> | | [optional] +**mongo_sharded** | Option<**bool**> | | [optional] +**mongo_tls** | Option<**bool**> | | [optional] +**message_bus_common** | Option<**Vec**> | | [optional] +**message_bus_analytics** | Option<**Vec**> | | [optional] +**redis_shards** | Option<[**Vec**](ServicePlanActorRedisShard.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) + + diff --git a/docs/ServicePlanActorRedisShard.md b/docs/ServicePlanActorRedisShard.md new file mode 100644 index 0000000..9a63d2b --- /dev/null +++ b/docs/ServicePlanActorRedisShard.md @@ -0,0 +1,13 @@ +# ServicePlanActorRedisShard + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**shard_id** | Option<**i32**> | | [optional] +**master_host** | Option<**String**> | | [optional] +**slave_hosts** | Option<**Vec**> | | [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) + + diff --git a/docs/ServicePlanActorRedisShardRequest.md b/docs/ServicePlanActorRedisShardRequest.md new file mode 100644 index 0000000..d862aa9 --- /dev/null +++ b/docs/ServicePlanActorRedisShardRequest.md @@ -0,0 +1,13 @@ +# ServicePlanActorRedisShardRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**shard_id** | Option<**i32**> | | [optional] +**master_host** | Option<**String**> | | [optional] +**slave_hosts** | 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) + + diff --git a/docs/ServicePlanActorServiceLimits.md b/docs/ServicePlanActorServiceLimits.md new file mode 100644 index 0000000..8561392 --- /dev/null +++ b/docs/ServicePlanActorServiceLimits.md @@ -0,0 +1,11 @@ +# ServicePlanActorServiceLimits + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**beamo** | Option<[**serde_json::Value**](.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) + + diff --git a/docs/ServicePlanActorServicePlan.md b/docs/ServicePlanActorServicePlan.md new file mode 100644 index 0000000..064cc2a --- /dev/null +++ b/docs/ServicePlanActorServicePlan.md @@ -0,0 +1,13 @@ +# ServicePlanActorServicePlan + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | | +**data_domain** | [**models::ServicePlanActorDataDomain**](ServicePlanActorDataDomain.md) | | +**service_limits** | Option<[**models::ServicePlanActorServiceLimits**](ServicePlanActorServiceLimits.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) + + diff --git a/docs/ServicePlanActorServicePlansResponse.md b/docs/ServicePlanActorServicePlansResponse.md new file mode 100644 index 0000000..6e01365 --- /dev/null +++ b/docs/ServicePlanActorServicePlansResponse.md @@ -0,0 +1,11 @@ +# ServicePlanActorServicePlansResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**result** | Option<[**Vec**](ServicePlanActorServicePlan.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) + + diff --git a/docs/ServicePlanApi.md b/docs/ServicePlanApi.md new file mode 100644 index 0000000..072edbb --- /dev/null +++ b/docs/ServicePlanApi.md @@ -0,0 +1,131 @@ +# \ServicePlanApi + +All URIs are relative to *https://api.beamable.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**api_service_plans_get**](ServicePlanApi.md#api_service_plans_get) | **GET** /api/service-plans | +[**api_service_plans_name_delete**](ServicePlanApi.md#api_service_plans_name_delete) | **DELETE** /api/service-plans/{name} | +[**api_service_plans_name_get**](ServicePlanApi.md#api_service_plans_name_get) | **GET** /api/service-plans/{name} | +[**api_service_plans_post**](ServicePlanApi.md#api_service_plans_post) | **POST** /api/service-plans | + + + +## api_service_plans_get + +> models::ServicePlanActorServicePlansResponse api_service_plans_get(x_beam_scope, x_beam_gamertag) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | + +### Return type + +[**models::ServicePlanActorServicePlansResponse**](ServicePlanActorServicePlansResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **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) + + +## api_service_plans_name_delete + +> serde_json::Value api_service_plans_name_delete(name, x_beam_scope, x_beam_gamertag) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**name** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | + +### Return type + +[**serde_json::Value**](serde_json::Value.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **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) + + +## api_service_plans_name_get + +> models::ServicePlanActorServicePlan api_service_plans_name_get(name, x_beam_scope, x_beam_gamertag) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**name** | **String** | | [required] | +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | + +### Return type + +[**models::ServicePlanActorServicePlan**](ServicePlanActorServicePlan.md) + +### Authorization + +No authorization required + +### HTTP request headers + +- **Content-Type**: Not defined +- **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) + + +## api_service_plans_post + +> serde_json::Value api_service_plans_post(x_beam_scope, x_beam_gamertag, create_service_plan_request) + + +### Parameters + + +Name | Type | Description | Required | Notes +------------- | ------------- | ------------- | ------------- | ------------- +**x_beam_scope** | Option<**String**> | Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token | | +**x_beam_gamertag** | Option<**String**> | Override the playerId of the requester. This is only necessary when not using a JWT bearer token. | | +**create_service_plan_request** | Option<[**CreateServicePlanRequest**](CreateServicePlanRequest.md)> | | | + +### Return type + +[**serde_json::Value**](serde_json::Value.md) + +### Authorization + +No authorization required + +### 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) + diff --git a/docs/SetCustomerAliasRequest.md b/docs/SetCustomerAliasRequest.md new file mode 100644 index 0000000..58744bd --- /dev/null +++ b/docs/SetCustomerAliasRequest.md @@ -0,0 +1,11 @@ +# SetCustomerAliasRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**alias** | **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) + + diff --git a/docs/SetLobbyResponse.md b/docs/SetLobbyResponse.md new file mode 100644 index 0000000..fd77f25 --- /dev/null +++ b/docs/SetLobbyResponse.md @@ -0,0 +1,11 @@ +# SetLobbyResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**lobby_id** | 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) + + diff --git a/docs/StatsSearchRequest.md b/docs/StatsSearchRequest.md index 03f7fbd..8f5f8c2 100644 --- a/docs/StatsSearchRequest.md +++ b/docs/StatsSearchRequest.md @@ -4,10 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**criteria** | [**Vec**](StatsSearchCriteria.md) | | **domain** | **String** | | -**access** | **String** | | +**offset** | Option<**i32**> | | [optional] **object_type** | **String** | | -**criteria** | [**Vec**](StatsSearchCriteria.md) | | +**limit** | Option<**i32**> | | [optional] +**access** | **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) diff --git a/docs/StatsSearchResponse.md b/docs/StatsSearchResponse.md index a398c29..e871df8 100644 --- a/docs/StatsSearchResponse.md +++ b/docs/StatsSearchResponse.md @@ -5,6 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ids** | **Vec** | | +**offset** | Option<**i32**> | | [optional] +**limit** | Option<**i32**> | | [optional] +**total** | 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) diff --git a/docs/TicketApi.md b/docs/TicketApi.md index 0a2190b..bc70fb5 100644 --- a/docs/TicketApi.md +++ b/docs/TicketApi.md @@ -51,7 +51,7 @@ No authorization required > serde_json::Value api_matchmaking_tickets_id_delete(id, x_beam_scope, x_beam_gamertag) -Cancel a pending ticket. If no ticket with the id exists, this will still return a 204. +Cancel a pending ticket. If no ticket with the id exists, this will still return a 204. ### Parameters @@ -115,7 +115,7 @@ No authorization required > models::TicketReservationResponse api_matchmaking_tickets_post(x_beam_scope, x_beam_gamertag, ticket_reservation_request) -Create a ticket representing 1 or more players to be matched with others. +Create a ticket representing 1 or more players to be matched with others. ### Parameters diff --git a/docs/UpdateCustomerRequest.md b/docs/UpdateCustomerRequest.md new file mode 100644 index 0000000..b2f6fd3 --- /dev/null +++ b/docs/UpdateCustomerRequest.md @@ -0,0 +1,11 @@ +# UpdateCustomerRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**payment_status** | Option<[**models::PaymentStatus**](PaymentStatus.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) + + diff --git a/docs/UpdateOtelViewRequest.md b/docs/UpdateOtelViewRequest.md new file mode 100644 index 0000000..79651fc --- /dev/null +++ b/docs/UpdateOtelViewRequest.md @@ -0,0 +1,14 @@ +# UpdateOtelViewRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | Option<**String**> | | [optional] +**query** | Option<**String**> | | [optional] +**is_public** | Option<**bool**> | | [optional] +**is_favorite** | Option<**bool**> | | [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) + + diff --git a/src/apis/beamo_otel_api.rs b/src/apis/beamo_otel_api.rs new file mode 100644 index 0000000..39eaf23 --- /dev/null +++ b/src/apis/beamo_otel_api.rs @@ -0,0 +1,364 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + + +use reqwest; +use serde::{Deserialize, Serialize, de::Error as _}; +use crate::{apis::ResponseContent, models}; +use super::{Error, configuration, ContentType}; + +/// struct for passing parameters to the method [`api_beamo_otel_auth_reader_config_get`] +#[derive(Clone, Debug)] +pub struct ApiBeamoOtelAuthReaderConfigGetParams { + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option +} + +/// struct for passing parameters to the method [`api_beamo_otel_auth_writer_config_get`] +#[derive(Clone, Debug)] +pub struct ApiBeamoOtelAuthWriterConfigGetParams { + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option +} + +/// struct for passing parameters to the method [`api_beamo_otel_views_get`] +#[derive(Clone, Debug)] +pub struct ApiBeamoOtelViewsGetParams { + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option, + pub player_id: Option +} + +/// struct for passing parameters to the method [`api_beamo_otel_views_post`] +#[derive(Clone, Debug)] +pub struct ApiBeamoOtelViewsPostParams { + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option, + pub otel_view: Option +} + +/// struct for passing parameters to the method [`api_beamo_otel_views_view_id_delete`] +#[derive(Clone, Debug)] +pub struct ApiBeamoOtelViewsViewIdDeleteParams { + pub view_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option +} + +/// struct for passing parameters to the method [`api_beamo_otel_views_view_id_put`] +#[derive(Clone, Debug)] +pub struct ApiBeamoOtelViewsViewIdPutParams { + pub view_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option, + pub update_otel_view_request: Option +} + + +/// struct for typed errors of method [`api_beamo_otel_auth_reader_config_get`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiBeamoOtelAuthReaderConfigGetError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_beamo_otel_auth_writer_config_get`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiBeamoOtelAuthWriterConfigGetError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_beamo_otel_views_get`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiBeamoOtelViewsGetError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_beamo_otel_views_post`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiBeamoOtelViewsPostError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_beamo_otel_views_view_id_delete`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiBeamoOtelViewsViewIdDeleteError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_beamo_otel_views_view_id_put`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiBeamoOtelViewsViewIdPutError { + UnknownValue(serde_json::Value), +} + + +pub async fn api_beamo_otel_auth_reader_config_get(configuration: &configuration::Configuration, params: ApiBeamoOtelAuthReaderConfigGetParams) -> Result> { + + let uri_str = format!("{}/api/beamo/otel/auth/reader/config", configuration.base_path); + let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::OtelAuthConfig`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::OtelAuthConfig`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_beamo_otel_auth_writer_config_get(configuration: &configuration::Configuration, params: ApiBeamoOtelAuthWriterConfigGetParams) -> Result> { + + let uri_str = format!("{}/api/beamo/otel/auth/writer/config", configuration.base_path); + let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::OtelAuthConfig`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::OtelAuthConfig`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_beamo_otel_views_get(configuration: &configuration::Configuration, params: ApiBeamoOtelViewsGetParams) -> Result> { + + let uri_str = format!("{}/api/beamo/otel/views", configuration.base_path); + let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + + if let Some(ref param_value) = params.player_id { + req_builder = req_builder.query(&[("playerId", ¶m_value.to_string())]); + } + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::OtelViewsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::OtelViewsResponse`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_beamo_otel_views_post(configuration: &configuration::Configuration, params: ApiBeamoOtelViewsPostParams) -> Result> { + + let uri_str = format!("{}/api/beamo/otel/views", configuration.base_path); + let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + req_builder = req_builder.json(¶ms.otel_view); + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::OtelView`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::OtelView`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_beamo_otel_views_view_id_delete(configuration: &configuration::Configuration, params: ApiBeamoOtelViewsViewIdDeleteParams) -> Result> { + + let uri_str = format!("{}/api/beamo/otel/views/{viewId}", configuration.base_path, viewId=crate::apis::urlencode(params.view_id)); + let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `serde_json::Value`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `serde_json::Value`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_beamo_otel_views_view_id_put(configuration: &configuration::Configuration, params: ApiBeamoOtelViewsViewIdPutParams) -> Result> { + + let uri_str = format!("{}/api/beamo/otel/views/{viewId}", configuration.base_path, viewId=crate::apis::urlencode(params.view_id)); + let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + req_builder = req_builder.json(¶ms.update_otel_view_request); + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::OtelView`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::OtelView`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + diff --git a/src/apis/customer_api.rs b/src/apis/customer_api.rs new file mode 100644 index 0000000..be295b8 --- /dev/null +++ b/src/apis/customer_api.rs @@ -0,0 +1,1371 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + + +use reqwest; +use serde::{Deserialize, Serialize, de::Error as _}; +use crate::{apis::ResponseContent, models}; +use super::{Error, configuration, ContentType}; + +/// struct for passing parameters to the method [`api_customers_activate_put`] +#[derive(Clone, Debug)] +pub struct ApiCustomersActivatePutParams { + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option +} + +/// struct for passing parameters to the method [`api_customers_aliases_alias_get`] +#[derive(Clone, Debug)] +pub struct ApiCustomersAliasesAliasGetParams { + pub alias: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option +} + +/// struct for passing parameters to the method [`api_customers_customer_id_alias_put`] +#[derive(Clone, Debug)] +pub struct ApiCustomersCustomerIdAliasPutParams { + pub customer_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option, + pub set_customer_alias_request: Option +} + +/// struct for passing parameters to the method [`api_customers_customer_id_games_game_id_get`] +#[derive(Clone, Debug)] +pub struct ApiCustomersCustomerIdGamesGameIdGetParams { + pub customer_id: String, + pub game_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option +} + +/// struct for passing parameters to the method [`api_customers_customer_id_games_game_id_put`] +#[derive(Clone, Debug)] +pub struct ApiCustomersCustomerIdGamesGameIdPutParams { + pub customer_id: String, + pub game_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option, + pub customer_actor_update_game_hierarchy_request: Option +} + +/// struct for passing parameters to the method [`api_customers_customer_id_games_get`] +#[derive(Clone, Debug)] +pub struct ApiCustomersCustomerIdGamesGetParams { + pub customer_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option +} + +/// struct for passing parameters to the method [`api_customers_customer_id_games_post`] +#[derive(Clone, Debug)] +pub struct ApiCustomersCustomerIdGamesPostParams { + pub customer_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option, + pub new_game_request: Option +} + +/// struct for passing parameters to the method [`api_customers_customer_id_get`] +#[derive(Clone, Debug)] +pub struct ApiCustomersCustomerIdGetParams { + pub customer_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option +} + +/// struct for passing parameters to the method [`api_customers_customer_id_put`] +#[derive(Clone, Debug)] +pub struct ApiCustomersCustomerIdPutParams { + pub customer_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option, + pub update_customer_request: Option +} + +/// struct for passing parameters to the method [`api_customers_customer_id_realms_destination_realm_id_promotion_get`] +#[derive(Clone, Debug)] +pub struct ApiCustomersCustomerIdRealmsDestinationRealmIdPromotionGetParams { + pub customer_id: String, + pub destination_realm_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option, + pub source_realm_id: Option, + pub promotables: Option, + pub content_ids: Option +} + +/// struct for passing parameters to the method [`api_customers_customer_id_realms_destination_realm_id_promotion_post`] +#[derive(Clone, Debug)] +pub struct ApiCustomersCustomerIdRealmsDestinationRealmIdPromotionPostParams { + pub customer_id: String, + pub destination_realm_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option, + pub customer_actor_promote_realm_request: Option +} + +/// struct for passing parameters to the method [`api_customers_customer_id_realms_post`] +#[derive(Clone, Debug)] +pub struct ApiCustomersCustomerIdRealmsPostParams { + pub customer_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option, + pub create_realm_request: Option +} + +/// struct for passing parameters to the method [`api_customers_customer_id_realms_realm_id_client_defaults_get`] +#[derive(Clone, Debug)] +pub struct ApiCustomersCustomerIdRealmsRealmIdClientDefaultsGetParams { + pub customer_id: String, + pub realm_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option +} + +/// struct for passing parameters to the method [`api_customers_customer_id_realms_realm_id_config_get`] +#[derive(Clone, Debug)] +pub struct ApiCustomersCustomerIdRealmsRealmIdConfigGetParams { + pub customer_id: String, + pub realm_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option +} + +/// struct for passing parameters to the method [`api_customers_customer_id_realms_realm_id_config_patch`] +#[derive(Clone, Debug)] +pub struct ApiCustomersCustomerIdRealmsRealmIdConfigPatchParams { + pub customer_id: String, + pub realm_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option, + pub realm_config_change_request: Option +} + +/// struct for passing parameters to the method [`api_customers_customer_id_realms_realm_id_config_put`] +#[derive(Clone, Debug)] +pub struct ApiCustomersCustomerIdRealmsRealmIdConfigPutParams { + pub customer_id: String, + pub realm_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option, + pub customer_actor_realm_config_save_request: Option +} + +/// struct for passing parameters to the method [`api_customers_customer_id_realms_realm_id_delete`] +#[derive(Clone, Debug)] +pub struct ApiCustomersCustomerIdRealmsRealmIdDeleteParams { + pub customer_id: String, + pub realm_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option +} + +/// struct for passing parameters to the method [`api_customers_customer_id_realms_realm_id_get`] +#[derive(Clone, Debug)] +pub struct ApiCustomersCustomerIdRealmsRealmIdGetParams { + pub customer_id: String, + pub realm_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option +} + +/// struct for passing parameters to the method [`api_customers_customer_id_realms_realm_id_put`] +#[derive(Clone, Debug)] +pub struct ApiCustomersCustomerIdRealmsRealmIdPutParams { + pub customer_id: String, + pub realm_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option +} + +/// struct for passing parameters to the method [`api_customers_customer_id_realms_realm_id_rename_put`] +#[derive(Clone, Debug)] +pub struct ApiCustomersCustomerIdRealmsRealmIdRenamePutParams { + pub customer_id: String, + pub realm_id: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option, + pub rename_realm_request: Option +} + +/// struct for passing parameters to the method [`api_customers_get`] +#[derive(Clone, Debug)] +pub struct ApiCustomersGetParams { + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option +} + +/// struct for passing parameters to the method [`api_customers_post`] +#[derive(Clone, Debug)] +pub struct ApiCustomersPostParams { + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option, + pub customer_actor_new_customer_request: Option +} + +/// struct for passing parameters to the method [`api_customers_verify_post`] +#[derive(Clone, Debug)] +pub struct ApiCustomersVerifyPostParams { + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option, + pub customer_actor_new_customer_request: Option +} + + +/// struct for typed errors of method [`api_customers_activate_put`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersActivatePutError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_aliases_alias_get`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersAliasesAliasGetError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_customer_id_alias_put`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersCustomerIdAliasPutError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_customer_id_games_game_id_get`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersCustomerIdGamesGameIdGetError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_customer_id_games_game_id_put`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersCustomerIdGamesGameIdPutError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_customer_id_games_get`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersCustomerIdGamesGetError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_customer_id_games_post`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersCustomerIdGamesPostError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_customer_id_get`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersCustomerIdGetError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_customer_id_put`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersCustomerIdPutError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_customer_id_realms_destination_realm_id_promotion_get`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersCustomerIdRealmsDestinationRealmIdPromotionGetError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_customer_id_realms_destination_realm_id_promotion_post`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersCustomerIdRealmsDestinationRealmIdPromotionPostError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_customer_id_realms_post`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersCustomerIdRealmsPostError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_customer_id_realms_realm_id_client_defaults_get`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersCustomerIdRealmsRealmIdClientDefaultsGetError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_customer_id_realms_realm_id_config_get`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersCustomerIdRealmsRealmIdConfigGetError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_customer_id_realms_realm_id_config_patch`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersCustomerIdRealmsRealmIdConfigPatchError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_customer_id_realms_realm_id_config_put`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersCustomerIdRealmsRealmIdConfigPutError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_customer_id_realms_realm_id_delete`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersCustomerIdRealmsRealmIdDeleteError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_customer_id_realms_realm_id_get`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersCustomerIdRealmsRealmIdGetError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_customer_id_realms_realm_id_put`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersCustomerIdRealmsRealmIdPutError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_customer_id_realms_realm_id_rename_put`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersCustomerIdRealmsRealmIdRenamePutError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_get`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersGetError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_post`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersPostError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_customers_verify_post`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiCustomersVerifyPostError { + UnknownValue(serde_json::Value), +} + + +pub async fn api_customers_activate_put(configuration: &configuration::Configuration, params: ApiCustomersActivatePutParams) -> Result> { + + let uri_str = format!("{}/api/customers/activate", configuration.base_path); + let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CustomerActorHtmlResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CustomerActorHtmlResponse`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_aliases_alias_get(configuration: &configuration::Configuration, params: ApiCustomersAliasesAliasGetParams) -> Result> { + + let uri_str = format!("{}/api/customers/aliases/{alias}", configuration.base_path, alias=crate::apis::urlencode(params.alias)); + let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CustomerActorAliasAvailableResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CustomerActorAliasAvailableResponse`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_customer_id_alias_put(configuration: &configuration::Configuration, params: ApiCustomersCustomerIdAliasPutParams) -> Result> { + + let uri_str = format!("{}/api/customers/{customerId}/alias", configuration.base_path, customerId=crate::apis::urlencode(params.customer_id)); + let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + req_builder = req_builder.json(¶ms.set_customer_alias_request); + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `serde_json::Value`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `serde_json::Value`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_customer_id_games_game_id_get(configuration: &configuration::Configuration, params: ApiCustomersCustomerIdGamesGameIdGetParams) -> Result> { + + let uri_str = format!("{}/api/customers/{customerId}/games/{gameId}", configuration.base_path, customerId=crate::apis::urlencode(params.customer_id), gameId=crate::apis::urlencode(params.game_id)); + let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetGamesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetGamesResponse`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_customer_id_games_game_id_put(configuration: &configuration::Configuration, params: ApiCustomersCustomerIdGamesGameIdPutParams) -> Result> { + + let uri_str = format!("{}/api/customers/{customerId}/games/{gameId}", configuration.base_path, customerId=crate::apis::urlencode(params.customer_id), gameId=crate::apis::urlencode(params.game_id)); + let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + req_builder = req_builder.json(¶ms.customer_actor_update_game_hierarchy_request); + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `serde_json::Value`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `serde_json::Value`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_customer_id_games_get(configuration: &configuration::Configuration, params: ApiCustomersCustomerIdGamesGetParams) -> Result> { + + let uri_str = format!("{}/api/customers/{customerId}/games", configuration.base_path, customerId=crate::apis::urlencode(params.customer_id)); + let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetGamesResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetGamesResponse`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_customer_id_games_post(configuration: &configuration::Configuration, params: ApiCustomersCustomerIdGamesPostParams) -> Result> { + + let uri_str = format!("{}/api/customers/{customerId}/games", configuration.base_path, customerId=crate::apis::urlencode(params.customer_id)); + let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + req_builder = req_builder.json(¶ms.new_game_request); + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RealmView`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RealmView`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_customer_id_get(configuration: &configuration::Configuration, params: ApiCustomersCustomerIdGetParams) -> Result> { + + let uri_str = format!("{}/api/customers/{customerId}", configuration.base_path, customerId=crate::apis::urlencode(params.customer_id)); + let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CustomerActorCustomerView`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CustomerActorCustomerView`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_customer_id_put(configuration: &configuration::Configuration, params: ApiCustomersCustomerIdPutParams) -> Result> { + + let uri_str = format!("{}/api/customers/{customerId}", configuration.base_path, customerId=crate::apis::urlencode(params.customer_id)); + let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + req_builder = req_builder.json(¶ms.update_customer_request); + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `serde_json::Value`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `serde_json::Value`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_customer_id_realms_destination_realm_id_promotion_get(configuration: &configuration::Configuration, params: ApiCustomersCustomerIdRealmsDestinationRealmIdPromotionGetParams) -> Result> { + + let uri_str = format!("{}/api/customers/{customerId}/realms/{destinationRealmId}/promotion", configuration.base_path, customerId=crate::apis::urlencode(params.customer_id), destinationRealmId=crate::apis::urlencode(params.destination_realm_id)); + let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + + if let Some(ref param_value) = params.source_realm_id { + req_builder = req_builder.query(&[("sourceRealmId", ¶m_value.to_string())]); + } + if let Some(ref param_value) = params.promotables { + req_builder = req_builder.query(&[("promotables", ¶m_value.to_string())]); + } + if let Some(ref param_value) = params.content_ids { + req_builder = req_builder.query(&[("contentIds", ¶m_value.to_string())]); + } + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CustomerActorPromoteRealmResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CustomerActorPromoteRealmResponse`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_customer_id_realms_destination_realm_id_promotion_post(configuration: &configuration::Configuration, params: ApiCustomersCustomerIdRealmsDestinationRealmIdPromotionPostParams) -> Result> { + + let uri_str = format!("{}/api/customers/{customerId}/realms/{destinationRealmId}/promotion", configuration.base_path, customerId=crate::apis::urlencode(params.customer_id), destinationRealmId=crate::apis::urlencode(params.destination_realm_id)); + let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + req_builder = req_builder.json(¶ms.customer_actor_promote_realm_request); + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CustomerActorPromoteRealmResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CustomerActorPromoteRealmResponse`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_customer_id_realms_post(configuration: &configuration::Configuration, params: ApiCustomersCustomerIdRealmsPostParams) -> Result> { + + let uri_str = format!("{}/api/customers/{customerId}/realms", configuration.base_path, customerId=crate::apis::urlencode(params.customer_id)); + let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + req_builder = req_builder.json(¶ms.create_realm_request); + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `serde_json::Value`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `serde_json::Value`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_customer_id_realms_realm_id_client_defaults_get(configuration: &configuration::Configuration, params: ApiCustomersCustomerIdRealmsRealmIdClientDefaultsGetParams) -> Result> { + + let uri_str = format!("{}/api/customers/{customerId}/realms/{realmId}/client-defaults", configuration.base_path, customerId=crate::apis::urlencode(params.customer_id), realmId=crate::apis::urlencode(params.realm_id)); + let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CustomerActorRealmConfiguration`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CustomerActorRealmConfiguration`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_customer_id_realms_realm_id_config_get(configuration: &configuration::Configuration, params: ApiCustomersCustomerIdRealmsRealmIdConfigGetParams) -> Result> { + + let uri_str = format!("{}/api/customers/{customerId}/realms/{realmId}/config", configuration.base_path, customerId=crate::apis::urlencode(params.customer_id), realmId=crate::apis::urlencode(params.realm_id)); + let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CustomerActorRealmConfigResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CustomerActorRealmConfigResponse`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_customer_id_realms_realm_id_config_patch(configuration: &configuration::Configuration, params: ApiCustomersCustomerIdRealmsRealmIdConfigPatchParams) -> Result> { + + let uri_str = format!("{}/api/customers/{customerId}/realms/{realmId}/config", configuration.base_path, customerId=crate::apis::urlencode(params.customer_id), realmId=crate::apis::urlencode(params.realm_id)); + let mut req_builder = configuration.client.request(reqwest::Method::PATCH, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + req_builder = req_builder.json(¶ms.realm_config_change_request); + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `serde_json::Value`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `serde_json::Value`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_customer_id_realms_realm_id_config_put(configuration: &configuration::Configuration, params: ApiCustomersCustomerIdRealmsRealmIdConfigPutParams) -> Result> { + + let uri_str = format!("{}/api/customers/{customerId}/realms/{realmId}/config", configuration.base_path, customerId=crate::apis::urlencode(params.customer_id), realmId=crate::apis::urlencode(params.realm_id)); + let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + req_builder = req_builder.json(¶ms.customer_actor_realm_config_save_request); + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `serde_json::Value`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `serde_json::Value`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_customer_id_realms_realm_id_delete(configuration: &configuration::Configuration, params: ApiCustomersCustomerIdRealmsRealmIdDeleteParams) -> Result> { + + let uri_str = format!("{}/api/customers/{customerId}/realms/{realmId}", configuration.base_path, customerId=crate::apis::urlencode(params.customer_id), realmId=crate::apis::urlencode(params.realm_id)); + let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `serde_json::Value`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `serde_json::Value`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_customer_id_realms_realm_id_get(configuration: &configuration::Configuration, params: ApiCustomersCustomerIdRealmsRealmIdGetParams) -> Result> { + + let uri_str = format!("{}/api/customers/{customerId}/realms/{realmId}", configuration.base_path, customerId=crate::apis::urlencode(params.customer_id), realmId=crate::apis::urlencode(params.realm_id)); + let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RealmView`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RealmView`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_customer_id_realms_realm_id_put(configuration: &configuration::Configuration, params: ApiCustomersCustomerIdRealmsRealmIdPutParams) -> Result> { + + let uri_str = format!("{}/api/customers/{customerId}/realms/{realmId}", configuration.base_path, customerId=crate::apis::urlencode(params.customer_id), realmId=crate::apis::urlencode(params.realm_id)); + let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `serde_json::Value`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `serde_json::Value`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_customer_id_realms_realm_id_rename_put(configuration: &configuration::Configuration, params: ApiCustomersCustomerIdRealmsRealmIdRenamePutParams) -> Result> { + + let uri_str = format!("{}/api/customers/{customerId}/realms/{realmId}/rename", configuration.base_path, customerId=crate::apis::urlencode(params.customer_id), realmId=crate::apis::urlencode(params.realm_id)); + let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + req_builder = req_builder.json(¶ms.rename_realm_request); + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `serde_json::Value`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `serde_json::Value`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_get(configuration: &configuration::Configuration, params: ApiCustomersGetParams) -> Result> { + + let uri_str = format!("{}/api/customers", configuration.base_path); + let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CustomerActorCustomersResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CustomerActorCustomersResponse`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_post(configuration: &configuration::Configuration, params: ApiCustomersPostParams) -> Result> { + + let uri_str = format!("{}/api/customers", configuration.base_path); + let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + req_builder = req_builder.json(¶ms.customer_actor_new_customer_request); + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CustomerActorNewCustomerResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CustomerActorNewCustomerResponse`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_customers_verify_post(configuration: &configuration::Configuration, params: ApiCustomersVerifyPostParams) -> Result> { + + let uri_str = format!("{}/api/customers/verify", configuration.base_path); + let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + req_builder = req_builder.json(¶ms.customer_actor_new_customer_request); + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CustomerActorNewCustomerResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CustomerActorNewCustomerResponse`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + diff --git a/src/apis/default_api.rs b/src/apis/default_api.rs index fc8bfb8..9eb5990 100644 --- a/src/apis/default_api.rs +++ b/src/apis/default_api.rs @@ -226,6 +226,16 @@ pub struct BasicAccountsSearchGetParams { pub x_beam_gamertag: Option } +/// struct for passing parameters to the method [`basic_accounts_signup_post`] +#[derive(Clone, Debug)] +pub struct BasicAccountsSignupPostParams { + /// Customer and project scope. This should be in the form of '.'. + pub x_beam_scope: String, + /// Override the Gamer Tag of the player. This is generally inferred by the auth token. + pub x_beam_gamertag: Option, + pub create_account_with_creds_request: Option +} + /// struct for passing parameters to the method [`basic_announcements_content_get`] #[derive(Clone, Debug)] pub struct BasicAnnouncementsContentGetParams { @@ -789,6 +799,22 @@ pub struct BasicContentManifestChecksumsGetParams { pub x_beam_gamertag: Option } +/// struct for passing parameters to the method [`basic_content_manifest_diffs_get`] +#[derive(Clone, Debug)] +pub struct BasicContentManifestDiffsGetParams { + /// Customer and project scope. This should be in the form of '.'. + pub x_beam_scope: String, + pub manifest_id: String, + /// Override the Gamer Tag of the player. This is generally inferred by the auth token. + pub x_beam_gamertag: Option, + pub from_uid: Option, + pub to_uid: Option, + pub offset: Option, + pub from_date: Option, + pub to_date: Option, + pub limit: Option +} + /// struct for passing parameters to the method [`basic_content_manifest_exact_get`] #[derive(Clone, Debug)] pub struct BasicContentManifestExactGetParams { @@ -1839,7 +1865,7 @@ pub struct BasicRealmsConfigPutParams { pub x_beam_scope: String, /// Override the Gamer Tag of the player. This is generally inferred by the auth token. pub x_beam_gamertag: Option, - pub realm_config_save_request: Option + pub realms_basic_realm_config_save_request: Option } /// struct for passing parameters to the method [`basic_realms_customer_activate_get`] @@ -1879,7 +1905,7 @@ pub struct BasicRealmsCustomerPostParams { pub x_beam_scope: String, /// Override the Gamer Tag of the player. This is generally inferred by the auth token. pub x_beam_gamertag: Option, - pub new_customer_request: Option + pub realms_basic_new_customer_request: Option } /// struct for passing parameters to the method [`basic_realms_customer_verify_post`] @@ -1889,7 +1915,7 @@ pub struct BasicRealmsCustomerVerifyPostParams { pub x_beam_scope: String, /// Override the Gamer Tag of the player. This is generally inferred by the auth token. pub x_beam_gamertag: Option, - pub new_customer_request: Option + pub realms_basic_new_customer_request: Option } /// struct for passing parameters to the method [`basic_realms_customers_get`] @@ -1928,7 +1954,7 @@ pub struct BasicRealmsGamePutParams { pub x_beam_scope: String, /// Override the Gamer Tag of the player. This is generally inferred by the auth token. pub x_beam_gamertag: Option, - pub update_game_hierarchy_request: Option + pub realms_basic_update_game_hierarchy_request: Option } /// struct for passing parameters to the method [`basic_realms_games_get`] @@ -2055,7 +2081,7 @@ pub struct BasicRealmsProjectPromotePostParams { pub x_beam_scope: String, /// Override the Gamer Tag of the player. This is generally inferred by the auth token. pub x_beam_gamertag: Option, - pub promote_realm_request: Option + pub realms_basic_promote_realm_request: Option } /// struct for passing parameters to the method [`basic_realms_project_put`] @@ -2097,7 +2123,7 @@ pub struct BasicRealmsPromotionPostParams { pub x_beam_scope: String, /// Override the Gamer Tag of the player. This is generally inferred by the auth token. pub x_beam_gamertag: Option, - pub promote_realm_request: Option + pub realms_basic_promote_realm_request: Option } /// struct for passing parameters to the method [`basic_session_client_history_get`] @@ -3967,6 +3993,14 @@ pub enum BasicAccountsSearchGetError { UnknownValue(serde_json::Value), } +/// struct for typed errors of method [`basic_accounts_signup_post`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum BasicAccountsSignupPostError { + Status400(), + UnknownValue(serde_json::Value), +} + /// struct for typed errors of method [`basic_announcements_content_get`] #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] @@ -4415,6 +4449,14 @@ pub enum BasicContentManifestChecksumsGetError { UnknownValue(serde_json::Value), } +/// struct for typed errors of method [`basic_content_manifest_diffs_get`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum BasicContentManifestDiffsGetError { + Status400(), + UnknownValue(serde_json::Value), +} + /// struct for typed errors of method [`basic_content_manifest_exact_get`] #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(untagged)] @@ -7593,6 +7635,45 @@ pub async fn basic_accounts_search_get(configuration: &configuration::Configurat } } +pub async fn basic_accounts_signup_post(configuration: &configuration::Configuration, params: BasicAccountsSignupPostParams) -> Result> { + + let uri_str = format!("{}/basic/accounts/signup", configuration.base_path); + let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + req_builder = req_builder.header("X-BEAM-SCOPE", params.x_beam_scope.to_string()); + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + req_builder = req_builder.json(¶ms.create_account_with_creds_request); + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CreateAccountWithCredsApiResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CreateAccountWithCredsApiResponse`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + pub async fn basic_announcements_content_get(configuration: &configuration::Configuration, params: BasicAnnouncementsContentGetParams) -> Result> { let uri_str = format!("{}/basic/announcements/content", configuration.base_path); @@ -10373,6 +10454,74 @@ pub async fn basic_content_manifest_checksums_get(configuration: &configuration: } } +pub async fn basic_content_manifest_diffs_get(configuration: &configuration::Configuration, params: BasicContentManifestDiffsGetParams) -> Result> { + + let uri_str = format!("{}/basic/content/manifest/diffs", configuration.base_path); + let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + + req_builder = req_builder.query(&[("manifestId", ¶ms.manifest_id.to_string())]); + if let Some(ref param_value) = params.from_uid { + req_builder = req_builder.query(&[("fromUid", ¶m_value.to_string())]); + } + if let Some(ref param_value) = params.to_uid { + req_builder = req_builder.query(&[("toUid", ¶m_value.to_string())]); + } + if let Some(ref param_value) = params.offset { + req_builder = req_builder.query(&[("offset", ¶m_value.to_string())]); + } + if let Some(ref param_value) = params.from_date { + req_builder = req_builder.query(&[("fromDate", ¶m_value.to_string())]); + } + if let Some(ref param_value) = params.to_date { + req_builder = req_builder.query(&[("toDate", ¶m_value.to_string())]); + } + if let Some(ref param_value) = params.limit { + req_builder = req_builder.query(&[("limit", ¶m_value.to_string())]); + } + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + req_builder = req_builder.header("X-BEAM-SCOPE", params.x_beam_scope.to_string()); + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + if let Some(ref apikey) = configuration.api_key { + let key = apikey.key.clone(); + let value = match apikey.prefix { + Some(ref prefix) => format!("{} {}", prefix, key), + None => key, + }; + req_builder = req_builder.header("X-DE-SIGNATURE", value); + }; + if let Some(ref token) = configuration.bearer_access_token { + req_builder = req_builder.bearer_auth(token.to_owned()); + }; + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GetManifestDiffsResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GetManifestDiffsResponse`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + pub async fn basic_content_manifest_exact_get(configuration: &configuration::Configuration, params: BasicContentManifestExactGetParams) -> Result> { let uri_str = format!("{}/basic/content/manifest/exact", configuration.base_path); @@ -10533,7 +10682,7 @@ pub async fn basic_content_manifest_history_get(configuration: &configuration::C } } -pub async fn basic_content_manifest_post(configuration: &configuration::Configuration, params: BasicContentManifestPostParams) -> Result> { +pub async fn basic_content_manifest_post(configuration: &configuration::Configuration, params: BasicContentManifestPostParams) -> Result> { let uri_str = format!("{}/basic/content/manifest", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -10573,8 +10722,8 @@ pub async fn basic_content_manifest_post(configuration: &configuration::Configur let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ContentBasicManifest`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ContentBasicManifest`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SaveManifestResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SaveManifestResponse`")))), } } else { let content = resp.text().await?; @@ -14945,7 +15094,7 @@ pub async fn basic_realms_admin_inflight_failures_get(configuration: &configurat } } -pub async fn basic_realms_client_defaults_get(configuration: &configuration::Configuration, params: BasicRealmsClientDefaultsGetParams) -> Result> { +pub async fn basic_realms_client_defaults_get(configuration: &configuration::Configuration, params: BasicRealmsClientDefaultsGetParams) -> Result> { let uri_str = format!("{}/basic/realms/client/defaults", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -14973,8 +15122,8 @@ pub async fn basic_realms_client_defaults_get(configuration: &configuration::Con let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RealmConfiguration`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RealmConfiguration`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RealmsBasicRealmConfiguration`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RealmsBasicRealmConfiguration`")))), } } else { let content = resp.text().await?; @@ -14983,7 +15132,7 @@ pub async fn basic_realms_client_defaults_get(configuration: &configuration::Con } } -pub async fn basic_realms_config_get(configuration: &configuration::Configuration, params: BasicRealmsConfigGetParams) -> Result> { +pub async fn basic_realms_config_get(configuration: &configuration::Configuration, params: BasicRealmsConfigGetParams) -> Result> { let uri_str = format!("{}/basic/realms/config", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -15022,8 +15171,8 @@ pub async fn basic_realms_config_get(configuration: &configuration::Configuratio let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RealmConfigResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RealmConfigResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RealmsBasicRealmConfigResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RealmsBasicRealmConfigResponse`")))), } } else { let content = resp.text().await?; @@ -15105,7 +15254,7 @@ pub async fn basic_realms_config_put(configuration: &configuration::Configuratio if let Some(ref token) = configuration.bearer_access_token { req_builder = req_builder.bearer_auth(token.to_owned()); }; - req_builder = req_builder.json(¶ms.realm_config_save_request); + req_builder = req_builder.json(¶ms.realms_basic_realm_config_save_request); let req = req_builder.build()?; let resp = configuration.client.execute(req).await?; @@ -15132,7 +15281,7 @@ pub async fn basic_realms_config_put(configuration: &configuration::Configuratio } } -pub async fn basic_realms_customer_activate_get(configuration: &configuration::Configuration, params: BasicRealmsCustomerActivateGetParams) -> Result> { +pub async fn basic_realms_customer_activate_get(configuration: &configuration::Configuration, params: BasicRealmsCustomerActivateGetParams) -> Result> { let uri_str = format!("{}/basic/realms/customer/activate", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -15162,8 +15311,8 @@ pub async fn basic_realms_customer_activate_get(configuration: &configuration::C let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::HtmlResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::HtmlResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RealmsBasicHtmlResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RealmsBasicHtmlResponse`")))), } } else { let content = resp.text().await?; @@ -15172,7 +15321,7 @@ pub async fn basic_realms_customer_activate_get(configuration: &configuration::C } } -pub async fn basic_realms_customer_alias_available_get(configuration: &configuration::Configuration, params: BasicRealmsCustomerAliasAvailableGetParams) -> Result> { +pub async fn basic_realms_customer_alias_available_get(configuration: &configuration::Configuration, params: BasicRealmsCustomerAliasAvailableGetParams) -> Result> { let uri_str = format!("{}/basic/realms/customer/alias/available", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -15201,8 +15350,8 @@ pub async fn basic_realms_customer_alias_available_get(configuration: &configura let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::AliasAvailableResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::AliasAvailableResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RealmsBasicAliasAvailableResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RealmsBasicAliasAvailableResponse`")))), } } else { let content = resp.text().await?; @@ -15260,7 +15409,7 @@ pub async fn basic_realms_customer_get(configuration: &configuration::Configurat } } -pub async fn basic_realms_customer_post(configuration: &configuration::Configuration, params: BasicRealmsCustomerPostParams) -> Result> { +pub async fn basic_realms_customer_post(configuration: &configuration::Configuration, params: BasicRealmsCustomerPostParams) -> Result> { let uri_str = format!("{}/basic/realms/customer", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -15272,7 +15421,7 @@ pub async fn basic_realms_customer_post(configuration: &configuration::Configura if let Some(param_value) = params.x_beam_gamertag { req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); } - req_builder = req_builder.json(¶ms.new_customer_request); + req_builder = req_builder.json(¶ms.realms_basic_new_customer_request); let req = req_builder.build()?; let resp = configuration.client.execute(req).await?; @@ -15289,8 +15438,8 @@ pub async fn basic_realms_customer_post(configuration: &configuration::Configura let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::NewCustomerResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::NewCustomerResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RealmsBasicNewCustomerResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RealmsBasicNewCustomerResponse`")))), } } else { let content = resp.text().await?; @@ -15299,7 +15448,7 @@ pub async fn basic_realms_customer_post(configuration: &configuration::Configura } } -pub async fn basic_realms_customer_verify_post(configuration: &configuration::Configuration, params: BasicRealmsCustomerVerifyPostParams) -> Result> { +pub async fn basic_realms_customer_verify_post(configuration: &configuration::Configuration, params: BasicRealmsCustomerVerifyPostParams) -> Result> { let uri_str = format!("{}/basic/realms/customer/verify", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -15311,7 +15460,7 @@ pub async fn basic_realms_customer_verify_post(configuration: &configuration::Co if let Some(param_value) = params.x_beam_gamertag { req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); } - req_builder = req_builder.json(¶ms.new_customer_request); + req_builder = req_builder.json(¶ms.realms_basic_new_customer_request); let req = req_builder.build()?; let resp = configuration.client.execute(req).await?; @@ -15328,8 +15477,8 @@ pub async fn basic_realms_customer_verify_post(configuration: &configuration::Co let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::NewCustomerResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::NewCustomerResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RealmsBasicNewCustomerResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RealmsBasicNewCustomerResponse`")))), } } else { let content = resp.text().await?; @@ -15338,7 +15487,7 @@ pub async fn basic_realms_customer_verify_post(configuration: &configuration::Co } } -pub async fn basic_realms_customers_get(configuration: &configuration::Configuration, params: BasicRealmsCustomersGetParams) -> Result> { +pub async fn basic_realms_customers_get(configuration: &configuration::Configuration, params: BasicRealmsCustomersGetParams) -> Result> { let uri_str = format!("{}/basic/realms/customers", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -15366,8 +15515,8 @@ pub async fn basic_realms_customers_get(configuration: &configuration::Configura let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::CustomersResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::CustomersResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RealmsBasicCustomersResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RealmsBasicCustomersResponse`")))), } } else { let content = resp.text().await?; @@ -15499,7 +15648,7 @@ pub async fn basic_realms_game_put(configuration: &configuration::Configuration, if let Some(ref token) = configuration.bearer_access_token { req_builder = req_builder.bearer_auth(token.to_owned()); }; - req_builder = req_builder.json(¶ms.update_game_hierarchy_request); + req_builder = req_builder.json(¶ms.realms_basic_update_game_hierarchy_request); let req = req_builder.build()?; let resp = configuration.client.execute(req).await?; @@ -15762,7 +15911,7 @@ pub async fn basic_realms_launch_message_post(configuration: &configuration::Con } } -pub async fn basic_realms_plans_get(configuration: &configuration::Configuration, params: BasicRealmsPlansGetParams) -> Result> { +pub async fn basic_realms_plans_get(configuration: &configuration::Configuration, params: BasicRealmsPlansGetParams) -> Result> { let uri_str = format!("{}/basic/realms/plans", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -15801,8 +15950,8 @@ pub async fn basic_realms_plans_get(configuration: &configuration::Configuration let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ServicePlansResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ServicePlansResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RealmsBasicServicePlansResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RealmsBasicServicePlansResponse`")))), } } else { let content = resp.text().await?; @@ -16134,7 +16283,7 @@ pub async fn basic_realms_project_promote_post(configuration: &configuration::Co if let Some(ref token) = configuration.bearer_access_token { req_builder = req_builder.bearer_auth(token.to_owned()); }; - req_builder = req_builder.json(¶ms.promote_realm_request); + req_builder = req_builder.json(¶ms.realms_basic_promote_realm_request); let req = req_builder.build()?; let resp = configuration.client.execute(req).await?; @@ -16261,7 +16410,7 @@ pub async fn basic_realms_project_rename_put(configuration: &configuration::Conf } } -pub async fn basic_realms_promotion_get(configuration: &configuration::Configuration, params: BasicRealmsPromotionGetParams) -> Result> { +pub async fn basic_realms_promotion_get(configuration: &configuration::Configuration, params: BasicRealmsPromotionGetParams) -> Result> { let uri_str = format!("{}/basic/realms/promotion", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); @@ -16313,8 +16462,8 @@ pub async fn basic_realms_promotion_get(configuration: &configuration::Configura let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PromoteRealmResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PromoteRealmResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RealmsBasicPromoteRealmResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RealmsBasicPromoteRealmResponse`")))), } } else { let content = resp.text().await?; @@ -16323,7 +16472,7 @@ pub async fn basic_realms_promotion_get(configuration: &configuration::Configura } } -pub async fn basic_realms_promotion_post(configuration: &configuration::Configuration, params: BasicRealmsPromotionPostParams) -> Result> { +pub async fn basic_realms_promotion_post(configuration: &configuration::Configuration, params: BasicRealmsPromotionPostParams) -> Result> { let uri_str = format!("{}/basic/realms/promotion", configuration.base_path); let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); @@ -16346,7 +16495,7 @@ pub async fn basic_realms_promotion_post(configuration: &configuration::Configur if let Some(ref token) = configuration.bearer_access_token { req_builder = req_builder.bearer_auth(token.to_owned()); }; - req_builder = req_builder.json(¶ms.promote_realm_request); + req_builder = req_builder.json(¶ms.realms_basic_promote_realm_request); let req = req_builder.build()?; let resp = configuration.client.execute(req).await?; @@ -16363,8 +16512,8 @@ pub async fn basic_realms_promotion_post(configuration: &configuration::Configur let content = resp.text().await?; match content_type { ContentType::Json => serde_json::from_str(&content).map_err(Error::from), - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PromoteRealmResponse`"))), - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PromoteRealmResponse`")))), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::RealmsBasicPromoteRealmResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::RealmsBasicPromoteRealmResponse`")))), } } else { let content = resp.text().await?; diff --git a/src/apis/lobby_api.rs b/src/apis/lobby_api.rs index 8044ef4..0f423b6 100644 --- a/src/apis/lobby_api.rs +++ b/src/apis/lobby_api.rs @@ -137,6 +137,16 @@ pub struct ApiLobbiesPostParams { pub create_lobby: Option } +/// struct for passing parameters to the method [`api_lobbies_put`] +#[derive(Clone, Debug)] +pub struct ApiLobbiesPutParams { + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option, + pub lobby: Option +} + /// struct for typed errors of method [`api_lobbies_get`] #[derive(Debug, Clone, Serialize, Deserialize)] @@ -208,6 +218,13 @@ pub enum ApiLobbiesPostError { UnknownValue(serde_json::Value), } +/// struct for typed errors of method [`api_lobbies_put`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiLobbiesPutError { + UnknownValue(serde_json::Value), +} + /// Query for active lobbies pub async fn api_lobbies_get(configuration: &configuration::Configuration, params: ApiLobbiesGetParams) -> Result> { @@ -259,7 +276,7 @@ pub async fn api_lobbies_get(configuration: &configuration::Configuration, param } } -/// Remove the requested player from the lobby. The host is able to remove anyone. Others may only remove themselves without error. +/// Remove the requested player from the lobby. The host is able to remove anyone. Others may only remove themselves without error. pub async fn api_lobbies_id_delete(configuration: &configuration::Configuration, params: ApiLobbiesIdDeleteParams) -> Result> { let uri_str = format!("{}/api/lobbies/{id}", configuration.base_path, id=crate::apis::urlencode(params.id)); @@ -636,3 +653,45 @@ pub async fn api_lobbies_post(configuration: &configuration::Configuration, para } } +/// Exposes the internal \"SetLobby\" behavior as an Admin only endpoint +pub async fn api_lobbies_put(configuration: &configuration::Configuration, params: ApiLobbiesPutParams) -> Result> { + + let uri_str = format!("{}/api/lobbies", configuration.base_path); + let mut req_builder = configuration.client.request(reqwest::Method::PUT, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + req_builder = req_builder.json(¶ms.lobby); + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::SetLobbyResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::SetLobbyResponse`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + diff --git a/src/apis/mod.rs b/src/apis/mod.rs index 3238a79..3fc1d8c 100644 --- a/src/apis/mod.rs +++ b/src/apis/mod.rs @@ -113,6 +113,8 @@ impl From<&str> for ContentType { pub mod auth_api; pub mod beamo_api; +pub mod beamo_otel_api; +pub mod customer_api; pub mod default_api; pub mod lobby_api; pub mod mailbox_api; @@ -124,6 +126,7 @@ pub mod player_presence_api; pub mod player_ticket_api; pub mod presence_api; pub mod scheduler_api; +pub mod service_plan_api; pub mod ticket_api; pub mod configuration; diff --git a/src/apis/party_api.rs b/src/apis/party_api.rs index 8476c95..b1d05a7 100644 --- a/src/apis/party_api.rs +++ b/src/apis/party_api.rs @@ -295,7 +295,7 @@ pub async fn api_parties_id_invite_post(configuration: &configuration::Configura } } -/// Remove the requested player from the party. The leader is able to remove anyone. Others may only remove themselves without error. +/// Remove the requested player from the party. The leader is able to remove anyone. Others may only remove themselves without error. pub async fn api_parties_id_members_delete(configuration: &configuration::Configuration, params: ApiPartiesIdMembersDeleteParams) -> Result> { let uri_str = format!("{}/api/parties/{id}/members", configuration.base_path, id=crate::apis::urlencode(params.id)); diff --git a/src/apis/service_plan_api.rs b/src/apis/service_plan_api.rs new file mode 100644 index 0000000..91aac5f --- /dev/null +++ b/src/apis/service_plan_api.rs @@ -0,0 +1,246 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + + +use reqwest; +use serde::{Deserialize, Serialize, de::Error as _}; +use crate::{apis::ResponseContent, models}; +use super::{Error, configuration, ContentType}; + +/// struct for passing parameters to the method [`api_service_plans_get`] +#[derive(Clone, Debug)] +pub struct ApiServicePlansGetParams { + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option +} + +/// struct for passing parameters to the method [`api_service_plans_name_delete`] +#[derive(Clone, Debug)] +pub struct ApiServicePlansNameDeleteParams { + pub name: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option +} + +/// struct for passing parameters to the method [`api_service_plans_name_get`] +#[derive(Clone, Debug)] +pub struct ApiServicePlansNameGetParams { + pub name: String, + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option +} + +/// struct for passing parameters to the method [`api_service_plans_post`] +#[derive(Clone, Debug)] +pub struct ApiServicePlansPostParams { + /// Customer and project scope. This should be in the form of '{customerId}.{projectId}'. This is only necessary when not using a JWT bearer token + pub x_beam_scope: Option, + /// Override the playerId of the requester. This is only necessary when not using a JWT bearer token. + pub x_beam_gamertag: Option, + pub create_service_plan_request: Option +} + + +/// struct for typed errors of method [`api_service_plans_get`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiServicePlansGetError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_service_plans_name_delete`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiServicePlansNameDeleteError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_service_plans_name_get`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiServicePlansNameGetError { + UnknownValue(serde_json::Value), +} + +/// struct for typed errors of method [`api_service_plans_post`] +#[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(untagged)] +pub enum ApiServicePlansPostError { + UnknownValue(serde_json::Value), +} + + +pub async fn api_service_plans_get(configuration: &configuration::Configuration, params: ApiServicePlansGetParams) -> Result> { + + let uri_str = format!("{}/api/service-plans", configuration.base_path); + let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ServicePlanActorServicePlansResponse`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ServicePlanActorServicePlansResponse`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_service_plans_name_delete(configuration: &configuration::Configuration, params: ApiServicePlansNameDeleteParams) -> Result> { + + let uri_str = format!("{}/api/service-plans/{name}", configuration.base_path, name=crate::apis::urlencode(params.name)); + let mut req_builder = configuration.client.request(reqwest::Method::DELETE, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `serde_json::Value`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `serde_json::Value`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_service_plans_name_get(configuration: &configuration::Configuration, params: ApiServicePlansNameGetParams) -> Result> { + + let uri_str = format!("{}/api/service-plans/{name}", configuration.base_path, name=crate::apis::urlencode(params.name)); + let mut req_builder = configuration.client.request(reqwest::Method::GET, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::ServicePlanActorServicePlan`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::ServicePlanActorServicePlan`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + +pub async fn api_service_plans_post(configuration: &configuration::Configuration, params: ApiServicePlansPostParams) -> Result> { + + let uri_str = format!("{}/api/service-plans", configuration.base_path); + let mut req_builder = configuration.client.request(reqwest::Method::POST, &uri_str); + + if let Some(ref user_agent) = configuration.user_agent { + req_builder = req_builder.header(reqwest::header::USER_AGENT, user_agent.clone()); + } + if let Some(param_value) = params.x_beam_scope { + req_builder = req_builder.header("X-BEAM-SCOPE", param_value.to_string()); + } + if let Some(param_value) = params.x_beam_gamertag { + req_builder = req_builder.header("X-BEAM-GAMERTAG", param_value.to_string()); + } + req_builder = req_builder.json(¶ms.create_service_plan_request); + + let req = req_builder.build()?; + let resp = configuration.client.execute(req).await?; + + let status = resp.status(); + let content_type = resp + .headers() + .get("content-type") + .and_then(|v| v.to_str().ok()) + .unwrap_or("application/octet-stream"); + let content_type = super::ContentType::from(content_type); + + if !status.is_client_error() && !status.is_server_error() { + let content = resp.text().await?; + match content_type { + ContentType::Json => serde_json::from_str(&content).map_err(Error::from), + ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `serde_json::Value`"))), + ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `serde_json::Value`")))), + } + } else { + let content = resp.text().await?; + let entity: Option = serde_json::from_str(&content).ok(); + Err(Error::ResponseError(ResponseContent { status, content, entity })) + } +} + diff --git a/src/apis/ticket_api.rs b/src/apis/ticket_api.rs index 0053ccf..c1b980d 100644 --- a/src/apis/ticket_api.rs +++ b/src/apis/ticket_api.rs @@ -144,7 +144,7 @@ pub async fn api_matchmaking_tickets_get(configuration: &configuration::Configur } } -/// Cancel a pending ticket. If no ticket with the id exists, this will still return a 204. +/// Cancel a pending ticket. If no ticket with the id exists, this will still return a 204. pub async fn api_matchmaking_tickets_id_delete(configuration: &configuration::Configuration, params: ApiMatchmakingTicketsIdDeleteParams) -> Result> { let uri_str = format!("{}/api/matchmaking/tickets/{id}", configuration.base_path, id=crate::apis::urlencode(params.id)); @@ -226,7 +226,7 @@ pub async fn api_matchmaking_tickets_id_get(configuration: &configuration::Confi } } -/// Create a ticket representing 1 or more players to be matched with others. +/// Create a ticket representing 1 or more players to be matched with others. pub async fn api_matchmaking_tickets_post(configuration: &configuration::Configuration, params: ApiMatchmakingTicketsPostParams) -> Result> { let uri_str = format!("{}/api/matchmaking/tickets", configuration.base_path); diff --git a/src/models/activation_status.rs b/src/models/activation_status.rs new file mode 100644 index 0000000..8d01f93 --- /dev/null +++ b/src/models/activation_status.rs @@ -0,0 +1,38 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +/// +#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] +pub enum ActivationStatus { + #[serde(rename = "Pending")] + Pending, + #[serde(rename = "Activated")] + Activated, + +} + +impl std::fmt::Display for ActivationStatus { + fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { + match self { + Self::Pending => write!(f, "Pending"), + Self::Activated => write!(f, "Activated"), + } + } +} + +impl Default for ActivationStatus { + fn default() -> ActivationStatus { + Self::Pending + } +} + diff --git a/src/models/client_content_info.rs b/src/models/client_content_info.rs index e5cb321..322d3e5 100644 --- a/src/models/client_content_info.rs +++ b/src/models/client_content_info.rs @@ -13,6 +13,8 @@ use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ClientContentInfo { + #[serde(rename = "updatedAt", skip_serializing_if = "Option::is_none")] + pub updated_at: Option, #[serde(rename = "tags")] pub tags: Vec, #[serde(rename = "uri")] @@ -21,6 +23,8 @@ pub struct ClientContentInfo { pub version: String, #[serde(rename = "checksum", skip_serializing_if = "Option::is_none")] pub checksum: Option, + #[serde(rename = "createdAt", skip_serializing_if = "Option::is_none")] + pub created_at: Option, #[serde(rename = "contentId")] pub content_id: String, #[serde(rename = "type")] @@ -30,10 +34,12 @@ pub struct ClientContentInfo { impl ClientContentInfo { pub fn new(tags: Vec, uri: String, version: String, content_id: String, r#type: models::ContentType) -> ClientContentInfo { ClientContentInfo { + updated_at: None, tags, uri, version, checksum: None, + created_at: None, content_id, r#type, } diff --git a/src/models/client_content_info_json.rs b/src/models/client_content_info_json.rs index 521e700..50b626e 100644 --- a/src/models/client_content_info_json.rs +++ b/src/models/client_content_info_json.rs @@ -13,6 +13,8 @@ use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct ClientContentInfoJson { + #[serde(rename = "updatedAt", skip_serializing_if = "Option::is_none")] + pub updated_at: Option, #[serde(rename = "tags")] pub tags: Vec, #[serde(rename = "uri")] @@ -21,6 +23,8 @@ pub struct ClientContentInfoJson { pub version: String, #[serde(rename = "checksum", skip_serializing_if = "Option::is_none")] pub checksum: Option, + #[serde(rename = "createdAt", skip_serializing_if = "Option::is_none")] + pub created_at: Option, #[serde(rename = "contentId")] pub content_id: String, #[serde(rename = "type")] @@ -30,10 +34,12 @@ pub struct ClientContentInfoJson { impl ClientContentInfoJson { pub fn new(tags: Vec, uri: String, version: String, content_id: String, r#type: models::ContentType) -> ClientContentInfoJson { ClientContentInfoJson { + updated_at: None, tags, uri, version, checksum: None, + created_at: None, content_id, r#type, } diff --git a/src/models/client_manifest_json_response.rs b/src/models/client_manifest_json_response.rs index 87e7596..fc9e75e 100644 --- a/src/models/client_manifest_json_response.rs +++ b/src/models/client_manifest_json_response.rs @@ -19,6 +19,8 @@ pub struct ClientManifestJsonResponse { pub entries: Vec, #[serde(rename = "publisherAccountId", skip_serializing_if = "Option::is_none")] pub publisher_account_id: Option, + #[serde(rename = "createdAt", skip_serializing_if = "Option::is_none")] + pub created_at: Option, } impl ClientManifestJsonResponse { @@ -27,6 +29,7 @@ impl ClientManifestJsonResponse { uid: None, entries, publisher_account_id: None, + created_at: None, } } } diff --git a/src/models/client_manifest_response.rs b/src/models/client_manifest_response.rs index 08f3ee8..653b663 100644 --- a/src/models/client_manifest_response.rs +++ b/src/models/client_manifest_response.rs @@ -15,12 +15,18 @@ use serde::{Deserialize, Serialize}; pub struct ClientManifestResponse { #[serde(rename = "items")] pub items: Vec, + #[serde(rename = "createdAt", skip_serializing_if = "Option::is_none")] + pub created_at: Option, + #[serde(rename = "latestUpdate", skip_serializing_if = "Option::is_none")] + pub latest_update: Option, } impl ClientManifestResponse { pub fn new(items: Vec) -> ClientManifestResponse { ClientManifestResponse { items, + created_at: None, + latest_update: None, } } } diff --git a/src/models/content_basic_manifest.rs b/src/models/content_basic_manifest.rs index 9cd5389..8c3d0b0 100644 --- a/src/models/content_basic_manifest.rs +++ b/src/models/content_basic_manifest.rs @@ -15,6 +15,8 @@ use serde::{Deserialize, Serialize}; pub struct ContentBasicManifest { #[serde(rename = "archived", skip_serializing_if = "Option::is_none")] pub archived: Option, + #[serde(rename = "diffObjectKey", skip_serializing_if = "Option::is_none")] + pub diff_object_key: Option, #[serde(rename = "references")] pub references: Vec, #[serde(rename = "publisherAccountId", skip_serializing_if = "Option::is_none")] @@ -23,6 +25,8 @@ pub struct ContentBasicManifest { pub id: String, #[serde(rename = "checksum")] pub checksum: String, + #[serde(rename = "lastChanged", skip_serializing_if = "Option::is_none")] + pub last_changed: Option, #[serde(rename = "uid", skip_serializing_if = "Option::is_none")] pub uid: Option, #[serde(rename = "created")] @@ -33,10 +37,12 @@ impl ContentBasicManifest { pub fn new(references: Vec, id: String, checksum: String, created: i64) -> ContentBasicManifest { ContentBasicManifest { archived: None, + diff_object_key: None, references, publisher_account_id: None, id, checksum, + last_changed: None, uid: None, created, } diff --git a/src/models/create_account_with_creds_api_response.rs b/src/models/create_account_with_creds_api_response.rs new file mode 100644 index 0000000..e934151 --- /dev/null +++ b/src/models/create_account_with_creds_api_response.rs @@ -0,0 +1,33 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateAccountWithCredsApiResponse { + #[serde(rename = "account", skip_serializing_if = "Option::is_none")] + pub account: Option>, + #[serde(rename = "challenge_token", skip_serializing_if = "Option::is_none")] + pub challenge_token: Option, + #[serde(rename = "token", skip_serializing_if = "Option::is_none")] + pub token: Option>, +} + +impl CreateAccountWithCredsApiResponse { + pub fn new() -> CreateAccountWithCredsApiResponse { + CreateAccountWithCredsApiResponse { + account: None, + challenge_token: None, + token: None, + } + } +} + diff --git a/src/models/create_account_with_creds_request.rs b/src/models/create_account_with_creds_request.rs new file mode 100644 index 0000000..19f4078 --- /dev/null +++ b/src/models/create_account_with_creds_request.rs @@ -0,0 +1,45 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateAccountWithCredsRequest { + #[serde(rename = "username", skip_serializing_if = "Option::is_none")] + pub username: Option, + #[serde(rename = "provider_namespace", skip_serializing_if = "Option::is_none")] + pub provider_namespace: Option, + #[serde(rename = "challenge_solution", skip_serializing_if = "Option::is_none")] + pub challenge_solution: Option>, + #[serde(rename = "external_token", skip_serializing_if = "Option::is_none")] + pub external_token: Option, + #[serde(rename = "initProperties", skip_serializing_if = "Option::is_none")] + pub init_properties: Option>, + #[serde(rename = "provider_service", skip_serializing_if = "Option::is_none")] + pub provider_service: Option, + #[serde(rename = "password", skip_serializing_if = "Option::is_none")] + pub password: Option, +} + +impl CreateAccountWithCredsRequest { + pub fn new() -> CreateAccountWithCredsRequest { + CreateAccountWithCredsRequest { + username: None, + provider_namespace: None, + challenge_solution: None, + external_token: None, + init_properties: None, + provider_service: None, + password: None, + } + } +} + diff --git a/src/models/create_plan_request.rs b/src/models/create_plan_request.rs index ce99b76..373e29e 100644 --- a/src/models/create_plan_request.rs +++ b/src/models/create_plan_request.rs @@ -32,11 +32,11 @@ pub struct CreatePlanRequest { #[serde(rename = "messageBusCommon", skip_serializing_if = "Option::is_none")] pub message_bus_common: Option>, #[serde(rename = "redisShards")] - pub redis_shards: Vec, + pub redis_shards: Vec, } impl CreatePlanRequest { - pub fn new(name: String, memcached_hosts: String, mongo_ssl: bool, platform_jbdc: String, sharded: bool, mongo_hosts: String, redis_shards: Vec) -> CreatePlanRequest { + pub fn new(name: String, memcached_hosts: String, mongo_ssl: bool, platform_jbdc: String, sharded: bool, mongo_hosts: String, redis_shards: Vec) -> CreatePlanRequest { CreatePlanRequest { name, message_bus_analytics: None, diff --git a/src/models/create_realm_request.rs b/src/models/create_realm_request.rs new file mode 100644 index 0000000..4334e1e --- /dev/null +++ b/src/models/create_realm_request.rs @@ -0,0 +1,36 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateRealmRequest { + #[serde(rename = "name")] + pub name: String, + #[serde(rename = "plan", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub plan: Option>, + #[serde(rename = "sharded", skip_serializing_if = "Option::is_none")] + pub sharded: Option, + #[serde(rename = "parent", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub parent: Option>, +} + +impl CreateRealmRequest { + pub fn new(name: String) -> CreateRealmRequest { + CreateRealmRequest { + name, + plan: None, + sharded: None, + parent: None, + } + } +} + diff --git a/src/models/create_service_plan_request.rs b/src/models/create_service_plan_request.rs new file mode 100644 index 0000000..4d97438 --- /dev/null +++ b/src/models/create_service_plan_request.rs @@ -0,0 +1,48 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CreateServicePlanRequest { + #[serde(rename = "name")] + pub name: String, + #[serde(rename = "mongoHosts", skip_serializing_if = "Option::is_none")] + pub mongo_hosts: Option, + #[serde(rename = "mongoSharded", skip_serializing_if = "Option::is_none")] + pub mongo_sharded: Option, + #[serde(rename = "mongoTls", skip_serializing_if = "Option::is_none")] + pub mongo_tls: Option, + #[serde(rename = "redisShards", skip_serializing_if = "Option::is_none")] + pub redis_shards: Option>, + #[serde(rename = "messageBusAnalytics", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub message_bus_analytics: Option>>, + #[serde(rename = "messageBusCommon", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub message_bus_common: Option>>, + #[serde(rename = "mongoSrvAddress", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub mongo_srv_address: Option>, +} + +impl CreateServicePlanRequest { + pub fn new(name: String) -> CreateServicePlanRequest { + CreateServicePlanRequest { + name, + mongo_hosts: None, + mongo_sharded: None, + mongo_tls: None, + redis_shards: None, + message_bus_analytics: None, + message_bus_common: None, + mongo_srv_address: None, + } + } +} + diff --git a/src/models/customer_actor_alias_available_response.rs b/src/models/customer_actor_alias_available_response.rs new file mode 100644 index 0000000..19af3b5 --- /dev/null +++ b/src/models/customer_actor_alias_available_response.rs @@ -0,0 +1,33 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CustomerActorAliasAvailableResponse { + #[serde(rename = "alias")] + pub alias: String, + #[serde(rename = "available")] + pub available: bool, + #[serde(rename = "customerId", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub customer_id: Option>, +} + +impl CustomerActorAliasAvailableResponse { + pub fn new(alias: String, available: bool) -> CustomerActorAliasAvailableResponse { + CustomerActorAliasAvailableResponse { + alias, + available, + customer_id: None, + } + } +} + diff --git a/src/models/customer_actor_customer.rs b/src/models/customer_actor_customer.rs new file mode 100644 index 0000000..63bfbdd --- /dev/null +++ b/src/models/customer_actor_customer.rs @@ -0,0 +1,51 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CustomerActorCustomer { + #[serde(rename = "customerId")] + pub customer_id: i64, + #[serde(rename = "name")] + pub name: String, + #[serde(rename = "alias", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub alias: Option>, + #[serde(rename = "realms", skip_serializing_if = "Option::is_none")] + pub realms: Option>, + #[serde(rename = "paymentStatus", skip_serializing_if = "Option::is_none")] + pub payment_status: Option, + #[serde(rename = "activationStatus", skip_serializing_if = "Option::is_none")] + pub activation_status: Option, + #[serde(rename = "contact", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub contact: Option>, + #[serde(rename = "created", skip_serializing_if = "Option::is_none")] + pub created: Option, + #[serde(rename = "updated", skip_serializing_if = "Option::is_none")] + pub updated: Option, +} + +impl CustomerActorCustomer { + pub fn new(customer_id: i64, name: String) -> CustomerActorCustomer { + CustomerActorCustomer { + customer_id, + name, + alias: None, + realms: None, + payment_status: None, + activation_status: None, + contact: None, + created: None, + updated: None, + } + } +} + diff --git a/src/models/customer_actor_customer_view.rs b/src/models/customer_actor_customer_view.rs new file mode 100644 index 0000000..71ceddd --- /dev/null +++ b/src/models/customer_actor_customer_view.rs @@ -0,0 +1,36 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CustomerActorCustomerView { + #[serde(rename = "customerId")] + pub customer_id: String, + #[serde(rename = "name")] + pub name: String, + #[serde(rename = "alias", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub alias: Option>, + #[serde(rename = "realms", skip_serializing_if = "Option::is_none")] + pub realms: Option>, +} + +impl CustomerActorCustomerView { + pub fn new(customer_id: String, name: String) -> CustomerActorCustomerView { + CustomerActorCustomerView { + customer_id, + name, + alias: None, + realms: None, + } + } +} + diff --git a/src/models/customer_actor_customers_response.rs b/src/models/customer_actor_customers_response.rs new file mode 100644 index 0000000..95fe7ff --- /dev/null +++ b/src/models/customer_actor_customers_response.rs @@ -0,0 +1,27 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CustomerActorCustomersResponse { + #[serde(rename = "customers", skip_serializing_if = "Option::is_none")] + pub customers: Option>, +} + +impl CustomerActorCustomersResponse { + pub fn new() -> CustomerActorCustomersResponse { + CustomerActorCustomersResponse { + customers: None, + } + } +} + diff --git a/src/models/customer_actor_html_response.rs b/src/models/customer_actor_html_response.rs new file mode 100644 index 0000000..6f5ee14 --- /dev/null +++ b/src/models/customer_actor_html_response.rs @@ -0,0 +1,27 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CustomerActorHtmlResponse { + #[serde(rename = "html", skip_serializing_if = "Option::is_none")] + pub html: Option, +} + +impl CustomerActorHtmlResponse { + pub fn new() -> CustomerActorHtmlResponse { + CustomerActorHtmlResponse { + html: None, + } + } +} + diff --git a/src/models/customer_actor_new_customer_request.rs b/src/models/customer_actor_new_customer_request.rs new file mode 100644 index 0000000..c94b3e7 --- /dev/null +++ b/src/models/customer_actor_new_customer_request.rs @@ -0,0 +1,42 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CustomerActorNewCustomerRequest { + #[serde(rename = "realmName")] + pub realm_name: String, + #[serde(rename = "customerName", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub customer_name: Option>, + #[serde(rename = "email")] + pub email: String, + #[serde(rename = "password")] + pub password: String, + #[serde(rename = "hierarchy", skip_serializing_if = "Option::is_none")] + pub hierarchy: Option, + #[serde(rename = "alias", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub alias: Option>, +} + +impl CustomerActorNewCustomerRequest { + pub fn new(realm_name: String, email: String, password: String) -> CustomerActorNewCustomerRequest { + CustomerActorNewCustomerRequest { + realm_name, + customer_name: None, + email, + password, + hierarchy: None, + alias: None, + } + } +} + diff --git a/src/models/customer_actor_new_customer_response.rs b/src/models/customer_actor_new_customer_response.rs new file mode 100644 index 0000000..1d0d4ea --- /dev/null +++ b/src/models/customer_actor_new_customer_response.rs @@ -0,0 +1,45 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CustomerActorNewCustomerResponse { + #[serde(rename = "token")] + pub token: Box, + #[serde(rename = "customerId")] + pub customer_id: String, + #[serde(rename = "realmId")] + pub realm_id: String, + #[serde(rename = "name")] + pub name: String, + #[serde(rename = "alias", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub alias: Option>, + #[serde(rename = "realmName")] + pub realm_name: String, + #[serde(rename = "activationPending", skip_serializing_if = "Option::is_none")] + pub activation_pending: Option, +} + +impl CustomerActorNewCustomerResponse { + pub fn new(token: models::AuthResponse, customer_id: String, realm_id: String, name: String, realm_name: String) -> CustomerActorNewCustomerResponse { + CustomerActorNewCustomerResponse { + token: Box::new(token), + customer_id, + realm_id, + name, + alias: None, + realm_name, + activation_pending: None, + } + } +} + diff --git a/src/models/customer_actor_promote_realm_request.rs b/src/models/customer_actor_promote_realm_request.rs new file mode 100644 index 0000000..014e58a --- /dev/null +++ b/src/models/customer_actor_promote_realm_request.rs @@ -0,0 +1,33 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CustomerActorPromoteRealmRequest { + #[serde(rename = "sourceRealmId")] + pub source_realm_id: String, + #[serde(rename = "promotions", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub promotions: Option>>, + #[serde(rename = "contentManifestIds", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub content_manifest_ids: Option>>, +} + +impl CustomerActorPromoteRealmRequest { + pub fn new(source_realm_id: String) -> CustomerActorPromoteRealmRequest { + CustomerActorPromoteRealmRequest { + source_realm_id, + promotions: None, + content_manifest_ids: None, + } + } +} + diff --git a/src/models/customer_actor_promote_realm_response.rs b/src/models/customer_actor_promote_realm_response.rs new file mode 100644 index 0000000..4c6048c --- /dev/null +++ b/src/models/customer_actor_promote_realm_response.rs @@ -0,0 +1,30 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CustomerActorPromoteRealmResponse { + #[serde(rename = "sourceRealmId")] + pub source_realm_id: String, + #[serde(rename = "scopes", skip_serializing_if = "Option::is_none")] + pub scopes: Option>, +} + +impl CustomerActorPromoteRealmResponse { + pub fn new(source_realm_id: String) -> CustomerActorPromoteRealmResponse { + CustomerActorPromoteRealmResponse { + source_realm_id, + scopes: None, + } + } +} + diff --git a/src/models/customer_actor_promotion_scope.rs b/src/models/customer_actor_promotion_scope.rs new file mode 100644 index 0000000..0a7503a --- /dev/null +++ b/src/models/customer_actor_promotion_scope.rs @@ -0,0 +1,30 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CustomerActorPromotionScope { + #[serde(rename = "name")] + pub name: models::PromotableType, + #[serde(rename = "promotions", skip_serializing_if = "Option::is_none")] + pub promotions: Option>, +} + +impl CustomerActorPromotionScope { + pub fn new(name: models::PromotableType) -> CustomerActorPromotionScope { + CustomerActorPromotionScope { + name, + promotions: None, + } + } +} + diff --git a/src/models/customer_actor_realm_config_response.rs b/src/models/customer_actor_realm_config_response.rs new file mode 100644 index 0000000..7aece58 --- /dev/null +++ b/src/models/customer_actor_realm_config_response.rs @@ -0,0 +1,27 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CustomerActorRealmConfigResponse { + #[serde(rename = "config", skip_serializing_if = "Option::is_none")] + pub config: Option>, +} + +impl CustomerActorRealmConfigResponse { + pub fn new() -> CustomerActorRealmConfigResponse { + CustomerActorRealmConfigResponse { + config: None, + } + } +} + diff --git a/src/models/customer_actor_realm_config_save_request.rs b/src/models/customer_actor_realm_config_save_request.rs new file mode 100644 index 0000000..10f54e6 --- /dev/null +++ b/src/models/customer_actor_realm_config_save_request.rs @@ -0,0 +1,27 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CustomerActorRealmConfigSaveRequest { + #[serde(rename = "config", skip_serializing_if = "Option::is_none")] + pub config: Option>, +} + +impl CustomerActorRealmConfigSaveRequest { + pub fn new() -> CustomerActorRealmConfigSaveRequest { + CustomerActorRealmConfigSaveRequest { + config: None, + } + } +} + diff --git a/src/models/customer_actor_realm_configuration.rs b/src/models/customer_actor_realm_configuration.rs new file mode 100644 index 0000000..77dfd65 --- /dev/null +++ b/src/models/customer_actor_realm_configuration.rs @@ -0,0 +1,42 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CustomerActorRealmConfiguration { + #[serde(rename = "environment")] + pub environment: String, + #[serde(rename = "websocketConfig")] + pub websocket_config: Box, + #[serde(rename = "microserviceUri")] + pub microservice_uri: String, + #[serde(rename = "microserviceEcrUri")] + pub microservice_ecr_uri: String, + #[serde(rename = "portalUri")] + pub portal_uri: String, + #[serde(rename = "storageBrowserUri")] + pub storage_browser_uri: String, +} + +impl CustomerActorRealmConfiguration { + pub fn new(environment: String, websocket_config: models::CustomerActorWebSocketConfiguration, microservice_uri: String, microservice_ecr_uri: String, portal_uri: String, storage_browser_uri: String) -> CustomerActorRealmConfiguration { + CustomerActorRealmConfiguration { + environment, + websocket_config: Box::new(websocket_config), + microservice_uri, + microservice_ecr_uri, + portal_uri, + storage_browser_uri, + } + } +} + diff --git a/src/models/customer_actor_update_game_hierarchy_request.rs b/src/models/customer_actor_update_game_hierarchy_request.rs new file mode 100644 index 0000000..ec21fea --- /dev/null +++ b/src/models/customer_actor_update_game_hierarchy_request.rs @@ -0,0 +1,27 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CustomerActorUpdateGameHierarchyRequest { + #[serde(rename = "realms")] + pub realms: Vec, +} + +impl CustomerActorUpdateGameHierarchyRequest { + pub fn new(realms: Vec) -> CustomerActorUpdateGameHierarchyRequest { + CustomerActorUpdateGameHierarchyRequest { + realms, + } + } +} + diff --git a/src/models/customer_actor_web_socket_configuration.rs b/src/models/customer_actor_web_socket_configuration.rs new file mode 100644 index 0000000..d28ba20 --- /dev/null +++ b/src/models/customer_actor_web_socket_configuration.rs @@ -0,0 +1,30 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct CustomerActorWebSocketConfiguration { + #[serde(rename = "provider", skip_serializing_if = "Option::is_none")] + pub provider: Option, + #[serde(rename = "uri", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub uri: Option>, +} + +impl CustomerActorWebSocketConfiguration { + pub fn new() -> CustomerActorWebSocketConfiguration { + CustomerActorWebSocketConfiguration { + provider: None, + uri: None, + } + } +} + diff --git a/src/models/customer_response.rs b/src/models/customer_response.rs index 959b6c4..4a08cfc 100644 --- a/src/models/customer_response.rs +++ b/src/models/customer_response.rs @@ -14,11 +14,11 @@ use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct CustomerResponse { #[serde(rename = "customer")] - pub customer: Box, + pub customer: Box, } impl CustomerResponse { - pub fn new(customer: models::Customer) -> CustomerResponse { + pub fn new(customer: models::RealmsBasicCustomer) -> CustomerResponse { CustomerResponse { customer: Box::new(customer), } diff --git a/src/models/customer_view_response.rs b/src/models/customer_view_response.rs index 543e7f7..421dad5 100644 --- a/src/models/customer_view_response.rs +++ b/src/models/customer_view_response.rs @@ -14,11 +14,11 @@ use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct CustomerViewResponse { #[serde(rename = "customer")] - pub customer: Box, + pub customer: Box, } impl CustomerViewResponse { - pub fn new(customer: models::CustomerView) -> CustomerViewResponse { + pub fn new(customer: models::RealmsBasicCustomerView) -> CustomerViewResponse { CustomerViewResponse { customer: Box::new(customer), } diff --git a/src/models/get_games_response.rs b/src/models/get_games_response.rs new file mode 100644 index 0000000..80d2a07 --- /dev/null +++ b/src/models/get_games_response.rs @@ -0,0 +1,27 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetGamesResponse { + #[serde(rename = "realms", skip_serializing_if = "Option::is_none")] + pub realms: Option>, +} + +impl GetGamesResponse { + pub fn new() -> GetGamesResponse { + GetGamesResponse { + realms: None, + } + } +} + diff --git a/src/models/get_manifest_diffs_request.rs b/src/models/get_manifest_diffs_request.rs new file mode 100644 index 0000000..08a2b86 --- /dev/null +++ b/src/models/get_manifest_diffs_request.rs @@ -0,0 +1,45 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetManifestDiffsRequest { + #[serde(rename = "manifestId")] + pub manifest_id: String, + #[serde(rename = "fromUid", skip_serializing_if = "Option::is_none")] + pub from_uid: Option, + #[serde(rename = "toUid", skip_serializing_if = "Option::is_none")] + pub to_uid: Option, + #[serde(rename = "offset", skip_serializing_if = "Option::is_none")] + pub offset: Option, + #[serde(rename = "fromDate", skip_serializing_if = "Option::is_none")] + pub from_date: Option, + #[serde(rename = "toDate", skip_serializing_if = "Option::is_none")] + pub to_date: Option, + #[serde(rename = "limit", skip_serializing_if = "Option::is_none")] + pub limit: Option, +} + +impl GetManifestDiffsRequest { + pub fn new(manifest_id: String) -> GetManifestDiffsRequest { + GetManifestDiffsRequest { + manifest_id, + from_uid: None, + to_uid: None, + offset: None, + from_date: None, + to_date: None, + limit: None, + } + } +} + diff --git a/src/models/get_manifest_diffs_response.rs b/src/models/get_manifest_diffs_response.rs new file mode 100644 index 0000000..8e093c3 --- /dev/null +++ b/src/models/get_manifest_diffs_response.rs @@ -0,0 +1,36 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct GetManifestDiffsResponse { + #[serde(rename = "manifestId")] + pub manifest_id: String, + #[serde(rename = "diffs")] + pub diffs: Vec, + #[serde(rename = "hasMore")] + pub has_more: bool, + #[serde(rename = "totalCount")] + pub total_count: i32, +} + +impl GetManifestDiffsResponse { + pub fn new(manifest_id: String, diffs: Vec, has_more: bool, total_count: i32) -> GetManifestDiffsResponse { + GetManifestDiffsResponse { + manifest_id, + diffs, + has_more, + total_count, + } + } +} + diff --git a/src/models/manifest_diff_summary.rs b/src/models/manifest_diff_summary.rs new file mode 100644 index 0000000..be96d4a --- /dev/null +++ b/src/models/manifest_diff_summary.rs @@ -0,0 +1,33 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct ManifestDiffSummary { + #[serde(rename = "manifestUid")] + pub manifest_uid: String, + #[serde(rename = "diffUrl")] + pub diff_url: String, + #[serde(rename = "createdDate")] + pub created_date: i64, +} + +impl ManifestDiffSummary { + pub fn new(manifest_uid: String, diff_url: String, created_date: i64) -> ManifestDiffSummary { + ManifestDiffSummary { + manifest_uid, + diff_url, + created_date, + } + } +} + diff --git a/src/models/mod.rs b/src/models/mod.rs index d970323..a661072 100644 --- a/src/models/mod.rs +++ b/src/models/mod.rs @@ -22,6 +22,8 @@ pub mod account_update; pub use self::account_update::AccountUpdate; pub mod activation_request; pub use self::activation_request::ActivationRequest; +pub mod activation_status; +pub use self::activation_status::ActivationStatus; pub mod active_listing_response; pub use self::active_listing_response::ActiveListingResponse; pub mod add_tags; @@ -34,8 +36,6 @@ pub mod admin_player_status; pub use self::admin_player_status::AdminPlayerStatus; pub mod alias_available_request; pub use self::alias_available_request::AliasAvailableRequest; -pub mod alias_available_response; -pub use self::alias_available_response::AliasAvailableResponse; pub mod announcement_attachment; pub use self::announcement_attachment::AnnouncementAttachment; pub mod announcement_content; @@ -102,8 +102,6 @@ pub mod beamo_basic_reference; pub use self::beamo_basic_reference::BeamoBasicReference; pub mod beamo_basic_url_response; pub use self::beamo_basic_url_response::BeamoBasicUrlResponse; -pub mod beamo_limits; -pub use self::beamo_limits::BeamoLimits; pub mod beamo_v2_connection_string_response; pub use self::beamo_v2_connection_string_response::BeamoV2ConnectionStringResponse; pub mod beamo_v2_data_point; @@ -290,6 +288,10 @@ pub mod content_visibility; pub use self::content_visibility::ContentVisibility; pub mod cooldown_modifier_request; pub use self::cooldown_modifier_request::CooldownModifierRequest; +pub mod create_account_with_creds_api_response; +pub use self::create_account_with_creds_api_response::CreateAccountWithCredsApiResponse; +pub mod create_account_with_creds_request; +pub use self::create_account_with_creds_request::CreateAccountWithCredsRequest; pub mod create_donation_request; pub use self::create_donation_request::CreateDonationRequest; pub mod create_elevated_account_request; @@ -306,10 +308,14 @@ pub mod create_plan_request; pub use self::create_plan_request::CreatePlanRequest; pub mod create_project_request; pub use self::create_project_request::CreateProjectRequest; +pub mod create_realm_request; +pub use self::create_realm_request::CreateRealmRequest; pub mod create_room_request; pub use self::create_room_request::CreateRoomRequest; pub mod create_room_response; pub use self::create_room_response::CreateRoomResponse; +pub mod create_service_plan_request; +pub use self::create_service_plan_request::CreateServicePlanRequest; pub mod create_trial_rest_request; pub use self::create_trial_rest_request::CreateTrialRestRequest; pub mod cron_trigger; @@ -332,18 +338,40 @@ pub mod currency_view; pub use self::currency_view::CurrencyView; pub mod custom_cohort_rule; pub use self::custom_cohort_rule::CustomCohortRule; -pub mod customer; -pub use self::customer::Customer; +pub mod customer_actor_alias_available_response; +pub use self::customer_actor_alias_available_response::CustomerActorAliasAvailableResponse; +pub mod customer_actor_customer; +pub use self::customer_actor_customer::CustomerActorCustomer; +pub mod customer_actor_customer_view; +pub use self::customer_actor_customer_view::CustomerActorCustomerView; +pub mod customer_actor_customers_response; +pub use self::customer_actor_customers_response::CustomerActorCustomersResponse; +pub mod customer_actor_html_response; +pub use self::customer_actor_html_response::CustomerActorHtmlResponse; +pub mod customer_actor_new_customer_request; +pub use self::customer_actor_new_customer_request::CustomerActorNewCustomerRequest; +pub mod customer_actor_new_customer_response; +pub use self::customer_actor_new_customer_response::CustomerActorNewCustomerResponse; +pub mod customer_actor_promote_realm_request; +pub use self::customer_actor_promote_realm_request::CustomerActorPromoteRealmRequest; +pub mod customer_actor_promote_realm_response; +pub use self::customer_actor_promote_realm_response::CustomerActorPromoteRealmResponse; +pub mod customer_actor_promotion_scope; +pub use self::customer_actor_promotion_scope::CustomerActorPromotionScope; +pub mod customer_actor_realm_config_response; +pub use self::customer_actor_realm_config_response::CustomerActorRealmConfigResponse; +pub mod customer_actor_realm_config_save_request; +pub use self::customer_actor_realm_config_save_request::CustomerActorRealmConfigSaveRequest; +pub mod customer_actor_realm_configuration; +pub use self::customer_actor_realm_configuration::CustomerActorRealmConfiguration; +pub mod customer_actor_update_game_hierarchy_request; +pub use self::customer_actor_update_game_hierarchy_request::CustomerActorUpdateGameHierarchyRequest; +pub mod customer_actor_web_socket_configuration; +pub use self::customer_actor_web_socket_configuration::CustomerActorWebSocketConfiguration; pub mod customer_response; pub use self::customer_response::CustomerResponse; -pub mod customer_view; -pub use self::customer_view::CustomerView; pub mod customer_view_response; pub use self::customer_view_response::CustomerViewResponse; -pub mod customers_response; -pub use self::customers_response::CustomersResponse; -pub mod data_domain; -pub use self::data_domain::DataDomain; pub mod data_point; pub use self::data_point::DataPoint; pub mod database_measurement; @@ -512,6 +540,8 @@ pub mod get_game_request; pub use self::get_game_request::GetGameRequest; pub mod get_game_response; pub use self::get_game_response::GetGameResponse; +pub mod get_games_response; +pub use self::get_games_response::GetGamesResponse; pub mod get_group_status_request; pub use self::get_group_status_request::GetGroupStatusRequest; pub mod get_group_status_response; @@ -532,6 +562,10 @@ pub mod get_logs_url_request; pub use self::get_logs_url_request::GetLogsUrlRequest; pub mod get_mail_details_request; pub use self::get_mail_details_request::GetMailDetailsRequest; +pub mod get_manifest_diffs_request; +pub use self::get_manifest_diffs_request::GetManifestDiffsRequest; +pub mod get_manifest_diffs_response; +pub use self::get_manifest_diffs_response::GetManifestDiffsResponse; pub mod get_manifest_history_request; pub use self::get_manifest_history_request::GetManifestHistoryRequest; pub mod get_manifest_history_response; @@ -642,8 +676,6 @@ pub mod group_user_member; pub use self::group_user_member::GroupUserMember; pub mod guest_auth_request; pub use self::guest_auth_request::GuestAuthRequest; -pub mod html_response; -pub use self::html_response::HtmlResponse; pub mod http_call; pub use self::http_call::HttpCall; pub mod import_friends_request; @@ -846,6 +878,8 @@ pub mod make_donation_request; pub use self::make_donation_request::MakeDonationRequest; pub mod make_friendship_request; pub use self::make_friendship_request::MakeFriendshipRequest; +pub mod manifest_diff_summary; +pub use self::manifest_diff_summary::ManifestDiffSummary; pub mod manifest_summary; pub use self::manifest_summary::ManifestSummary; pub mod manifest_view; @@ -884,10 +918,6 @@ pub mod multipliers_get_response; pub use self::multipliers_get_response::MultipliersGetResponse; pub mod my_mail_update; pub use self::my_mail_update::MyMailUpdate; -pub mod new_customer_request; -pub use self::new_customer_request::NewCustomerRequest; -pub mod new_customer_response; -pub use self::new_customer_response::NewCustomerResponse; pub mod new_game_request; pub use self::new_game_request::NewGameRequest; pub mod new_item_reward; @@ -896,6 +926,8 @@ pub mod notification_request; pub use self::notification_request::NotificationRequest; pub mod notification_request_data; pub use self::notification_request_data::NotificationRequestData; +pub mod object_id; +pub use self::object_id::ObjectId; pub mod object_metadata_response; pub use self::object_metadata_response::ObjectMetadataResponse; pub mod object_request; @@ -924,6 +956,12 @@ pub mod order_rule; pub use self::order_rule::OrderRule; pub mod order_rules; pub use self::order_rules::OrderRules; +pub mod otel_auth_config; +pub use self::otel_auth_config::OtelAuthConfig; +pub mod otel_view; +pub use self::otel_view::OtelView; +pub mod otel_views_response; +pub use self::otel_views_response::OtelViewsResponse; pub mod pa_namespace; pub use self::pa_namespace::PaNamespace; pub mod pa_slow_query; @@ -952,6 +990,8 @@ pub mod payment_history_entry_view_model; pub use self::payment_history_entry_view_model::PaymentHistoryEntryViewModel; pub mod payment_result_response; pub use self::payment_result_response::PaymentResultResponse; +pub mod payment_status; +pub use self::payment_status::PaymentStatus; pub mod payment_total; pub use self::payment_total::PaymentTotal; pub mod performance_response; @@ -1006,18 +1046,14 @@ pub mod project_view; pub use self::project_view::ProjectView; pub mod promotable; pub use self::promotable::Promotable; +pub mod promotable_type; +pub use self::promotable_type::PromotableType; pub mod promote_new_leader; pub use self::promote_new_leader::PromoteNewLeader; -pub mod promote_realm_request; -pub use self::promote_realm_request::PromoteRealmRequest; -pub mod promote_realm_response; -pub use self::promote_realm_response::PromoteRealmResponse; pub mod promote_realm_response_old; pub use self::promote_realm_response_old::PromoteRealmResponseOld; pub mod promotion; pub use self::promotion::Promotion; -pub mod promotion_scope; -pub use self::promotion_scope::PromotionScope; pub mod publish_message; pub use self::publish_message::PublishMessage; pub mod pull_all_manifests_request; @@ -1036,24 +1072,62 @@ pub mod rank_entry; pub use self::rank_entry::RankEntry; pub mod rank_entry_stat; pub use self::rank_entry_stat::RankEntryStat; +pub mod realm; +pub use self::realm::Realm; pub mod realm_config_change_request; pub use self::realm_config_change_request::RealmConfigChangeRequest; -pub mod realm_config_response; -pub use self::realm_config_response::RealmConfigResponse; -pub mod realm_config_save_request; -pub use self::realm_config_save_request::RealmConfigSaveRequest; -pub mod realm_configuration; -pub use self::realm_configuration::RealmConfiguration; pub mod realm_promotion; pub use self::realm_promotion::RealmPromotion; pub mod realm_roles_report; pub use self::realm_roles_report::RealmRolesReport; +pub mod realm_view; +pub use self::realm_view::RealmView; pub mod realms_basic_account; pub use self::realms_basic_account::RealmsBasicAccount; -pub mod redis_shard; -pub use self::redis_shard::RedisShard; -pub mod redis_shard_request; -pub use self::redis_shard_request::RedisShardRequest; +pub mod realms_basic_alias_available_response; +pub use self::realms_basic_alias_available_response::RealmsBasicAliasAvailableResponse; +pub mod realms_basic_beamo_limits; +pub use self::realms_basic_beamo_limits::RealmsBasicBeamoLimits; +pub mod realms_basic_customer; +pub use self::realms_basic_customer::RealmsBasicCustomer; +pub mod realms_basic_customer_view; +pub use self::realms_basic_customer_view::RealmsBasicCustomerView; +pub mod realms_basic_customers_response; +pub use self::realms_basic_customers_response::RealmsBasicCustomersResponse; +pub mod realms_basic_data_domain; +pub use self::realms_basic_data_domain::RealmsBasicDataDomain; +pub mod realms_basic_html_response; +pub use self::realms_basic_html_response::RealmsBasicHtmlResponse; +pub mod realms_basic_new_customer_request; +pub use self::realms_basic_new_customer_request::RealmsBasicNewCustomerRequest; +pub mod realms_basic_new_customer_response; +pub use self::realms_basic_new_customer_response::RealmsBasicNewCustomerResponse; +pub mod realms_basic_promote_realm_request; +pub use self::realms_basic_promote_realm_request::RealmsBasicPromoteRealmRequest; +pub mod realms_basic_promote_realm_response; +pub use self::realms_basic_promote_realm_response::RealmsBasicPromoteRealmResponse; +pub mod realms_basic_promotion_scope; +pub use self::realms_basic_promotion_scope::RealmsBasicPromotionScope; +pub mod realms_basic_realm_config_response; +pub use self::realms_basic_realm_config_response::RealmsBasicRealmConfigResponse; +pub mod realms_basic_realm_config_save_request; +pub use self::realms_basic_realm_config_save_request::RealmsBasicRealmConfigSaveRequest; +pub mod realms_basic_realm_configuration; +pub use self::realms_basic_realm_configuration::RealmsBasicRealmConfiguration; +pub mod realms_basic_redis_shard; +pub use self::realms_basic_redis_shard::RealmsBasicRedisShard; +pub mod realms_basic_redis_shard_request; +pub use self::realms_basic_redis_shard_request::RealmsBasicRedisShardRequest; +pub mod realms_basic_service_limits; +pub use self::realms_basic_service_limits::RealmsBasicServiceLimits; +pub mod realms_basic_service_plan; +pub use self::realms_basic_service_plan::RealmsBasicServicePlan; +pub mod realms_basic_service_plans_response; +pub use self::realms_basic_service_plans_response::RealmsBasicServicePlansResponse; +pub mod realms_basic_update_game_hierarchy_request; +pub use self::realms_basic_update_game_hierarchy_request::RealmsBasicUpdateGameHierarchyRequest; +pub mod realms_basic_web_socket_configuration; +pub use self::realms_basic_web_socket_configuration::RealmsBasicWebSocketConfiguration; pub mod reference_superset; pub use self::reference_superset::ReferenceSuperset; pub mod refresh_token_auth_request; @@ -1068,6 +1142,8 @@ pub mod remove_tags; pub use self::remove_tags::RemoveTags; pub mod rename_project_request; pub use self::rename_project_request::RenameProjectRequest; +pub mod rename_realm_request; +pub use self::rename_realm_request::RenameRealmRequest; pub mod repeat_manifest_request; pub use self::repeat_manifest_request::RepeatManifestRequest; pub mod replace_objects_request; @@ -1112,6 +1188,8 @@ pub mod save_game_data_response; pub use self::save_game_data_response::SaveGameDataResponse; pub mod save_manifest_request; pub use self::save_manifest_request::SaveManifestRequest; +pub mod save_manifest_response; +pub use self::save_manifest_response::SaveManifestResponse; pub mod save_skus_request; pub use self::save_skus_request::SaveSkusRequest; pub mod save_text_request; @@ -1166,12 +1244,18 @@ pub mod service_dependency_reference; pub use self::service_dependency_reference::ServiceDependencyReference; pub mod service_image_layers; pub use self::service_image_layers::ServiceImageLayers; -pub mod service_limits; -pub use self::service_limits::ServiceLimits; -pub mod service_plan; -pub use self::service_plan::ServicePlan; -pub mod service_plans_response; -pub use self::service_plans_response::ServicePlansResponse; +pub mod service_plan_actor_data_domain; +pub use self::service_plan_actor_data_domain::ServicePlanActorDataDomain; +pub mod service_plan_actor_redis_shard; +pub use self::service_plan_actor_redis_shard::ServicePlanActorRedisShard; +pub mod service_plan_actor_redis_shard_request; +pub use self::service_plan_actor_redis_shard_request::ServicePlanActorRedisShardRequest; +pub mod service_plan_actor_service_limits; +pub use self::service_plan_actor_service_limits::ServicePlanActorServiceLimits; +pub mod service_plan_actor_service_plan; +pub use self::service_plan_actor_service_plan::ServicePlanActorServicePlan; +pub mod service_plan_actor_service_plans_response; +pub use self::service_plan_actor_service_plans_response::ServicePlanActorServicePlansResponse; pub mod service_reference; pub use self::service_reference::ServiceReference; pub mod service_route; @@ -1200,6 +1284,10 @@ pub mod session_user; pub use self::session_user::SessionUser; pub mod set_content_request; pub use self::set_content_request::SetContentRequest; +pub mod set_customer_alias_request; +pub use self::set_customer_alias_request::SetCustomerAliasRequest; +pub mod set_lobby_response; +pub use self::set_lobby_response::SetLobbyResponse; pub mod set_presence_status_request; pub use self::set_presence_status_request::SetPresenceStatusRequest; pub mod sku; @@ -1312,16 +1400,18 @@ pub mod trial_success_response; pub use self::trial_success_response::TrialSuccessResponse; pub mod unarchive_project_request; pub use self::unarchive_project_request::UnarchiveProjectRequest; +pub mod update_customer_request; +pub use self::update_customer_request::UpdateCustomerRequest; pub mod update_data; pub use self::update_data::UpdateData; -pub mod update_game_hierarchy_request; -pub use self::update_game_hierarchy_request::UpdateGameHierarchyRequest; pub mod update_listing_cooldown_request; pub use self::update_listing_cooldown_request::UpdateListingCooldownRequest; pub mod update_lobby; pub use self::update_lobby::UpdateLobby; pub mod update_mail_request; pub use self::update_mail_request::UpdateMailRequest; +pub mod update_otel_view_request; +pub use self::update_otel_view_request::UpdateOtelViewRequest; pub mod update_party; pub use self::update_party::UpdateParty; pub mod update_player_status_request; @@ -1348,8 +1438,6 @@ pub mod verify_purchase_request; pub use self::verify_purchase_request::VerifyPurchaseRequest; pub mod vip_bonus; pub use self::vip_bonus::VipBonus; -pub mod web_socket_configuration; -pub use self::web_socket_configuration::WebSocketConfiguration; pub mod webhook_comet; pub use self::webhook_comet::WebhookComet; pub mod webhook_invocation_strategy; diff --git a/src/models/object_id.rs b/src/models/object_id.rs new file mode 100644 index 0000000..ec10550 --- /dev/null +++ b/src/models/object_id.rs @@ -0,0 +1,30 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct ObjectId { + #[serde(rename = "timestamp", skip_serializing_if = "Option::is_none")] + pub timestamp: Option, + #[serde(rename = "creationTime", skip_serializing_if = "Option::is_none")] + pub creation_time: Option, +} + +impl ObjectId { + pub fn new() -> ObjectId { + ObjectId { + timestamp: None, + creation_time: None, + } + } +} + diff --git a/src/models/otel_auth_config.rs b/src/models/otel_auth_config.rs new file mode 100644 index 0000000..4c3cf30 --- /dev/null +++ b/src/models/otel_auth_config.rs @@ -0,0 +1,36 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct OtelAuthConfig { + #[serde(rename = "endpoint")] + pub endpoint: String, + #[serde(rename = "username")] + pub username: String, + #[serde(rename = "password")] + pub password: String, + #[serde(rename = "expiresAt", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub expires_at: Option>, +} + +impl OtelAuthConfig { + pub fn new(endpoint: String, username: String, password: String) -> OtelAuthConfig { + OtelAuthConfig { + endpoint, + username, + password, + expires_at: None, + } + } +} + diff --git a/src/models/otel_view.rs b/src/models/otel_view.rs new file mode 100644 index 0000000..2ce264b --- /dev/null +++ b/src/models/otel_view.rs @@ -0,0 +1,42 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct OtelView { + #[serde(rename = "id", skip_serializing_if = "Option::is_none")] + pub id: Option>, + #[serde(rename = "playerId")] + pub player_id: String, + #[serde(rename = "name")] + pub name: String, + #[serde(rename = "query")] + pub query: String, + #[serde(rename = "isPublic", skip_serializing_if = "Option::is_none")] + pub is_public: Option, + #[serde(rename = "isFavorite", skip_serializing_if = "Option::is_none")] + pub is_favorite: Option, +} + +impl OtelView { + pub fn new(player_id: String, name: String, query: String) -> OtelView { + OtelView { + id: None, + player_id, + name, + query, + is_public: None, + is_favorite: None, + } + } +} + diff --git a/src/models/otel_views_response.rs b/src/models/otel_views_response.rs new file mode 100644 index 0000000..51e71f3 --- /dev/null +++ b/src/models/otel_views_response.rs @@ -0,0 +1,27 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct OtelViewsResponse { + #[serde(rename = "views")] + pub views: Vec, +} + +impl OtelViewsResponse { + pub fn new(views: Vec) -> OtelViewsResponse { + OtelViewsResponse { + views, + } + } +} + diff --git a/src/models/payment_status.rs b/src/models/payment_status.rs new file mode 100644 index 0000000..90e96c5 --- /dev/null +++ b/src/models/payment_status.rs @@ -0,0 +1,41 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +/// +#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] +pub enum PaymentStatus { + #[serde(rename = "Free")] + Free, + #[serde(rename = "Paid")] + Paid, + #[serde(rename = "Banned")] + Banned, + +} + +impl std::fmt::Display for PaymentStatus { + fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { + match self { + Self::Free => write!(f, "Free"), + Self::Paid => write!(f, "Paid"), + Self::Banned => write!(f, "Banned"), + } + } +} + +impl Default for PaymentStatus { + fn default() -> PaymentStatus { + Self::Free + } +} + diff --git a/src/models/promotable_type.rs b/src/models/promotable_type.rs new file mode 100644 index 0000000..c0a43b3 --- /dev/null +++ b/src/models/promotable_type.rs @@ -0,0 +1,38 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +/// +#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)] +pub enum PromotableType { + #[serde(rename = "Content")] + Content, + #[serde(rename = "Microservices")] + Microservices, + +} + +impl std::fmt::Display for PromotableType { + fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { + match self { + Self::Content => write!(f, "Content"), + Self::Microservices => write!(f, "Microservices"), + } + } +} + +impl Default for PromotableType { + fn default() -> PromotableType { + Self::Content + } +} + diff --git a/src/models/realm.rs b/src/models/realm.rs new file mode 100644 index 0000000..42154f1 --- /dev/null +++ b/src/models/realm.rs @@ -0,0 +1,51 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct Realm { + #[serde(rename = "name", skip_serializing_if = "Option::is_none")] + pub name: Option, + #[serde(rename = "secret", skip_serializing_if = "Option::is_none")] + pub secret: Option, + #[serde(rename = "plan", skip_serializing_if = "Option::is_none")] + pub plan: Option, + #[serde(rename = "sharded", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub sharded: Option>, + #[serde(rename = "displayName", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub display_name: Option>, + #[serde(rename = "parent", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub parent: Option>, + #[serde(rename = "children", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub children: Option>>, + #[serde(rename = "config", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub config: Option>>, + #[serde(rename = "isArchived", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub is_archived: Option>, +} + +impl Realm { + pub fn new() -> Realm { + Realm { + name: None, + secret: None, + plan: None, + sharded: None, + display_name: None, + parent: None, + children: None, + config: None, + is_archived: None, + } + } +} + diff --git a/src/models/realm_config_change_request.rs b/src/models/realm_config_change_request.rs index eee5010..c4c103e 100644 --- a/src/models/realm_config_change_request.rs +++ b/src/models/realm_config_change_request.rs @@ -13,10 +13,10 @@ use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct RealmConfigChangeRequest { - #[serde(rename = "upserts", skip_serializing_if = "Option::is_none")] - pub upserts: Option>, - #[serde(rename = "deletes", skip_serializing_if = "Option::is_none")] - pub deletes: Option>, + #[serde(rename = "upserts", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub upserts: Option>>, + #[serde(rename = "deletes", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub deletes: Option>>, } impl RealmConfigChangeRequest { diff --git a/src/models/realm_view.rs b/src/models/realm_view.rs new file mode 100644 index 0000000..480c3f4 --- /dev/null +++ b/src/models/realm_view.rs @@ -0,0 +1,48 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct RealmView { + #[serde(rename = "displayName")] + pub display_name: String, + #[serde(rename = "realmId")] + pub realm_id: String, + #[serde(rename = "customerId", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub customer_id: Option>, + #[serde(rename = "sharded", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub sharded: Option>, + #[serde(rename = "parent", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub parent: Option>, + #[serde(rename = "children", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub children: Option>>, + #[serde(rename = "archived", skip_serializing_if = "Option::is_none")] + pub archived: Option, + #[serde(rename = "secret", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub secret: Option>, +} + +impl RealmView { + pub fn new(display_name: String, realm_id: String) -> RealmView { + RealmView { + display_name, + realm_id, + customer_id: None, + sharded: None, + parent: None, + children: None, + archived: None, + secret: None, + } + } +} + diff --git a/src/models/alias_available_response.rs b/src/models/realms_basic_alias_available_response.rs similarity index 70% rename from src/models/alias_available_response.rs rename to src/models/realms_basic_alias_available_response.rs index 6178aa3..9ecabf5 100644 --- a/src/models/alias_available_response.rs +++ b/src/models/realms_basic_alias_available_response.rs @@ -12,7 +12,7 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct AliasAvailableResponse { +pub struct RealmsBasicAliasAvailableResponse { #[serde(rename = "alias")] pub alias: String, #[serde(rename = "available")] @@ -21,9 +21,9 @@ pub struct AliasAvailableResponse { pub cid: i64, } -impl AliasAvailableResponse { - pub fn new(alias: String, available: bool, cid: i64) -> AliasAvailableResponse { - AliasAvailableResponse { +impl RealmsBasicAliasAvailableResponse { + pub fn new(alias: String, available: bool, cid: i64) -> RealmsBasicAliasAvailableResponse { + RealmsBasicAliasAvailableResponse { alias, available, cid, diff --git a/src/models/beamo_limits.rs b/src/models/realms_basic_beamo_limits.rs similarity index 81% rename from src/models/beamo_limits.rs rename to src/models/realms_basic_beamo_limits.rs index eda5d20..9c5d202 100644 --- a/src/models/beamo_limits.rs +++ b/src/models/realms_basic_beamo_limits.rs @@ -12,16 +12,16 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct BeamoLimits { +pub struct RealmsBasicBeamoLimits { #[serde(rename = "maxContainerSize")] pub max_container_size: String, #[serde(rename = "maxRunningContainersPerService")] pub max_running_containers_per_service: i32, } -impl BeamoLimits { - pub fn new(max_container_size: String, max_running_containers_per_service: i32) -> BeamoLimits { - BeamoLimits { +impl RealmsBasicBeamoLimits { + pub fn new(max_container_size: String, max_running_containers_per_service: i32) -> RealmsBasicBeamoLimits { + RealmsBasicBeamoLimits { max_container_size, max_running_containers_per_service, } diff --git a/src/models/customer.rs b/src/models/realms_basic_customer.rs similarity index 91% rename from src/models/customer.rs rename to src/models/realms_basic_customer.rs index 52c0a47..2945329 100644 --- a/src/models/customer.rs +++ b/src/models/realms_basic_customer.rs @@ -12,7 +12,7 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct Customer { +pub struct RealmsBasicCustomer { #[serde(rename = "name")] pub name: String, #[serde(rename = "activationStatus", skip_serializing_if = "Option::is_none")] @@ -39,9 +39,9 @@ pub struct Customer { pub created: Option, } -impl Customer { - pub fn new(name: String, cid: i64, projects: Vec, accounts: Vec) -> Customer { - Customer { +impl RealmsBasicCustomer { + pub fn new(name: String, cid: i64, projects: Vec, accounts: Vec) -> RealmsBasicCustomer { + RealmsBasicCustomer { name, activation_status: None, payment_status: None, diff --git a/src/models/customer_view.rs b/src/models/realms_basic_customer_view.rs similarity index 84% rename from src/models/customer_view.rs rename to src/models/realms_basic_customer_view.rs index 6961808..bad25b2 100644 --- a/src/models/customer_view.rs +++ b/src/models/realms_basic_customer_view.rs @@ -12,7 +12,7 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CustomerView { +pub struct RealmsBasicCustomerView { #[serde(rename = "cid")] pub cid: i64, #[serde(rename = "name")] @@ -23,9 +23,9 @@ pub struct CustomerView { pub projects: Vec, } -impl CustomerView { - pub fn new(cid: i64, name: String, projects: Vec) -> CustomerView { - CustomerView { +impl RealmsBasicCustomerView { + pub fn new(cid: i64, name: String, projects: Vec) -> RealmsBasicCustomerView { + RealmsBasicCustomerView { cid, name, alias: None, diff --git a/src/models/service_plans_response.rs b/src/models/realms_basic_customers_response.rs similarity index 59% rename from src/models/service_plans_response.rs rename to src/models/realms_basic_customers_response.rs index 04eadae..22012c7 100644 --- a/src/models/service_plans_response.rs +++ b/src/models/realms_basic_customers_response.rs @@ -12,14 +12,14 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct ServicePlansResponse { +pub struct RealmsBasicCustomersResponse { #[serde(rename = "result")] - pub result: Vec, + pub result: Vec, } -impl ServicePlansResponse { - pub fn new(result: Vec) -> ServicePlansResponse { - ServicePlansResponse { +impl RealmsBasicCustomersResponse { + pub fn new(result: Vec) -> RealmsBasicCustomersResponse { + RealmsBasicCustomersResponse { result, } } diff --git a/src/models/data_domain.rs b/src/models/realms_basic_data_domain.rs similarity index 86% rename from src/models/data_domain.rs rename to src/models/realms_basic_data_domain.rs index 5b4f33d..98376df 100644 --- a/src/models/data_domain.rs +++ b/src/models/realms_basic_data_domain.rs @@ -12,7 +12,7 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct DataDomain { +pub struct RealmsBasicDataDomain { #[serde(rename = "messageBusAnalytics", skip_serializing_if = "Option::is_none")] pub message_bus_analytics: Option>, #[serde(rename = "mongoSrvAddress", skip_serializing_if = "Option::is_none")] @@ -30,12 +30,12 @@ pub struct DataDomain { #[serde(rename = "messageBusCommon", skip_serializing_if = "Option::is_none")] pub message_bus_common: Option>, #[serde(rename = "redisShards", skip_serializing_if = "Option::is_none")] - pub redis_shards: Option>, + pub redis_shards: Option>, } -impl DataDomain { - pub fn new(memcached_hosts: Vec, mongo_sharded: bool, mongo_hosts: Vec, mongo_ssl_enabled: bool) -> DataDomain { - DataDomain { +impl RealmsBasicDataDomain { + pub fn new(memcached_hosts: Vec, mongo_sharded: bool, mongo_hosts: Vec, mongo_ssl_enabled: bool) -> RealmsBasicDataDomain { + RealmsBasicDataDomain { message_bus_analytics: None, mongo_srv_address: None, memcached_hosts, diff --git a/src/models/html_response.rs b/src/models/realms_basic_html_response.rs similarity index 71% rename from src/models/html_response.rs rename to src/models/realms_basic_html_response.rs index cf2fccf..1995fa9 100644 --- a/src/models/html_response.rs +++ b/src/models/realms_basic_html_response.rs @@ -12,14 +12,14 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct HtmlResponse { +pub struct RealmsBasicHtmlResponse { #[serde(rename = "html")] pub html: String, } -impl HtmlResponse { - pub fn new(html: String) -> HtmlResponse { - HtmlResponse { +impl RealmsBasicHtmlResponse { + pub fn new(html: String) -> RealmsBasicHtmlResponse { + RealmsBasicHtmlResponse { html, } } diff --git a/src/models/new_customer_request.rs b/src/models/realms_basic_new_customer_request.rs similarity index 86% rename from src/models/new_customer_request.rs rename to src/models/realms_basic_new_customer_request.rs index f21efec..07a9a1b 100644 --- a/src/models/new_customer_request.rs +++ b/src/models/realms_basic_new_customer_request.rs @@ -12,7 +12,7 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct NewCustomerRequest { +pub struct RealmsBasicNewCustomerRequest { #[serde(rename = "projectName")] pub project_name: String, #[serde(rename = "email")] @@ -27,9 +27,9 @@ pub struct NewCustomerRequest { pub password: String, } -impl NewCustomerRequest { - pub fn new(project_name: String, email: String, password: String) -> NewCustomerRequest { - NewCustomerRequest { +impl RealmsBasicNewCustomerRequest { + pub fn new(project_name: String, email: String, password: String) -> RealmsBasicNewCustomerRequest { + RealmsBasicNewCustomerRequest { project_name, email, customer_name: None, diff --git a/src/models/new_customer_response.rs b/src/models/realms_basic_new_customer_response.rs similarity index 87% rename from src/models/new_customer_response.rs rename to src/models/realms_basic_new_customer_response.rs index 64b8b30..79e7946 100644 --- a/src/models/new_customer_response.rs +++ b/src/models/realms_basic_new_customer_response.rs @@ -12,7 +12,7 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct NewCustomerResponse { +pub struct RealmsBasicNewCustomerResponse { #[serde(rename = "name")] pub name: String, #[serde(rename = "projectName")] @@ -29,9 +29,9 @@ pub struct NewCustomerResponse { pub token: Box, } -impl NewCustomerResponse { - pub fn new(name: String, project_name: String, activation_pending: bool, cid: i64, pid: String, token: models::TokenResponse) -> NewCustomerResponse { - NewCustomerResponse { +impl RealmsBasicNewCustomerResponse { + pub fn new(name: String, project_name: String, activation_pending: bool, cid: i64, pid: String, token: models::TokenResponse) -> RealmsBasicNewCustomerResponse { + RealmsBasicNewCustomerResponse { name, project_name, activation_pending, diff --git a/src/models/promote_realm_request.rs b/src/models/realms_basic_promote_realm_request.rs similarity index 79% rename from src/models/promote_realm_request.rs rename to src/models/realms_basic_promote_realm_request.rs index da1501c..c24a96f 100644 --- a/src/models/promote_realm_request.rs +++ b/src/models/realms_basic_promote_realm_request.rs @@ -12,7 +12,7 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PromoteRealmRequest { +pub struct RealmsBasicPromoteRealmRequest { #[serde(rename = "sourcePid")] pub source_pid: String, #[serde(rename = "promotions", skip_serializing_if = "Option::is_none")] @@ -21,9 +21,9 @@ pub struct PromoteRealmRequest { pub content_manifest_ids: Option>, } -impl PromoteRealmRequest { - pub fn new(source_pid: String) -> PromoteRealmRequest { - PromoteRealmRequest { +impl RealmsBasicPromoteRealmRequest { + pub fn new(source_pid: String) -> RealmsBasicPromoteRealmRequest { + RealmsBasicPromoteRealmRequest { source_pid, promotions: None, content_manifest_ids: None, diff --git a/src/models/promote_realm_response.rs b/src/models/realms_basic_promote_realm_response.rs similarity index 60% rename from src/models/promote_realm_response.rs rename to src/models/realms_basic_promote_realm_response.rs index 97042a7..0be1c35 100644 --- a/src/models/promote_realm_response.rs +++ b/src/models/realms_basic_promote_realm_response.rs @@ -12,16 +12,16 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PromoteRealmResponse { +pub struct RealmsBasicPromoteRealmResponse { #[serde(rename = "sourcePid")] pub source_pid: String, #[serde(rename = "scopes")] - pub scopes: Vec, + pub scopes: Vec, } -impl PromoteRealmResponse { - pub fn new(source_pid: String, scopes: Vec) -> PromoteRealmResponse { - PromoteRealmResponse { +impl RealmsBasicPromoteRealmResponse { + pub fn new(source_pid: String, scopes: Vec) -> RealmsBasicPromoteRealmResponse { + RealmsBasicPromoteRealmResponse { source_pid, scopes, } diff --git a/src/models/promotion_scope.rs b/src/models/realms_basic_promotion_scope.rs similarity index 80% rename from src/models/promotion_scope.rs rename to src/models/realms_basic_promotion_scope.rs index ce7bec0..2d91a21 100644 --- a/src/models/promotion_scope.rs +++ b/src/models/realms_basic_promotion_scope.rs @@ -12,16 +12,16 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct PromotionScope { +pub struct RealmsBasicPromotionScope { #[serde(rename = "name")] pub name: String, #[serde(rename = "promotions")] pub promotions: Vec, } -impl PromotionScope { - pub fn new(name: String, promotions: Vec) -> PromotionScope { - PromotionScope { +impl RealmsBasicPromotionScope { + pub fn new(name: String, promotions: Vec) -> RealmsBasicPromotionScope { + RealmsBasicPromotionScope { name, promotions, } diff --git a/src/models/realm_config_save_request.rs b/src/models/realms_basic_realm_config_response.rs similarity index 75% rename from src/models/realm_config_save_request.rs rename to src/models/realms_basic_realm_config_response.rs index e447877..7d649fd 100644 --- a/src/models/realm_config_save_request.rs +++ b/src/models/realms_basic_realm_config_response.rs @@ -12,14 +12,14 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct RealmConfigSaveRequest { +pub struct RealmsBasicRealmConfigResponse { #[serde(rename = "config")] pub config: std::collections::HashMap, } -impl RealmConfigSaveRequest { - pub fn new(config: std::collections::HashMap) -> RealmConfigSaveRequest { - RealmConfigSaveRequest { +impl RealmsBasicRealmConfigResponse { + pub fn new(config: std::collections::HashMap) -> RealmsBasicRealmConfigResponse { + RealmsBasicRealmConfigResponse { config, } } diff --git a/src/models/realm_config_response.rs b/src/models/realms_basic_realm_config_save_request.rs similarity index 74% rename from src/models/realm_config_response.rs rename to src/models/realms_basic_realm_config_save_request.rs index 6e2679d..a13f756 100644 --- a/src/models/realm_config_response.rs +++ b/src/models/realms_basic_realm_config_save_request.rs @@ -12,14 +12,14 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct RealmConfigResponse { +pub struct RealmsBasicRealmConfigSaveRequest { #[serde(rename = "config")] pub config: std::collections::HashMap, } -impl RealmConfigResponse { - pub fn new(config: std::collections::HashMap) -> RealmConfigResponse { - RealmConfigResponse { +impl RealmsBasicRealmConfigSaveRequest { + pub fn new(config: std::collections::HashMap) -> RealmsBasicRealmConfigSaveRequest { + RealmsBasicRealmConfigSaveRequest { config, } } diff --git a/src/models/realm_configuration.rs b/src/models/realms_basic_realm_configuration.rs similarity index 68% rename from src/models/realm_configuration.rs rename to src/models/realms_basic_realm_configuration.rs index 572d1e9..45cbf08 100644 --- a/src/models/realm_configuration.rs +++ b/src/models/realms_basic_realm_configuration.rs @@ -12,9 +12,9 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct RealmConfiguration { +pub struct RealmsBasicRealmConfiguration { #[serde(rename = "websocketConfig")] - pub websocket_config: Box, + pub websocket_config: Box, #[serde(rename = "microserviceURI")] pub microservice_uri: String, #[serde(rename = "portalURI")] @@ -27,9 +27,9 @@ pub struct RealmConfiguration { pub environment: String, } -impl RealmConfiguration { - pub fn new(websocket_config: models::WebSocketConfiguration, microservice_uri: String, portal_uri: String, microservice_ecr_uri: String, storage_browser_uri: String, environment: String) -> RealmConfiguration { - RealmConfiguration { +impl RealmsBasicRealmConfiguration { + pub fn new(websocket_config: models::RealmsBasicWebSocketConfiguration, microservice_uri: String, portal_uri: String, microservice_ecr_uri: String, storage_browser_uri: String, environment: String) -> RealmsBasicRealmConfiguration { + RealmsBasicRealmConfiguration { websocket_config: Box::new(websocket_config), microservice_uri, portal_uri, diff --git a/src/models/redis_shard.rs b/src/models/realms_basic_redis_shard.rs similarity index 82% rename from src/models/redis_shard.rs rename to src/models/realms_basic_redis_shard.rs index 2b7a76f..2ecfe49 100644 --- a/src/models/redis_shard.rs +++ b/src/models/realms_basic_redis_shard.rs @@ -12,7 +12,7 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct RedisShard { +pub struct RealmsBasicRedisShard { #[serde(rename = "shardId")] pub shard_id: i32, #[serde(rename = "masterHost")] @@ -21,9 +21,9 @@ pub struct RedisShard { pub slave_hosts: Vec, } -impl RedisShard { - pub fn new(shard_id: i32, master_host: String, slave_hosts: Vec) -> RedisShard { - RedisShard { +impl RealmsBasicRedisShard { + pub fn new(shard_id: i32, master_host: String, slave_hosts: Vec) -> RealmsBasicRedisShard { + RealmsBasicRedisShard { shard_id, master_host, slave_hosts, diff --git a/src/models/redis_shard_request.rs b/src/models/realms_basic_redis_shard_request.rs similarity index 80% rename from src/models/redis_shard_request.rs rename to src/models/realms_basic_redis_shard_request.rs index baa8ddc..33670a1 100644 --- a/src/models/redis_shard_request.rs +++ b/src/models/realms_basic_redis_shard_request.rs @@ -12,7 +12,7 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct RedisShardRequest { +pub struct RealmsBasicRedisShardRequest { #[serde(rename = "shardId")] pub shard_id: i32, #[serde(rename = "masterHost")] @@ -21,9 +21,9 @@ pub struct RedisShardRequest { pub slave_hosts: String, } -impl RedisShardRequest { - pub fn new(shard_id: i32, master_host: String, slave_hosts: String) -> RedisShardRequest { - RedisShardRequest { +impl RealmsBasicRedisShardRequest { + pub fn new(shard_id: i32, master_host: String, slave_hosts: String) -> RealmsBasicRedisShardRequest { + RealmsBasicRedisShardRequest { shard_id, master_host, slave_hosts, diff --git a/src/models/service_limits.rs b/src/models/realms_basic_service_limits.rs similarity index 77% rename from src/models/service_limits.rs rename to src/models/realms_basic_service_limits.rs index 127d22c..b54d7ee 100644 --- a/src/models/service_limits.rs +++ b/src/models/realms_basic_service_limits.rs @@ -12,18 +12,18 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct ServiceLimits { +pub struct RealmsBasicServiceLimits { #[serde(rename = "beamo", skip_serializing_if = "Option::is_none")] - pub beamo: Option>, + pub beamo: Option>, #[serde(rename = "content", skip_serializing_if = "Option::is_none")] pub content: Option>, #[serde(rename = "gateway", skip_serializing_if = "Option::is_none")] pub gateway: Option>, } -impl ServiceLimits { - pub fn new() -> ServiceLimits { - ServiceLimits { +impl RealmsBasicServiceLimits { + pub fn new() -> RealmsBasicServiceLimits { + RealmsBasicServiceLimits { beamo: None, content: None, gateway: None, diff --git a/src/models/service_plan.rs b/src/models/realms_basic_service_plan.rs similarity index 73% rename from src/models/service_plan.rs rename to src/models/realms_basic_service_plan.rs index d2460a0..97bbc3b 100644 --- a/src/models/service_plan.rs +++ b/src/models/realms_basic_service_plan.rs @@ -12,22 +12,22 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct ServicePlan { +pub struct RealmsBasicServicePlan { #[serde(rename = "minCustomerStatusSaved", skip_serializing_if = "Option::is_none")] pub min_customer_status_saved: Option, #[serde(rename = "name")] pub name: String, #[serde(rename = "dataDomain")] - pub data_domain: Box, + pub data_domain: Box, #[serde(rename = "limits", skip_serializing_if = "Option::is_none")] - pub limits: Option>, + pub limits: Option>, #[serde(rename = "created", skip_serializing_if = "Option::is_none")] pub created: Option, } -impl ServicePlan { - pub fn new(name: String, data_domain: models::DataDomain) -> ServicePlan { - ServicePlan { +impl RealmsBasicServicePlan { + pub fn new(name: String, data_domain: models::RealmsBasicDataDomain) -> RealmsBasicServicePlan { + RealmsBasicServicePlan { min_customer_status_saved: None, name, data_domain: Box::new(data_domain), diff --git a/src/models/customers_response.rs b/src/models/realms_basic_service_plans_response.rs similarity index 58% rename from src/models/customers_response.rs rename to src/models/realms_basic_service_plans_response.rs index 0e7e2d8..ad02e79 100644 --- a/src/models/customers_response.rs +++ b/src/models/realms_basic_service_plans_response.rs @@ -12,14 +12,14 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct CustomersResponse { +pub struct RealmsBasicServicePlansResponse { #[serde(rename = "result")] - pub result: Vec, + pub result: Vec, } -impl CustomersResponse { - pub fn new(result: Vec) -> CustomersResponse { - CustomersResponse { +impl RealmsBasicServicePlansResponse { + pub fn new(result: Vec) -> RealmsBasicServicePlansResponse { + RealmsBasicServicePlansResponse { result, } } diff --git a/src/models/update_game_hierarchy_request.rs b/src/models/realms_basic_update_game_hierarchy_request.rs similarity index 75% rename from src/models/update_game_hierarchy_request.rs rename to src/models/realms_basic_update_game_hierarchy_request.rs index f1e3f16..d5ab599 100644 --- a/src/models/update_game_hierarchy_request.rs +++ b/src/models/realms_basic_update_game_hierarchy_request.rs @@ -12,16 +12,16 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct UpdateGameHierarchyRequest { +pub struct RealmsBasicUpdateGameHierarchyRequest { #[serde(rename = "rootPID")] pub root_pid: String, #[serde(rename = "projects")] pub projects: Vec, } -impl UpdateGameHierarchyRequest { - pub fn new(root_pid: String, projects: Vec) -> UpdateGameHierarchyRequest { - UpdateGameHierarchyRequest { +impl RealmsBasicUpdateGameHierarchyRequest { + pub fn new(root_pid: String, projects: Vec) -> RealmsBasicUpdateGameHierarchyRequest { + RealmsBasicUpdateGameHierarchyRequest { root_pid, projects, } diff --git a/src/models/web_socket_configuration.rs b/src/models/realms_basic_web_socket_configuration.rs similarity index 72% rename from src/models/web_socket_configuration.rs rename to src/models/realms_basic_web_socket_configuration.rs index 5dc2165..2d556c0 100644 --- a/src/models/web_socket_configuration.rs +++ b/src/models/realms_basic_web_socket_configuration.rs @@ -12,16 +12,16 @@ use crate::models; use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] -pub struct WebSocketConfiguration { +pub struct RealmsBasicWebSocketConfiguration { #[serde(rename = "provider")] pub provider: String, #[serde(rename = "uri", skip_serializing_if = "Option::is_none")] pub uri: Option, } -impl WebSocketConfiguration { - pub fn new(provider: String) -> WebSocketConfiguration { - WebSocketConfiguration { +impl RealmsBasicWebSocketConfiguration { + pub fn new(provider: String) -> RealmsBasicWebSocketConfiguration { + RealmsBasicWebSocketConfiguration { provider, uri: None, } diff --git a/src/models/rename_realm_request.rs b/src/models/rename_realm_request.rs new file mode 100644 index 0000000..652650e --- /dev/null +++ b/src/models/rename_realm_request.rs @@ -0,0 +1,27 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct RenameRealmRequest { + #[serde(rename = "newName")] + pub new_name: String, +} + +impl RenameRealmRequest { + pub fn new(new_name: String) -> RenameRealmRequest { + RenameRealmRequest { + new_name, + } + } +} + diff --git a/src/models/save_manifest_response.rs b/src/models/save_manifest_response.rs new file mode 100644 index 0000000..6fc8ad4 --- /dev/null +++ b/src/models/save_manifest_response.rs @@ -0,0 +1,39 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct SaveManifestResponse { + #[serde(rename = "diffUrl", skip_serializing_if = "Option::is_none")] + pub diff_url: Option, + #[serde(rename = "id")] + pub id: String, + #[serde(rename = "checksum")] + pub checksum: String, + #[serde(rename = "uid")] + pub uid: String, + #[serde(rename = "created")] + pub created: i64, +} + +impl SaveManifestResponse { + pub fn new(id: String, checksum: String, uid: String, created: i64) -> SaveManifestResponse { + SaveManifestResponse { + diff_url: None, + id, + checksum, + uid, + created, + } + } +} + diff --git a/src/models/search_extended_request.rs b/src/models/search_extended_request.rs index 1bd7957..34b47d3 100644 --- a/src/models/search_extended_request.rs +++ b/src/models/search_extended_request.rs @@ -17,10 +17,14 @@ pub struct SearchExtendedRequest { pub criteria: Vec, #[serde(rename = "domain")] pub domain: String, + #[serde(rename = "offset", skip_serializing_if = "Option::is_none")] + pub offset: Option, #[serde(rename = "objectType")] pub object_type: String, #[serde(rename = "statKeys")] pub stat_keys: Vec, + #[serde(rename = "limit", skip_serializing_if = "Option::is_none")] + pub limit: Option, #[serde(rename = "access")] pub access: String, } @@ -30,8 +34,10 @@ impl SearchExtendedRequest { SearchExtendedRequest { criteria, domain, + offset: None, object_type, stat_keys, + limit: None, access, } } diff --git a/src/models/search_extended_response.rs b/src/models/search_extended_response.rs index 007418e..2a73f23 100644 --- a/src/models/search_extended_response.rs +++ b/src/models/search_extended_response.rs @@ -15,12 +15,21 @@ use serde::{Deserialize, Serialize}; pub struct SearchExtendedResponse { #[serde(rename = "gamerStats")] pub gamer_stats: std::collections::HashMap>, + #[serde(rename = "offset", skip_serializing_if = "Option::is_none")] + pub offset: Option, + #[serde(rename = "limit", skip_serializing_if = "Option::is_none")] + pub limit: Option, + #[serde(rename = "total", skip_serializing_if = "Option::is_none")] + pub total: Option, } impl SearchExtendedResponse { pub fn new(gamer_stats: std::collections::HashMap>) -> SearchExtendedResponse { SearchExtendedResponse { gamer_stats, + offset: None, + limit: None, + total: None, } } } diff --git a/src/models/service_plan_actor_data_domain.rs b/src/models/service_plan_actor_data_domain.rs new file mode 100644 index 0000000..f1dea35 --- /dev/null +++ b/src/models/service_plan_actor_data_domain.rs @@ -0,0 +1,45 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct ServicePlanActorDataDomain { + #[serde(rename = "mongoHosts", skip_serializing_if = "Option::is_none")] + pub mongo_hosts: Option>, + #[serde(rename = "mongoSrvAddress", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub mongo_srv_address: Option>, + #[serde(rename = "mongoSharded", skip_serializing_if = "Option::is_none")] + pub mongo_sharded: Option, + #[serde(rename = "mongoTls", skip_serializing_if = "Option::is_none")] + pub mongo_tls: Option, + #[serde(rename = "messageBusCommon", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub message_bus_common: Option>>, + #[serde(rename = "messageBusAnalytics", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub message_bus_analytics: Option>>, + #[serde(rename = "redisShards", skip_serializing_if = "Option::is_none")] + pub redis_shards: Option>, +} + +impl ServicePlanActorDataDomain { + pub fn new() -> ServicePlanActorDataDomain { + ServicePlanActorDataDomain { + mongo_hosts: None, + mongo_srv_address: None, + mongo_sharded: None, + mongo_tls: None, + message_bus_common: None, + message_bus_analytics: None, + redis_shards: None, + } + } +} + diff --git a/src/models/service_plan_actor_redis_shard.rs b/src/models/service_plan_actor_redis_shard.rs new file mode 100644 index 0000000..79bfed0 --- /dev/null +++ b/src/models/service_plan_actor_redis_shard.rs @@ -0,0 +1,33 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct ServicePlanActorRedisShard { + #[serde(rename = "shardId", skip_serializing_if = "Option::is_none")] + pub shard_id: Option, + #[serde(rename = "masterHost", skip_serializing_if = "Option::is_none")] + pub master_host: Option, + #[serde(rename = "slaveHosts", skip_serializing_if = "Option::is_none")] + pub slave_hosts: Option>, +} + +impl ServicePlanActorRedisShard { + pub fn new() -> ServicePlanActorRedisShard { + ServicePlanActorRedisShard { + shard_id: None, + master_host: None, + slave_hosts: None, + } + } +} + diff --git a/src/models/service_plan_actor_redis_shard_request.rs b/src/models/service_plan_actor_redis_shard_request.rs new file mode 100644 index 0000000..152c844 --- /dev/null +++ b/src/models/service_plan_actor_redis_shard_request.rs @@ -0,0 +1,33 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct ServicePlanActorRedisShardRequest { + #[serde(rename = "shardId", skip_serializing_if = "Option::is_none")] + pub shard_id: Option, + #[serde(rename = "masterHost", skip_serializing_if = "Option::is_none")] + pub master_host: Option, + #[serde(rename = "slaveHosts", skip_serializing_if = "Option::is_none")] + pub slave_hosts: Option, +} + +impl ServicePlanActorRedisShardRequest { + pub fn new() -> ServicePlanActorRedisShardRequest { + ServicePlanActorRedisShardRequest { + shard_id: None, + master_host: None, + slave_hosts: None, + } + } +} + diff --git a/src/models/service_plan_actor_service_limits.rs b/src/models/service_plan_actor_service_limits.rs new file mode 100644 index 0000000..9a9c1de --- /dev/null +++ b/src/models/service_plan_actor_service_limits.rs @@ -0,0 +1,27 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct ServicePlanActorServiceLimits { + #[serde(rename = "beamo", skip_serializing_if = "Option::is_none")] + pub beamo: Option, +} + +impl ServicePlanActorServiceLimits { + pub fn new() -> ServicePlanActorServiceLimits { + ServicePlanActorServiceLimits { + beamo: None, + } + } +} + diff --git a/src/models/service_plan_actor_service_plan.rs b/src/models/service_plan_actor_service_plan.rs new file mode 100644 index 0000000..1196c33 --- /dev/null +++ b/src/models/service_plan_actor_service_plan.rs @@ -0,0 +1,33 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct ServicePlanActorServicePlan { + #[serde(rename = "name")] + pub name: String, + #[serde(rename = "dataDomain")] + pub data_domain: Box, + #[serde(rename = "serviceLimits", skip_serializing_if = "Option::is_none")] + pub service_limits: Option>, +} + +impl ServicePlanActorServicePlan { + pub fn new(name: String, data_domain: models::ServicePlanActorDataDomain) -> ServicePlanActorServicePlan { + ServicePlanActorServicePlan { + name, + data_domain: Box::new(data_domain), + service_limits: None, + } + } +} + diff --git a/src/models/service_plan_actor_service_plans_response.rs b/src/models/service_plan_actor_service_plans_response.rs new file mode 100644 index 0000000..d80528b --- /dev/null +++ b/src/models/service_plan_actor_service_plans_response.rs @@ -0,0 +1,27 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct ServicePlanActorServicePlansResponse { + #[serde(rename = "result", skip_serializing_if = "Option::is_none")] + pub result: Option>, +} + +impl ServicePlanActorServicePlansResponse { + pub fn new() -> ServicePlanActorServicePlansResponse { + ServicePlanActorServicePlansResponse { + result: None, + } + } +} + diff --git a/src/models/set_customer_alias_request.rs b/src/models/set_customer_alias_request.rs new file mode 100644 index 0000000..e30c384 --- /dev/null +++ b/src/models/set_customer_alias_request.rs @@ -0,0 +1,27 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct SetCustomerAliasRequest { + #[serde(rename = "alias")] + pub alias: String, +} + +impl SetCustomerAliasRequest { + pub fn new(alias: String) -> SetCustomerAliasRequest { + SetCustomerAliasRequest { + alias, + } + } +} + diff --git a/src/models/set_lobby_response.rs b/src/models/set_lobby_response.rs new file mode 100644 index 0000000..acdd94b --- /dev/null +++ b/src/models/set_lobby_response.rs @@ -0,0 +1,27 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct SetLobbyResponse { + #[serde(rename = "lobbyId", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub lobby_id: Option>, +} + +impl SetLobbyResponse { + pub fn new() -> SetLobbyResponse { + SetLobbyResponse { + lobby_id: None, + } + } +} + diff --git a/src/models/stats_search_request.rs b/src/models/stats_search_request.rs index c9b8d03..7fbcf23 100644 --- a/src/models/stats_search_request.rs +++ b/src/models/stats_search_request.rs @@ -13,23 +13,29 @@ use serde::{Deserialize, Serialize}; #[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] pub struct StatsSearchRequest { + #[serde(rename = "criteria")] + pub criteria: Vec, #[serde(rename = "domain")] pub domain: String, - #[serde(rename = "access")] - pub access: String, + #[serde(rename = "offset", skip_serializing_if = "Option::is_none")] + pub offset: Option, #[serde(rename = "objectType")] pub object_type: String, - #[serde(rename = "criteria")] - pub criteria: Vec, + #[serde(rename = "limit", skip_serializing_if = "Option::is_none")] + pub limit: Option, + #[serde(rename = "access")] + pub access: String, } impl StatsSearchRequest { - pub fn new(domain: String, access: String, object_type: String, criteria: Vec) -> StatsSearchRequest { + pub fn new(criteria: Vec, domain: String, object_type: String, access: String) -> StatsSearchRequest { StatsSearchRequest { + criteria, domain, - access, + offset: None, object_type, - criteria, + limit: None, + access, } } } diff --git a/src/models/stats_search_response.rs b/src/models/stats_search_response.rs index 87f27cc..c11f644 100644 --- a/src/models/stats_search_response.rs +++ b/src/models/stats_search_response.rs @@ -15,12 +15,21 @@ use serde::{Deserialize, Serialize}; pub struct StatsSearchResponse { #[serde(rename = "ids")] pub ids: Vec, + #[serde(rename = "offset", skip_serializing_if = "Option::is_none")] + pub offset: Option, + #[serde(rename = "limit", skip_serializing_if = "Option::is_none")] + pub limit: Option, + #[serde(rename = "total", skip_serializing_if = "Option::is_none")] + pub total: Option, } impl StatsSearchResponse { pub fn new(ids: Vec) -> StatsSearchResponse { StatsSearchResponse { ids, + offset: None, + limit: None, + total: None, } } } diff --git a/src/models/update_customer_request.rs b/src/models/update_customer_request.rs new file mode 100644 index 0000000..04a7c8a --- /dev/null +++ b/src/models/update_customer_request.rs @@ -0,0 +1,27 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UpdateCustomerRequest { + #[serde(rename = "paymentStatus", skip_serializing_if = "Option::is_none")] + pub payment_status: Option, +} + +impl UpdateCustomerRequest { + pub fn new() -> UpdateCustomerRequest { + UpdateCustomerRequest { + payment_status: None, + } + } +} + diff --git a/src/models/update_otel_view_request.rs b/src/models/update_otel_view_request.rs new file mode 100644 index 0000000..370b6fa --- /dev/null +++ b/src/models/update_otel_view_request.rs @@ -0,0 +1,36 @@ +/* + * Beamable API + * + * Autogenerated Beamable API + * + * The version of the OpenAPI document: 1.0 + * Contact: support@beamable.com + * Generated by: https://openapi-generator.tech + */ + +use crate::models; +use serde::{Deserialize, Serialize}; + +#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)] +pub struct UpdateOtelViewRequest { + #[serde(rename = "name", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub name: Option>, + #[serde(rename = "query", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub query: Option>, + #[serde(rename = "isPublic", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub is_public: Option>, + #[serde(rename = "isFavorite", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")] + pub is_favorite: Option>, +} + +impl UpdateOtelViewRequest { + pub fn new() -> UpdateOtelViewRequest { + UpdateOtelViewRequest { + name: None, + query: None, + is_public: None, + is_favorite: None, + } + } +} +