From 6c528f742aafbd8ac96a7ab6dc24b403a49e411b Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 30 Mar 2026 21:05:31 +0000 Subject: [PATCH 1/8] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260327 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 32 +++++++++++++++---- .../Typings/PlayFab/PlayFabProfilesApi.d.ts | 26 +++++++++++++++ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 4 +++ .../src/PlayFab/PlayFabAddonApi.js | 8 ++--- .../src/PlayFab/PlayFabAdminApi.js | 8 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- .../src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- .../src/PlayFab/PlayFabDataApi.js | 8 ++--- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++--- .../src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++--- .../src/PlayFab/PlayFabServerApi.js | 8 ++--- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 32 +++++++++++++++---- .../typings/PlayFab/PlayFabProfilesApi.d.ts | 26 +++++++++++++++ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 4 +++ 39 files changed, 241 insertions(+), 141 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index d92b76e3..138508e4 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.211.260313", + "version": "1.212.260327", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index a2d9d57c..a31e36e4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 63eae33f..4cd15be1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index c40dd4c0..ad565247 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 28808e74..8c973e69 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index b20c8c27..df3c0304 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 450eeede..e41f3c57 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 20597ded..7c0a649b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 0ed64000..6e5d1a3d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index f84d9feb..0d4a0ffd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 91ea8b0c..2c7bd14a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 733a871b..7074aa25 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index c56dd499..e12e7769 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 507eb6b4..7dd6851f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index d92c1aea..0396a3e0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 277c9c03..4aa3ca2b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 5da70918..404697d2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index f8d94c21..cd2a67b0 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -2698,6 +2698,7 @@ declare module PlayFabAdminModels { | "ParentCustomerAccountNotFound" | "AccountLinkedToABannedPlayer" | "AzureSubscriptionNotEligibleForLinking" + | "EntityIsNotAMember" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2815,6 +2816,8 @@ declare module PlayFabAdminModels { | "ExperimentationExclusionGroupInvalidName" | "ExperimentationLegacyExperimentInvalidOperation" | "ExperimentationExperimentStopFailed" + | "ExperimentationExperimentDeleteFailed" + | "ExperimentationExperimentStartFailed" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -3012,6 +3015,7 @@ declare module PlayFabAdminModels { | "GameSaveConflict" | "GameSaveManifestNotEligibleForRollback" | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" + | "GameSaveTitleConfigNoUpdatesRequested" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3358,12 +3362,17 @@ declare module PlayFabAdminModels { } export interface GetPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The name of the policy to read. Only supported name is 'ApiPolicy'. */ + /** + * The name of the policy to read. Only 'ApiPolicy' is supported. This parameter is optional and defaults to 'ApiPolicy' if + * omitted. + */ PolicyName?: string; } export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** The UTC date and time when the policy was last updated. Null if the policy has never been customized. */ + LastUpdated?: string; /** The name of the policy read. */ PolicyName?: string; /** Policy version. */ @@ -3999,15 +4008,18 @@ declare module PlayFabAdminModels { } export interface PermissionStatement { - /** The action this statement effects. The only supported action is 'Execute'. */ - Action: string; + /** The action this statement effects. May only be '*'. This parameter is optional and defaults to '*' if omitted. */ + Action?: string; /** Additional conditions to be applied for API Resources. */ ApiConditions?: ApiCondition; /** A comment about the statement. Intended solely for bookkeeping and debugging. */ Comment?: string; /** The effect this statement will have. It could be either Allow or Deny */ Effect: string; - /** The principal this statement will effect. The only supported principal is '*'. */ + /** + * The principal this statement will effect. May be '*' to match all callers, or a JSON object targeting a specific entity + * type, e.g. {"title_player_account":"*"} for players or {"master_player_account":"*"} for master player accounts. + */ Principal: string; /** * The resource this statements effects. The only supported resources look like 'pfrn:api--*' for all apis, or @@ -5650,8 +5662,11 @@ declare module PlayFabAdminModels { export interface UpdatePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Whether to overwrite or append to the existing policy. */ OverwritePolicy: boolean; - /** The name of the policy being updated. Only supported name is 'ApiPolicy' */ - PolicyName: string; + /** + * The name of the policy being updated. Only 'ApiPolicy' is supported. This parameter is optional and defaults to + * 'ApiPolicy' if omitted. + */ + PolicyName?: string; /** Version of the policy to update. Must be the latest (as returned by GetPolicy). */ PolicyVersion: number; /** The new statements to include in the policy. */ @@ -5664,6 +5679,11 @@ declare module PlayFabAdminModels { PolicyName?: string; /** The statements included in the new version of the policy. */ Statements?: PermissionStatement[]; + /** + * Optional warnings about policy statements that may not have the intended effect. For example, resource paths that don't + * match any known API endpoint. The policy update still succeeds when warnings are present. + */ + Warnings?: string[]; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts index f28ed924..ce708bfc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProfilesApi.d.ts @@ -140,6 +140,8 @@ declare module PlayFabProfilesModels { Permissions?: EntityPermissionStatement[]; /** The statistics on this profile. */ Statistics?: { [key: string]: EntityStatisticValue }; + /** A mapping of statistic name to the columns defined in the corresponding definition. */ + StatisticsColumnDetails?: { [key: string]: StatisticColumnCollection }; /** * The version number of the profile in persistent storage at the time of the read. Used for optional optimistic * concurrency during update. @@ -182,6 +184,8 @@ declare module PlayFabProfilesModels { DataAsObject?: boolean; /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; + /** Determines whether the entity statistics will be returned in the entity profile. Default is false. */ + IncludeStatistics: boolean; } @@ -201,6 +205,8 @@ declare module PlayFabProfilesModels { DataAsObject?: boolean; /** Entity keys of the profiles to load. Must be between 1 and 25 */ Entities: EntityKey[]; + /** Determines whether the entity statistics will be returned in the entity profile. Default is false. */ + IncludeStatistics: boolean; } @@ -340,5 +346,25 @@ declare module PlayFabProfilesModels { } + type StatisticAggregationMethod = "Last" + + | "Min" + | "Max" + | "Sum"; + + export interface StatisticColumn { + /** Aggregation method for calculating new value of a statistic. */ + AggregationMethod: string; + /** Name of the statistic column, as originally configured. */ + Name: string; + + } + + export interface StatisticColumnCollection { + /** Columns for the statistic defining the aggregation method for each column. */ + Columns?: StatisticColumn[]; + + } + } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 58ce46f3..a7b19381 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2596,6 +2596,7 @@ declare module PlayFabServerModels { | "ParentCustomerAccountNotFound" | "AccountLinkedToABannedPlayer" | "AzureSubscriptionNotEligibleForLinking" + | "EntityIsNotAMember" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2713,6 +2714,8 @@ declare module PlayFabServerModels { | "ExperimentationExclusionGroupInvalidName" | "ExperimentationLegacyExperimentInvalidOperation" | "ExperimentationExperimentStopFailed" + | "ExperimentationExperimentDeleteFailed" + | "ExperimentationExperimentStartFailed" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2910,6 +2913,7 @@ declare module PlayFabServerModels { | "GameSaveConflict" | "GameSaveManifestNotEligibleForRollback" | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" + | "GameSaveTitleConfigNoUpdatesRequested" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index a2d9d57c..a31e36e4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 63eae33f..4cd15be1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index c40dd4c0..ad565247 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 28808e74..8c973e69 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index b20c8c27..df3c0304 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 450eeede..e41f3c57 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 20597ded..7c0a649b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 0ed64000..6e5d1a3d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index f84d9feb..0d4a0ffd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 91ea8b0c..2c7bd14a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 733a871b..7074aa25 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index c56dd499..e12e7769 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 507eb6b4..7dd6851f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index d92c1aea..0396a3e0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 277c9c03..4aa3ca2b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 5da70918..404697d2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.211.260313", + sdkVersion: "1.212.260327", requestGetParams: { - sdk: "JavaScriptSDK-1.211.260313" + sdk: "JavaScriptSDK-1.212.260327" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.211.260313"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.212.260327"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index f8d94c21..cd2a67b0 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -2698,6 +2698,7 @@ declare module PlayFabAdminModels { | "ParentCustomerAccountNotFound" | "AccountLinkedToABannedPlayer" | "AzureSubscriptionNotEligibleForLinking" + | "EntityIsNotAMember" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2815,6 +2816,8 @@ declare module PlayFabAdminModels { | "ExperimentationExclusionGroupInvalidName" | "ExperimentationLegacyExperimentInvalidOperation" | "ExperimentationExperimentStopFailed" + | "ExperimentationExperimentDeleteFailed" + | "ExperimentationExperimentStartFailed" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -3012,6 +3015,7 @@ declare module PlayFabAdminModels { | "GameSaveConflict" | "GameSaveManifestNotEligibleForRollback" | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" + | "GameSaveTitleConfigNoUpdatesRequested" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3358,12 +3362,17 @@ declare module PlayFabAdminModels { } export interface GetPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { - /** The name of the policy to read. Only supported name is 'ApiPolicy'. */ + /** + * The name of the policy to read. Only 'ApiPolicy' is supported. This parameter is optional and defaults to 'ApiPolicy' if + * omitted. + */ PolicyName?: string; } export interface GetPolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** The UTC date and time when the policy was last updated. Null if the policy has never been customized. */ + LastUpdated?: string; /** The name of the policy read. */ PolicyName?: string; /** Policy version. */ @@ -3999,15 +4008,18 @@ declare module PlayFabAdminModels { } export interface PermissionStatement { - /** The action this statement effects. The only supported action is 'Execute'. */ - Action: string; + /** The action this statement effects. May only be '*'. This parameter is optional and defaults to '*' if omitted. */ + Action?: string; /** Additional conditions to be applied for API Resources. */ ApiConditions?: ApiCondition; /** A comment about the statement. Intended solely for bookkeeping and debugging. */ Comment?: string; /** The effect this statement will have. It could be either Allow or Deny */ Effect: string; - /** The principal this statement will effect. The only supported principal is '*'. */ + /** + * The principal this statement will effect. May be '*' to match all callers, or a JSON object targeting a specific entity + * type, e.g. {"title_player_account":"*"} for players or {"master_player_account":"*"} for master player accounts. + */ Principal: string; /** * The resource this statements effects. The only supported resources look like 'pfrn:api--*' for all apis, or @@ -5650,8 +5662,11 @@ declare module PlayFabAdminModels { export interface UpdatePolicyRequest extends PlayFabModule.IPlayFabRequestCommon { /** Whether to overwrite or append to the existing policy. */ OverwritePolicy: boolean; - /** The name of the policy being updated. Only supported name is 'ApiPolicy' */ - PolicyName: string; + /** + * The name of the policy being updated. Only 'ApiPolicy' is supported. This parameter is optional and defaults to + * 'ApiPolicy' if omitted. + */ + PolicyName?: string; /** Version of the policy to update. Must be the latest (as returned by GetPolicy). */ PolicyVersion: number; /** The new statements to include in the policy. */ @@ -5664,6 +5679,11 @@ declare module PlayFabAdminModels { PolicyName?: string; /** The statements included in the new version of the policy. */ Statements?: PermissionStatement[]; + /** + * Optional warnings about policy statements that may not have the intended effect. For example, resource paths that don't + * match any known API endpoint. The policy update still succeeds when warnings are present. + */ + Warnings?: string[]; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts index f28ed924..ce708bfc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProfilesApi.d.ts @@ -140,6 +140,8 @@ declare module PlayFabProfilesModels { Permissions?: EntityPermissionStatement[]; /** The statistics on this profile. */ Statistics?: { [key: string]: EntityStatisticValue }; + /** A mapping of statistic name to the columns defined in the corresponding definition. */ + StatisticsColumnDetails?: { [key: string]: StatisticColumnCollection }; /** * The version number of the profile in persistent storage at the time of the read. Used for optional optimistic * concurrency during update. @@ -182,6 +184,8 @@ declare module PlayFabProfilesModels { DataAsObject?: boolean; /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; + /** Determines whether the entity statistics will be returned in the entity profile. Default is false. */ + IncludeStatistics: boolean; } @@ -201,6 +205,8 @@ declare module PlayFabProfilesModels { DataAsObject?: boolean; /** Entity keys of the profiles to load. Must be between 1 and 25 */ Entities: EntityKey[]; + /** Determines whether the entity statistics will be returned in the entity profile. Default is false. */ + IncludeStatistics: boolean; } @@ -340,5 +346,25 @@ declare module PlayFabProfilesModels { } + type StatisticAggregationMethod = "Last" + + | "Min" + | "Max" + | "Sum"; + + export interface StatisticColumn { + /** Aggregation method for calculating new value of a statistic. */ + AggregationMethod: string; + /** Name of the statistic column, as originally configured. */ + Name: string; + + } + + export interface StatisticColumnCollection { + /** Columns for the statistic defining the aggregation method for each column. */ + Columns?: StatisticColumn[]; + + } + } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 58ce46f3..a7b19381 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2596,6 +2596,7 @@ declare module PlayFabServerModels { | "ParentCustomerAccountNotFound" | "AccountLinkedToABannedPlayer" | "AzureSubscriptionNotEligibleForLinking" + | "EntityIsNotAMember" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2713,6 +2714,8 @@ declare module PlayFabServerModels { | "ExperimentationExclusionGroupInvalidName" | "ExperimentationLegacyExperimentInvalidOperation" | "ExperimentationExperimentStopFailed" + | "ExperimentationExperimentDeleteFailed" + | "ExperimentationExperimentStartFailed" | "MaxActionDepthExceeded" | "TitleNotOnUpdatedPricingPlan" | "SegmentManagementTitleNotInFlight" @@ -2910,6 +2913,7 @@ declare module PlayFabServerModels { | "GameSaveConflict" | "GameSaveManifestNotEligibleForRollback" | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" + | "GameSaveTitleConfigNoUpdatesRequested" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" From 171a0cbd5fc11e9a0a9d36c2d95b9ce46e01eafc Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Mon, 13 Apr 2026 21:37:04 +0000 Subject: [PATCH 2/8] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260410 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 17 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +- .../src/PlayFab/PlayFabProgressionApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 21 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 219 +++++------------- .../PlayFab/PlayFabMultiplayerApi.d.ts | 40 +++- .../PlayFab/PlayFabProgressionApi.d.ts | 7 + .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 201 ++++------------ .../src/PlayFab/PlayFabAddonApi.js | 6 +- .../src/PlayFab/PlayFabAdminApi.js | 17 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- .../src/PlayFab/PlayFabClientApi.js | 6 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- .../src/PlayFab/PlayFabDataApi.js | 6 +- .../src/PlayFab/PlayFabEconomyApi.js | 6 +- .../src/PlayFab/PlayFabEventsApi.js | 6 +- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +- .../src/PlayFab/PlayFabGroupsApi.js | 6 +- .../src/PlayFab/PlayFabInsightsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +- .../src/PlayFab/PlayFabProfilesApi.js | 6 +- .../src/PlayFab/PlayFabProgressionApi.js | 6 +- .../src/PlayFab/PlayFabServerApi.js | 21 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 219 +++++------------- .../PlayFab/PlayFabMultiplayerApi.d.ts | 40 +++- .../PlayFab/PlayFabProgressionApi.d.ts | 7 + .../src/typings/PlayFab/PlayFabServerApi.d.ts | 201 ++++------------ 41 files changed, 407 insertions(+), 773 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 138508e4..383f1c0e 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.212.260327", + "version": "1.213.260410", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index a31e36e4..afeda721 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 4cd15be1..48b7a41e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -421,13 +421,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Please use ExportPlayersInSegment instead. - */ - GetPlayersInSegment: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); - }, - GetPlayerStatisticDefinitions: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerStatisticDefinitions", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -712,6 +705,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", callback, customData, extraHeaders); }, + ValidateApiPolicy: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ValidateApiPolicy", request, "X-SecretKey", callback, customData, extraHeaders); + }, + }; var PlayFabAdminSDK = PlayFab.AdminApi; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index ad565247..d04e723d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 8c973e69..60348061 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index df3c0304..9ad4bb6b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index e41f3c57..8d4ed165 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 7c0a649b..f88dfd41 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 6e5d1a3d..d296d0ef 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 0d4a0ffd..206c46e5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 2c7bd14a..3aa0ec5c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 7074aa25..c556e68e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index e12e7769..7c9bd472 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 7dd6851f..1f6ac93f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 0396a3e0..430e52f0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 4aa3ca2b..4deac16e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 404697d2..c781c380 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -317,6 +317,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ExecuteCloudScript", request, "X-SecretKey", callback, customData, extraHeaders); }, + ExportPlayersInSegment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ExportPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetAllSegments: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetAllSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -397,13 +401,6 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - GetPlayersInSegment: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); - }, - GetPlayerStatistics: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerStatistics", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -476,6 +473,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetRandomResultTables", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetSegmentExport: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetSegmentExport", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetServerCustomIDsFromPlayFabIDs: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetServerCustomIDsFromPlayFabIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index cd2a67b0..51c6aa4e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -245,15 +245,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/authentication/getplayersharedsecrets */ GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Allows for paging through all players in a given segment. This API creates a snapshot of all player profiles that match - * the segment definition at the time of its creation and lives through the Total Seconds to Live, refreshing its life span - * on each subsequent use of the Continuation Token. Profiles that change during the course of paging will not be reflected - * in the results. AB Test segments are currently not supported by this operation. NOTE: This API is limited to being - * called 30 times in one minute. You will be returned an error if you exceed this threshold. - * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getplayersinsegment - */ - GetPlayersInSegment(request: PlayFabAdminModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the configuration information for all player statistics defined in the title, regardless of whether they have * a reset interval. @@ -640,6 +631,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/account-management/updateusertitledisplayname */ UpdateUserTitleDisplayName(request: PlayFabAdminModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Validates the result of a policy update without persisting it. + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/validateapipolicy + */ + ValidateApiPolicy(request: PlayFabAdminModels.ValidateApiPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } @@ -717,16 +713,6 @@ declare module PlayFabAdminModels { } - export interface AdCampaignAttribution { - /** UTC time stamp of attribution */ - AttributedAt: string; - /** Attribution campaign identifier */ - CampaignId?: string; - /** Attribution network name */ - Platform?: string; - - } - export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -1120,16 +1106,6 @@ declare module PlayFabAdminModels { | "True" | "False"; - export interface ContactEmailInfo { - /** The email address */ - EmailAddress?: string; - /** The name of the email info data */ - Name?: string; - /** The verification status of the email */ - VerificationStatus?: string; - - } - export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -2836,6 +2812,8 @@ declare module PlayFabAdminModels { | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" | "GetPlayersInSegmentRetired" + | "GetSegmentPlayerCountNotInFlight" + | "GetSegmentPlayerCountRateLimitExceeded" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "InventoryCollectionDeletionDisallowed" @@ -3016,6 +2994,7 @@ declare module PlayFabAdminModels { | "GameSaveManifestNotEligibleForRollback" | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "GameSaveTitleConfigNoUpdatesRequested" + | "GameSavePlayerNotEligibleForTransfer" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3275,42 +3254,6 @@ declare module PlayFabAdminModels { } - export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Continuation token if retrieving subsequent pages of results. */ - ContinuationToken?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * If set to true, the profiles are loaded asynchronously and the response will include a continuation token and - * approximate profile count until the first batch of profiles is loaded. Use this parameter to help avoid network - * timeouts. - */ - GetProfilesAsync?: boolean; - /** - * Maximum is 10,000. The value 0 will prevent loading any profiles and return only the count of profiles matching this - * segment. - */ - MaxBatchSize?: number; - /** - * Number of seconds to keep the continuation token active. After token expiration it is not possible to continue paging - * results. Default is 300 (5 minutes). Maximum is 5,400 (90 minutes). - */ - SecondsToLive?: number; - /** Unique identifier for this segment. */ - SegmentId: string; - - } - - export interface GetPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { - /** Continuation token to use to retrieve subsequent pages of results. If token returns null there are no more results. */ - ContinuationToken?: string; - /** Array of player profiles in this segment. */ - PlayerProfiles?: PlayerProfile[]; - /** Count of profiles matching this segment. */ - ProfilesInSegment: number; - - } - export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -4053,82 +3996,6 @@ declare module PlayFabAdminModels { } - export interface PlayerLinkedAccount { - /** Linked account's email */ - Email?: string; - /** Authentication platform */ - Platform?: string; - /** Platform user identifier */ - PlatformUserId?: string; - /** Linked account's username */ - Username?: string; - - } - - export interface PlayerLocation { - /** City of the player's geographic location. */ - City?: string; - /** The two-character continent code for this location */ - ContinentCode: string; - /** The two-character ISO 3166-1 country code for the country associated with the location */ - CountryCode: string; - /** Latitude coordinate of the player's geographic location. */ - Latitude?: number; - /** Longitude coordinate of the player's geographic location. */ - Longitude?: number; - - } - - export interface PlayerProfile { - /** Array of ad campaigns player has been attributed to */ - AdCampaignAttributions?: AdCampaignAttribution[]; - /** Image URL of the player's avatar. */ - AvatarUrl?: string; - /** Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ - BannedUntil?: string; - /** The prediction of the player to churn within the next seven days. */ - ChurnPrediction?: string; - /** Array of contact email addresses associated with the player */ - ContactEmailAddresses?: ContactEmailInfo[]; - /** Player record created */ - Created?: string; - /** Dictionary of player's custom properties. */ - CustomProperties?: { [key: string]: any }; - /** Player Display Name */ - DisplayName?: string; - /** Last login */ - LastLogin?: string; - /** Array of third party accounts linked to this player */ - LinkedAccounts?: PlayerLinkedAccount[]; - /** Dictionary of player's locations by type. */ - Locations?: { [key: string]: PlayerLocation }; - /** Player account origination */ - Origination?: string; - /** List of player variants for experimentation */ - PlayerExperimentVariants?: string[]; - /** PlayFab Player ID */ - PlayerId?: string; - /** Array of player statistics */ - PlayerStatistics?: PlayerStatistic[]; - /** Publisher this player belongs to */ - PublisherId?: string; - /** Array of configured push notification end points */ - PushNotificationRegistrations?: PushNotificationRegistration[]; - /** Dictionary of player's statistics using only the latest version's value */ - Statistics?: { [key: string]: number }; - /** List of player's tags for segmentation. */ - Tags?: string[]; - /** Title ID this profile applies to */ - TitleId?: string; - /** A sum of player's total purchases in USD across all currencies. */ - TotalValueToDateInUSD?: number; - /** Dictionary of player's total purchases by currency. */ - ValuesToDate?: { [key: string]: number }; - /** Dictionary of player's virtual currency balances */ - VirtualCurrencyBalances?: { [key: string]: number }; - - } - export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -4218,18 +4085,6 @@ declare module PlayFabAdminModels { } - export interface PlayerStatistic { - /** Statistic ID */ - Id?: string; - /** Statistic name */ - Name?: string; - /** Current statistic value */ - StatisticValue: number; - /** Statistic version (0 if not a versioned statistic) */ - StatisticVersion: number; - - } - export interface PlayerStatisticDefinition { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -4262,6 +4117,23 @@ declare module PlayFabAdminModels { } + export interface PolicyDiffSummary { + /** Number of new statements that would be added. */ + StatementsAdded: number; + /** Number of existing statements that would be removed. Only applicable when OverwritePolicy is true. */ + StatementsRemoved: number; + /** + * Number of existing statements that would be replaced by functionally equivalent incoming statements (e.g., same + * resource/effect/principal but different comment). + */ + StatementsReplaced: number; + /** Number of existing statements that would remain unchanged. */ + StatementsUnchanged: number; + /** Total number of statements in the resulting policy. */ + TotalResultingStatements: number; + + } + export interface PushNotificationContent { /** Text of message to send. */ Message?: string; @@ -4276,14 +4148,6 @@ declare module PlayFabAdminModels { | "GoogleCloudMessaging"; - export interface PushNotificationRegistration { - /** Notification configured endpoint */ - NotificationEndpointARN?: string; - /** Push notification platform */ - Platform?: string; - - } - export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -6118,6 +5982,39 @@ declare module PlayFabAdminModels { } + export interface ValidateApiPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Whether the validation should simulate overwriting or appending to the existing policy. */ + OverwritePolicy: boolean; + /** + * The name of the policy to validate. Only 'ApiPolicy' is supported. This parameter is optional and defaults to + * 'ApiPolicy' if omitted. + */ + PolicyName?: string; + /** Version of the policy to validate against. Must be the latest (as returned by GetPolicy). */ + PolicyVersion: number; + /** The statements to validate. */ + Statements: PermissionStatement[]; + + } + + export interface ValidateApiPolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** Summary of what would change compared to the current policy. */ + Diff?: PolicyDiffSummary; + /** Whether the proposed policy is valid and would be accepted by UpdatePolicy. */ + IsValid: boolean; + /** The name of the policy validated. */ + PolicyName?: string; + /** Policy version. */ + PolicyVersion: number; + /** The full set of statements that would result from applying this update. */ + ResultingStatements?: PermissionStatement[]; + /** Validation errors that would cause UpdatePolicy to reject this request. Empty if IsValid is true. */ + ValidationErrors?: string[]; + /** Non-blocking warnings about the proposed policy (e.g., near statement limit, duplicate statements). */ + Warnings?: string[]; + + } + export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 35291eab..3a338922 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -523,7 +523,8 @@ declare module PlayFabMultiplayerModels { | "UkSouth" | "SwedenCentral" | "CanadaCentral" - | "MexicoCentral"; + | "MexicoCentral" + | "WestUs3"; type AzureVmFamily = "A" @@ -548,7 +549,14 @@ declare module PlayFabMultiplayerModels { | "HBv3" | "Ddv5" | "Ddsv5" - | "Ddsv6"; + | "Ddsv6" + | "Fasv6" + | "Fasv7" + | "Fadsv7" + | "Eadsv5" + | "Eadsv6" + | "Eadsv7" + | "Dadsv7"; type AzureVmSize = "Standard_A1" @@ -577,6 +585,18 @@ declare module PlayFabMultiplayerModels { | "Standard_F4s_v2" | "Standard_F8s_v2" | "Standard_F16s_v2" + | "Standard_F2as_v6" + | "Standard_F4as_v6" + | "Standard_F8as_v6" + | "Standard_F16as_v6" + | "Standard_F2as_v7" + | "Standard_F4as_v7" + | "Standard_F8as_v7" + | "Standard_F16as_v7" + | "Standard_F2ads_v7" + | "Standard_F4ads_v7" + | "Standard_F8ads_v7" + | "Standard_F16ads_v7" | "Standard_D2as_v4" | "Standard_D4as_v4" | "Standard_D8as_v4" @@ -593,6 +613,10 @@ declare module PlayFabMultiplayerModels { | "Standard_D4ads_v6" | "Standard_D8ads_v6" | "Standard_D16ads_v6" + | "Standard_D2ads_v7" + | "Standard_D4ads_v7" + | "Standard_D8ads_v7" + | "Standard_D16ads_v7" | "Standard_E2a_v4" | "Standard_E4a_v4" | "Standard_E8a_v4" @@ -601,6 +625,18 @@ declare module PlayFabMultiplayerModels { | "Standard_E4as_v4" | "Standard_E8as_v4" | "Standard_E16as_v4" + | "Standard_E2ads_v5" + | "Standard_E4ads_v5" + | "Standard_E8ads_v5" + | "Standard_E16ads_v5" + | "Standard_E2ads_v6" + | "Standard_E4ads_v6" + | "Standard_E8ads_v6" + | "Standard_E16ads_v6" + | "Standard_E2ads_v7" + | "Standard_E4ads_v7" + | "Standard_E8ads_v7" + | "Standard_E16ads_v7" | "Standard_D2s_v3" | "Standard_D4s_v3" | "Standard_D8s_v3" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts index eed7301f..00230005 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabProgressionApi.d.ts @@ -696,6 +696,13 @@ declare module PlayFabProgressionModels { } export interface StatisticUpdate { + /** + * A list of entities to which the statistic update must be aggregated to, in addition to the entity being updated. For + * example, for Group stats where the stat value is aggregated based on the group members, this would refer to the Group + * entity. For a community stat that's aggregated at the Title, it is not required to populate this property (Title is the + * default). + */ + AggregationTargetEntityKeys?: EntityKey[]; /** Arbitrary metadata to store along side the statistic, will be returned by all Leaderboard APIs. */ Metadata?: string; /** Name of the statistic, as originally configured. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index a7b19381..f56bdc64 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -118,6 +118,13 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/server-side-cloud-script/executecloudscript */ ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Starts an export for the player profiles in a segment. This API creates a snapshot of all the player profiles which + * match the segment definition at the time of the API call. Profiles which change while an export is in progress will not + * be reflected in the results. + * https://docs.microsoft.com/rest/api/playfab/server/playstream/exportplayersinsegment + */ + ExportPlayersInSegment(request: PlayFabServerModels.ExportPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves an array of player segment definitions. Results from this can be used in subsequent API calls such as * GetPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not change. @@ -230,15 +237,6 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersegments */ GetPlayerSegments(request: PlayFabServerModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Allows for paging through all players in a given segment. This API creates a snapshot of all player profiles that match - * the segment definition at the time of its creation and lives through the Total Seconds to Live, refreshing its life span - * on each subsequent use of the Continuation Token. Profiles that change during the course of paging will not be reflected - * in the results. AB Test segments are currently not supported by this operation. NOTE: This API is limited to being - * called 30 times in one minute. You will be returned an error if you exceed this threshold. - * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersinsegment - */ - GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the current version and values for the indicated statistics, for the local player. * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayerstatistics @@ -339,6 +337,14 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getrandomresulttables */ GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Retrieves the result of an export started by ExportPlayersInSegment API. If the ExportPlayersInSegment is successful and + * complete, this API returns the IndexUrl from which the index file can be downloaded. The index file has a list of urls + * from which the files containing the player profile data can be downloaded. Otherwise, it returns the current 'State' of + * the export + * https://docs.microsoft.com/rest/api/playfab/server/playstream/getsegmentexport + */ + GetSegmentExport(request: PlayFabServerModels.GetPlayersInSegmentExportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the associated PlayFab account identifiers for the given set of server custom identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getservercustomidsfromplayfabids @@ -888,16 +894,6 @@ declare module PlayFabServerModule { } declare module PlayFabServerModels { - export interface AdCampaignAttribution { - /** UTC time stamp of attribution */ - AttributedAt: string; - /** Attribution campaign identifier */ - CampaignId?: string; - /** Attribution network name */ - Platform?: string; - - } - export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -1249,12 +1245,6 @@ declare module PlayFabServerModels { } - type ChurnRiskLevel = "NoData" - - | "LowRisk" - | "MediumRisk" - | "HighRisk"; - type CloudScriptRevisionOption = "Live" | "Latest" @@ -1282,16 +1272,6 @@ declare module PlayFabServerModels { } - export interface ContactEmailInfo { - /** The email address */ - EmailAddress?: string; - /** The name of the email info data */ - Name?: string; - /** The verification status of the email */ - VerificationStatus?: string; - - } - export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -1940,6 +1920,20 @@ declare module PlayFabServerModels { } + export interface ExportPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier of the requested segment. */ + SegmentId: string; + + } + + export interface ExportPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** Unique identifier of the export for the requested Segment. */ + ExportId?: string; + /** Unique identifier of the requested Segment. */ + SegmentId?: string; + + } + type ExternalFriendSources = "None" | "Steam" @@ -2734,6 +2728,8 @@ declare module PlayFabServerModels { | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" | "GetPlayersInSegmentRetired" + | "GetSegmentPlayerCountNotInFlight" + | "GetSegmentPlayerCountRateLimitExceeded" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "InventoryCollectionDeletionDisallowed" @@ -2914,6 +2910,7 @@ declare module PlayFabServerModels { | "GameSaveManifestNotEligibleForRollback" | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "GameSaveTitleConfigNoUpdatesRequested" + | "GameSavePlayerNotEligibleForTransfer" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3379,39 +3376,17 @@ declare module PlayFabServerModels { } - export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Continuation token if retrieving subsequent pages of results. */ - ContinuationToken?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * If set to true, the profiles are loaded asynchronously and the response will include a continuation token and - * approximate profile count until the first batch of profiles is loaded. Use this parameter to help avoid network - * timeouts. - */ - GetProfilesAsync?: boolean; - /** - * Maximum is 10,000. The value 0 will prevent loading any profiles and return only the count of profiles matching this - * segment. - */ - MaxBatchSize?: number; - /** - * Number of seconds to keep the continuation token active. After token expiration it is not possible to continue paging - * results. Default is 300 (5 minutes). Maximum is 5,400 (90 minutes). - */ - SecondsToLive?: number; - /** Unique identifier for this segment. */ - SegmentId: string; + export interface GetPlayersInSegmentExportRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier of the export for the requested Segment. */ + ExportId: string; } - export interface GetPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { - /** Continuation token to use to retrieve subsequent pages of results. If token returns null there are no more results. */ - ContinuationToken?: string; - /** Array of player profiles in this segment. */ - PlayerProfiles?: PlayerProfile[]; - /** Count of profiles matching this segment. */ - ProfilesInSegment: number; + export interface GetPlayersInSegmentExportResponse extends PlayFabModule.IPlayFabResultCommon { + /** Url from which the index file can be downloaded. */ + IndexUrl?: string; + /** Shows the current status of the export */ + State?: string; } @@ -4637,82 +4612,6 @@ declare module PlayFabServerModels { } - export interface PlayerLinkedAccount { - /** Linked account's email */ - Email?: string; - /** Authentication platform */ - Platform?: string; - /** Platform user identifier */ - PlatformUserId?: string; - /** Linked account's username */ - Username?: string; - - } - - export interface PlayerLocation { - /** City of the player's geographic location. */ - City?: string; - /** The two-character continent code for this location */ - ContinentCode: string; - /** The two-character ISO 3166-1 country code for the country associated with the location */ - CountryCode: string; - /** Latitude coordinate of the player's geographic location. */ - Latitude?: number; - /** Longitude coordinate of the player's geographic location. */ - Longitude?: number; - - } - - export interface PlayerProfile { - /** Array of ad campaigns player has been attributed to */ - AdCampaignAttributions?: AdCampaignAttribution[]; - /** Image URL of the player's avatar. */ - AvatarUrl?: string; - /** Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ - BannedUntil?: string; - /** The prediction of the player to churn within the next seven days. */ - ChurnPrediction?: string; - /** Array of contact email addresses associated with the player */ - ContactEmailAddresses?: ContactEmailInfo[]; - /** Player record created */ - Created?: string; - /** Dictionary of player's custom properties. */ - CustomProperties?: { [key: string]: any }; - /** Player Display Name */ - DisplayName?: string; - /** Last login */ - LastLogin?: string; - /** Array of third party accounts linked to this player */ - LinkedAccounts?: PlayerLinkedAccount[]; - /** Dictionary of player's locations by type. */ - Locations?: { [key: string]: PlayerLocation }; - /** Player account origination */ - Origination?: string; - /** List of player variants for experimentation */ - PlayerExperimentVariants?: string[]; - /** PlayFab Player ID */ - PlayerId?: string; - /** Array of player statistics */ - PlayerStatistics?: PlayerStatistic[]; - /** Publisher this player belongs to */ - PublisherId?: string; - /** Array of configured push notification end points */ - PushNotificationRegistrations?: PushNotificationRegistration[]; - /** Dictionary of player's statistics using only the latest version's value */ - Statistics?: { [key: string]: number }; - /** List of player's tags for segmentation. */ - Tags?: string[]; - /** Title ID this profile applies to */ - TitleId?: string; - /** A sum of player's total purchases in USD across all currencies. */ - TotalValueToDateInUSD?: number; - /** Dictionary of player's total purchases by currency. */ - ValuesToDate?: { [key: string]: number }; - /** Dictionary of player's virtual currency balances */ - VirtualCurrencyBalances?: { [key: string]: number }; - - } - export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -4802,18 +4701,6 @@ declare module PlayFabServerModels { } - export interface PlayerStatistic { - /** Statistic ID */ - Id?: string; - /** Statistic name */ - Name?: string; - /** Current statistic value */ - StatisticValue: number; - /** Statistic version (0 if not a versioned statistic) */ - StatisticVersion: number; - - } - export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -4872,14 +4759,6 @@ declare module PlayFabServerModels { | "GoogleCloudMessaging"; - export interface PushNotificationRegistration { - /** Notification configured endpoint */ - NotificationEndpointARN?: string; - /** Push notification platform */ - Platform?: string; - - } - export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index a31e36e4..afeda721 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 4cd15be1..48b7a41e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -421,13 +421,6 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Please use ExportPlayersInSegment instead. - */ - GetPlayersInSegment: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); - }, - GetPlayerStatisticDefinitions: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerStatisticDefinitions", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -712,6 +705,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateUserTitleDisplayName", request, "X-SecretKey", callback, customData, extraHeaders); }, + ValidateApiPolicy: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ValidateApiPolicy", request, "X-SecretKey", callback, customData, extraHeaders); + }, + }; var PlayFabAdminSDK = PlayFab.AdminApi; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index ad565247..d04e723d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 8c973e69..60348061 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index df3c0304..9ad4bb6b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index e41f3c57..8d4ed165 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 7c0a649b..f88dfd41 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 6e5d1a3d..d296d0ef 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 0d4a0ffd..206c46e5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 2c7bd14a..3aa0ec5c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 7074aa25..c556e68e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index e12e7769..7c9bd472 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 7dd6851f..1f6ac93f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 0396a3e0..430e52f0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 4aa3ca2b..4deac16e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 404697d2..c781c380 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.212.260327", + sdkVersion: "1.213.260410", requestGetParams: { - sdk: "JavaScriptSDK-1.212.260327" + sdk: "JavaScriptSDK-1.213.260410" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.212.260327"; +PlayFab.sdkVersion = "1.213.260410"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -317,6 +317,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ExecuteCloudScript", request, "X-SecretKey", callback, customData, extraHeaders); }, + ExportPlayersInSegment: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ExportPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetAllSegments: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetAllSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -397,13 +401,6 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, - /** - * @deprecated Do not use - */ - GetPlayersInSegment: function (request, callback, customData, extraHeaders) { - return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayersInSegment", request, "X-SecretKey", callback, customData, extraHeaders); - }, - GetPlayerStatistics: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerStatistics", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -476,6 +473,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetRandomResultTables", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetSegmentExport: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetSegmentExport", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetServerCustomIDsFromPlayFabIDs: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetServerCustomIDsFromPlayFabIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index cd2a67b0..51c6aa4e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -245,15 +245,6 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/authentication/getplayersharedsecrets */ GetPlayerSharedSecrets(request: PlayFabAdminModels.GetPlayerSharedSecretsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Allows for paging through all players in a given segment. This API creates a snapshot of all player profiles that match - * the segment definition at the time of its creation and lives through the Total Seconds to Live, refreshing its life span - * on each subsequent use of the Continuation Token. Profiles that change during the course of paging will not be reflected - * in the results. AB Test segments are currently not supported by this operation. NOTE: This API is limited to being - * called 30 times in one minute. You will be returned an error if you exceed this threshold. - * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getplayersinsegment - */ - GetPlayersInSegment(request: PlayFabAdminModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the configuration information for all player statistics defined in the title, regardless of whether they have * a reset interval. @@ -640,6 +631,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/account-management/updateusertitledisplayname */ UpdateUserTitleDisplayName(request: PlayFabAdminModels.UpdateUserTitleDisplayNameRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Validates the result of a policy update without persisting it. + * https://docs.microsoft.com/rest/api/playfab/admin/authentication/validateapipolicy + */ + ValidateApiPolicy(request: PlayFabAdminModels.ValidateApiPolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; } } @@ -717,16 +713,6 @@ declare module PlayFabAdminModels { } - export interface AdCampaignAttribution { - /** UTC time stamp of attribution */ - AttributedAt: string; - /** Attribution campaign identifier */ - CampaignId?: string; - /** Attribution network name */ - Platform?: string; - - } - export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -1120,16 +1106,6 @@ declare module PlayFabAdminModels { | "True" | "False"; - export interface ContactEmailInfo { - /** The email address */ - EmailAddress?: string; - /** The name of the email info data */ - Name?: string; - /** The verification status of the email */ - VerificationStatus?: string; - - } - export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -2836,6 +2812,8 @@ declare module PlayFabAdminModels { | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" | "GetPlayersInSegmentRetired" + | "GetSegmentPlayerCountNotInFlight" + | "GetSegmentPlayerCountRateLimitExceeded" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "InventoryCollectionDeletionDisallowed" @@ -3016,6 +2994,7 @@ declare module PlayFabAdminModels { | "GameSaveManifestNotEligibleForRollback" | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "GameSaveTitleConfigNoUpdatesRequested" + | "GameSavePlayerNotEligibleForTransfer" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3275,42 +3254,6 @@ declare module PlayFabAdminModels { } - export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Continuation token if retrieving subsequent pages of results. */ - ContinuationToken?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * If set to true, the profiles are loaded asynchronously and the response will include a continuation token and - * approximate profile count until the first batch of profiles is loaded. Use this parameter to help avoid network - * timeouts. - */ - GetProfilesAsync?: boolean; - /** - * Maximum is 10,000. The value 0 will prevent loading any profiles and return only the count of profiles matching this - * segment. - */ - MaxBatchSize?: number; - /** - * Number of seconds to keep the continuation token active. After token expiration it is not possible to continue paging - * results. Default is 300 (5 minutes). Maximum is 5,400 (90 minutes). - */ - SecondsToLive?: number; - /** Unique identifier for this segment. */ - SegmentId: string; - - } - - export interface GetPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { - /** Continuation token to use to retrieve subsequent pages of results. If token returns null there are no more results. */ - ContinuationToken?: string; - /** Array of player profiles in this segment. */ - PlayerProfiles?: PlayerProfile[]; - /** Count of profiles matching this segment. */ - ProfilesInSegment: number; - - } - export interface GetPlayersSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -4053,82 +3996,6 @@ declare module PlayFabAdminModels { } - export interface PlayerLinkedAccount { - /** Linked account's email */ - Email?: string; - /** Authentication platform */ - Platform?: string; - /** Platform user identifier */ - PlatformUserId?: string; - /** Linked account's username */ - Username?: string; - - } - - export interface PlayerLocation { - /** City of the player's geographic location. */ - City?: string; - /** The two-character continent code for this location */ - ContinentCode: string; - /** The two-character ISO 3166-1 country code for the country associated with the location */ - CountryCode: string; - /** Latitude coordinate of the player's geographic location. */ - Latitude?: number; - /** Longitude coordinate of the player's geographic location. */ - Longitude?: number; - - } - - export interface PlayerProfile { - /** Array of ad campaigns player has been attributed to */ - AdCampaignAttributions?: AdCampaignAttribution[]; - /** Image URL of the player's avatar. */ - AvatarUrl?: string; - /** Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ - BannedUntil?: string; - /** The prediction of the player to churn within the next seven days. */ - ChurnPrediction?: string; - /** Array of contact email addresses associated with the player */ - ContactEmailAddresses?: ContactEmailInfo[]; - /** Player record created */ - Created?: string; - /** Dictionary of player's custom properties. */ - CustomProperties?: { [key: string]: any }; - /** Player Display Name */ - DisplayName?: string; - /** Last login */ - LastLogin?: string; - /** Array of third party accounts linked to this player */ - LinkedAccounts?: PlayerLinkedAccount[]; - /** Dictionary of player's locations by type. */ - Locations?: { [key: string]: PlayerLocation }; - /** Player account origination */ - Origination?: string; - /** List of player variants for experimentation */ - PlayerExperimentVariants?: string[]; - /** PlayFab Player ID */ - PlayerId?: string; - /** Array of player statistics */ - PlayerStatistics?: PlayerStatistic[]; - /** Publisher this player belongs to */ - PublisherId?: string; - /** Array of configured push notification end points */ - PushNotificationRegistrations?: PushNotificationRegistration[]; - /** Dictionary of player's statistics using only the latest version's value */ - Statistics?: { [key: string]: number }; - /** List of player's tags for segmentation. */ - Tags?: string[]; - /** Title ID this profile applies to */ - TitleId?: string; - /** A sum of player's total purchases in USD across all currencies. */ - TotalValueToDateInUSD?: number; - /** Dictionary of player's total purchases by currency. */ - ValuesToDate?: { [key: string]: number }; - /** Dictionary of player's virtual currency balances */ - VirtualCurrencyBalances?: { [key: string]: number }; - - } - export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -4218,18 +4085,6 @@ declare module PlayFabAdminModels { } - export interface PlayerStatistic { - /** Statistic ID */ - Id?: string; - /** Statistic name */ - Name?: string; - /** Current statistic value */ - StatisticValue: number; - /** Statistic version (0 if not a versioned statistic) */ - StatisticVersion: number; - - } - export interface PlayerStatisticDefinition { /** the aggregation method to use in updating the statistic (defaults to last) */ AggregationMethod?: string; @@ -4262,6 +4117,23 @@ declare module PlayFabAdminModels { } + export interface PolicyDiffSummary { + /** Number of new statements that would be added. */ + StatementsAdded: number; + /** Number of existing statements that would be removed. Only applicable when OverwritePolicy is true. */ + StatementsRemoved: number; + /** + * Number of existing statements that would be replaced by functionally equivalent incoming statements (e.g., same + * resource/effect/principal but different comment). + */ + StatementsReplaced: number; + /** Number of existing statements that would remain unchanged. */ + StatementsUnchanged: number; + /** Total number of statements in the resulting policy. */ + TotalResultingStatements: number; + + } + export interface PushNotificationContent { /** Text of message to send. */ Message?: string; @@ -4276,14 +4148,6 @@ declare module PlayFabAdminModels { | "GoogleCloudMessaging"; - export interface PushNotificationRegistration { - /** Notification configured endpoint */ - NotificationEndpointARN?: string; - /** Push notification platform */ - Platform?: string; - - } - export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; @@ -6118,6 +5982,39 @@ declare module PlayFabAdminModels { } + export interface ValidateApiPolicyRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Whether the validation should simulate overwriting or appending to the existing policy. */ + OverwritePolicy: boolean; + /** + * The name of the policy to validate. Only 'ApiPolicy' is supported. This parameter is optional and defaults to + * 'ApiPolicy' if omitted. + */ + PolicyName?: string; + /** Version of the policy to validate against. Must be the latest (as returned by GetPolicy). */ + PolicyVersion: number; + /** The statements to validate. */ + Statements: PermissionStatement[]; + + } + + export interface ValidateApiPolicyResponse extends PlayFabModule.IPlayFabResultCommon { + /** Summary of what would change compared to the current policy. */ + Diff?: PolicyDiffSummary; + /** Whether the proposed policy is valid and would be accepted by UpdatePolicy. */ + IsValid: boolean; + /** The name of the policy validated. */ + PolicyName?: string; + /** Policy version. */ + PolicyVersion: number; + /** The full set of statements that would result from applying this update. */ + ResultingStatements?: PermissionStatement[]; + /** Validation errors that would cause UpdatePolicy to reject this request. Empty if IsValid is true. */ + ValidationErrors?: string[]; + /** Non-blocking warnings about the proposed policy (e.g., near statement limit, duplicate statements). */ + Warnings?: string[]; + + } + export interface ValueToDateModel { /** ISO 4217 code of the currency used in the purchases */ Currency?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 35291eab..3a338922 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -523,7 +523,8 @@ declare module PlayFabMultiplayerModels { | "UkSouth" | "SwedenCentral" | "CanadaCentral" - | "MexicoCentral"; + | "MexicoCentral" + | "WestUs3"; type AzureVmFamily = "A" @@ -548,7 +549,14 @@ declare module PlayFabMultiplayerModels { | "HBv3" | "Ddv5" | "Ddsv5" - | "Ddsv6"; + | "Ddsv6" + | "Fasv6" + | "Fasv7" + | "Fadsv7" + | "Eadsv5" + | "Eadsv6" + | "Eadsv7" + | "Dadsv7"; type AzureVmSize = "Standard_A1" @@ -577,6 +585,18 @@ declare module PlayFabMultiplayerModels { | "Standard_F4s_v2" | "Standard_F8s_v2" | "Standard_F16s_v2" + | "Standard_F2as_v6" + | "Standard_F4as_v6" + | "Standard_F8as_v6" + | "Standard_F16as_v6" + | "Standard_F2as_v7" + | "Standard_F4as_v7" + | "Standard_F8as_v7" + | "Standard_F16as_v7" + | "Standard_F2ads_v7" + | "Standard_F4ads_v7" + | "Standard_F8ads_v7" + | "Standard_F16ads_v7" | "Standard_D2as_v4" | "Standard_D4as_v4" | "Standard_D8as_v4" @@ -593,6 +613,10 @@ declare module PlayFabMultiplayerModels { | "Standard_D4ads_v6" | "Standard_D8ads_v6" | "Standard_D16ads_v6" + | "Standard_D2ads_v7" + | "Standard_D4ads_v7" + | "Standard_D8ads_v7" + | "Standard_D16ads_v7" | "Standard_E2a_v4" | "Standard_E4a_v4" | "Standard_E8a_v4" @@ -601,6 +625,18 @@ declare module PlayFabMultiplayerModels { | "Standard_E4as_v4" | "Standard_E8as_v4" | "Standard_E16as_v4" + | "Standard_E2ads_v5" + | "Standard_E4ads_v5" + | "Standard_E8ads_v5" + | "Standard_E16ads_v5" + | "Standard_E2ads_v6" + | "Standard_E4ads_v6" + | "Standard_E8ads_v6" + | "Standard_E16ads_v6" + | "Standard_E2ads_v7" + | "Standard_E4ads_v7" + | "Standard_E8ads_v7" + | "Standard_E16ads_v7" | "Standard_D2s_v3" | "Standard_D4s_v3" | "Standard_D8s_v3" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts index eed7301f..00230005 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabProgressionApi.d.ts @@ -696,6 +696,13 @@ declare module PlayFabProgressionModels { } export interface StatisticUpdate { + /** + * A list of entities to which the statistic update must be aggregated to, in addition to the entity being updated. For + * example, for Group stats where the stat value is aggregated based on the group members, this would refer to the Group + * entity. For a community stat that's aggregated at the Title, it is not required to populate this property (Title is the + * default). + */ + AggregationTargetEntityKeys?: EntityKey[]; /** Arbitrary metadata to store along side the statistic, will be returned by all Leaderboard APIs. */ Metadata?: string; /** Name of the statistic, as originally configured. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index a7b19381..f56bdc64 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -118,6 +118,13 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/server-side-cloud-script/executecloudscript */ ExecuteCloudScript(request: PlayFabServerModels.ExecuteCloudScriptServerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Starts an export for the player profiles in a segment. This API creates a snapshot of all the player profiles which + * match the segment definition at the time of the API call. Profiles which change while an export is in progress will not + * be reflected in the results. + * https://docs.microsoft.com/rest/api/playfab/server/playstream/exportplayersinsegment + */ + ExportPlayersInSegment(request: PlayFabServerModels.ExportPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves an array of player segment definitions. Results from this can be used in subsequent API calls such as * GetPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not change. @@ -230,15 +237,6 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersegments */ GetPlayerSegments(request: PlayFabServerModels.GetPlayersSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; - /** - * Allows for paging through all players in a given segment. This API creates a snapshot of all player profiles that match - * the segment definition at the time of its creation and lives through the Total Seconds to Live, refreshing its life span - * on each subsequent use of the Continuation Token. Profiles that change during the course of paging will not be reflected - * in the results. AB Test segments are currently not supported by this operation. NOTE: This API is limited to being - * called 30 times in one minute. You will be returned an error if you exceed this threshold. - * https://docs.microsoft.com/rest/api/playfab/server/playstream/getplayersinsegment - */ - GetPlayersInSegment(request: PlayFabServerModels.GetPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the current version and values for the indicated statistics, for the local player. * https://docs.microsoft.com/rest/api/playfab/server/player-data-management/getplayerstatistics @@ -339,6 +337,14 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/getrandomresulttables */ GetRandomResultTables(request: PlayFabServerModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Retrieves the result of an export started by ExportPlayersInSegment API. If the ExportPlayersInSegment is successful and + * complete, this API returns the IndexUrl from which the index file can be downloaded. The index file has a list of urls + * from which the files containing the player profile data can be downloaded. Otherwise, it returns the current 'State' of + * the export + * https://docs.microsoft.com/rest/api/playfab/server/playstream/getsegmentexport + */ + GetSegmentExport(request: PlayFabServerModels.GetPlayersInSegmentExportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the associated PlayFab account identifiers for the given set of server custom identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getservercustomidsfromplayfabids @@ -888,16 +894,6 @@ declare module PlayFabServerModule { } declare module PlayFabServerModels { - export interface AdCampaignAttribution { - /** UTC time stamp of attribution */ - AttributedAt: string; - /** Attribution campaign identifier */ - CampaignId?: string; - /** Attribution network name */ - Platform?: string; - - } - export interface AdCampaignAttributionModel { /** UTC time stamp of attribution */ AttributedAt: string; @@ -1249,12 +1245,6 @@ declare module PlayFabServerModels { } - type ChurnRiskLevel = "NoData" - - | "LowRisk" - | "MediumRisk" - | "HighRisk"; - type CloudScriptRevisionOption = "Live" | "Latest" @@ -1282,16 +1272,6 @@ declare module PlayFabServerModels { } - export interface ContactEmailInfo { - /** The email address */ - EmailAddress?: string; - /** The name of the email info data */ - Name?: string; - /** The verification status of the email */ - VerificationStatus?: string; - - } - export interface ContactEmailInfoModel { /** The email address */ EmailAddress?: string; @@ -1940,6 +1920,20 @@ declare module PlayFabServerModels { } + export interface ExportPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier of the requested segment. */ + SegmentId: string; + + } + + export interface ExportPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { + /** Unique identifier of the export for the requested Segment. */ + ExportId?: string; + /** Unique identifier of the requested Segment. */ + SegmentId?: string; + + } + type ExternalFriendSources = "None" | "Steam" @@ -2734,6 +2728,8 @@ declare module PlayFabServerModels { | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" | "GetPlayersInSegmentRetired" + | "GetSegmentPlayerCountNotInFlight" + | "GetSegmentPlayerCountRateLimitExceeded" | "SnapshotNotFound" | "InventoryApiNotImplemented" | "InventoryCollectionDeletionDisallowed" @@ -2914,6 +2910,7 @@ declare module PlayFabServerModels { | "GameSaveManifestNotEligibleForRollback" | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "GameSaveTitleConfigNoUpdatesRequested" + | "GameSavePlayerNotEligibleForTransfer" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3379,39 +3376,17 @@ declare module PlayFabServerModels { } - export interface GetPlayersInSegmentRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Continuation token if retrieving subsequent pages of results. */ - ContinuationToken?: string; - /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ - CustomTags?: { [key: string]: string | null }; - /** - * If set to true, the profiles are loaded asynchronously and the response will include a continuation token and - * approximate profile count until the first batch of profiles is loaded. Use this parameter to help avoid network - * timeouts. - */ - GetProfilesAsync?: boolean; - /** - * Maximum is 10,000. The value 0 will prevent loading any profiles and return only the count of profiles matching this - * segment. - */ - MaxBatchSize?: number; - /** - * Number of seconds to keep the continuation token active. After token expiration it is not possible to continue paging - * results. Default is 300 (5 minutes). Maximum is 5,400 (90 minutes). - */ - SecondsToLive?: number; - /** Unique identifier for this segment. */ - SegmentId: string; + export interface GetPlayersInSegmentExportRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier of the export for the requested Segment. */ + ExportId: string; } - export interface GetPlayersInSegmentResult extends PlayFabModule.IPlayFabResultCommon { - /** Continuation token to use to retrieve subsequent pages of results. If token returns null there are no more results. */ - ContinuationToken?: string; - /** Array of player profiles in this segment. */ - PlayerProfiles?: PlayerProfile[]; - /** Count of profiles matching this segment. */ - ProfilesInSegment: number; + export interface GetPlayersInSegmentExportResponse extends PlayFabModule.IPlayFabResultCommon { + /** Url from which the index file can be downloaded. */ + IndexUrl?: string; + /** Shows the current status of the export */ + State?: string; } @@ -4637,82 +4612,6 @@ declare module PlayFabServerModels { } - export interface PlayerLinkedAccount { - /** Linked account's email */ - Email?: string; - /** Authentication platform */ - Platform?: string; - /** Platform user identifier */ - PlatformUserId?: string; - /** Linked account's username */ - Username?: string; - - } - - export interface PlayerLocation { - /** City of the player's geographic location. */ - City?: string; - /** The two-character continent code for this location */ - ContinentCode: string; - /** The two-character ISO 3166-1 country code for the country associated with the location */ - CountryCode: string; - /** Latitude coordinate of the player's geographic location. */ - Latitude?: number; - /** Longitude coordinate of the player's geographic location. */ - Longitude?: number; - - } - - export interface PlayerProfile { - /** Array of ad campaigns player has been attributed to */ - AdCampaignAttributions?: AdCampaignAttribution[]; - /** Image URL of the player's avatar. */ - AvatarUrl?: string; - /** Banned until UTC Date. If permanent ban this is set for 20 years after the original ban date. */ - BannedUntil?: string; - /** The prediction of the player to churn within the next seven days. */ - ChurnPrediction?: string; - /** Array of contact email addresses associated with the player */ - ContactEmailAddresses?: ContactEmailInfo[]; - /** Player record created */ - Created?: string; - /** Dictionary of player's custom properties. */ - CustomProperties?: { [key: string]: any }; - /** Player Display Name */ - DisplayName?: string; - /** Last login */ - LastLogin?: string; - /** Array of third party accounts linked to this player */ - LinkedAccounts?: PlayerLinkedAccount[]; - /** Dictionary of player's locations by type. */ - Locations?: { [key: string]: PlayerLocation }; - /** Player account origination */ - Origination?: string; - /** List of player variants for experimentation */ - PlayerExperimentVariants?: string[]; - /** PlayFab Player ID */ - PlayerId?: string; - /** Array of player statistics */ - PlayerStatistics?: PlayerStatistic[]; - /** Publisher this player belongs to */ - PublisherId?: string; - /** Array of configured push notification end points */ - PushNotificationRegistrations?: PushNotificationRegistration[]; - /** Dictionary of player's statistics using only the latest version's value */ - Statistics?: { [key: string]: number }; - /** List of player's tags for segmentation. */ - Tags?: string[]; - /** Title ID this profile applies to */ - TitleId?: string; - /** A sum of player's total purchases in USD across all currencies. */ - TotalValueToDateInUSD?: number; - /** Dictionary of player's total purchases by currency. */ - ValuesToDate?: { [key: string]: number }; - /** Dictionary of player's virtual currency balances */ - VirtualCurrencyBalances?: { [key: string]: number }; - - } - export interface PlayerProfileModel { /** List of advertising campaigns the player has been attributed to */ AdCampaignAttributions?: AdCampaignAttributionModel[]; @@ -4802,18 +4701,6 @@ declare module PlayFabServerModels { } - export interface PlayerStatistic { - /** Statistic ID */ - Id?: string; - /** Statistic name */ - Name?: string; - /** Current statistic value */ - StatisticValue: number; - /** Statistic version (0 if not a versioned statistic) */ - StatisticVersion: number; - - } - export interface PlayerStatisticVersion { /** time when the statistic version became active */ ActivationTime: string; @@ -4872,14 +4759,6 @@ declare module PlayFabServerModels { | "GoogleCloudMessaging"; - export interface PushNotificationRegistration { - /** Notification configured endpoint */ - NotificationEndpointARN?: string; - /** Push notification platform */ - Platform?: string; - - } - export interface PushNotificationRegistrationModel { /** Notification configured endpoint */ NotificationEndpointARN?: string; From f45ec5549abb482a82f317f149a5dddc50036a39 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Thu, 14 May 2026 21:12:39 +0000 Subject: [PATCH 3/8] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260512 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +-- .../src/PlayFab/PlayFabProgressionApi.js | 6 +-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 14 +++++-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/Typings/PlayFab/PlayFabDataApi.d.ts | 37 ++++++++++++++----- .../Typings/PlayFab/PlayFabEconomyApi.d.ts | 12 ++++-- .../src/Typings/PlayFab/PlayFabGroupsApi.d.ts | 14 ++++--- .../PlayFab/PlayFabMultiplayerApi.d.ts | 10 +++-- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 35 ++++++++++++++++++ .../src/PlayFab/PlayFabAddonApi.js | 6 +-- .../src/PlayFab/PlayFabAdminApi.js | 6 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +-- .../src/PlayFab/PlayFabClientApi.js | 6 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +-- .../src/PlayFab/PlayFabDataApi.js | 6 +-- .../src/PlayFab/PlayFabEconomyApi.js | 6 +-- .../src/PlayFab/PlayFabEventsApi.js | 6 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +-- .../src/PlayFab/PlayFabGroupsApi.js | 6 +-- .../src/PlayFab/PlayFabInsightsApi.js | 6 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +-- .../src/PlayFab/PlayFabProfilesApi.js | 6 +-- .../src/PlayFab/PlayFabProgressionApi.js | 6 +-- .../src/PlayFab/PlayFabServerApi.js | 14 +++++-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 1 + .../src/typings/PlayFab/PlayFabDataApi.d.ts | 37 ++++++++++++++----- .../typings/PlayFab/PlayFabEconomyApi.d.ts | 12 ++++-- .../src/typings/PlayFab/PlayFabGroupsApi.d.ts | 14 ++++--- .../PlayFab/PlayFabMultiplayerApi.d.ts | 10 +++-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 35 ++++++++++++++++++ 45 files changed, 283 insertions(+), 145 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 383f1c0e..03e6709c 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.213.260410", + "version": "1.215.260512", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index afeda721..1d694fe1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 48b7a41e..7fb0aabf 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index d04e723d..775372e3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 60348061..383841d8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 9ad4bb6b..0510adaf 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 8d4ed165..1c1130a1 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index f88dfd41..ca702f1a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index d296d0ef..e77d0547 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 206c46e5..15584165 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 3aa0ec5c..3782285a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index c556e68e..4c57b05e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 7c9bd472..f82408f9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 1f6ac93f..fa68ff09 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 430e52f0..86a2d2f6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 4deac16e..8a5f3252 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index c781c380..1ebfec4e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -749,6 +749,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, + UnlinkApple: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkApple", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UnlinkBattleNetAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkBattleNetAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -761,6 +765,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkFacebookInstantGamesId", request, "X-SecretKey", callback, customData, extraHeaders); }, + UnlinkGameCenterAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkGameCenterAccount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UnlinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkNintendoServiceAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 51c6aa4e..590ae405 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -3021,6 +3021,7 @@ declare module PlayFabAdminModels { | "PlayFabErrorEventNotSupportedForEntityType" | "MetadataLengthExceeded" | "MaxQueryableVersionsExceeded" + | "StatisticVersionIncrementNotAllowedWhileLinked" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics"; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts index ec9909ef..287d8c21 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabDataApi.d.ts @@ -52,8 +52,11 @@ declare module PlayFabDataModels { /** Names of the files to have their pending uploads aborted. */ FileNames: string[]; /** - * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not - * be performed. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * InitiateFileUploads API or other APIs, you can ensure that the file upload abort operation is performed only if the + * profile has not been updated since you last loaded that version. If the profile for the same entity has been updated, + * the operation will fail with an EntityProfileVersionMismatch error. The conflicting update can be caused by any + * operation that modifies the entity profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. */ ProfileVersion?: number; @@ -75,8 +78,11 @@ declare module PlayFabDataModels { /** Names of the files to be deleted. */ FileNames: string[]; /** - * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not - * be performed. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetFiles API or other APIs, you can ensure that the file deletion is performed only if the profile has not been updated + * since you last loaded that version. If the profile for the same entity has been updated, the operation will fail with an + * EntityProfileVersionMismatch error. The conflicting update can be caused by any operation that modifies the entity + * profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. */ ProfileVersion?: number; @@ -105,7 +111,13 @@ declare module PlayFabDataModels { Entity: EntityKey; /** Names of the files to be finalized. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ FileNames: string[]; - /** The current version of the profile, can be used for concurrency control during updates. */ + /** + * Field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * InitiateFileUploads API, you can ensure that the file upload finalization is performed only if the profile has not been + * updated since you last loaded that version. If the profile for the same entity has been updated, the operation will fail + * with an EntityProfileVersionMismatch error. The conflicting update can be caused by any operation that modifies the + * entity profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. + */ ProfileVersion: number; } @@ -191,8 +203,11 @@ declare module PlayFabDataModels { /** Names of the files to be set. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ FileNames: string[]; /** - * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not - * be performed. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetFiles API or other APIs, you can ensure that the file upload initiation is performed only if the profile has not been + * updated since you last loaded that version. If the profile for the same entity has been updated, the operation will fail + * with an EntityProfileVersionMismatch error. The conflicting update can be caused by any operation that modifies the + * entity profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. */ ProfileVersion?: number; @@ -258,9 +273,11 @@ declare module PlayFabDataModels { /** The entity to perform this action on. */ Entity: EntityKey; /** - * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from - * GetProfile API, you can ensure that the object set will only be performed if the profile has not been updated by any - * other clients since the version you last loaded. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetObjects API or other APIs, you can ensure that the object update is performed only if the profile has not been + * updated since you last loaded that version. If the profile for the same entity has been updated, the operation will fail + * with an EntityProfileVersionMismatch error. The conflicting update can be caused by any operation that modifies the + * entity profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. */ ExpectedProfileVersion?: number; /** Collection of objects to set on the profile. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts index de9c8dc2..733020c5 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabEconomyApi.d.ts @@ -158,9 +158,10 @@ declare module PlayFabEconomyModule { */ GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * 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. + * Get transaction history for a player. Up to 50 Events 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. 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. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/gettransactionhistory */ GetTransactionHistory(request: PlayFabEconomyModels.GetTransactionHistoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -1459,7 +1460,10 @@ declare module PlayFabEconomyModels { CollectionId?: string; /** An opaque token used to retrieve the next page of items, if any are available. Should be null on initial request. */ ContinuationToken?: string; - /** Number of items to retrieve. This value is optional. The default value is 10 */ + /** + * Number of items to retrieve. This value is optional. The default value is 10. The maximum value is 50, or 250 if + * response compression is enabled. + */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts index 16f98aba..2ef182c1 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabGroupsApi.d.ts @@ -600,9 +600,10 @@ declare module PlayFabGroupsModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** - * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the - * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any - * other clients since the version you last loaded. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetGroup API, you can ensure that the group data update is performed only if the group has not been updated since you + * last loaded that version. If the same group has been updated, the requested update will not occur and the returned + * SetResult value will be None. */ ExpectedProfileVersion?: number; /** The identifier of the group */ @@ -628,9 +629,10 @@ declare module PlayFabGroupsModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** - * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the - * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any - * other clients since the version you last loaded. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetGroup API, you can ensure that the group role update is performed only if the group has not been updated since you + * last loaded that version. If the same group has been updated, the requested update will not occur and the returned + * SetResult value will be None. */ ExpectedProfileVersion?: number; /** The identifier of the group */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 3a338922..d2ff0a24 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -759,7 +759,7 @@ declare module PlayFabMultiplayerModels { export interface CancelAllMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity key of the player whose tickets should be canceled. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The name of the queue from which a player's tickets should be canceled. */ QueueName: string; @@ -773,7 +773,7 @@ declare module PlayFabMultiplayerModels { export interface CancelAllServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity key of the player whose backfill tickets should be canceled. */ + /** The entity to perform this action on. */ Entity: EntityKey; /** The name of the queue from which a player's backfill tickets should be canceled. */ QueueName: string; @@ -2524,7 +2524,7 @@ declare module PlayFabMultiplayerModels { export interface ListMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity key for which to find the ticket Ids. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The name of the queue to find a match for. */ QueueName: string; @@ -2623,7 +2623,7 @@ declare module PlayFabMultiplayerModels { export interface ListServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity key for which to find the ticket Ids. */ + /** The entity to perform this action on. */ Entity: EntityKey; /** The name of the queue the tickets are in. */ QueueName: string; @@ -3177,6 +3177,8 @@ declare module PlayFabMultiplayerModels { InvitationId?: string; /** The guid string party ID of the party session. */ PartyId?: string; + /** The region the party session is located in. */ + Region?: string; /** A base-64 encoded string containing the serialized network descriptor for this party. */ SerializedNetworkDescriptor?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index f56bdc64..0a2e059c 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -722,6 +722,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractuservirtualcurrency */ SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the related Apple account from the specified user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkapple + */ + UnlinkApple(request: PlayFabServerModels.UnlinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Battle.net account from the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkbattlenetaccount @@ -737,6 +742,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkfacebookinstantgamesid */ UnlinkFacebookInstantGamesId(request: PlayFabServerModels.UnlinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the related Game Center account from the specified user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkgamecenteraccount + */ + UnlinkGameCenterAccount(request: PlayFabServerModels.UnlinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Nintendo account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoserviceaccount @@ -2937,6 +2947,7 @@ declare module PlayFabServerModels { | "PlayFabErrorEventNotSupportedForEntityType" | "MetadataLengthExceeded" | "MaxQueryableVersionsExceeded" + | "StatisticVersionIncrementNotAllowedWhileLinked" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics"; @@ -5323,6 +5334,18 @@ declare module PlayFabServerModels { } + export interface UnlinkAppleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface UnlinkAppleResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkBattleNetAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -5357,6 +5380,18 @@ declare module PlayFabServerModels { } + export interface UnlinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface UnlinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index afeda721..1d694fe1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 48b7a41e..7fb0aabf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index d04e723d..775372e3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 60348061..383841d8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 9ad4bb6b..0510adaf 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 8d4ed165..1c1130a1 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index f88dfd41..ca702f1a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index d296d0ef..e77d0547 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 206c46e5..15584165 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 3aa0ec5c..3782285a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index c556e68e..4c57b05e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 7c9bd472..f82408f9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 1f6ac93f..fa68ff09 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 430e52f0..86a2d2f6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 4deac16e..8a5f3252 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index c781c380..1ebfec4e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.213.260410", + sdkVersion: "1.215.260512", requestGetParams: { - sdk: "JavaScriptSDK-1.213.260410" + sdk: "JavaScriptSDK-1.215.260512" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.213.260410"; +PlayFab.sdkVersion = "1.215.260512"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -749,6 +749,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SubtractUserVirtualCurrency", request, "X-SecretKey", callback, customData, extraHeaders); }, + UnlinkApple: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkApple", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UnlinkBattleNetAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkBattleNetAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -761,6 +765,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkFacebookInstantGamesId", request, "X-SecretKey", callback, customData, extraHeaders); }, + UnlinkGameCenterAccount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkGameCenterAccount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UnlinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkNintendoServiceAccount", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 51c6aa4e..590ae405 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -3021,6 +3021,7 @@ declare module PlayFabAdminModels { | "PlayFabErrorEventNotSupportedForEntityType" | "MetadataLengthExceeded" | "MaxQueryableVersionsExceeded" + | "StatisticVersionIncrementNotAllowedWhileLinked" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics"; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts index ec9909ef..287d8c21 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabDataApi.d.ts @@ -52,8 +52,11 @@ declare module PlayFabDataModels { /** Names of the files to have their pending uploads aborted. */ FileNames: string[]; /** - * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not - * be performed. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * InitiateFileUploads API or other APIs, you can ensure that the file upload abort operation is performed only if the + * profile has not been updated since you last loaded that version. If the profile for the same entity has been updated, + * the operation will fail with an EntityProfileVersionMismatch error. The conflicting update can be caused by any + * operation that modifies the entity profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. */ ProfileVersion?: number; @@ -75,8 +78,11 @@ declare module PlayFabDataModels { /** Names of the files to be deleted. */ FileNames: string[]; /** - * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not - * be performed. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetFiles API or other APIs, you can ensure that the file deletion is performed only if the profile has not been updated + * since you last loaded that version. If the profile for the same entity has been updated, the operation will fail with an + * EntityProfileVersionMismatch error. The conflicting update can be caused by any operation that modifies the entity + * profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. */ ProfileVersion?: number; @@ -105,7 +111,13 @@ declare module PlayFabDataModels { Entity: EntityKey; /** Names of the files to be finalized. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ FileNames: string[]; - /** The current version of the profile, can be used for concurrency control during updates. */ + /** + * Field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * InitiateFileUploads API, you can ensure that the file upload finalization is performed only if the profile has not been + * updated since you last loaded that version. If the profile for the same entity has been updated, the operation will fail + * with an EntityProfileVersionMismatch error. The conflicting update can be caused by any operation that modifies the + * entity profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. + */ ProfileVersion: number; } @@ -191,8 +203,11 @@ declare module PlayFabDataModels { /** Names of the files to be set. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.' */ FileNames: string[]; /** - * The expected version of the profile, if set and doesn't match the current version of the profile the operation will not - * be performed. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetFiles API or other APIs, you can ensure that the file upload initiation is performed only if the profile has not been + * updated since you last loaded that version. If the profile for the same entity has been updated, the operation will fail + * with an EntityProfileVersionMismatch error. The conflicting update can be caused by any operation that modifies the + * entity profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. */ ProfileVersion?: number; @@ -258,9 +273,11 @@ declare module PlayFabDataModels { /** The entity to perform this action on. */ Entity: EntityKey; /** - * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from - * GetProfile API, you can ensure that the object set will only be performed if the profile has not been updated by any - * other clients since the version you last loaded. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetObjects API or other APIs, you can ensure that the object update is performed only if the profile has not been + * updated since you last loaded that version. If the profile for the same entity has been updated, the operation will fail + * with an EntityProfileVersionMismatch error. The conflicting update can be caused by any operation that modifies the + * entity profile, including SetObjects, FinalizeFileUploads, and UpdateStatistics. */ ExpectedProfileVersion?: number; /** Collection of objects to set on the profile. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts index de9c8dc2..733020c5 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabEconomyApi.d.ts @@ -158,9 +158,10 @@ declare module PlayFabEconomyModule { */ GetItems(request: PlayFabEconomyModels.GetItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** - * 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. + * Get transaction history for a player. Up to 50 Events 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. 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. * https://docs.microsoft.com/rest/api/playfab/economy/inventory/gettransactionhistory */ GetTransactionHistory(request: PlayFabEconomyModels.GetTransactionHistoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -1459,7 +1460,10 @@ declare module PlayFabEconomyModels { CollectionId?: string; /** An opaque token used to retrieve the next page of items, if any are available. Should be null on initial request. */ ContinuationToken?: string; - /** Number of items to retrieve. This value is optional. The default value is 10 */ + /** + * Number of items to retrieve. This value is optional. The default value is 10. The maximum value is 50, or 250 if + * response compression is enabled. + */ Count: number; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts index 16f98aba..2ef182c1 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabGroupsApi.d.ts @@ -600,9 +600,10 @@ declare module PlayFabGroupsModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** - * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the - * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any - * other clients since the version you last loaded. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetGroup API, you can ensure that the group data update is performed only if the group has not been updated since you + * last loaded that version. If the same group has been updated, the requested update will not occur and the returned + * SetResult value will be None. */ ExpectedProfileVersion?: number; /** The identifier of the group */ @@ -628,9 +629,10 @@ declare module PlayFabGroupsModels { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** - * Optional field used for concurrency control. By specifying the previously returned value of ProfileVersion from the - * GetGroup API, you can ensure that the group data update will only be performed if the group has not been updated by any - * other clients since the version you last loaded. + * Optional field used for concurrency control. By specifying the previously returned ProfileVersion value from the + * GetGroup API, you can ensure that the group role update is performed only if the group has not been updated since you + * last loaded that version. If the same group has been updated, the requested update will not occur and the returned + * SetResult value will be None. */ ExpectedProfileVersion?: number; /** The identifier of the group */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 3a338922..d2ff0a24 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -759,7 +759,7 @@ declare module PlayFabMultiplayerModels { export interface CancelAllMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity key of the player whose tickets should be canceled. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The name of the queue from which a player's tickets should be canceled. */ QueueName: string; @@ -773,7 +773,7 @@ declare module PlayFabMultiplayerModels { export interface CancelAllServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity key of the player whose backfill tickets should be canceled. */ + /** The entity to perform this action on. */ Entity: EntityKey; /** The name of the queue from which a player's backfill tickets should be canceled. */ QueueName: string; @@ -2524,7 +2524,7 @@ declare module PlayFabMultiplayerModels { export interface ListMatchmakingTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity key for which to find the ticket Ids. */ + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ Entity?: EntityKey; /** The name of the queue to find a match for. */ QueueName: string; @@ -2623,7 +2623,7 @@ declare module PlayFabMultiplayerModels { export interface ListServerBackfillTicketsForPlayerRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The entity key for which to find the ticket Ids. */ + /** The entity to perform this action on. */ Entity: EntityKey; /** The name of the queue the tickets are in. */ QueueName: string; @@ -3177,6 +3177,8 @@ declare module PlayFabMultiplayerModels { InvitationId?: string; /** The guid string party ID of the party session. */ PartyId?: string; + /** The region the party session is located in. */ + Region?: string; /** A base-64 encoded string containing the serialized network descriptor for this party. */ SerializedNetworkDescriptor?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index f56bdc64..0a2e059c 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -722,6 +722,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/player-item-management/subtractuservirtualcurrency */ SubtractUserVirtualCurrency(request: PlayFabServerModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the related Apple account from the specified user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkapple + */ + UnlinkApple(request: PlayFabServerModels.UnlinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Battle.net account from the user's PlayFab account. * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkbattlenetaccount @@ -737,6 +742,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkfacebookinstantgamesid */ UnlinkFacebookInstantGamesId(request: PlayFabServerModels.UnlinkFacebookInstantGamesIdRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Unlinks the related Game Center account from the specified user's PlayFab account. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinkgamecenteraccount + */ + UnlinkGameCenterAccount(request: PlayFabServerModels.UnlinkGameCenterAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Unlinks the related Nintendo account from the user's PlayFab account * https://docs.microsoft.com/rest/api/playfab/server/account-management/unlinknintendoserviceaccount @@ -2937,6 +2947,7 @@ declare module PlayFabServerModels { | "PlayFabErrorEventNotSupportedForEntityType" | "MetadataLengthExceeded" | "MaxQueryableVersionsExceeded" + | "StatisticVersionIncrementNotAllowedWhileLinked" | "StoreMetricsRequestInvalidInput" | "StoreMetricsErrorRetrievingMetrics"; @@ -5323,6 +5334,18 @@ declare module PlayFabServerModels { } + export interface UnlinkAppleRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface UnlinkAppleResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkBattleNetAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; @@ -5357,6 +5380,18 @@ declare module PlayFabServerModels { } + export interface UnlinkGameCenterAccountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ + PlayFabId: string; + + } + + export interface UnlinkGameCenterAccountResult extends PlayFabModule.IPlayFabResultCommon { + + } + export interface UnlinkNintendoServiceAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; From ef1d4d55a13e213e4ff4d574f50f605ade88ccf8 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 27 May 2026 20:39:52 +0000 Subject: [PATCH 4/8] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260526 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 12 ++++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 12 ++++--- .../src/Typings/PlayFab/PlayFabAddonApi.d.ts | 4 +++ .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 32 ++++++++++++++++--- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 24 +++++++++++--- .../src/PlayFab/PlayFabAddonApi.js | 8 ++--- .../src/PlayFab/PlayFabAdminApi.js | 12 ++++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 ++--- .../src/PlayFab/PlayFabClientApi.js | 8 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 ++--- .../src/PlayFab/PlayFabDataApi.js | 8 ++--- .../src/PlayFab/PlayFabEconomyApi.js | 8 ++--- .../src/PlayFab/PlayFabEventsApi.js | 8 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 8 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 8 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 8 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 8 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 8 ++--- .../src/PlayFab/PlayFabProgressionApi.js | 8 ++--- .../src/PlayFab/PlayFabServerApi.js | 12 ++++--- .../src/typings/PlayFab/PlayFabAddonApi.d.ts | 4 +++ .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 32 ++++++++++++++++--- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 24 +++++++++++--- 39 files changed, 245 insertions(+), 149 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 03e6709c..e6728216 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.215.260512", + "version": "1.216.260526", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 1d694fe1..588e29ee 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 7fb0aabf..6b9fd704 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -449,6 +449,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegmentExport", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetSegmentPlayerCount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegmentPlayerCount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetSegments: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 775372e3..9f4835aa 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index 383841d8..af9c8f98 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 0510adaf..01f4af6c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 1c1130a1..9a531c93 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index ca702f1a..9324b47c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index e77d0547..6751c191 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 15584165..576296b6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 3782285a..075c63a3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 4c57b05e..c6df6f78 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index f82408f9..54c0b289 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index fa68ff09..69ec7d0d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 86a2d2f6..4940164a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 8a5f3252..7b75ceb4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 1ebfec4e..5fff049c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -477,6 +477,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetSegmentExport", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetSegmentPlayerCount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetSegmentPlayerCount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetServerCustomIDsFromPlayFabIDs: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetServerCustomIDsFromPlayFabIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts index 813f6c85..d8d47bd6 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts @@ -303,6 +303,8 @@ declare module PlayFabAddonModels { Environments?: NintendoEnvironment[]; /** If an error should be returned if the addon already exists. */ ErrorIfExists?: boolean; + /** List of Nintendo Subscription Environments, currently supporting up to 4. Needs Catalog enabled. */ + SubscriptionEnvironments?: NintendoEnvironment[]; } @@ -639,6 +641,8 @@ declare module PlayFabAddonModels { Created: boolean; /** List of Nintendo Environments, currently supporting up to 4. */ Environments?: NintendoEnvironment[]; + /** List of Nintendo Subscription Environments, currently supporting up to 4. */ + SubscriptionEnvironments?: NintendoEnvironment[]; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 590ae405..ac9ca0c9 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -172,7 +172,8 @@ declare module PlayFabAdminModule { GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves an array of player segment definitions. Results from this can be used in subsequent API calls such as - * GetPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not change. + * ExportPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not + * change. * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getallsegments */ GetAllSegments(request: PlayFabAdminModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -285,6 +286,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getsegmentexport */ GetSegmentExport(request: PlayFabAdminModels.GetPlayersInSegmentExportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Returns the total number of players in a given segment. + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getsegmentplayercount + */ + GetSegmentPlayerCount(request: PlayFabAdminModels.GetSegmentPlayerCountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get detail information of a segment and its associated definition(s) and action(s) for a title. * https://docs.microsoft.com/rest/api/playfab/admin/segments/getsegments @@ -784,6 +790,8 @@ declare module PlayFabAdminModels { Body: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** Optional status for the new news item. If not set, defaults to Published. */ + Status?: string; /** Time this news was published. If not set, defaults to now. */ Timestamp?: string; /** Default title (headline) of the news item. */ @@ -2552,7 +2560,6 @@ declare module PlayFabAdminModels { | "InsightsManagementGetOperationStatusInvalidParameter" | "DuplicatePurchaseTransactionId" | "EvaluationModePlayerCountExceeded" - | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" | "PaidInsightsFeaturesNotEnabled" | "CloudScriptAzureFunctionsQueueRequestError" @@ -2811,7 +2818,6 @@ declare module PlayFabAdminModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" - | "GetPlayersInSegmentRetired" | "GetSegmentPlayerCountNotInFlight" | "GetSegmentPlayerCountRateLimitExceeded" | "SnapshotNotFound" @@ -2889,8 +2895,6 @@ declare module PlayFabAdminModels { | "PlayerCustomPropertiesPropertyDoesNotExist" | "AddonAlreadyExists" | "AddonDoesntExist" - | "CopilotDisabled" - | "CopilotInvalidRequest" | "TrueSkillUnauthorized" | "TrueSkillInvalidTitleId" | "TrueSkillInvalidScenarioId" @@ -3350,6 +3354,18 @@ declare module PlayFabAdminModels { } + export interface GetSegmentPlayerCountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier for the requested segment. */ + SegmentId: string; + + } + + export interface GetSegmentPlayerCountResult extends PlayFabModule.IPlayFabResultCommon { + /** Count of profiles matching this segment. */ + ProfilesInSegment: number; + + } + export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -3921,6 +3937,12 @@ declare module PlayFabAdminModels { } + type NewsStatus = "None" + + | "Unpublished" + | "Published" + | "Archived"; + export interface OpenIdConnection { /** The client ID given by the ID provider. */ ClientId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 0a2e059c..e9a22a2e 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -127,7 +127,8 @@ declare module PlayFabServerModule { ExportPlayersInSegment(request: PlayFabServerModels.ExportPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves an array of player segment definitions. Results from this can be used in subsequent API calls such as - * GetPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not change. + * ExportPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not + * change. * https://docs.microsoft.com/rest/api/playfab/server/playstream/getallsegments */ GetAllSegments(request: PlayFabServerModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -345,6 +346,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/playstream/getsegmentexport */ GetSegmentExport(request: PlayFabServerModels.GetPlayersInSegmentExportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Returns the total number of players in a given segment. + * https://docs.microsoft.com/rest/api/playfab/server/playstream/getsegmentplayercount + */ + GetSegmentPlayerCount(request: PlayFabServerModels.GetSegmentPlayerCountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the associated PlayFab account identifiers for the given set of server custom identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getservercustomidsfromplayfabids @@ -2478,7 +2484,6 @@ declare module PlayFabServerModels { | "InsightsManagementGetOperationStatusInvalidParameter" | "DuplicatePurchaseTransactionId" | "EvaluationModePlayerCountExceeded" - | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" | "PaidInsightsFeaturesNotEnabled" | "CloudScriptAzureFunctionsQueueRequestError" @@ -2737,7 +2742,6 @@ declare module PlayFabServerModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" - | "GetPlayersInSegmentRetired" | "GetSegmentPlayerCountNotInFlight" | "GetSegmentPlayerCountRateLimitExceeded" | "SnapshotNotFound" @@ -2815,8 +2819,6 @@ declare module PlayFabServerModels { | "PlayerCustomPropertiesPropertyDoesNotExist" | "AddonAlreadyExists" | "AddonDoesntExist" - | "CopilotDisabled" - | "CopilotInvalidRequest" | "TrueSkillUnauthorized" | "TrueSkillInvalidTitleId" | "TrueSkillInvalidScenarioId" @@ -3694,6 +3696,18 @@ declare module PlayFabServerModels { } + export interface GetSegmentPlayerCountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier for the requested segment. */ + SegmentId: string; + + } + + export interface GetSegmentPlayerCountResult extends PlayFabModule.IPlayFabResultCommon { + /** Count of profiles matching this segment. */ + ProfilesInSegment: number; + + } + export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 1d694fe1..588e29ee 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 7fb0aabf..6b9fd704 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -449,6 +449,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegmentExport", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetSegmentPlayerCount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegmentPlayerCount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetSegments: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetSegments", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 775372e3..9f4835aa 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index 383841d8..af9c8f98 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 0510adaf..01f4af6c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 1c1130a1..9a531c93 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index ca702f1a..9324b47c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index e77d0547..6751c191 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 15584165..576296b6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 3782285a..075c63a3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 4c57b05e..c6df6f78 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index f82408f9..54c0b289 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index fa68ff09..69ec7d0d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 86a2d2f6..4940164a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 8a5f3252..7b75ceb4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 1ebfec4e..5fff049c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.215.260512", + sdkVersion: "1.216.260526", requestGetParams: { - sdk: "JavaScriptSDK-1.215.260512" + sdk: "JavaScriptSDK-1.216.260526" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.215.260512"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.216.260526"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -477,6 +477,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetSegmentExport", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetSegmentPlayerCount: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetSegmentPlayerCount", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetServerCustomIDsFromPlayFabIDs: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetServerCustomIDsFromPlayFabIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts index 813f6c85..d8d47bd6 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts @@ -303,6 +303,8 @@ declare module PlayFabAddonModels { Environments?: NintendoEnvironment[]; /** If an error should be returned if the addon already exists. */ ErrorIfExists?: boolean; + /** List of Nintendo Subscription Environments, currently supporting up to 4. Needs Catalog enabled. */ + SubscriptionEnvironments?: NintendoEnvironment[]; } @@ -639,6 +641,8 @@ declare module PlayFabAddonModels { Created: boolean; /** List of Nintendo Environments, currently supporting up to 4. */ Environments?: NintendoEnvironment[]; + /** List of Nintendo Subscription Environments, currently supporting up to 4. */ + SubscriptionEnvironments?: NintendoEnvironment[]; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 590ae405..ac9ca0c9 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -172,7 +172,8 @@ declare module PlayFabAdminModule { GetActionsOnPlayersInSegmentTaskInstance(request: PlayFabAdminModels.GetTaskInstanceRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves an array of player segment definitions. Results from this can be used in subsequent API calls such as - * GetPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not change. + * ExportPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not + * change. * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getallsegments */ GetAllSegments(request: PlayFabAdminModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -285,6 +286,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getsegmentexport */ GetSegmentExport(request: PlayFabAdminModels.GetPlayersInSegmentExportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Returns the total number of players in a given segment. + * https://docs.microsoft.com/rest/api/playfab/admin/playstream/getsegmentplayercount + */ + GetSegmentPlayerCount(request: PlayFabAdminModels.GetSegmentPlayerCountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get detail information of a segment and its associated definition(s) and action(s) for a title. * https://docs.microsoft.com/rest/api/playfab/admin/segments/getsegments @@ -784,6 +790,8 @@ declare module PlayFabAdminModels { Body: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; + /** Optional status for the new news item. If not set, defaults to Published. */ + Status?: string; /** Time this news was published. If not set, defaults to now. */ Timestamp?: string; /** Default title (headline) of the news item. */ @@ -2552,7 +2560,6 @@ declare module PlayFabAdminModels { | "InsightsManagementGetOperationStatusInvalidParameter" | "DuplicatePurchaseTransactionId" | "EvaluationModePlayerCountExceeded" - | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" | "PaidInsightsFeaturesNotEnabled" | "CloudScriptAzureFunctionsQueueRequestError" @@ -2811,7 +2818,6 @@ declare module PlayFabAdminModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" - | "GetPlayersInSegmentRetired" | "GetSegmentPlayerCountNotInFlight" | "GetSegmentPlayerCountRateLimitExceeded" | "SnapshotNotFound" @@ -2889,8 +2895,6 @@ declare module PlayFabAdminModels { | "PlayerCustomPropertiesPropertyDoesNotExist" | "AddonAlreadyExists" | "AddonDoesntExist" - | "CopilotDisabled" - | "CopilotInvalidRequest" | "TrueSkillUnauthorized" | "TrueSkillInvalidTitleId" | "TrueSkillInvalidScenarioId" @@ -3350,6 +3354,18 @@ declare module PlayFabAdminModels { } + export interface GetSegmentPlayerCountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier for the requested segment. */ + SegmentId: string; + + } + + export interface GetSegmentPlayerCountResult extends PlayFabModule.IPlayFabResultCommon { + /** Count of profiles matching this segment. */ + ProfilesInSegment: number; + + } + export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; @@ -3921,6 +3937,12 @@ declare module PlayFabAdminModels { } + type NewsStatus = "None" + + | "Unpublished" + | "Published" + | "Archived"; + export interface OpenIdConnection { /** The client ID given by the ID provider. */ ClientId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 0a2e059c..e9a22a2e 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -127,7 +127,8 @@ declare module PlayFabServerModule { ExportPlayersInSegment(request: PlayFabServerModels.ExportPlayersInSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves an array of player segment definitions. Results from this can be used in subsequent API calls such as - * GetPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not change. + * ExportPlayersInSegment which requires a Segment ID. While segment names can change the ID for that segment will not + * change. * https://docs.microsoft.com/rest/api/playfab/server/playstream/getallsegments */ GetAllSegments(request: PlayFabServerModels.GetAllSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; @@ -345,6 +346,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/playstream/getsegmentexport */ GetSegmentExport(request: PlayFabServerModels.GetPlayersInSegmentExportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Returns the total number of players in a given segment. + * https://docs.microsoft.com/rest/api/playfab/server/playstream/getsegmentplayercount + */ + GetSegmentPlayerCount(request: PlayFabServerModels.GetSegmentPlayerCountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the associated PlayFab account identifiers for the given set of server custom identifiers. * https://docs.microsoft.com/rest/api/playfab/server/account-management/getservercustomidsfromplayfabids @@ -2478,7 +2484,6 @@ declare module PlayFabServerModels { | "InsightsManagementGetOperationStatusInvalidParameter" | "DuplicatePurchaseTransactionId" | "EvaluationModePlayerCountExceeded" - | "GetPlayersInSegmentRateLimitExceeded" | "CloudScriptFunctionNameSizeExceeded" | "PaidInsightsFeaturesNotEnabled" | "CloudScriptAzureFunctionsQueueRequestError" @@ -2737,7 +2742,6 @@ declare module PlayFabServerModels { | "AsyncExportNotFound" | "AsyncExportRateLimitExceeded" | "AnalyticsSegmentCountOverLimit" - | "GetPlayersInSegmentRetired" | "GetSegmentPlayerCountNotInFlight" | "GetSegmentPlayerCountRateLimitExceeded" | "SnapshotNotFound" @@ -2815,8 +2819,6 @@ declare module PlayFabServerModels { | "PlayerCustomPropertiesPropertyDoesNotExist" | "AddonAlreadyExists" | "AddonDoesntExist" - | "CopilotDisabled" - | "CopilotInvalidRequest" | "TrueSkillUnauthorized" | "TrueSkillInvalidTitleId" | "TrueSkillInvalidScenarioId" @@ -3694,6 +3696,18 @@ declare module PlayFabServerModels { } + export interface GetSegmentPlayerCountRequest extends PlayFabModule.IPlayFabRequestCommon { + /** Unique identifier for the requested segment. */ + SegmentId: string; + + } + + export interface GetSegmentPlayerCountResult extends PlayFabModule.IPlayFabResultCommon { + /** Count of profiles matching this segment. */ + ProfilesInSegment: number; + + } + export interface GetSegmentResult { /** Identifier of the segments AB Test, if it is attached to one. */ ABTestParent?: string; From b7fefec287bfd820df5f0627d8ce14c5232f2377 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 9 Jun 2026 17:47:08 +0000 Subject: [PATCH 5/8] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260605 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabProgressionApi.js | 8 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 12 ++- .../src/Typings/PlayFab/PlayFabAddonApi.d.ts | 2 + .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 2 +- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 80 +++++++++---------- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 24 +++++- .../src/PlayFab/PlayFabAddonApi.js | 8 +- .../src/PlayFab/PlayFabAdminApi.js | 8 +- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +- .../src/PlayFab/PlayFabClientApi.js | 8 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +- .../src/PlayFab/PlayFabDataApi.js | 8 +- .../src/PlayFab/PlayFabEconomyApi.js | 8 +- .../src/PlayFab/PlayFabEventsApi.js | 8 +- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +- .../src/PlayFab/PlayFabGroupsApi.js | 8 +- .../src/PlayFab/PlayFabInsightsApi.js | 8 +- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +- .../src/PlayFab/PlayFabProfilesApi.js | 8 +- .../src/PlayFab/PlayFabProgressionApi.js | 8 +- .../src/PlayFab/PlayFabServerApi.js | 12 ++- .../src/typings/PlayFab/PlayFabAddonApi.d.ts | 2 + .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 2 +- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 80 +++++++++---------- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 24 +++++- 41 files changed, 267 insertions(+), 215 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index e6728216..b104c0fb 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.216.260526", + "version": "1.217.260605", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 588e29ee..0680fa3e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 6b9fd704..5b4f9aef 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 9f4835aa..9ec5b672 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index af9c8f98..d079ce97 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 01f4af6c..950a2bf7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 9a531c93..9b7aebbc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 9324b47c..f0d972c4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 6751c191..3e2f69e6 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 576296b6..83c1e8f5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index 075c63a3..a7bc069a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index c6df6f78..82e192c3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 54c0b289..4d6e370f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 69ec7d0d..5296503e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 4940164a..4458cc60 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 7b75ceb4..18a54ef9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 5fff049c..b57d0ebd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -449,6 +449,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromPSNOnlineIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetPlayFabIDsFromServerCustomIDs: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromServerCustomIDs", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts index d8d47bd6..0abfa783 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts @@ -641,6 +641,8 @@ declare module PlayFabAddonModels { Created: boolean; /** List of Nintendo Environments, currently supporting up to 4. */ Environments?: NintendoEnvironment[]; + /** List of Nintendo Subscription Environments associated to a secondary AppId, currently supporting up to 4. */ + SecondarySubscriptionEnvironments?: NintendoEnvironment[]; /** List of Nintendo Subscription Environments, currently supporting up to 4. */ SubscriptionEnvironments?: NintendoEnvironment[]; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index ac9ca0c9..8a96312d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -5064,7 +5064,7 @@ declare module PlayFabAdminModels { } export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 39be01d0..3819a54d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -3669,13 +3669,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Specific Operating System version for the user's device. */ OS?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3690,7 +3690,7 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** * The JSON Web token (JWT) returned by Apple after login. Represented as the identityToken field in the authorization @@ -3700,7 +3700,7 @@ declare module PlayFabClientModels { IdentityToken: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3715,13 +3715,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** The JSON Web Token (JWT) returned by Battle.net after login */ IdentityToken: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3738,11 +3738,11 @@ declare module PlayFabClientModels { CustomId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3774,13 +3774,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Facebook Instant Games signature for the user. */ FacebookInstantGamesSignature: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3799,11 +3799,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3818,13 +3818,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Unique Game Center player id. */ PlayerId?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** The URL for the public encryption key that will be used to verify the signature. */ PublicKeyUrl?: string; @@ -3850,11 +3850,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() @@ -3876,11 +3876,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * OAuth 2.0 server authentication code obtained on the client by calling the requestServerSideAccess() @@ -3904,13 +3904,13 @@ declare module PlayFabClientModels { DeviceId?: string; /** Specific model of the user's device. */ DeviceModel?: string; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Specific Operating System version for the user's device. */ OS?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3927,13 +3927,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Numeric user ID assigned by Kongregate */ KongregateId?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3948,13 +3948,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** The JSON Web token (JWT) returned by Nintendo after login. */ IdentityToken: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3969,13 +3969,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Nintendo Switch unique identifier for the user's device. */ NintendoSwitchDeviceId?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3992,7 +3992,7 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** * The JSON Web token (JWT) returned by the identity provider after login. Represented as the id_token field in the @@ -4001,7 +4001,7 @@ declare module PlayFabClientModels { IdToken: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -4035,13 +4035,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code */ RedirectUri?: string; @@ -4058,11 +4058,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte @@ -4089,11 +4089,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -4108,11 +4108,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -4541,13 +4541,13 @@ declare module PlayFabClientModels { DisplayName?: string; /** User email address attached to their account */ Email?: string; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Password for the PlayFab account (6-100 characters) */ Password?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * An optional parameter that specifies whether both the username and email parameters are required. If true, both @@ -4745,9 +4745,9 @@ declare module PlayFabClientModels { } export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index e9a22a2e..47884a40 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -302,6 +302,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfrompsnonlineids */ GetPlayFabIDsFromPSNOnlineIDs(request: PlayFabServerModels.GetPlayFabIDsFromPSNOnlineIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Retrieves the associated PlayFab account identifiers for the given set of server custom player identifiers. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromservercustomids + */ + GetPlayFabIDsFromServerCustomIDs(request: PlayFabServerModels.GetPlayFabIDsFromServerCustomIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Steam identifiers. The Steam identifiers are the profile * IDs for the user accounts, available as SteamId in the Steamworks Community API calls. @@ -3605,6 +3610,21 @@ declare module PlayFabServerModels { } + export interface GetPlayFabIDsFromServerCustomIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique server custom player identifiers for which the title needs to get PlayFab identifiers. Cannot contain + * more than 25 identifiers. + */ + ServerCustomIds: string[]; + + } + + export interface GetPlayFabIDsFromServerCustomIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of server custom identifiers to PlayFab identifiers. */ + Data?: ServerCustomIDPlayFabIDPair[]; + + } + export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. The array @@ -4414,7 +4434,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** The backend server identifier for this player. */ ServerCustomId: string; @@ -5107,7 +5127,7 @@ declare module PlayFabServerModels { } export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 588e29ee..0680fa3e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 6b9fd704..5b4f9aef 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 9f4835aa..9ec5b672 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index af9c8f98..d079ce97 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 01f4af6c..950a2bf7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 9a531c93..9b7aebbc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 9324b47c..f0d972c4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 6751c191..3e2f69e6 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 576296b6..83c1e8f5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index 075c63a3..a7bc069a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index c6df6f78..82e192c3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 54c0b289..4d6e370f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 69ec7d0d..5296503e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 4940164a..4458cc60 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 7b75ceb4..18a54ef9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 5fff049c..b57d0ebd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.216.260526", + sdkVersion: "1.217.260605", requestGetParams: { - sdk: "JavaScriptSDK-1.216.260526" + sdk: "JavaScriptSDK-1.217.260605" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; -PlayFab.sdkVersion = "1.216.260526"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; +PlayFab.sdkVersion = "1.217.260605"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -449,6 +449,10 @@ PlayFab.ServerApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromPSNOnlineIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetPlayFabIDsFromServerCustomIDs: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromServerCustomIDs", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamIDs", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts index d8d47bd6..0abfa783 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts @@ -641,6 +641,8 @@ declare module PlayFabAddonModels { Created: boolean; /** List of Nintendo Environments, currently supporting up to 4. */ Environments?: NintendoEnvironment[]; + /** List of Nintendo Subscription Environments associated to a secondary AppId, currently supporting up to 4. */ + SecondarySubscriptionEnvironments?: NintendoEnvironment[]; /** List of Nintendo Subscription Environments, currently supporting up to 4. */ SubscriptionEnvironments?: NintendoEnvironment[]; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index ac9ca0c9..8a96312d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -5064,7 +5064,7 @@ declare module PlayFabAdminModels { } export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 39be01d0..3819a54d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -3669,13 +3669,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Specific Operating System version for the user's device. */ OS?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3690,7 +3690,7 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** * The JSON Web token (JWT) returned by Apple after login. Represented as the identityToken field in the authorization @@ -3700,7 +3700,7 @@ declare module PlayFabClientModels { IdentityToken: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3715,13 +3715,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** The JSON Web Token (JWT) returned by Battle.net after login */ IdentityToken: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3738,11 +3738,11 @@ declare module PlayFabClientModels { CustomId?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3774,13 +3774,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Facebook Instant Games signature for the user. */ FacebookInstantGamesSignature: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3799,11 +3799,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3818,13 +3818,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Unique Game Center player id. */ PlayerId?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** The URL for the public encryption key that will be used to verify the signature. */ PublicKeyUrl?: string; @@ -3850,11 +3850,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * OAuth 2.0 server authentication code obtained on the client by calling the getServerAuthCode() @@ -3876,11 +3876,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * OAuth 2.0 server authentication code obtained on the client by calling the requestServerSideAccess() @@ -3904,13 +3904,13 @@ declare module PlayFabClientModels { DeviceId?: string; /** Specific model of the user's device. */ DeviceModel?: string; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Specific Operating System version for the user's device. */ OS?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3927,13 +3927,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Numeric user ID assigned by Kongregate */ KongregateId?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3948,13 +3948,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** The JSON Web token (JWT) returned by Nintendo after login. */ IdentityToken: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3969,13 +3969,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Nintendo Switch unique identifier for the user's device. */ NintendoSwitchDeviceId?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -3992,7 +3992,7 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** * The JSON Web token (JWT) returned by the identity provider after login. Represented as the id_token field in the @@ -4001,7 +4001,7 @@ declare module PlayFabClientModels { IdToken: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -4035,13 +4035,13 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ IssuerId?: number; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** Redirect URI supplied to PlayStation :tm: Network when requesting an auth code */ RedirectUri?: string; @@ -4058,11 +4058,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Authentication token for the user, returned as a byte array from Steam, and converted to a string (for example, the byte @@ -4089,11 +4089,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -4108,11 +4108,11 @@ declare module PlayFabClientModels { CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a @@ -4541,13 +4541,13 @@ declare module PlayFabClientModels { DisplayName?: string; /** User email address attached to their account */ Email?: string; - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; /** Password for the PlayFab account (6-100 characters) */ Password?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** * An optional parameter that specifies whether both the username and email parameters are required. If true, both @@ -4745,9 +4745,9 @@ declare module PlayFabClientModels { } export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Base64 encoded body that is encrypted with the Title's public RSA key (Enterprise Only). */ + /** Base64 encoded body that is encrypted with the Title's public RSA key. */ EncryptedRequest?: string; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index e9a22a2e..47884a40 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -302,6 +302,11 @@ declare module PlayFabServerModule { * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfrompsnonlineids */ GetPlayFabIDsFromPSNOnlineIDs(request: PlayFabServerModels.GetPlayFabIDsFromPSNOnlineIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Retrieves the associated PlayFab account identifiers for the given set of server custom player identifiers. + * https://docs.microsoft.com/rest/api/playfab/server/account-management/getplayfabidsfromservercustomids + */ + GetPlayFabIDsFromServerCustomIDs(request: PlayFabServerModels.GetPlayFabIDsFromServerCustomIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Retrieves the unique PlayFab identifiers for the given set of Steam identifiers. The Steam identifiers are the profile * IDs for the user accounts, available as SteamId in the Steamworks Community API calls. @@ -3605,6 +3610,21 @@ declare module PlayFabServerModels { } + export interface GetPlayFabIDsFromServerCustomIDsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Array of unique server custom player identifiers for which the title needs to get PlayFab identifiers. Cannot contain + * more than 25 identifiers. + */ + ServerCustomIds: string[]; + + } + + export interface GetPlayFabIDsFromServerCustomIDsResult extends PlayFabModule.IPlayFabResultCommon { + /** Mapping of server custom identifiers to PlayFab identifiers. */ + Data?: ServerCustomIDPlayFabIDPair[]; + + } + export interface GetPlayFabIDsFromSteamIDsRequest extends PlayFabModule.IPlayFabRequestCommon { /** * Array of unique Steam identifiers (Steam profile IDs) for which the title needs to get PlayFab identifiers. The array @@ -4414,7 +4434,7 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** Flags for which pieces of info to return for the user. */ InfoRequestParameters?: GetPlayerCombinedInfoRequestParams; - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** The backend server identifier for this player. */ ServerCustomId: string; @@ -5107,7 +5127,7 @@ declare module PlayFabServerModels { } export interface SetPlayerSecretRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Player secret that is used to verify API request signatures (Enterprise Only). */ + /** Player secret that is used to verify API request signatures. */ PlayerSecret?: string; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; From 8232f090109956170395e44666edf70b40e7ceee Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Tue, 23 Jun 2026 19:07:33 +0000 Subject: [PATCH 6/8] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260619 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 10 +++++--- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 6 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 6 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 ++--- .../src/PlayFab/PlayFabProgressionApi.js | 6 ++--- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 ++--- .../src/Typings/PlayFab/PlayFabAddonApi.d.ts | 19 +++++++++++++++ .../PlayFab/PlayFabAuthenticationApi.d.ts | 2 -- .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 5 ++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 24 +++++++++++++++++-- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 5 ++++ .../src/PlayFab/PlayFabAddonApi.js | 10 +++++--- .../src/PlayFab/PlayFabAdminApi.js | 6 ++--- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 ++--- .../src/PlayFab/PlayFabClientApi.js | 6 ++--- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 ++--- .../src/PlayFab/PlayFabDataApi.js | 6 ++--- .../src/PlayFab/PlayFabEconomyApi.js | 6 ++--- .../src/PlayFab/PlayFabEventsApi.js | 6 ++--- .../src/PlayFab/PlayFabExperimentationApi.js | 6 ++--- .../src/PlayFab/PlayFabGroupsApi.js | 6 ++--- .../src/PlayFab/PlayFabInsightsApi.js | 6 ++--- .../src/PlayFab/PlayFabLocalizationApi.js | 6 ++--- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 ++--- .../src/PlayFab/PlayFabProfilesApi.js | 6 ++--- .../src/PlayFab/PlayFabProgressionApi.js | 6 ++--- .../src/PlayFab/PlayFabServerApi.js | 6 ++--- .../src/typings/PlayFab/PlayFabAddonApi.d.ts | 19 +++++++++++++++ .../PlayFab/PlayFabAuthenticationApi.d.ts | 2 -- .../src/typings/PlayFab/PlayFabClientApi.d.ts | 5 ++++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 24 +++++++++++++++++-- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 5 ++++ 43 files changed, 207 insertions(+), 105 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index b104c0fb..5976eecf 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.217.260605", + "version": "1.218.260619", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 0680fa3e..ad4567c9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,6 +241,10 @@ PlayFab.AddonApi = { PlayFab._internalSettings.entityToken = null; }, + ConfigurePSNEventStreams: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/ConfigurePSNEventStreams", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateOrUpdateApple: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateApple", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 5b4f9aef..20e6e5d4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 9ec5b672..9c42a567 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index d079ce97..ccc2ad23 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 950a2bf7..625b4095 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 9b7aebbc..4ebf97e7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index f0d972c4..5334b34c 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index 3e2f69e6..f619e7bd 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 83c1e8f5..33be3fb8 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index a7bc069a..fd681646 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 82e192c3..05227718 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 4d6e370f..0a28b7c7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 5296503e..5e694759 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 4458cc60..4dfca0d2 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 18a54ef9..d9a8e9ae 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index b57d0ebd..0fa96684 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts index 0abfa783..6ec1a36a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts @@ -4,6 +4,11 @@ declare module PlayFabAddonModule { export interface IPlayFabAddon { ForgetAllCredentials(): void; + /** + * Configures PSN event streams for an existing PSN addon on a title, without requiring a full addon upsert. + * https://docs.microsoft.com/rest/api/playfab/addon/addon/configurepsneventstreams + */ + ConfigurePSNEventStreams(request: PlayFabAddonModels.ConfigurePSNEventStreamsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates the Apple addon on a title, or updates it if it already exists. * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdateapple @@ -159,6 +164,20 @@ declare module PlayFabAddonModule { } declare module PlayFabAddonModels { + export interface ConfigurePSNEventStreamsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ + Entity?: EntityKey; + /** Title name obtained after setting a back server for PS5. Used for clawback event listeners. */ + TitleName?: string; + + } + + export interface ConfigurePSNEventStreamsResponse extends PlayFabModule.IPlayFabResultCommon { + + } + export interface CreateOrUpdateAppleRequest extends PlayFabModule.IPlayFabRequestCommon { /** Allow validation of receipts from the Apple production environment. Required for app releases. */ AllowProduction?: boolean; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts index 58381549..6730e3dc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -98,8 +98,6 @@ declare module PlayFabAuthenticationModels { export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ - Entity?: EntityKey; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 3819a54d..76e82a72 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2363,6 +2363,11 @@ declare module PlayFabClientModels { * comma-separated list of platforms. */ ExternalPlatformFriends?: string; + /** + * If true, include friends from the same namespace even if they have not logged in to the current title. Defaults to + * false. + */ + NamespaceWide?: boolean; /** * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, * only the allowed client profile properties for the title may be requested. These allowed properties are configured in diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index d2ff0a24..90781b89 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -541,6 +541,9 @@ declare module PlayFabMultiplayerModels { | "Easv4" | "Ev4" | "Esv4" + | "Edsv4" + | "Edsv5" + | "Edsv6" | "Dsv3" | "Dsv2" | "NCasT4_v3" @@ -556,7 +559,8 @@ declare module PlayFabMultiplayerModels { | "Eadsv5" | "Eadsv6" | "Eadsv7" - | "Dadsv7"; + | "Dadsv7" + | "Dpdsv6"; type AzureVmSize = "Standard_A1" @@ -637,6 +641,18 @@ declare module PlayFabMultiplayerModels { | "Standard_E4ads_v7" | "Standard_E8ads_v7" | "Standard_E16ads_v7" + | "Standard_E2ds_v4" + | "Standard_E4ds_v4" + | "Standard_E8ds_v4" + | "Standard_E16ds_v4" + | "Standard_E2ds_v5" + | "Standard_E4ds_v5" + | "Standard_E8ds_v5" + | "Standard_E16ds_v5" + | "Standard_E2ds_v6" + | "Standard_E4ds_v6" + | "Standard_E8ds_v6" + | "Standard_E16ds_v6" | "Standard_D2s_v3" | "Standard_D4s_v3" | "Standard_D8s_v3" @@ -673,7 +689,11 @@ declare module PlayFabMultiplayerModels { | "Standard_D2ds_v6" | "Standard_D4ds_v6" | "Standard_D8ds_v6" - | "Standard_D16ds_v6"; + | "Standard_D16ds_v6" + | "Standard_D2pds_v6" + | "Standard_D4pds_v6" + | "Standard_D8pds_v6" + | "Standard_D16pds_v6"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 47884a40..2a04517a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -3142,6 +3142,11 @@ declare module PlayFabServerModels { * comma-separated list of platforms. */ ExternalPlatformFriends?: string; + /** + * If true, include friends from the same namespace even if they have not logged in to the current title. Defaults to + * false. + */ + NamespaceWide?: boolean; /** PlayFab identifier of the player whose friend list to get. */ PlayFabId: string; /** diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 0680fa3e..ad4567c9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -241,6 +241,10 @@ PlayFab.AddonApi = { PlayFab._internalSettings.entityToken = null; }, + ConfigurePSNEventStreams: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/ConfigurePSNEventStreams", request, "X-EntityToken", callback, customData, extraHeaders); + }, + CreateOrUpdateApple: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateApple", request, "X-EntityToken", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 5b4f9aef..20e6e5d4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 9ec5b672..9c42a567 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index d079ce97..ccc2ad23 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 950a2bf7..625b4095 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 9b7aebbc..4ebf97e7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index f0d972c4..5334b34c 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index 3e2f69e6..f619e7bd 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 83c1e8f5..33be3fb8 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index a7bc069a..fd681646 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 82e192c3..05227718 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 4d6e370f..0a28b7c7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 5296503e..5e694759 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 4458cc60..4dfca0d2 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 18a54ef9..d9a8e9ae 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index b57d0ebd..0fa96684 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.217.260605", + sdkVersion: "1.218.260619", requestGetParams: { - sdk: "JavaScriptSDK-1.217.260605" + sdk: "JavaScriptSDK-1.218.260619" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.217.260605"; +PlayFab.sdkVersion = "1.218.260619"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts index 0abfa783..6ec1a36a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAddonApi.d.ts @@ -4,6 +4,11 @@ declare module PlayFabAddonModule { export interface IPlayFabAddon { ForgetAllCredentials(): void; + /** + * Configures PSN event streams for an existing PSN addon on a title, without requiring a full addon upsert. + * https://docs.microsoft.com/rest/api/playfab/addon/addon/configurepsneventstreams + */ + ConfigurePSNEventStreams(request: PlayFabAddonModels.ConfigurePSNEventStreamsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Creates the Apple addon on a title, or updates it if it already exists. * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdateapple @@ -159,6 +164,20 @@ declare module PlayFabAddonModule { } declare module PlayFabAddonModels { + export interface ConfigurePSNEventStreamsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ + Entity?: EntityKey; + /** Title name obtained after setting a back server for PS5. Used for clawback event listeners. */ + TitleName?: string; + + } + + export interface ConfigurePSNEventStreamsResponse extends PlayFabModule.IPlayFabResultCommon { + + } + export interface CreateOrUpdateAppleRequest extends PlayFabModule.IPlayFabRequestCommon { /** Allow validation of receipts from the Apple production environment. Required for app releases. */ AllowProduction?: boolean; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts index 58381549..6730e3dc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAuthenticationApi.d.ts @@ -98,8 +98,6 @@ declare module PlayFabAuthenticationModels { export interface GetEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon { /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; - /** The optional entity to perform this action on. Defaults to the currently logged in entity. */ - Entity?: EntityKey; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 3819a54d..76e82a72 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2363,6 +2363,11 @@ declare module PlayFabClientModels { * comma-separated list of platforms. */ ExternalPlatformFriends?: string; + /** + * If true, include friends from the same namespace even if they have not logged in to the current title. Defaults to + * false. + */ + NamespaceWide?: boolean; /** * If non-null, this determines which properties of the resulting player profiles to return. For API calls from the client, * only the allowed client profile properties for the title may be requested. These allowed properties are configured in diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index d2ff0a24..90781b89 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -541,6 +541,9 @@ declare module PlayFabMultiplayerModels { | "Easv4" | "Ev4" | "Esv4" + | "Edsv4" + | "Edsv5" + | "Edsv6" | "Dsv3" | "Dsv2" | "NCasT4_v3" @@ -556,7 +559,8 @@ declare module PlayFabMultiplayerModels { | "Eadsv5" | "Eadsv6" | "Eadsv7" - | "Dadsv7"; + | "Dadsv7" + | "Dpdsv6"; type AzureVmSize = "Standard_A1" @@ -637,6 +641,18 @@ declare module PlayFabMultiplayerModels { | "Standard_E4ads_v7" | "Standard_E8ads_v7" | "Standard_E16ads_v7" + | "Standard_E2ds_v4" + | "Standard_E4ds_v4" + | "Standard_E8ds_v4" + | "Standard_E16ds_v4" + | "Standard_E2ds_v5" + | "Standard_E4ds_v5" + | "Standard_E8ds_v5" + | "Standard_E16ds_v5" + | "Standard_E2ds_v6" + | "Standard_E4ds_v6" + | "Standard_E8ds_v6" + | "Standard_E16ds_v6" | "Standard_D2s_v3" | "Standard_D4s_v3" | "Standard_D8s_v3" @@ -673,7 +689,11 @@ declare module PlayFabMultiplayerModels { | "Standard_D2ds_v6" | "Standard_D4ds_v6" | "Standard_D8ds_v6" - | "Standard_D16ds_v6"; + | "Standard_D16ds_v6" + | "Standard_D2pds_v6" + | "Standard_D4pds_v6" + | "Standard_D8pds_v6" + | "Standard_D16pds_v6"; export interface BuildAliasDetailsResponse extends PlayFabModule.IPlayFabResultCommon { /** The guid string alias Id of the alias to be created or updated. */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 47884a40..2a04517a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -3142,6 +3142,11 @@ declare module PlayFabServerModels { * comma-separated list of platforms. */ ExternalPlatformFriends?: string; + /** + * If true, include friends from the same namespace even if they have not logged in to the current title. Defaults to + * false. + */ + NamespaceWide?: boolean; /** PlayFab identifier of the player whose friend list to get. */ PlayFabId: string; /** From 4807df6003c140f7cbd16cab633af4caffb3af01 Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Fri, 7 Aug 2026 20:08:48 +0000 Subject: [PATCH 7/8] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260805 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 26 +++- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 6 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 6 +- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 6 +- .../src/PlayFab/PlayFabProgressionApi.js | 6 +- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 6 +- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 122 ++++++++++++++++++ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 19 +++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 29 ++++- .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 25 ++++ .../src/PlayFab/PlayFabAddonApi.js | 6 +- .../src/PlayFab/PlayFabAdminApi.js | 26 +++- .../src/PlayFab/PlayFabAuthenticationApi.js | 6 +- .../src/PlayFab/PlayFabClientApi.js | 6 +- .../src/PlayFab/PlayFabCloudScriptApi.js | 6 +- .../src/PlayFab/PlayFabDataApi.js | 6 +- .../src/PlayFab/PlayFabEconomyApi.js | 6 +- .../src/PlayFab/PlayFabEventsApi.js | 6 +- .../src/PlayFab/PlayFabExperimentationApi.js | 6 +- .../src/PlayFab/PlayFabGroupsApi.js | 6 +- .../src/PlayFab/PlayFabInsightsApi.js | 6 +- .../src/PlayFab/PlayFabLocalizationApi.js | 6 +- .../src/PlayFab/PlayFabMultiplayerApi.js | 6 +- .../src/PlayFab/PlayFabProfilesApi.js | 6 +- .../src/PlayFab/PlayFabProgressionApi.js | 6 +- .../src/PlayFab/PlayFabServerApi.js | 6 +- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 122 ++++++++++++++++++ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 19 +++ .../PlayFab/PlayFabMultiplayerApi.d.ts | 29 ++++- .../src/typings/PlayFab/PlayFabServerApi.d.ts | 25 ++++ 41 files changed, 525 insertions(+), 99 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index 5976eecf..ed4a1e56 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.218.260619", + "version": "1.220.260805", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index ad4567c9..7cfb7f7a 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 20e6e5d4..21c8875e 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -285,6 +285,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateInsightsScheduledScalingTask", request, "X-SecretKey", callback, customData, extraHeaders); }, + CreateIPBan: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateIPBan", request, "X-SecretKey", callback, customData, extraHeaders); + }, + CreateOpenIdConnection: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -397,6 +401,14 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetDataReport", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetIPBansForIP: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetIPBansForIP", request, "X-SecretKey", callback, customData, extraHeaders); + }, + + GetIPBansForTitle: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetIPBansForTitle", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetPlayedTitleList: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayedTitleList", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -581,6 +593,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RevokeInventoryItems", request, "X-SecretKey", callback, customData, extraHeaders); }, + RevokeIPBan: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RevokeIPBan", request, "X-SecretKey", callback, customData, extraHeaders); + }, + RunTask: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RunTask", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -645,6 +661,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateCloudScript", request, "X-SecretKey", callback, customData, extraHeaders); }, + UpdateIPBan: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateIPBan", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UpdateOpenIdConnection: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 9c42a567..3e963ed9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index ccc2ad23..e4f7beea 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index 625b4095..cc7d2328 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 4ebf97e7..56702368 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 5334b34c..3b981535 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index f619e7bd..c2273525 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index 33be3fb8..c96b50b4 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index fd681646..dddde94b 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 05227718..0e364ab5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 0a28b7c7..5fea2270 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index 5e694759..efcb9ac9 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 4dfca0d2..98ab4c73 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index d9a8e9ae..76ed0fc0 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 0fa96684..7717d578 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 8a96312d..5ca27e40 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -63,6 +63,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createinsightsscheduledscalingtask */ CreateInsightsScheduledScalingTask(request: PlayFabAdminModels.CreateInsightsScheduledScalingTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Bans an IP address or CIDR range for a title. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/createipban + */ + CreateIPBan(request: PlayFabAdminModels.CreateIPBanRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers a relationship between a title and an Open ID Connect provider. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/createopenidconnection @@ -216,6 +221,16 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getdatareport */ GetDataReport(request: PlayFabAdminModels.GetDataReportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Gets all IP bans that apply to a specific IP address. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getipbansforip + */ + GetIPBansForIP(request: PlayFabAdminModels.GetIPBanRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Gets all IP bans for a title. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getipbansfortitle + */ + GetIPBansForTitle(request: PlayFabAdminModels.GetAllIPBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get the list of titles that the player has played * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getplayedtitlelist @@ -461,6 +476,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/player-item-management/revokeinventoryitems */ RevokeInventoryItems(request: PlayFabAdminModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Revokes an active IP ban. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/revokeipban + */ + RevokeIPBan(request: PlayFabAdminModels.RevokeIPBanRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Run a task immediately regardless of its schedule. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/runtask @@ -554,6 +574,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/updatecloudscript */ UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Updates an existing IP ban. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/updateipban + */ + UpdateIPBan(request: PlayFabAdminModels.UpdateIPBanRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Modifies data and credentials for an existing relationship between a title and an Open ID Connect provider * https://docs.microsoft.com/rest/api/playfab/admin/authentication/updateopenidconnection @@ -1444,6 +1469,27 @@ declare module PlayFabAdminModels { } + export interface CreateIPBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * The UTC date and time when the IP ban expires. Leave this blank for a permanent ban. Must be later than the current time + * and no more than 100 years in the future. + */ + Expires?: string; + /** The IP address to be banned. */ + IPAddress: string; + /** The reason for the IP ban. Maximum 140 characters. */ + Reason?: string; + + } + + export interface CreateIPBanResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on the ban that was created */ + IPBanData?: IPBanInfo; + + } + export interface CreateOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The client ID given by the ID provider. */ ClientId: string; @@ -2682,6 +2728,9 @@ declare module PlayFabAdminModels { | "AccountLinkedToABannedPlayer" | "AzureSubscriptionNotEligibleForLinking" | "EntityIsNotAMember" + | "IPAddressNotFound" + | "PSNNextGenNotConfiguredForTitle" + | "InvalidNintendoIssuer" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2999,6 +3048,7 @@ declare module PlayFabAdminModels { | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "GameSaveTitleConfigNoUpdatesRequested" | "GameSavePlayerNotEligibleForTransfer" + | "GameSaveAlreadyAutoRolledBack" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3037,6 +3087,16 @@ declare module PlayFabAdminModels { } + export interface GetAllIPBansRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + export interface GetAllIPBansResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on all IP bans */ + IPBanData?: IPBanInfo[]; + + } + export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } @@ -3159,6 +3219,18 @@ declare module PlayFabAdminModels { } + export interface GetIPBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The IP address of the ban to retrieve information on. */ + IPAddress: string; + + } + + export interface GetIPBanResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on the ban */ + IPBanData?: IPBanInfo[]; + + } + export interface GetPlayedTitleListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3680,6 +3752,22 @@ declare module PlayFabAdminModels { } + export interface IPBanInfo { + /** The active state of this ban. */ + Active: boolean; + /** PlayFab Developer ID of who issued the ban. Null if ban issued via Title Secret Key. */ + BannedByDeveloperId?: string; + /** The time when this IP ban was applied. */ + Created?: string; + /** The time when this ban expires. Permanent bans do not have expiration date. */ + Expires?: string; + /** The IP address on which the ban was applied. */ + IPAddress?: string; + /** The reason why this IP ban was applied. */ + Reason?: string; + + } + export interface ItemGrant { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -4398,6 +4486,18 @@ declare module PlayFabAdminModels { } + export interface RevokeIPBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The IP address of the ban to be revoked. */ + IPAddress: string; + + } + + export interface RevokeIPBanResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on the ban that was revoked */ + IPBanData?: IPBanInfo; + + } + export interface RevokeItemError { /** Specific error that was encountered. */ Error?: string; @@ -5469,6 +5569,28 @@ declare module PlayFabAdminModels { } + export interface UpdateIPBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The updated active state for the IP ban. Null for no change. */ + Active?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The updated expiration date for the IP ban. Null for no change. */ + Expires?: string; + /** The IP address of the ban to be updated. */ + IPAddress: string; + /** Whether to make this IP ban permanent. Set to true to make this IP ban permanent. This will not modify Active state. */ + Permanent?: boolean; + /** The updated reason for the IP ban. Maximum 140 characters. Null for no change. */ + Reason?: string; + + } + + export interface UpdateIPBanResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on the ban that was created */ + IPBanData?: IPBanInfo; + + } + export interface UpdateOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The client ID given by the ID provider. */ ClientId?: string; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 76e82a72..967aa61d 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2826,6 +2826,11 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Nintendo NSA issuer URL identifying the environment. When provided, only accounts registered in that environment are + * returned. If null or empty, falls back to the default environment. + */ + Issuer?: string; /** * Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. @@ -2878,6 +2883,8 @@ declare module PlayFabClientModels { * cannot exceed 25 in length. */ PSNAccountIDs: string[]; + /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -2895,6 +2902,8 @@ declare module PlayFabClientModels { * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; + /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -3509,6 +3518,11 @@ declare module PlayFabClientModels { export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Authentication code provided by the PlayStation :tm: Network. */ AuthCode: string; + /** + * Optional PlayStation :tm: Network auth version. Controls which PlayStation :tm: Network auth version is used. Accepted + * values are "v2" and "v3". + */ + AuthVersion?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -4036,6 +4050,11 @@ declare module PlayFabClientModels { export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code provided by the PlayStation :tm: Network OAuth provider. */ AuthCode?: string; + /** + * Optional PlayStation :tm: Network auth version. Controls which PlayStation :tm: Network auth version is used. Accepted + * values are "v2" and "v3". + */ + AuthVersion?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index 90781b89..e006cd44 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -524,7 +524,34 @@ declare module PlayFabMultiplayerModels { | "SwedenCentral" | "CanadaCentral" | "MexicoCentral" - | "WestUs3"; + | "WestUs3" + | "CanadaEast" + | "UkWest" + | "FranceSouth" + | "SouthIndia" + | "SpainCentral" + | "GermanyWestCentral" + | "ItalyNorth" + | "IndonesiaCentral" + | "ChileCentral" + | "PolandCentral" + | "NewZealandNorth" + | "BrazilSoutheast" + | "NorwayEast" + | "SwitzerlandNorth" + | "MalaysiaWest" + | "IsraelCentral" + | "QatarCentral" + | "UaeCentral" + | "GermanyNorth" + | "AustriaEast" + | "BelgiumCentral" + | "DenmarkEast" + | "SwitzerlandWest" + | "SwedenSouth" + | "NorwayWest" + | "SouthAfricaWest" + | "MalaysiaSouth"; type AzureVmFamily = "A" diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 2a04517a..804c6ebc 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2611,6 +2611,9 @@ declare module PlayFabServerModels { | "AccountLinkedToABannedPlayer" | "AzureSubscriptionNotEligibleForLinking" | "EntityIsNotAMember" + | "IPAddressNotFound" + | "PSNNextGenNotConfiguredForTitle" + | "InvalidNintendoIssuer" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2928,6 +2931,7 @@ declare module PlayFabServerModels { | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "GameSaveTitleConfigNoUpdatesRequested" | "GameSavePlayerNotEligibleForTransfer" + | "GameSaveAlreadyAutoRolledBack" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3537,6 +3541,11 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Nintendo NSA issuer URL identifying the environment. When provided, only accounts registered in that environment are + * returned. If null or empty, falls back to the default environment. + */ + Issuer?: string; /** * Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. @@ -3589,6 +3598,8 @@ declare module PlayFabServerModels { * cannot exceed 25 in length. */ PSNAccountIDs: string[]; + /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -3606,6 +3617,8 @@ declare module PlayFabServerModels { * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; + /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -4171,6 +4184,11 @@ declare module PlayFabServerModels { export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Authentication code provided by the PlayStation :tm: Network. */ AuthCode: string; + /** + * Optional PlayStation :tm: Network auth version. Controls which PlayStation :tm: Network auth version is used. Accepted + * values are "v2" and "v3". + */ + AuthVersion?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -4199,6 +4217,8 @@ declare module PlayFabServerModels { PlayFabId: string; /** Id of the PlayStation :tm: Network user. Also known as the PSN Account Id. */ PSNUserId: string; + /** Optional sandbox id. When provided, resolves and links the player on that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -4419,6 +4439,11 @@ declare module PlayFabServerModels { export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code provided by the PlayStation :tm: Network OAuth provider. */ AuthCode: string; + /** + * Optional PlayStation :tm: Network auth version. Controls which PlayStation :tm: Network auth version is used. Accepted + * values are "v2" and "v3". + */ + AuthVersion?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index ad4567c9..7cfb7f7a 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 20e6e5d4..21c8875e 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; @@ -285,6 +285,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateInsightsScheduledScalingTask", request, "X-SecretKey", callback, customData, extraHeaders); }, + CreateIPBan: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateIPBan", request, "X-SecretKey", callback, customData, extraHeaders); + }, + CreateOpenIdConnection: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/CreateOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -397,6 +401,14 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetDataReport", request, "X-SecretKey", callback, customData, extraHeaders); }, + GetIPBansForIP: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetIPBansForIP", request, "X-SecretKey", callback, customData, extraHeaders); + }, + + GetIPBansForTitle: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetIPBansForTitle", request, "X-SecretKey", callback, customData, extraHeaders); + }, + GetPlayedTitleList: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayedTitleList", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -581,6 +593,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RevokeInventoryItems", request, "X-SecretKey", callback, customData, extraHeaders); }, + RevokeIPBan: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RevokeIPBan", request, "X-SecretKey", callback, customData, extraHeaders); + }, + RunTask: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/RunTask", request, "X-SecretKey", callback, customData, extraHeaders); }, @@ -645,6 +661,10 @@ PlayFab.AdminApi = { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateCloudScript", request, "X-SecretKey", callback, customData, extraHeaders); }, + UpdateIPBan: function (request, callback, customData, extraHeaders) { + return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateIPBan", request, "X-SecretKey", callback, customData, extraHeaders); + }, + UpdateOpenIdConnection: function (request, callback, customData, extraHeaders) { return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders); }, diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 9c42a567..3e963ed9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index ccc2ad23..e4f7beea 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index 625b4095..cc7d2328 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 4ebf97e7..56702368 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 5334b34c..3b981535 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index f619e7bd..c2273525 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index 33be3fb8..c96b50b4 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index fd681646..dddde94b 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 05227718..0e364ab5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 0a28b7c7..5fea2270 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index 5e694759..efcb9ac9 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 4dfca0d2..98ab4c73 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index d9a8e9ae..76ed0fc0 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 0fa96684..7717d578 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.218.260619", + sdkVersion: "1.220.260805", requestGetParams: { - sdk: "JavaScriptSDK-1.218.260619" + sdk: "JavaScriptSDK-1.220.260805" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -224,7 +224,7 @@ if(!PlayFab._internalSettings) { } PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.218.260619"; +PlayFab.sdkVersion = "1.220.260805"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 8a96312d..5ca27e40 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -63,6 +63,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/createinsightsscheduledscalingtask */ CreateInsightsScheduledScalingTask(request: PlayFabAdminModels.CreateInsightsScheduledScalingTaskRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Bans an IP address or CIDR range for a title. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/createipban + */ + CreateIPBan(request: PlayFabAdminModels.CreateIPBanRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Registers a relationship between a title and an Open ID Connect provider. * https://docs.microsoft.com/rest/api/playfab/admin/authentication/createopenidconnection @@ -216,6 +221,16 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getdatareport */ GetDataReport(request: PlayFabAdminModels.GetDataReportRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Gets all IP bans that apply to a specific IP address. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getipbansforip + */ + GetIPBansForIP(request: PlayFabAdminModels.GetIPBanRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Gets all IP bans for a title. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getipbansfortitle + */ + GetIPBansForTitle(request: PlayFabAdminModels.GetAllIPBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Get the list of titles that the player has played * https://docs.microsoft.com/rest/api/playfab/admin/account-management/getplayedtitlelist @@ -461,6 +476,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/player-item-management/revokeinventoryitems */ RevokeInventoryItems(request: PlayFabAdminModels.RevokeInventoryItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Revokes an active IP ban. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/revokeipban + */ + RevokeIPBan(request: PlayFabAdminModels.RevokeIPBanRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Run a task immediately regardless of its schedule. * https://docs.microsoft.com/rest/api/playfab/admin/scheduledtask/runtask @@ -554,6 +574,11 @@ declare module PlayFabAdminModule { * https://docs.microsoft.com/rest/api/playfab/admin/server-side-cloud-script/updatecloudscript */ UpdateCloudScript(request: PlayFabAdminModels.UpdateCloudScriptRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; + /** + * Updates an existing IP ban. + * https://docs.microsoft.com/rest/api/playfab/admin/account-management/updateipban + */ + UpdateIPBan(request: PlayFabAdminModels.UpdateIPBanRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>; /** * Modifies data and credentials for an existing relationship between a title and an Open ID Connect provider * https://docs.microsoft.com/rest/api/playfab/admin/authentication/updateopenidconnection @@ -1444,6 +1469,27 @@ declare module PlayFabAdminModels { } + export interface CreateIPBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** + * The UTC date and time when the IP ban expires. Leave this blank for a permanent ban. Must be later than the current time + * and no more than 100 years in the future. + */ + Expires?: string; + /** The IP address to be banned. */ + IPAddress: string; + /** The reason for the IP ban. Maximum 140 characters. */ + Reason?: string; + + } + + export interface CreateIPBanResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on the ban that was created */ + IPBanData?: IPBanInfo; + + } + export interface CreateOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The client ID given by the ID provider. */ ClientId: string; @@ -2682,6 +2728,9 @@ declare module PlayFabAdminModels { | "AccountLinkedToABannedPlayer" | "AzureSubscriptionNotEligibleForLinking" | "EntityIsNotAMember" + | "IPAddressNotFound" + | "PSNNextGenNotConfiguredForTitle" + | "InvalidNintendoIssuer" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2999,6 +3048,7 @@ declare module PlayFabAdminModels { | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "GameSaveTitleConfigNoUpdatesRequested" | "GameSavePlayerNotEligibleForTransfer" + | "GameSaveAlreadyAutoRolledBack" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3037,6 +3087,16 @@ declare module PlayFabAdminModels { } + export interface GetAllIPBansRequest extends PlayFabModule.IPlayFabRequestCommon { + + } + + export interface GetAllIPBansResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on all IP bans */ + IPBanData?: IPBanInfo[]; + + } + export interface GetAllSegmentsRequest extends PlayFabModule.IPlayFabRequestCommon { } @@ -3159,6 +3219,18 @@ declare module PlayFabAdminModels { } + export interface GetIPBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The IP address of the ban to retrieve information on. */ + IPAddress: string; + + } + + export interface GetIPBanResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on the ban */ + IPBanData?: IPBanInfo[]; + + } + export interface GetPlayedTitleListRequest extends PlayFabModule.IPlayFabRequestCommon { /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; @@ -3680,6 +3752,22 @@ declare module PlayFabAdminModels { } + export interface IPBanInfo { + /** The active state of this ban. */ + Active: boolean; + /** PlayFab Developer ID of who issued the ban. Null if ban issued via Title Secret Key. */ + BannedByDeveloperId?: string; + /** The time when this IP ban was applied. */ + Created?: string; + /** The time when this ban expires. Permanent bans do not have expiration date. */ + Expires?: string; + /** The IP address on which the ban was applied. */ + IPAddress?: string; + /** The reason why this IP ban was applied. */ + Reason?: string; + + } + export interface ItemGrant { /** String detailing any additional information concerning this operation. */ Annotation?: string; @@ -4398,6 +4486,18 @@ declare module PlayFabAdminModels { } + export interface RevokeIPBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The IP address of the ban to be revoked. */ + IPAddress: string; + + } + + export interface RevokeIPBanResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on the ban that was revoked */ + IPBanData?: IPBanInfo; + + } + export interface RevokeItemError { /** Specific error that was encountered. */ Error?: string; @@ -5469,6 +5569,28 @@ declare module PlayFabAdminModels { } + export interface UpdateIPBanRequest extends PlayFabModule.IPlayFabRequestCommon { + /** The updated active state for the IP ban. Null for no change. */ + Active?: boolean; + /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ + CustomTags?: { [key: string]: string | null }; + /** The updated expiration date for the IP ban. Null for no change. */ + Expires?: string; + /** The IP address of the ban to be updated. */ + IPAddress: string; + /** Whether to make this IP ban permanent. Set to true to make this IP ban permanent. This will not modify Active state. */ + Permanent?: boolean; + /** The updated reason for the IP ban. Maximum 140 characters. Null for no change. */ + Reason?: string; + + } + + export interface UpdateIPBanResult extends PlayFabModule.IPlayFabResultCommon { + /** Information on the ban that was created */ + IPBanData?: IPBanInfo; + + } + export interface UpdateOpenIdConnectionRequest extends PlayFabModule.IPlayFabRequestCommon { /** The client ID given by the ID provider. */ ClientId?: string; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 76e82a72..967aa61d 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2826,6 +2826,11 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Nintendo NSA issuer URL identifying the environment. When provided, only accounts registered in that environment are + * returned. If null or empty, falls back to the default environment. + */ + Issuer?: string; /** * Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. @@ -2878,6 +2883,8 @@ declare module PlayFabClientModels { * cannot exceed 25 in length. */ PSNAccountIDs: string[]; + /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -2895,6 +2902,8 @@ declare module PlayFabClientModels { * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; + /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -3509,6 +3518,11 @@ declare module PlayFabClientModels { export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Authentication code provided by the PlayStation :tm: Network. */ AuthCode: string; + /** + * Optional PlayStation :tm: Network auth version. Controls which PlayStation :tm: Network auth version is used. Accepted + * values are "v2" and "v3". + */ + AuthVersion?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -4036,6 +4050,11 @@ declare module PlayFabClientModels { export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code provided by the PlayStation :tm: Network OAuth provider. */ AuthCode?: string; + /** + * Optional PlayStation :tm: Network auth version. Controls which PlayStation :tm: Network auth version is used. Accepted + * values are "v2" and "v3". + */ + AuthVersion?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index 90781b89..e006cd44 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -524,7 +524,34 @@ declare module PlayFabMultiplayerModels { | "SwedenCentral" | "CanadaCentral" | "MexicoCentral" - | "WestUs3"; + | "WestUs3" + | "CanadaEast" + | "UkWest" + | "FranceSouth" + | "SouthIndia" + | "SpainCentral" + | "GermanyWestCentral" + | "ItalyNorth" + | "IndonesiaCentral" + | "ChileCentral" + | "PolandCentral" + | "NewZealandNorth" + | "BrazilSoutheast" + | "NorwayEast" + | "SwitzerlandNorth" + | "MalaysiaWest" + | "IsraelCentral" + | "QatarCentral" + | "UaeCentral" + | "GermanyNorth" + | "AustriaEast" + | "BelgiumCentral" + | "DenmarkEast" + | "SwitzerlandWest" + | "SwedenSouth" + | "NorwayWest" + | "SouthAfricaWest" + | "MalaysiaSouth"; type AzureVmFamily = "A" diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 2a04517a..804c6ebc 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2611,6 +2611,9 @@ declare module PlayFabServerModels { | "AccountLinkedToABannedPlayer" | "AzureSubscriptionNotEligibleForLinking" | "EntityIsNotAMember" + | "IPAddressNotFound" + | "PSNNextGenNotConfiguredForTitle" + | "InvalidNintendoIssuer" | "MatchmakingEntityInvalid" | "MatchmakingPlayerAttributesInvalid" | "MatchmakingQueueNotFound" @@ -2928,6 +2931,7 @@ declare module PlayFabServerModels { | "GameSaveTitleClientAnonymousAccountCreationNotDisabled" | "GameSaveTitleConfigNoUpdatesRequested" | "GameSavePlayerNotEligibleForTransfer" + | "GameSaveAlreadyAutoRolledBack" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3537,6 +3541,11 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromNintendoServiceAccountIdsRequest extends PlayFabModule.IPlayFabRequestCommon { + /** + * Nintendo NSA issuer URL identifying the environment. When provided, only accounts registered in that environment are + * returned. If null or empty, falls back to the default environment. + */ + Issuer?: string; /** * Array of unique Nintendo Switch Account identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. @@ -3589,6 +3598,8 @@ declare module PlayFabServerModels { * cannot exceed 25 in length. */ PSNAccountIDs: string[]; + /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -3606,6 +3617,8 @@ declare module PlayFabServerModels { * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; + /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -4171,6 +4184,11 @@ declare module PlayFabServerModels { export interface LinkPSNAccountRequest extends PlayFabModule.IPlayFabRequestCommon { /** Authentication code provided by the PlayStation :tm: Network. */ AuthCode: string; + /** + * Optional PlayStation :tm: Network auth version. Controls which PlayStation :tm: Network auth version is used. Accepted + * values are "v2" and "v3". + */ + AuthVersion?: string; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ @@ -4199,6 +4217,8 @@ declare module PlayFabServerModels { PlayFabId: string; /** Id of the PlayStation :tm: Network user. Also known as the PSN Account Id. */ PSNUserId: string; + /** Optional sandbox id. When provided, resolves and links the player on that PlayStation :tm: Network sandbox. */ + SandboxId?: string; } @@ -4419,6 +4439,11 @@ declare module PlayFabServerModels { export interface LoginWithPSNRequest extends PlayFabModule.IPlayFabRequestCommon { /** Auth code provided by the PlayStation :tm: Network OAuth provider. */ AuthCode: string; + /** + * Optional PlayStation :tm: Network auth version. Controls which PlayStation :tm: Network auth version is used. Accepted + * values are "v2" and "v3". + */ + AuthVersion?: string; /** Automatically create a PlayFab account if one is not currently linked to this ID. */ CreateAccount?: boolean; /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */ From 2cd9cd2bc9f773d3d40494833fb130cae9a758cf Mon Sep 17 00:00:00 2001 From: PlayFab SDK Team Date: Wed, 23 Sep 2026 01:20:32 +0000 Subject: [PATCH 8/8] https://docs.microsoft.com/en-us/gaming/playfab/release-notes/#260922 --- PlayFabSdk/package.json | 2 +- PlayFabSdk/src/PlayFab/PlayFabAddonApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabAdminApi.js | 8 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabClientApi.js | 8 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabDataApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabEventsApi.js | 8 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js | 8 +-- .../src/PlayFab/PlayFabProgressionApi.js | 8 +-- PlayFabSdk/src/PlayFab/PlayFabServerApi.js | 8 +-- .../src/Typings/PlayFab/PlayFabAdminApi.d.ts | 9 ++++ .../src/Typings/PlayFab/PlayFabClientApi.d.ts | 31 +++++++++-- .../Typings/PlayFab/PlayFabInsightsApi.d.ts | 2 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 53 +------------------ .../src/Typings/PlayFab/PlayFabServerApi.d.ts | 44 ++++++++++++--- .../src/PlayFab/PlayFabAddonApi.js | 8 +-- .../src/PlayFab/PlayFabAdminApi.js | 8 +-- .../src/PlayFab/PlayFabAuthenticationApi.js | 8 +-- .../src/PlayFab/PlayFabClientApi.js | 8 +-- .../src/PlayFab/PlayFabCloudScriptApi.js | 8 +-- .../src/PlayFab/PlayFabDataApi.js | 8 +-- .../src/PlayFab/PlayFabEconomyApi.js | 8 +-- .../src/PlayFab/PlayFabEventsApi.js | 8 +-- .../src/PlayFab/PlayFabExperimentationApi.js | 8 +-- .../src/PlayFab/PlayFabGroupsApi.js | 8 +-- .../src/PlayFab/PlayFabInsightsApi.js | 8 +-- .../src/PlayFab/PlayFabLocalizationApi.js | 8 +-- .../src/PlayFab/PlayFabMultiplayerApi.js | 8 +-- .../src/PlayFab/PlayFabProfilesApi.js | 8 +-- .../src/PlayFab/PlayFabProgressionApi.js | 8 +-- .../src/PlayFab/PlayFabServerApi.js | 8 +-- .../src/typings/PlayFab/PlayFabAdminApi.d.ts | 9 ++++ .../src/typings/PlayFab/PlayFabClientApi.d.ts | 31 +++++++++-- .../typings/PlayFab/PlayFabInsightsApi.d.ts | 2 +- .../PlayFab/PlayFabMultiplayerApi.d.ts | 53 +------------------ .../src/typings/PlayFab/PlayFabServerApi.d.ts | 44 ++++++++++++--- 43 files changed, 283 insertions(+), 253 deletions(-) diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json index ed4a1e56..817f859b 100644 --- a/PlayFabSdk/package.json +++ b/PlayFabSdk/package.json @@ -1,6 +1,6 @@ { "name": "playfab-web-sdk", - "version": "1.220.260805", + "version": "1.222.260922", "description": "Playfab SDK for JS client applications", "license": "Apache-2.0", "repository": { diff --git a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js index 7cfb7f7a..24cba57f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js index 21c8875e..b543d7be 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js index 3e963ed9..8ac1c155 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js index e4f7beea..f66af485 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js index cc7d2328..17c11b0f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js index 56702368..49e60dfc 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js index 3b981535..013d5ea7 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js index c2273525..c8ed22b3 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js index c96b50b4..06fe7806 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js index dddde94b..5ff17e41 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js index 0e364ab5..4751a9f5 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js index 5fea2270..f2b8672f 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js index efcb9ac9..d92785ef 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js index 98ab4c73..5a1ec15d 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js index 76ed0fc0..479bc913 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js index 7717d578..a0f01589 100644 --- a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts index 5ca27e40..46869cef 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts @@ -3049,6 +3049,8 @@ declare module PlayFabAdminModels { | "GameSaveTitleConfigNoUpdatesRequested" | "GameSavePlayerNotEligibleForTransfer" | "GameSaveAlreadyAutoRolledBack" + | "GameSaveManifestNotEligibleForRestore" + | "GameSaveManifestArchived" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -6058,10 +6060,17 @@ declare module PlayFabAdminModels { } export interface UserPsnInfo { + /** + * Id of the PlayStation :tm: Network issuer environment this account is keyed under. Supply this value as IssuerId when + * looking the account up. + */ + IssuerId?: number; /** PlayStation :tm: Network account ID */ PsnAccountId?: string; /** PlayStation :tm: Network online ID */ PsnOnlineId?: string; + /** PlayStation :tm: Network sandbox ID */ + PsnSandboxId?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts index 967aa61d..b75e42e4 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts @@ -2876,14 +2876,22 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signed in under, otherwise the lookup returns a null PlayFabId rather than an error. + */ IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. */ PSNAccountIDs: string[]; - /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox the account is keyed under. Sandbox membership is per account, not per title: + * supply this only for accounts that sign in from a sandbox, and omit it for accounts that do not, including all retail + * accounts. Supplying a sandbox id that an account is not keyed under, or omitting one that it is, returns a null + * PlayFabId rather than an error. + */ SandboxId?: string; } @@ -2895,14 +2903,22 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNOnlineIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signed in under, otherwise the lookup returns a null PlayFabId rather than an error. + */ IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; - /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox the account is keyed under. Sandbox membership is per account, not per title: + * supply this only for accounts that sign in from a sandbox, and omit it for accounts that do not, including all retail + * accounts. Supplying a sandbox id that an account is not keyed under, or omitting one that it is, returns a null + * PlayFabId rather than an error. + */ SandboxId?: string; } @@ -5656,10 +5672,17 @@ declare module PlayFabClientModels { } export interface UserPsnInfo { + /** + * Id of the PlayStation :tm: Network issuer environment this account is keyed under. Supply this value as IssuerId when + * looking the account up. + */ + IssuerId?: number; /** PlayStation :tm: Network account ID */ PsnAccountId?: string; /** PlayStation :tm: Network online ID */ PsnOnlineId?: string; + /** PlayStation :tm: Network sandbox ID */ + PsnSandboxId?: string; } diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts index c9389833..bdc18b6b 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabInsightsApi.d.ts @@ -130,7 +130,7 @@ declare module PlayFabInsightsModels { } export interface InsightsPerformanceLevel { - /** Number of allowed active event exports. */ + /** Number of allowed active event exports. This value is always zero. */ ActiveEventExports: number; /** Maximum cache size. */ CacheSizeMB: number; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts index e006cd44..17112934 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -966,8 +966,6 @@ declare module PlayFabMultiplayerModels { * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application on the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfigurationParams; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; /** The ports to map the build on. */ @@ -1011,8 +1009,6 @@ declare module PlayFabMultiplayerModels { LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application for the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfiguration; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -1025,11 +1021,6 @@ declare module PlayFabMultiplayerModels { ServerResourceConstraints?: ServerResourceConstraintParams; /** The type of game server being hosted. */ ServerType?: string; - /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; /** The configuration for the VmStartupScript feature for the build */ @@ -1067,8 +1058,6 @@ declare module PlayFabMultiplayerModels { * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application on the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfigurationParams; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; /** The ports to map the build on. */ @@ -1117,8 +1106,6 @@ declare module PlayFabMultiplayerModels { InstrumentationConfiguration?: InstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application for the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfiguration; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -1133,11 +1120,6 @@ declare module PlayFabMultiplayerModels { ServerType?: string; /** The command to run when the multiplayer server has been allocated, including any arguments. */ StartMultiplayerServerCommand?: string; - /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; /** The configuration for the VmStartupScript feature for the build */ @@ -1180,8 +1162,6 @@ declare module PlayFabMultiplayerModels { * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application on the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfigurationParams; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -1238,8 +1218,6 @@ declare module PlayFabMultiplayerModels { LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application for the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfiguration; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -1255,11 +1233,6 @@ declare module PlayFabMultiplayerModels { * relative to the root asset folder when unzipped. */ StartMultiplayerServerCommand?: string; - /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; /** The configuration for the VmStartupScript feature for the build */ @@ -1885,6 +1858,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; + /** The game secrets for the build. */ + GameSecretReferences?: GameSecretReference[]; /** The instrumentation configuration of the build. */ InstrumentationConfiguration?: InstrumentationConfiguration; /** @@ -2919,30 +2894,6 @@ declare module PlayFabMultiplayerModels { | "Locked"; - export interface MonitoringApplicationConfiguration { - /** Asset which contains the monitoring application files and scripts. */ - AssetReference: AssetReference; - /** Execution script name, this will be the main executable for the monitoring application. */ - ExecutionScriptName: string; - /** Installation script name, this will be run before the ExecutionScript. */ - InstallationScriptName?: string; - /** Timespan the monitoring application will be kept alive when running from the start of the VM */ - OnStartRuntimeInMinutes?: number; - - } - - export interface MonitoringApplicationConfigurationParams { - /** Asset which contains the monitoring application files and scripts. */ - AssetReference: AssetReferenceParams; - /** Execution script name, this will be the main executable for the monitoring application. */ - ExecutionScriptName: string; - /** Installation script name, this will be run before the ExecutionScript. */ - InstallationScriptName?: string; - /** Timespan the monitoring application will be kept alive when running from the start of the VM */ - OnStartRuntimeInMinutes?: number; - - } - export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts index 804c6ebc..dbde1d7a 100644 --- a/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabServerApi.d.ts @@ -2932,6 +2932,8 @@ declare module PlayFabServerModels { | "GameSaveTitleConfigNoUpdatesRequested" | "GameSavePlayerNotEligibleForTransfer" | "GameSaveAlreadyAutoRolledBack" + | "GameSaveManifestNotEligibleForRestore" + | "GameSaveManifestArchived" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3591,14 +3593,22 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signed in under, otherwise the lookup returns a null PlayFabId rather than an error. + */ IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. */ PSNAccountIDs: string[]; - /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox the account is keyed under. Sandbox membership is per account, not per title: + * supply this only for accounts that sign in from a sandbox, and omit it for accounts that do not, including all retail + * accounts. Supplying a sandbox id that an account is not keyed under, or omitting one that it is, returns a null + * PlayFabId rather than an error. + */ SandboxId?: string; } @@ -3610,14 +3620,22 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNOnlineIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signed in under, otherwise the lookup returns a null PlayFabId rather than an error. + */ IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; - /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox the account is keyed under. Sandbox membership is per account, not per title: + * supply this only for accounts that sign in from a sandbox, and omit it for accounts that do not, including all retail + * accounts. Supplying a sandbox id that an account is not keyed under, or omitting one that it is, returns a null + * PlayFabId rather than an error. + */ SandboxId?: string; } @@ -4211,13 +4229,20 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signs in under, otherwise the link will not be resolved by that sign in. + */ IssuerId?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Id of the PlayStation :tm: Network user. Also known as the PSN Account Id. */ PSNUserId: string; - /** Optional sandbox id. When provided, resolves and links the player on that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox to key the link under. Sandbox membership is per account, not per title: supply + * this only when the account signs in from a sandbox, and omit it otherwise, including for all retail accounts. This must + * match the sandbox the account signs in from, otherwise the link will not be resolved by that sign in. + */ SandboxId?: string; } @@ -6039,10 +6064,17 @@ declare module PlayFabServerModels { } export interface UserPsnInfo { + /** + * Id of the PlayStation :tm: Network issuer environment this account is keyed under. Supply this value as IssuerId when + * looking the account up. + */ + IssuerId?: number; /** PlayStation :tm: Network account ID */ PsnAccountId?: string; /** PlayStation :tm: Network online ID */ PsnOnlineId?: string; + /** PlayStation :tm: Network sandbox ID */ + PsnSandboxId?: string; } diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js index 7cfb7f7a..24cba57f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAddonApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js index 21c8875e..b543d7be 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAdminApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js index 3e963ed9..8ac1c155 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabAuthenticationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js index e4f7beea..f66af485 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabClientApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js index cc7d2328..17c11b0f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabCloudScriptApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js index 56702368..49e60dfc 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabDataApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js index 3b981535..013d5ea7 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEconomyApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js index c2273525..c8ed22b3 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabEventsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js index c96b50b4..06fe7806 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabExperimentationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js index dddde94b..5ff17e41 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabGroupsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js index 0e364ab5..4751a9f5 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabInsightsApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js index 5fea2270..f2b8672f 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabLocalizationApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js index efcb9ac9..d92785ef 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabMultiplayerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js index 98ab4c73..5a1ec15d 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProfilesApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js index 76ed0fc0..479bc913 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabProgressionApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js index 7717d578..a0f01589 100644 --- a/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js +++ b/PlayFabTestingExample/src/PlayFab/PlayFabServerApi.js @@ -14,9 +14,9 @@ if(!PlayFab.settings) { if(!PlayFab._internalSettings) { PlayFab._internalSettings = { entityToken: null, - sdkVersion: "1.220.260805", + sdkVersion: "1.222.260922", requestGetParams: { - sdk: "JavaScriptSDK-1.220.260805" + sdk: "JavaScriptSDK-1.222.260922" }, sessionTicket: null, verticalName: null, // The name of a customer vertical. This is only for customers running a private cluster. Generally you shouldn't touch this @@ -223,8 +223,8 @@ if(!PlayFab._internalSettings) { } } -PlayFab.buildIdentifier = "adobuild_javascriptsdk_114"; -PlayFab.sdkVersion = "1.220.260805"; +PlayFab.buildIdentifier = "adobuild_javascriptsdk_115"; +PlayFab.sdkVersion = "1.222.260922"; PlayFab.GenerateErrorReport = function (error) { if (error == null) return ""; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts index 5ca27e40..46869cef 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabAdminApi.d.ts @@ -3049,6 +3049,8 @@ declare module PlayFabAdminModels { | "GameSaveTitleConfigNoUpdatesRequested" | "GameSavePlayerNotEligibleForTransfer" | "GameSaveAlreadyAutoRolledBack" + | "GameSaveManifestNotEligibleForRestore" + | "GameSaveManifestArchived" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -6058,10 +6060,17 @@ declare module PlayFabAdminModels { } export interface UserPsnInfo { + /** + * Id of the PlayStation :tm: Network issuer environment this account is keyed under. Supply this value as IssuerId when + * looking the account up. + */ + IssuerId?: number; /** PlayStation :tm: Network account ID */ PsnAccountId?: string; /** PlayStation :tm: Network online ID */ PsnOnlineId?: string; + /** PlayStation :tm: Network sandbox ID */ + PsnSandboxId?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts index 967aa61d..b75e42e4 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabClientApi.d.ts @@ -2876,14 +2876,22 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signed in under, otherwise the lookup returns a null PlayFabId rather than an error. + */ IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. */ PSNAccountIDs: string[]; - /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox the account is keyed under. Sandbox membership is per account, not per title: + * supply this only for accounts that sign in from a sandbox, and omit it for accounts that do not, including all retail + * accounts. Supplying a sandbox id that an account is not keyed under, or omitting one that it is, returns a null + * PlayFabId rather than an error. + */ SandboxId?: string; } @@ -2895,14 +2903,22 @@ declare module PlayFabClientModels { } export interface GetPlayFabIDsFromPSNOnlineIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signed in under, otherwise the lookup returns a null PlayFabId rather than an error. + */ IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; - /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox the account is keyed under. Sandbox membership is per account, not per title: + * supply this only for accounts that sign in from a sandbox, and omit it for accounts that do not, including all retail + * accounts. Supplying a sandbox id that an account is not keyed under, or omitting one that it is, returns a null + * PlayFabId rather than an error. + */ SandboxId?: string; } @@ -5656,10 +5672,17 @@ declare module PlayFabClientModels { } export interface UserPsnInfo { + /** + * Id of the PlayStation :tm: Network issuer environment this account is keyed under. Supply this value as IssuerId when + * looking the account up. + */ + IssuerId?: number; /** PlayStation :tm: Network account ID */ PsnAccountId?: string; /** PlayStation :tm: Network online ID */ PsnOnlineId?: string; + /** PlayStation :tm: Network sandbox ID */ + PsnSandboxId?: string; } diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts index c9389833..bdc18b6b 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabInsightsApi.d.ts @@ -130,7 +130,7 @@ declare module PlayFabInsightsModels { } export interface InsightsPerformanceLevel { - /** Number of allowed active event exports. */ + /** Number of allowed active event exports. This value is always zero. */ ActiveEventExports: number; /** Maximum cache size. */ CacheSizeMB: number; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts index e006cd44..17112934 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabMultiplayerApi.d.ts @@ -966,8 +966,6 @@ declare module PlayFabMultiplayerModels { * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application on the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfigurationParams; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; /** The ports to map the build on. */ @@ -1011,8 +1009,6 @@ declare module PlayFabMultiplayerModels { LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application for the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfiguration; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -1025,11 +1021,6 @@ declare module PlayFabMultiplayerModels { ServerResourceConstraints?: ServerResourceConstraintParams; /** The type of game server being hosted. */ ServerType?: string; - /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; /** The configuration for the VmStartupScript feature for the build */ @@ -1067,8 +1058,6 @@ declare module PlayFabMultiplayerModels { * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application on the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfigurationParams; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; /** The ports to map the build on. */ @@ -1117,8 +1106,6 @@ declare module PlayFabMultiplayerModels { InstrumentationConfiguration?: InstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application for the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfiguration; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -1133,11 +1120,6 @@ declare module PlayFabMultiplayerModels { ServerType?: string; /** The command to run when the multiplayer server has been allocated, including any arguments. */ StartMultiplayerServerCommand?: string; - /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; /** The configuration for the VmStartupScript feature for the build */ @@ -1180,8 +1162,6 @@ declare module PlayFabMultiplayerModels { * Game Server SDK (GSDK).Constraints: Maximum number of keys: 30, Maximum key length: 50, Maximum value length: 100 */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application on the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfigurationParams; /** The number of multiplayer servers to host on a single VM. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -1238,8 +1218,6 @@ declare module PlayFabMultiplayerModels { LinuxInstrumentationConfiguration?: LinuxInstrumentationConfiguration; /** The metadata of the build. */ Metadata?: { [key: string]: string | null }; - /** The configuration for the monitoring application for the build */ - MonitoringApplicationConfiguration?: MonitoringApplicationConfiguration; /** The number of multiplayer servers to host on a single VM of the build. */ MultiplayerServerCountPerVm: number; /** The OS platform used for running the game process. */ @@ -1255,11 +1233,6 @@ declare module PlayFabMultiplayerModels { * relative to the root asset folder when unzipped. */ StartMultiplayerServerCommand?: string; - /** - * When true, assets will be downloaded and uncompressed in memory, without the compressedversion being written first to - * disc. - */ - UseStreamingForAssetDownloads?: boolean; /** The VM size the build was created on. */ VmSize?: string; /** The configuration for the VmStartupScript feature for the build */ @@ -1885,6 +1858,8 @@ declare module PlayFabMultiplayerModels { GameAssetReferences?: AssetReference[]; /** The game certificates for the build. */ GameCertificateReferences?: GameCertificateReference[]; + /** The game secrets for the build. */ + GameSecretReferences?: GameSecretReference[]; /** The instrumentation configuration of the build. */ InstrumentationConfiguration?: InstrumentationConfiguration; /** @@ -2919,30 +2894,6 @@ declare module PlayFabMultiplayerModels { | "Locked"; - export interface MonitoringApplicationConfiguration { - /** Asset which contains the monitoring application files and scripts. */ - AssetReference: AssetReference; - /** Execution script name, this will be the main executable for the monitoring application. */ - ExecutionScriptName: string; - /** Installation script name, this will be run before the ExecutionScript. */ - InstallationScriptName?: string; - /** Timespan the monitoring application will be kept alive when running from the start of the VM */ - OnStartRuntimeInMinutes?: number; - - } - - export interface MonitoringApplicationConfigurationParams { - /** Asset which contains the monitoring application files and scripts. */ - AssetReference: AssetReferenceParams; - /** Execution script name, this will be the main executable for the monitoring application. */ - ExecutionScriptName: string; - /** Installation script name, this will be run before the ExecutionScript. */ - InstallationScriptName?: string; - /** Timespan the monitoring application will be kept alive when running from the start of the VM */ - OnStartRuntimeInMinutes?: number; - - } - export interface MultiplayerServerSummary { /** The connected players in the multiplayer server. */ ConnectedPlayers?: ConnectedPlayer[]; diff --git a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts index 804c6ebc..dbde1d7a 100644 --- a/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts +++ b/PlayFabTestingExample/src/typings/PlayFab/PlayFabServerApi.d.ts @@ -2932,6 +2932,8 @@ declare module PlayFabServerModels { | "GameSaveTitleConfigNoUpdatesRequested" | "GameSavePlayerNotEligibleForTransfer" | "GameSaveAlreadyAutoRolledBack" + | "GameSaveManifestNotEligibleForRestore" + | "GameSaveManifestArchived" | "StateShareForbidden" | "StateShareTitleNotInFlight" | "StateShareStateNotFound" @@ -3591,14 +3593,22 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNAccountIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signed in under, otherwise the lookup returns a null PlayFabId rather than an error. + */ IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. */ PSNAccountIDs: string[]; - /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox the account is keyed under. Sandbox membership is per account, not per title: + * supply this only for accounts that sign in from a sandbox, and omit it for accounts that do not, including all retail + * accounts. Supplying a sandbox id that an account is not keyed under, or omitting one that it is, returns a null + * PlayFabId rather than an error. + */ SandboxId?: string; } @@ -3610,14 +3620,22 @@ declare module PlayFabServerModels { } export interface GetPlayFabIDsFromPSNOnlineIDsRequest extends PlayFabModule.IPlayFabRequestCommon { - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signed in under, otherwise the lookup returns a null PlayFabId rather than an error. + */ IssuerId?: number; /** * Array of unique PlayStation :tm: Network identifiers for which the title needs to get PlayFab identifiers. The array * cannot exceed 25 in length. */ PSNOnlineIDs: string[]; - /** Optional sandbox id. When provided, resolves players that logged in from that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox the account is keyed under. Sandbox membership is per account, not per title: + * supply this only for accounts that sign in from a sandbox, and omit it for accounts that do not, including all retail + * accounts. Supplying a sandbox id that an account is not keyed under, or omitting one that it is, returns a null + * PlayFabId rather than an error. + */ SandboxId?: string; } @@ -4211,13 +4229,20 @@ declare module PlayFabServerModels { CustomTags?: { [key: string]: string | null }; /** If another user is already linked to the account, unlink the other user and re-link. */ ForceLink?: boolean; - /** Id of the PlayStation :tm: Network issuer environment. If null, defaults to production environment. */ + /** + * Id of the PlayStation :tm: Network issuer environment. If null, defaults to the production environment. This must match + * the issuer the account signs in under, otherwise the link will not be resolved by that sign in. + */ IssuerId?: number; /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */ PlayFabId: string; /** Id of the PlayStation :tm: Network user. Also known as the PSN Account Id. */ PSNUserId: string; - /** Optional sandbox id. When provided, resolves and links the player on that PlayStation :tm: Network sandbox. */ + /** + * The PlayStation :tm: Network sandbox to key the link under. Sandbox membership is per account, not per title: supply + * this only when the account signs in from a sandbox, and omit it otherwise, including for all retail accounts. This must + * match the sandbox the account signs in from, otherwise the link will not be resolved by that sign in. + */ SandboxId?: string; } @@ -6039,10 +6064,17 @@ declare module PlayFabServerModels { } export interface UserPsnInfo { + /** + * Id of the PlayStation :tm: Network issuer environment this account is keyed under. Supply this value as IssuerId when + * looking the account up. + */ + IssuerId?: number; /** PlayStation :tm: Network account ID */ PsnAccountId?: string; /** PlayStation :tm: Network online ID */ PsnOnlineId?: string; + /** PlayStation :tm: Network sandbox ID */ + PsnSandboxId?: string; }