diff --git a/PlayFabSdk/Scripts/PlayFab/PlayFab.js b/PlayFabSdk/Scripts/PlayFab/PlayFab.js index d0ae898..51b23da 100644 --- a/PlayFabSdk/Scripts/PlayFab/PlayFab.js +++ b/PlayFabSdk/Scripts/PlayFab/PlayFab.js @@ -3,7 +3,7 @@ var url = require("url"); var https = require("https"); -exports.sdk_version = "2.155.240524"; +exports.sdk_version = "2.156.240621"; exports.buildIdentifier = "adobuild_nodesdk_114"; var settings = (exports.settings = { @@ -19,7 +19,7 @@ var _internalSettings = (exports._internalSettings = { entityToken: null, sessionTicket: null, requestGetParams: { - sdk: "JavaScriptSDK-2.155.240524", + sdk: "JavaScriptSDK-2.156.240621", }, }); diff --git a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabAdmin.d.ts b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabAdmin.d.ts index 9bb1abb..f1d80b1 100644 --- a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabAdmin.d.ts +++ b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabAdmin.d.ts @@ -2525,6 +2525,8 @@ declare module PlayFabAdminModels { | "StatisticDefinitionModificationNotAllowedWhileLinked" | "LeaderboardUpdateNotAllowedWhileLinked" | "CloudScriptAzureFunctionsEventHubRequestError" + | "LeaderboardRateLimitExceeded" + | "ExternalEntityNotAllowedForTier" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2771,9 +2773,27 @@ declare module PlayFabAdminModels { | "TrueSkillJobAlreadyExists" | "TrueSkillJobNotFound" | "TrueSkillOperationCanceled" - | "StateShareUnauthorized" + | "TrueSkillActiveModelLimitExceeded" + | "TrueSkillTotalModelLimitExceeded" + | "TrueSkillUnknownInitialModelId" + | "TrueSkillUnauthorizedForJob" + | "TrueSkillInvalidScenarioName" + | "TrueSkillConditionStateIsRequired" + | "TrueSkillEventStateIsRequired" + | "TrueSkillDuplicateEvent" + | "TrueSkillDuplicateCondition" + | "TrueSkillInvalidAnomalyThreshold" + | "TrueSkillConditionKeyLimitExceeded" + | "TrueSkillConditionValuePerKeyLimitExceeded" + | "TrueSkillEventLimitExceeded" + | "StateShareForbidden" + | "StateShareTitleNotInFlight" | "StateShareStateNotFound" - | "StateShareLinkNotFound"; + | "StateShareLinkNotFound" + | "StateShareStateRedemptionLimitExceeded" + | "StateShareStateRedemptionLimitNotUpdated" + | "StateShareCreatedStatesLimitExceeded" + | "StateShareIdMissingOrMalformed"; export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon { // Parameter of this task instance @@ -3456,7 +3476,8 @@ declare module PlayFabAdminModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface LogStatement { // Optional object accompanying the message as contextual information @@ -5311,7 +5332,8 @@ declare module PlayFabAdminModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface UserOriginationSegmentFilter { // User login provider. diff --git a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabAuthentication.d.ts b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabAuthentication.d.ts index 33a4c38..671043b 100644 --- a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabAuthentication.d.ts +++ b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabAuthentication.d.ts @@ -106,7 +106,14 @@ declare module PlayFabAuthenticationModels { type IdentifiedDeviceType = "Unknown" | "XboxOne" - | "Scarlett"; + | "Scarlett" + | "WindowsOneCore" + | "WindowsOneCoreMobile" + | "Win32" + | "android" + | "iOS" + | "PlayStation" + | "Nintendo"; type LoginIdentityProvider = "Unknown" @@ -130,7 +137,8 @@ declare module PlayFabAuthenticationModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface ValidateEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { // The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). diff --git a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabClient.d.ts b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabClient.d.ts index b4aec64..315c4e6 100644 --- a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabClient.d.ts +++ b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabClient.d.ts @@ -3235,7 +3235,8 @@ declare module PlayFabClientModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface LoginResult extends PlayFabModule.IPlayFabResultCommon { // If LoginTitlePlayerAccountEntity flag is set on the login request the title_player_account will also be logged in and @@ -4827,7 +4828,8 @@ declare module PlayFabClientModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface UserPrivateAccountInfo { // user email address diff --git a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabCloudScript.d.ts b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabCloudScript.d.ts index 2966789..d524b63 100644 --- a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabCloudScript.d.ts +++ b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabCloudScript.d.ts @@ -598,7 +598,8 @@ declare module PlayFabCloudScriptModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface LogStatement { // Optional object accompanying the message as contextual information diff --git a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabEconomy.d.ts b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabEconomy.d.ts index 554a494..5b2e4cc 100644 --- a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabEconomy.d.ts +++ b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabEconomy.d.ts @@ -1,7 +1,7 @@ declare module PlayFabEconomyModule { export interface IPlayFabEconomy { settings: PlayFabModule.IPlayFabSettings; - // Add inventory items. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is uncapped. + // Add inventory items. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is uncapped. // https://docs.microsoft.com/rest/api/playfab/economy/inventory/addinventoryitems AddInventoryItems( request: PlayFabEconomyModels.AddInventoryItemsRequest | null, @@ -47,11 +47,10 @@ declare module PlayFabEconomyModule { request: PlayFabEconomyModels.DeleteItemRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; - // Execute a list of Inventory Operations. A maximum list of 10 operations can be performed by a single request. There is - // also a limit to 250 items that can be modified/added in a single request. For example, adding a bundle with 50 items + // Execute a list of Inventory Operations. A maximum list of 250 operations can be performed by a single request. There is + // also a limit to 300 items that can be modified/added in a single request. For example, adding a bundle with 50 items // counts as 50 items modified. All operations must be done within a single inventory collection. This API has a reduced - // RPS compared to an individual inventory operation with Player Entities limited to 15 requests in 90 seconds and Title - // Entities limited to 500 requests in 10 seconds. + // RPS compared to an individual inventory operation with Player Entities limited to 60 requests in 90 seconds. // https://docs.microsoft.com/rest/api/playfab/economy/inventory/executeinventoryoperations ExecuteInventoryOperations( request: PlayFabEconomyModels.ExecuteInventoryOperationsRequest | null, @@ -104,8 +103,9 @@ declare module PlayFabEconomyModule { request: PlayFabEconomyModels.GetEntityItemReviewRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; - // Get Inventory Collection Ids. Up to 50 Ids can be returned at once. You can use continuation tokens to paginate through - // results that return greater than the limit. It can take a few seconds for new collection Ids to show up. + // Get Inventory Collection Ids. Up to 50 Ids can be returned at once (or 250 with response compression enabled). You can + // use continuation tokens to paginate through results that return greater than the limit. It can take a few seconds for + // new collection Ids to show up. // https://docs.microsoft.com/rest/api/playfab/economy/inventory/getinventorycollectionids GetInventoryCollectionIds( request: PlayFabEconomyModels.GetInventoryCollectionIdsRequest | null, @@ -182,10 +182,9 @@ declare module PlayFabEconomyModule { request: PlayFabEconomyModels.GetMicrosoftStoreAccessTokensRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; - // Get transaction history for a player. Up to 50 Events can be returned at once. You can use continuation tokens to + // Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to // paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than - // getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds and Title Entities having - // a limit of 100 requests in 10 seconds. + // getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds. // https://docs.microsoft.com/rest/api/playfab/economy/inventory/gettransactionhistory GetTransactionHistory( request: PlayFabEconomyModels.GetTransactionHistoryRequest | null, @@ -198,7 +197,7 @@ declare module PlayFabEconomyModule { request: PlayFabEconomyModels.PublishDraftItemRequest | null, callback: PlayFabModule.ApiCallback | null, ): void; - // Purchase an item or bundle. Up to 3500 stacks of items can be added to a single inventory collection. Stack size is + // Purchase an item or bundle. Up to 10,000 stacks of items can be added to a single inventory collection. Stack size is // uncapped. // https://docs.microsoft.com/rest/api/playfab/economy/inventory/purchaseinventoryitems PurchaseInventoryItems( @@ -978,7 +977,7 @@ declare module PlayFabEconomyModels { // be garbage collected eventually. IdempotencyId?: string; // The operations to run transactionally. The operations will be executed in-order sequentially and will succeed or fail as - // a batch. Up to 10 operations can be added. + // a batch. Up to 50 operations can be added. Operations?: InventoryOperation[]; } diff --git a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabMultiplayer.d.ts b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabMultiplayer.d.ts index 20cc0ea..f7676e8 100644 --- a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabMultiplayer.d.ts +++ b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabMultiplayer.d.ts @@ -2910,6 +2910,8 @@ declare module PlayFabMultiplayerModels { Ports?: Port[]; // The server's region. Region?: string; + // The string server ID of the multiplayer server generated by PlayFab. + ServerId?: string; } export interface ServerResourceConstraintParams { @@ -2953,7 +2955,7 @@ declare module PlayFabMultiplayerModels { // The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). CustomTags?: { [key: string]: string | null }; // The matchmaking queue config. - MatchmakingQueue?: MatchmakingQueueConfig; + MatchmakingQueue: MatchmakingQueueConfig; } export interface SetMatchmakingQueueResult extends PlayFabModule.IPlayFabResultCommon {} diff --git a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabServer.d.ts b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabServer.d.ts index 507f115..7af48a1 100644 --- a/PlayFabSdk/Scripts/typings/PlayFab/PlayFabServer.d.ts +++ b/PlayFabSdk/Scripts/typings/PlayFab/PlayFabServer.d.ts @@ -2420,6 +2420,8 @@ declare module PlayFabServerModels { | "StatisticDefinitionModificationNotAllowedWhileLinked" | "LeaderboardUpdateNotAllowedWhileLinked" | "CloudScriptAzureFunctionsEventHubRequestError" + | "LeaderboardRateLimitExceeded" + | "ExternalEntityNotAllowedForTier" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2666,9 +2668,27 @@ declare module PlayFabServerModels { | "TrueSkillJobAlreadyExists" | "TrueSkillJobNotFound" | "TrueSkillOperationCanceled" - | "StateShareUnauthorized" + | "TrueSkillActiveModelLimitExceeded" + | "TrueSkillTotalModelLimitExceeded" + | "TrueSkillUnknownInitialModelId" + | "TrueSkillUnauthorizedForJob" + | "TrueSkillInvalidScenarioName" + | "TrueSkillConditionStateIsRequired" + | "TrueSkillEventStateIsRequired" + | "TrueSkillDuplicateEvent" + | "TrueSkillDuplicateCondition" + | "TrueSkillInvalidAnomalyThreshold" + | "TrueSkillConditionKeyLimitExceeded" + | "TrueSkillConditionValuePerKeyLimitExceeded" + | "TrueSkillEventLimitExceeded" + | "StateShareForbidden" + | "StateShareTitleNotInFlight" | "StateShareStateNotFound" - | "StateShareLinkNotFound"; + | "StateShareLinkNotFound" + | "StateShareStateRedemptionLimitExceeded" + | "StateShareStateRedemptionLimitNotUpdated" + | "StateShareCreatedStatesLimitExceeded" + | "StateShareIdMissingOrMalformed"; export interface GenericPlayFabIdPair { // Unique generic service identifier for a user. @@ -3723,7 +3743,8 @@ declare module PlayFabServerModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { // Auth code provided by the PlayStation :tm: Network OAuth provider. @@ -5033,7 +5054,8 @@ declare module PlayFabServerModels { | "OpenIdConnect" | "Apple" | "NintendoSwitchAccount" - | "GooglePlayGames"; + | "GooglePlayGames" + | "XboxMobileStore"; export interface UserPrivateAccountInfo { // user email address diff --git a/PlayFabSdk/package-lock.json b/PlayFabSdk/package-lock.json index 96e956e..18570ea 100644 --- a/PlayFabSdk/package-lock.json +++ b/PlayFabSdk/package-lock.json @@ -1,12 +1,12 @@ { "name": "playfab-sdk", - "version": "2.155.240524", + "version": "2.156.240621", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "playfab-sdk", - "version": "2.155.240524", + "version": "2.156.240621", "license": "Apache-2.0", "devDependencies": { "@types/node": "^9.6.55", diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index b3a45ea..7e570a6 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-sdk", - "version": "2.155.240524", + "version": "2.156.240621", "description": "Playfab SDK for node.js applications", "license": "Apache-2.0", "devDependencies": {