diff --git a/PlayFabSdk/package.json b/PlayFabSdk/package.json
index 9ad72737..b104c0fb 100644
--- a/PlayFabSdk/package.json
+++ b/PlayFabSdk/package.json
@@ -1,6 +1,6 @@
{
"name": "playfab-web-sdk",
- "version": "1.137.230220",
+ "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
new file mode 100644
index 00000000..0680fa3e
--- /dev/null
+++ b/PlayFabSdk/src/PlayFab/PlayFabAddonApi.js
@@ -0,0 +1,367 @@
+///
+
+var PlayFab = typeof PlayFab != "undefined" ? PlayFab : {};
+
+if(!PlayFab.settings) {
+ PlayFab.settings = {
+ titleId: null, // You must set this value for PlayFabSdk to work properly (Found in the Game Manager for your title, at the PlayFab Website)
+ developerSecretKey: null, // For security reasons you must never expose this value to the client or players - You must set this value for Server-APIs to work properly (Found in the Game Manager for your title, at the PlayFab Website)
+ GlobalHeaderInjection: null,
+ productionServerUrl: ".playfabapi.com"
+ }
+}
+
+if(!PlayFab._internalSettings) {
+ PlayFab._internalSettings = {
+ entityToken: null,
+ sdkVersion: "1.217.260605",
+ requestGetParams: {
+ 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
+ errorTitleId: "Must be have PlayFab.settings.titleId set to call this method",
+ errorLoggedIn: "Must be logged in to call this method",
+ errorEntityToken: "You must successfully call GetEntityToken before calling this",
+ errorSecretKey: "Must have PlayFab.settings.developerSecretKey set to call this method",
+
+ GetServerUrl: function () {
+ if (!(PlayFab.settings.productionServerUrl.substring(0, 4) === "http")) {
+ if (PlayFab._internalSettings.verticalName) {
+ return "https://" + PlayFab._internalSettings.verticalName + PlayFab.settings.productionServerUrl;
+ } else {
+ return "https://" + PlayFab.settings.titleId + PlayFab.settings.productionServerUrl;
+ }
+ } else {
+ return PlayFab.settings.productionServerUrl;
+ }
+ },
+
+ InjectHeaders: function (xhr, headersObj) {
+ if (!headersObj)
+ return;
+
+ for (var headerKey in headersObj)
+ {
+ try {
+ xhr.setRequestHeader(gHeaderKey, headersObj[headerKey]);
+ } catch (e) {
+ console.log("Failed to append header: " + headerKey + " = " + headersObj[headerKey] + "Error: " + e);
+ }
+ }
+ },
+
+ ExecuteRequest: function (url, request, authkey, authValue, callback, customData, extraHeaders) {
+ var resultPromise = new Promise(function (resolve, reject) {
+ if (callback != null && typeof (callback) !== "function")
+ throw "Callback must be null or a function";
+
+ if (request == null)
+ request = {};
+
+ var startTime = new Date();
+ var requestBody = JSON.stringify(request);
+
+ var urlArr = [url];
+ var getParams = PlayFab._internalSettings.requestGetParams;
+ if (getParams != null) {
+ var firstParam = true;
+ for (var key in getParams) {
+ if (firstParam) {
+ urlArr.push("?");
+ firstParam = false;
+ } else {
+ urlArr.push("&");
+ }
+ urlArr.push(key);
+ urlArr.push("=");
+ urlArr.push(getParams[key]);
+ }
+ }
+
+ var completeUrl = urlArr.join("");
+
+ var xhr = new XMLHttpRequest();
+ // window.console.log("URL: " + completeUrl);
+ xhr.open("POST", completeUrl, true);
+
+ xhr.setRequestHeader("Content-Type", "application/json");
+ xhr.setRequestHeader("X-PlayFabSDK", "JavaScriptSDK-" + PlayFab._internalSettings.sdkVersion);
+ if (authkey != null)
+ xhr.setRequestHeader(authkey, authValue);
+ PlayFab._internalSettings.InjectHeaders(xhr, PlayFab.settings.GlobalHeaderInjection);
+ PlayFab._internalSettings.InjectHeaders(xhr, extraHeaders);
+
+ xhr.onloadend = function () {
+ if (callback == null)
+ return;
+
+ var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData);
+ if (result.code === 200) {
+ callback(result, null);
+ } else {
+ callback(null, result);
+ }
+ }
+
+ xhr.onerror = function () {
+ if (callback == null)
+ return;
+
+ var result = PlayFab._internalSettings.GetPlayFabResponse(request, xhr, startTime, customData);
+ callback(null, result);
+ }
+
+ xhr.send(requestBody);
+ xhr.onreadystatechange = function () {
+ if (this.readyState === 4) {
+ var xhrResult = PlayFab._internalSettings.GetPlayFabResponse(request, this, startTime, customData);
+ if (this.status === 200) {
+ resolve(xhrResult);
+ } else {
+ reject(xhrResult);
+ }
+ }
+ };
+ });
+ // Return a Promise so that calls to various API methods can be handled asynchronously
+ return resultPromise;
+ },
+
+ GetPlayFabResponse: function(request, xhr, startTime, customData) {
+ var result = null;
+ try {
+ // window.console.log("parsing json result: " + xhr.responseText);
+ result = JSON.parse(xhr.responseText);
+ } catch (e) {
+ result = {
+ code: 503, // Service Unavailable
+ status: "Service Unavailable",
+ error: "Connection error",
+ errorCode: 2, // PlayFabErrorCode.ConnectionError
+ errorMessage: xhr.responseText
+ };
+ }
+
+ result.CallBackTimeMS = new Date() - startTime;
+ result.Request = request;
+ result.CustomData = customData;
+ return result;
+ },
+
+ authenticationContext: {
+ PlayFabId: null,
+ EntityId: null,
+ EntityType: null,
+ SessionTicket: null,
+ EntityToken: null
+ },
+
+ UpdateAuthenticationContext: function (authenticationContext, result) {
+ var authenticationContextUpdates = {};
+ if(result.data.PlayFabId !== null) {
+ PlayFab._internalSettings.authenticationContext.PlayFabId = result.data.PlayFabId;
+ authenticationContextUpdates.PlayFabId = result.data.PlayFabId;
+ }
+ if(result.data.SessionTicket !== null) {
+ PlayFab._internalSettings.authenticationContext.SessionTicket = result.data.SessionTicket;
+ authenticationContextUpdates.SessionTicket = result.data.SessionTicket;
+ }
+ if (result.data.EntityToken !== null) {
+ PlayFab._internalSettings.authenticationContext.EntityId = result.data.EntityToken.Entity.Id;
+ authenticationContextUpdates.EntityId = result.data.EntityToken.Entity.Id;
+ PlayFab._internalSettings.authenticationContext.EntityType = result.data.EntityToken.Entity.Type;
+ authenticationContextUpdates.EntityType = result.data.EntityToken.Entity.Type;
+ PlayFab._internalSettings.authenticationContext.EntityToken = result.data.EntityToken.EntityToken;
+ authenticationContextUpdates.EntityToken = result.data.EntityToken.EntityToken;
+ }
+ // Update the authenticationContext with values from the result
+ authenticationContext = Object.assign(authenticationContext, authenticationContextUpdates);
+ return authenticationContext;
+ },
+
+ AuthInfoMap: {
+ "X-EntityToken": {
+ authAttr: "entityToken",
+ authError: "errorEntityToken"
+ },
+ "X-Authorization": {
+ authAttr: "sessionTicket",
+ authError: "errorLoggedIn"
+ },
+ "X-SecretKey": {
+ authAttr: "developerSecretKey",
+ authError: "errorSecretKey"
+ }
+ },
+
+ GetAuthInfo: function (request, authKey) {
+ // Use the most-recently saved authKey, unless one was provided in the request via the AuthenticationContext
+ var authError = PlayFab._internalSettings.AuthInfoMap[authKey].authError;
+ var authAttr = PlayFab._internalSettings.AuthInfoMap[authKey].authAttr;
+ var defaultAuthValue = null;
+ if (authAttr === "entityToken")
+ defaultAuthValue = PlayFab._internalSettings.entityToken;
+ else if (authAttr === "sessionTicket")
+ defaultAuthValue = PlayFab._internalSettings.sessionTicket;
+ else if (authAttr === "developerSecretKey")
+ defaultAuthValue = PlayFab.settings.developerSecretKey;
+ var authValue = request.AuthenticationContext ? request.AuthenticationContext[authAttr] : defaultAuthValue;
+ return {"authKey": authKey, "authValue": authValue, "authError": authError};
+ },
+
+ ExecuteRequestWrapper: function (apiURL, request, authKey, callback, customData, extraHeaders) {
+ var authValue = null;
+ if (authKey !== null){
+ var authInfo = PlayFab._internalSettings.GetAuthInfo(request, authKey=authKey);
+ var authKey = authInfo.authKey, authValue = authInfo.authValue, authError = authInfo.authError;
+
+ if (!authValue) throw authError;
+ }
+ return PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + apiURL, request, authKey, authValue, callback, customData, extraHeaders);
+ }
+ }
+}
+
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
+PlayFab.GenerateErrorReport = function (error) {
+ if (error == null)
+ return "";
+ var fullErrors = error.errorMessage;
+ for (var paramName in error.errorDetails)
+ for (var msgIdx in error.errorDetails[paramName])
+ fullErrors += "\n" + paramName + ": " + error.errorDetails[paramName][msgIdx];
+ return fullErrors;
+};
+
+PlayFab.AddonApi = {
+ ForgetAllCredentials: function () {
+ PlayFab._internalSettings.sessionTicket = null;
+ PlayFab._internalSettings.entityToken = null;
+ },
+
+ CreateOrUpdateApple: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateApple", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateOrUpdateFacebook: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateFacebook", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateOrUpdateFacebookInstantGames: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateFacebookInstantGames", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateOrUpdateGoogle: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateGoogle", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateOrUpdateKongregate: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateKongregate", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateOrUpdateNintendo: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateNintendo", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateOrUpdatePSN: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdatePSN", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateOrUpdateSteam: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateSteam", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateOrUpdateToxMod: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateToxMod", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ CreateOrUpdateTwitch: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/CreateOrUpdateTwitch", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteApple: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeleteApple", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteFacebook: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeleteFacebook", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteFacebookInstantGames: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeleteFacebookInstantGames", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteGoogle: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeleteGoogle", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteKongregate: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeleteKongregate", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteNintendo: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeleteNintendo", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeletePSN: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeletePSN", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteSteam: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeleteSteam", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteToxMod: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeleteToxMod", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteTwitch: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/DeleteTwitch", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetApple: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetApple", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetFacebook: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetFacebook", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetFacebookInstantGames: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetFacebookInstantGames", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetGoogle: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetGoogle", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetKongregate: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetKongregate", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetNintendo: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetNintendo", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetPSN: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetPSN", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetSteam: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetSteam", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetToxMod: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetToxMod", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetTwitch: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Addon/GetTwitch", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+};
+
+var PlayFabAddonSDK = PlayFab.AddonApi;
+
diff --git a/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js b/PlayFabSdk/src/PlayFab/PlayFabAdminApi.js
index 34735fc4..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.137.230220",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.137.230220"
+ 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_118";
-PlayFab.sdkVersion = "1.137.230220";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -309,6 +309,10 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteMasterPlayerAccount", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ DeleteMasterPlayerEventData: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteMasterPlayerEventData", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
DeleteMembershipSubscription: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeleteMembershipSubscription", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -321,6 +325,10 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeletePlayer", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ DeletePlayerCustomProperties: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeletePlayerCustomProperties", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
DeletePlayerSharedSecret: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/DeletePlayerSharedSecret", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -389,18 +397,14 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetDataReport", request, "X-SecretKey", callback, customData, extraHeaders);
},
- GetMatchmakerGameInfo: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetMatchmakerGameInfo", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
- GetMatchmakerGameModes: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetMatchmakerGameModes", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
GetPlayedTitleList: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayedTitleList", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ GetPlayerCustomProperty: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerCustomProperty", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
GetPlayerIdFromAuthToken: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerIdFromAuthToken", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -417,10 +421,6 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/GetPlayerSharedSecrets", request, "X-SecretKey", callback, customData, extraHeaders);
},
- 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);
},
@@ -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);
},
@@ -525,12 +529,12 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders);
},
- ListVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders);
+ ListPlayerCustomProperties: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListPlayerCustomProperties", request, "X-SecretKey", callback, customData, extraHeaders);
},
- ModifyServerBuild: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ModifyServerBuild", request, "X-SecretKey", callback, customData, extraHeaders);
+ ListVirtualCurrencyTypes: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/ListVirtualCurrencyTypes", request, "X-SecretKey", callback, customData, extraHeaders);
},
RefundPurchase: function (request, callback, customData, extraHeaders) {
@@ -645,6 +649,10 @@ PlayFab.AdminApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdateOpenIdConnection", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ UpdatePlayerCustomProperties: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdatePlayerCustomProperties", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
UpdatePlayerSharedSecret: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Admin/UpdatePlayerSharedSecret", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -701,6 +709,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 ed300c52..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.137.230220",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.137.230220"
+ 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_118";
-PlayFab.sdkVersion = "1.137.230220";
+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 83ce1509..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.137.230220",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.137.230220"
+ 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_118";
-PlayFab.sdkVersion = "1.137.230220";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -313,6 +313,10 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/CreateSharedGroup", request, "X-Authorization", callback, customData, extraHeaders);
},
+ DeletePlayerCustomProperties: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/DeletePlayerCustomProperties", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
ExecuteCloudScript: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ExecuteCloudScript", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -357,10 +361,6 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetContentDownloadUrl", request, "X-Authorization", callback, customData, extraHeaders);
},
- GetCurrentGames: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetCurrentGames", request, "X-Authorization", callback, customData, extraHeaders);
- },
-
GetFriendLeaderboard: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetFriendLeaderboard", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -373,10 +373,6 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetFriendsList", request, "X-Authorization", callback, customData, extraHeaders);
},
- GetGameServerRegions: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetGameServerRegions", request, "X-Authorization", callback, customData, extraHeaders);
- },
-
GetLeaderboard: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetLeaderboard", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -405,6 +401,10 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerCombinedInfo", request, "X-Authorization", callback, customData, extraHeaders);
},
+ GetPlayerCustomProperty: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerCustomProperty", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
GetPlayerProfile: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerProfile", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -429,6 +429,10 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayerTrades", request, "X-Authorization", callback, customData, extraHeaders);
},
+ GetPlayFabIDsFromBattleNetAccountIds: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromBattleNetAccountIds", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
GetPlayFabIDsFromFacebookIDs: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromFacebookIDs", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -465,14 +469,26 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-Authorization", callback, customData, extraHeaders);
},
+ GetPlayFabIDsFromOpenIdSubjectIdentifiers: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromOpenIdSubjectIdentifiers", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
GetPlayFabIDsFromPSNAccountIDs: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromPSNAccountIDs", request, "X-Authorization", callback, customData, extraHeaders);
},
+ GetPlayFabIDsFromPSNOnlineIDs: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromPSNOnlineIDs", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
GetPlayFabIDsFromSteamIDs: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromSteamIDs", request, "X-Authorization", callback, customData, extraHeaders);
},
+ GetPlayFabIDsFromSteamNames: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromSteamNames", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
GetPlayFabIDsFromTwitchIDs: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/GetPlayFabIDsFromTwitchIDs", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -549,6 +565,10 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkApple", request, "X-Authorization", callback, customData, extraHeaders);
},
+ LinkBattleNetAccount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkBattleNetAccount", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
LinkCustomID: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkCustomID", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -609,6 +629,10 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LinkXboxAccount", request, "X-Authorization", callback, customData, extraHeaders);
},
+ ListPlayerCustomProperties: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/ListPlayerCustomProperties", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
LoginWithAndroidDeviceID: function (request, callback, customData, extraHeaders) {
request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
// PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
@@ -657,6 +681,30 @@ PlayFab.ClientApi = {
return new Promise(function(resolve){resolve(authenticationContext);});
},
+ LoginWithBattleNet: function (request, callback, customData, extraHeaders) {
+ request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
+ // PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
+ // Deep-copy the authenticationContext here to safely update it
+ var authenticationContext = JSON.parse(JSON.stringify(PlayFab._internalSettings.authenticationContext));
+ var overloadCallback = function (result, error) {
+ if (result != null) {
+ if(result.data.SessionTicket != null) {
+ PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
+ }
+ if (result.data.EntityToken != null) {
+ PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
+ }
+ // Apply the updates for the AuthenticationContext returned to the client
+ authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
+ }
+ if (callback != null && typeof (callback) === "function")
+ callback(result, error);
+ };
+ PlayFab._internalSettings.ExecuteRequestWrapper("/Client/LoginWithBattleNet", request, null, overloadCallback, customData, extraHeaders);
+ // Return a Promise so that multiple asynchronous calls to this method can be handled simultaneously with Promise.all()
+ return new Promise(function(resolve){resolve(authenticationContext);});
+ },
+
LoginWithCustomID: function (request, callback, customData, extraHeaders) {
request.TitleId = PlayFab.settings.titleId ? PlayFab.settings.titleId : request.TitleId; if (!request.TitleId) throw PlayFab._internalSettings.errorTitleId;
// PlayFab._internalSettings.authenticationContext can be modified by other asynchronous login attempts
@@ -1065,10 +1113,6 @@ PlayFab.ClientApi = {
return new Promise(function(resolve){resolve(authenticationContext);});
},
- Matchmake: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/Matchmake", request, "X-Authorization", callback, customData, extraHeaders);
- },
-
OpenTrade: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/OpenTrade", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -1099,8 +1143,15 @@ PlayFab.ClientApi = {
// Deep-copy the authenticationContext here to safely update it
var authenticationContext = JSON.parse(JSON.stringify(PlayFab._internalSettings.authenticationContext));
var overloadCallback = function (result, error) {
- if (result != null && result.data.SessionTicket != null) {
- PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
+ if (result != null) {
+ if(result.data.SessionTicket != null) {
+ PlayFab._internalSettings.sessionTicket = result.data.SessionTicket;
+ }
+ if (result.data.EntityToken != null) {
+ PlayFab._internalSettings.entityToken = result.data.EntityToken.EntityToken;
+ }
+ // Apply the updates for the AuthenticationContext returned to the client
+ authenticationContext = PlayFab._internalSettings.UpdateAuthenticationContext(authenticationContext, result);
}
if (callback != null && typeof (callback) === "function")
callback(result, error);
@@ -1172,6 +1223,10 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkApple", request, "X-Authorization", callback, customData, extraHeaders);
},
+ UnlinkBattleNetAccount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkBattleNetAccount", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
UnlinkCustomID: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UnlinkCustomID", request, "X-Authorization", callback, customData, extraHeaders);
},
@@ -1252,6 +1307,10 @@ PlayFab.ClientApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdateCharacterStatistics", request, "X-Authorization", callback, customData, extraHeaders);
},
+ UpdatePlayerCustomProperties: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdatePlayerCustomProperties", request, "X-Authorization", callback, customData, extraHeaders);
+ },
+
UpdatePlayerStatistics: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Client/UpdatePlayerStatistics", request, "X-Authorization", callback, customData, extraHeaders);
},
diff --git a/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js b/PlayFabSdk/src/PlayFab/PlayFabCloudScriptApi.js
index af3b754a..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.137.230220",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.137.230220"
+ 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_118";
-PlayFab.sdkVersion = "1.137.230220";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -253,6 +253,10 @@ PlayFab.CloudScriptApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/GetFunction", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ ListEventHubFunctions: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ListEventHubFunctions", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
ListFunctions: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/ListFunctions", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -281,6 +285,10 @@ PlayFab.CloudScriptApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/PostFunctionResultForScheduledTask", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ RegisterEventHubFunction: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/RegisterEventHubFunction", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
RegisterHttpFunction: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/CloudScript/RegisterHttpFunction", request, "X-EntityToken", callback, customData, extraHeaders);
},
diff --git a/PlayFabSdk/src/PlayFab/PlayFabDataApi.js b/PlayFabSdk/src/PlayFab/PlayFabDataApi.js
index 44d9841f..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.137.230220",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.137.230220"
+ 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_118";
-PlayFab.sdkVersion = "1.137.230220";
+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 fc2cedf9..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.137.230220",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.137.230220"
+ 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_118";
-PlayFab.sdkVersion = "1.137.230220";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -273,6 +273,10 @@ PlayFab.EconomyApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/ExecuteInventoryOperations", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ ExecuteTransferOperations: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/ExecuteTransferOperations", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
GetCatalogConfig: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetCatalogConfig", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -301,6 +305,10 @@ PlayFab.EconomyApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ GetInventoryOperationStatus: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetInventoryOperationStatus", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
GetItem: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItem", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -329,10 +337,6 @@ PlayFab.EconomyApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Catalog/GetItems", request, "X-EntityToken", callback, customData, extraHeaders);
},
- GetMicrosoftStoreAccessTokens: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetMicrosoftStoreAccessTokens", request, "X-EntityToken", callback, customData, extraHeaders);
- },
-
GetTransactionHistory: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/GetTransactionHistory", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -349,6 +353,10 @@ PlayFab.EconomyApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemAppleAppStoreInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ RedeemAppleAppStoreWithJwsInventoryItems: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemAppleAppStoreWithJwsInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
RedeemGooglePlayInventoryItems: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Inventory/RedeemGooglePlayInventoryItems", request, "X-EntityToken", callback, customData, extraHeaders);
},
diff --git a/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js b/PlayFabSdk/src/PlayFab/PlayFabEventsApi.js
index 4855b6b4..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.137.230220",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.137.230220"
+ 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_118";
-PlayFab.sdkVersion = "1.137.230220";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -241,6 +241,46 @@ PlayFab.EventsApi = {
PlayFab._internalSettings.entityToken = null;
},
+ CreateTelemetryKey: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/CreateTelemetryKey", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteDataConnection: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/DeleteDataConnection", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteTelemetryKey: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/DeleteTelemetryKey", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetDataConnection: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/GetDataConnection", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetTelemetryKey: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/GetTelemetryKey", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ ListDataConnections: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/ListDataConnections", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ ListTelemetryKeys: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/ListTelemetryKeys", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ SetDataConnection: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/SetDataConnection", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ SetDataConnectionActive: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/SetDataConnectionActive", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ SetTelemetryKeyActive: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/SetTelemetryKeyActive", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
WriteEvents: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Event/WriteEvents", request, "X-EntityToken", callback, customData, extraHeaders);
},
diff --git a/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js b/PlayFabSdk/src/PlayFab/PlayFabExperimentationApi.js
index c5a54bd4..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.137.230220",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.137.230220"
+ 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_118";
-PlayFab.sdkVersion = "1.137.230220";
+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 9327f30a..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.137.230220",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.137.230220"
+ 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_118";
-PlayFab.sdkVersion = "1.137.230220";
+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 d7f1560a..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.137.230220",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.137.230220"
+ 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_118";
-PlayFab.sdkVersion = "1.137.230220";
+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 c7d416fc..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.137.230220",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.137.230220"
+ 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_118";
-PlayFab.sdkVersion = "1.137.230220";
+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 4dcbae84..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.137.230220",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.137.230220"
+ 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_118";
-PlayFab.sdkVersion = "1.137.230220";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -329,6 +329,10 @@ PlayFab.MultiplayerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteRemoteUser", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ DeleteSecret: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/DeleteSecret", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
EnableMultiplayerServersForTitle: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/EnableMultiplayerServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -425,6 +429,10 @@ PlayFab.MultiplayerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/JoinLobby", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ JoinLobbyAsServer: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/JoinLobbyAsServer", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
JoinMatchmakingTicket: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/JoinMatchmakingTicket", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -433,6 +441,10 @@ PlayFab.MultiplayerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/LeaveLobby", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ LeaveLobbyAsServer: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/LeaveLobbyAsServer", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
ListArchivedMultiplayerServers: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListArchivedMultiplayerServers", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -481,6 +493,10 @@ PlayFab.MultiplayerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListQosServersForTitle", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ ListSecretSummaries: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/ListSecretSummaries", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
ListServerBackfillTicketsForPlayer: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Match/ListServerBackfillTicketsForPlayer", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -505,6 +521,10 @@ PlayFab.MultiplayerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RequestMultiplayerServer", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ RequestPartyService: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Party/RequestPartyService", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
RolloverContainerRegistryCredentials: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/RolloverContainerRegistryCredentials", request, "X-EntityToken", callback, customData, extraHeaders);
},
@@ -557,10 +577,18 @@ PlayFab.MultiplayerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/UpdateLobby", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ UpdateLobbyAsServer: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Lobby/UpdateLobbyAsServer", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
UploadCertificate: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UploadCertificate", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ UploadSecret: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/MultiplayerServer/UploadSecret", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
};
var PlayFabMultiplayerSDK = PlayFab.MultiplayerApi;
diff --git a/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js b/PlayFabSdk/src/PlayFab/PlayFabProfilesApi.js
index f59bd64a..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.137.230220",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.137.230220"
+ 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_118";
-PlayFab.sdkVersion = "1.137.230220";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -257,6 +257,14 @@ PlayFab.ProfilesApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/GetTitlePlayersFromMasterPlayerAccountIds", request, "X-EntityToken", callback, customData, extraHeaders);
},
+ GetTitlePlayersFromXboxLiveIDs: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/GetTitlePlayersFromXboxLiveIDs", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ SetDisplayName: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/SetDisplayName", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
SetGlobalPolicy: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Profile/SetGlobalPolicy", request, "X-EntityToken", callback, customData, extraHeaders);
},
diff --git a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js
similarity index 63%
rename from PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js
rename to PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js
index 626da0bf..18a54ef9 100644
--- a/PlayFabSdk/src/PlayFab/PlayFabMatchmakerApi.js
+++ b/PlayFabSdk/src/PlayFab/PlayFabProgressionApi.js
@@ -1,4 +1,4 @@
-///
+///
var PlayFab = typeof PlayFab != "undefined" ? PlayFab : {};
@@ -14,9 +14,9 @@ if(!PlayFab.settings) {
if(!PlayFab._internalSettings) {
PlayFab._internalSettings = {
entityToken: null,
- sdkVersion: "1.137.230220",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.137.230220"
+ 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_118";
-PlayFab.sdkVersion = "1.137.230220";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -235,29 +235,109 @@ PlayFab.GenerateErrorReport = function (error) {
return fullErrors;
};
-PlayFab.MatchmakerApi = {
+PlayFab.ProgressionApi = {
ForgetAllCredentials: function () {
PlayFab._internalSettings.sessionTicket = null;
PlayFab._internalSettings.entityToken = null;
},
- AuthUser: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/AuthUser", request, "X-SecretKey", callback, customData, extraHeaders);
+ CreateLeaderboardDefinition: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/CreateLeaderboardDefinition", request, "X-EntityToken", callback, customData, extraHeaders);
},
- PlayerJoined: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerJoined", request, "X-SecretKey", callback, customData, extraHeaders);
+ CreateStatisticDefinition: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/CreateStatisticDefinition", request, "X-EntityToken", callback, customData, extraHeaders);
},
- PlayerLeft: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/PlayerLeft", request, "X-SecretKey", callback, customData, extraHeaders);
+ DeleteLeaderboardDefinition: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/DeleteLeaderboardDefinition", request, "X-EntityToken", callback, customData, extraHeaders);
},
- UserInfo: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Matchmaker/UserInfo", request, "X-SecretKey", callback, customData, extraHeaders);
+ DeleteLeaderboardEntries: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/DeleteLeaderboardEntries", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteStatisticDefinition: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/DeleteStatisticDefinition", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ DeleteStatistics: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/DeleteStatistics", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetFriendLeaderboardForEntity: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/GetFriendLeaderboardForEntity", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetLeaderboard: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/GetLeaderboard", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetLeaderboardAroundEntity: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/GetLeaderboardAroundEntity", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetLeaderboardDefinition: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/GetLeaderboardDefinition", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetLeaderboardForEntities: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/GetLeaderboardForEntities", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetStatisticDefinition: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/GetStatisticDefinition", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetStatistics: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/GetStatistics", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ GetStatisticsForEntities: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/GetStatisticsForEntities", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ IncrementLeaderboardVersion: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/IncrementLeaderboardVersion", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ IncrementStatisticVersion: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/IncrementStatisticVersion", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ ListLeaderboardDefinitions: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/ListLeaderboardDefinitions", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ ListStatisticDefinitions: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/ListStatisticDefinitions", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ UnlinkAggregationSourceFromStatistic: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/UnlinkAggregationSourceFromStatistic", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ UnlinkLeaderboardFromStatistic: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/UnlinkLeaderboardFromStatistic", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ UpdateLeaderboardDefinition: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/UpdateLeaderboardDefinition", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ UpdateLeaderboardEntries: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Leaderboard/UpdateLeaderboardEntries", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ UpdateStatisticDefinition: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/UpdateStatisticDefinition", request, "X-EntityToken", callback, customData, extraHeaders);
+ },
+
+ UpdateStatistics: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Statistic/UpdateStatistics", request, "X-EntityToken", callback, customData, extraHeaders);
},
};
-var PlayFabMatchmakerSDK = PlayFab.MatchmakerApi;
+var PlayFabProgressionSDK = PlayFab.ProgressionApi;
diff --git a/PlayFabSdk/src/PlayFab/PlayFabServerApi.js b/PlayFabSdk/src/PlayFab/PlayFabServerApi.js
index f398ff21..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.137.230220",
+ sdkVersion: "1.217.260605",
requestGetParams: {
- sdk: "JavaScriptSDK-1.137.230220"
+ 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_118";
-PlayFab.sdkVersion = "1.137.230220";
+PlayFab.buildIdentifier = "adobuild_javascriptsdk_114";
+PlayFab.sdkVersion = "1.217.260605";
PlayFab.GenerateErrorReport = function (error) {
if (error == null)
return "";
@@ -253,6 +253,10 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddGenericID", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ AddOrUpdateContactEmail: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddOrUpdateContactEmail", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
AddPlayerTag: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/AddPlayerTag", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -293,6 +297,10 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeletePlayer", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ DeletePlayerCustomProperties: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeletePlayerCustomProperties", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
DeletePushNotificationTemplate: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeletePushNotificationTemplate", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -301,10 +309,6 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeleteSharedGroup", request, "X-SecretKey", callback, customData, extraHeaders);
},
- DeregisterGame: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/DeregisterGame", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
EvaluateRandomResultTable: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/EvaluateRandomResultTable", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -313,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);
},
@@ -381,6 +389,10 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerCombinedInfo", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ GetPlayerCustomProperty: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerCustomProperty", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
GetPlayerProfile: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerProfile", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -389,10 +401,6 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerSegments", request, "X-SecretKey", callback, customData, extraHeaders);
},
- 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);
},
@@ -405,6 +413,10 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayerTags", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ GetPlayFabIDsFromBattleNetAccountIds: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromBattleNetAccountIds", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
GetPlayFabIDsFromFacebookIDs: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromFacebookIDs", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -425,14 +437,30 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromNintendoSwitchDeviceIds", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ GetPlayFabIDsFromOpenIdSubjectIdentifiers: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromOpenIdSubjectIdentifiers", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
GetPlayFabIDsFromPSNAccountIDs: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromPSNAccountIDs", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ GetPlayFabIDsFromPSNOnlineIDs: function (request, callback, customData, extraHeaders) {
+ 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);
},
+ GetPlayFabIDsFromSteamNames: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromSteamNames", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
GetPlayFabIDsFromTwitchIDs: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GetPlayFabIDsFromTwitchIDs", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -449,6 +477,14 @@ 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);
+ },
+
+ 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);
},
@@ -529,10 +565,18 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/GrantItemsToUsers", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ LinkBattleNetAccount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkBattleNetAccount", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
LinkNintendoServiceAccount: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkNintendoServiceAccount", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ LinkNintendoServiceAccountSubject: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkNintendoServiceAccountSubject", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
LinkNintendoSwitchDeviceId: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkNintendoSwitchDeviceId", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -541,14 +585,54 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkPSNAccount", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ LinkPSNId: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkPSNId", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
LinkServerCustomId: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ LinkSteamId: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkSteamId", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ LinkTwitchAccount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkTwitchAccount", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
LinkXboxAccount: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkXboxAccount", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ LinkXboxId: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LinkXboxId", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ ListPlayerCustomProperties: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/ListPlayerCustomProperties", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ LoginWithAndroidDeviceID: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithAndroidDeviceID", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ LoginWithBattleNet: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithBattleNet", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ LoginWithCustomID: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithCustomID", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ LoginWithIOSDeviceID: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithIOSDeviceID", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ LoginWithPSN: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithPSN", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
LoginWithServerCustomId: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -557,6 +641,10 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithSteamId", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ LoginWithTwitch: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithTwitch", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
LoginWithXbox: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/LoginWithXbox", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -581,26 +669,10 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/MoveItemToUserFromCharacter", request, "X-SecretKey", callback, customData, extraHeaders);
},
- NotifyMatchmakerPlayerLeft: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/NotifyMatchmakerPlayerLeft", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
RedeemCoupon: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RedeemCoupon", request, "X-SecretKey", callback, customData, extraHeaders);
},
- RedeemMatchmakerTicket: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RedeemMatchmakerTicket", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
- RefreshGameServerInstanceHeartbeat: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RefreshGameServerInstanceHeartbeat", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
- RegisterGame: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RegisterGame", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
RemoveFriend: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/RemoveFriend", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -661,18 +733,6 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetFriendTags", request, "X-SecretKey", callback, customData, extraHeaders);
},
- SetGameServerInstanceData: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceData", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
- SetGameServerInstanceState: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceState", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
- SetGameServerInstanceTags: function (request, callback, customData, extraHeaders) {
- return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetGameServerInstanceTags", request, "X-SecretKey", callback, customData, extraHeaders);
- },
-
SetPlayerSecret: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/SetPlayerSecret", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -697,6 +757,26 @@ 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);
+ },
+
+ UnlinkFacebookAccount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkFacebookAccount", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ UnlinkFacebookInstantGamesId: function (request, callback, customData, extraHeaders) {
+ 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);
},
@@ -713,6 +793,14 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkServerCustomId", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ UnlinkSteamId: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkSteamId", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
+ UnlinkTwitchAccount: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkTwitchAccount", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
UnlinkXboxAccount: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UnlinkXboxAccount", request, "X-SecretKey", callback, customData, extraHeaders);
},
@@ -749,6 +837,10 @@ PlayFab.ServerApi = {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdateCharacterStatistics", request, "X-SecretKey", callback, customData, extraHeaders);
},
+ UpdatePlayerCustomProperties: function (request, callback, customData, extraHeaders) {
+ return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdatePlayerCustomProperties", request, "X-SecretKey", callback, customData, extraHeaders);
+ },
+
UpdatePlayerStatistics: function (request, callback, customData, extraHeaders) {
return PlayFab._internalSettings.ExecuteRequestWrapper("/Server/UpdatePlayerStatistics", request, "X-SecretKey", callback, customData, extraHeaders);
},
diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts
new file mode 100644
index 00000000..0abfa783
--- /dev/null
+++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAddonApi.d.ts
@@ -0,0 +1,739 @@
+///
+
+declare module PlayFabAddonModule {
+ export interface IPlayFabAddon {
+ ForgetAllCredentials(): void;
+
+ /**
+ * Creates the Apple addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdateapple
+ */
+ CreateOrUpdateApple(request: PlayFabAddonModels.CreateOrUpdateAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Creates the Facebook addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatefacebook
+ */
+ CreateOrUpdateFacebook(request: PlayFabAddonModels.CreateOrUpdateFacebookRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Creates the Facebook Instant Games addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatefacebookinstantgames
+ */
+ CreateOrUpdateFacebookInstantGames(request: PlayFabAddonModels.CreateOrUpdateFacebookInstantGamesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Creates the Google addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdategoogle
+ */
+ CreateOrUpdateGoogle(request: PlayFabAddonModels.CreateOrUpdateGoogleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Creates the Kongregate addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatekongregate
+ */
+ CreateOrUpdateKongregate(request: PlayFabAddonModels.CreateOrUpdateKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Creates the Nintendo addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatenintendo
+ */
+ CreateOrUpdateNintendo(request: PlayFabAddonModels.CreateOrUpdateNintendoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Creates the PSN addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatepsn
+ */
+ CreateOrUpdatePSN(request: PlayFabAddonModels.CreateOrUpdatePSNRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Creates the Steam addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatesteam
+ */
+ CreateOrUpdateSteam(request: PlayFabAddonModels.CreateOrUpdateSteamRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Creates the ToxMod addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatetoxmod
+ */
+ CreateOrUpdateToxMod(request: PlayFabAddonModels.CreateOrUpdateToxModRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Creates the Twitch addon on a title, or updates it if it already exists.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/createorupdatetwitch
+ */
+ CreateOrUpdateTwitch(request: PlayFabAddonModels.CreateOrUpdateTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the Apple addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deleteapple
+ */
+ DeleteApple(request: PlayFabAddonModels.DeleteAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the Facebook addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletefacebook
+ */
+ DeleteFacebook(request: PlayFabAddonModels.DeleteFacebookRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the Facebook addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletefacebookinstantgames
+ */
+ DeleteFacebookInstantGames(request: PlayFabAddonModels.DeleteFacebookInstantGamesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the Google addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletegoogle
+ */
+ DeleteGoogle(request: PlayFabAddonModels.DeleteGoogleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the Kongregate addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletekongregate
+ */
+ DeleteKongregate(request: PlayFabAddonModels.DeleteKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the Nintendo addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletenintendo
+ */
+ DeleteNintendo(request: PlayFabAddonModels.DeleteNintendoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the PSN addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletepsn
+ */
+ DeletePSN(request: PlayFabAddonModels.DeletePSNRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the Steam addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletesteam
+ */
+ DeleteSteam(request: PlayFabAddonModels.DeleteSteamRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the ToxMod addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletetoxmod
+ */
+ DeleteToxMod(request: PlayFabAddonModels.DeleteToxModRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes the Twitch addon on a title.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/deletetwitch
+ */
+ DeleteTwitch(request: PlayFabAddonModels.DeleteTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the Apple addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getapple
+ */
+ GetApple(request: PlayFabAddonModels.GetAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the Facebook addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getfacebook
+ */
+ GetFacebook(request: PlayFabAddonModels.GetFacebookRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the Facebook Instant Games addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getfacebookinstantgames
+ */
+ GetFacebookInstantGames(request: PlayFabAddonModels.GetFacebookInstantGamesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the Google addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getgoogle
+ */
+ GetGoogle(request: PlayFabAddonModels.GetGoogleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the Kongregate addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getkongregate
+ */
+ GetKongregate(request: PlayFabAddonModels.GetKongregateRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the Nintendo addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getnintendo
+ */
+ GetNintendo(request: PlayFabAddonModels.GetNintendoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the PSN addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getpsn
+ */
+ GetPSN(request: PlayFabAddonModels.GetPSNRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the Steam addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/getsteam
+ */
+ GetSteam(request: PlayFabAddonModels.GetSteamRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the ToxMod addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/gettoxmod
+ */
+ GetToxMod(request: PlayFabAddonModels.GetToxModRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Gets information of the Twitch addon on a title, omits secrets.
+ * https://docs.microsoft.com/rest/api/playfab/addon/addon/gettwitch
+ */
+ GetTwitch(request: PlayFabAddonModels.GetTwitchRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+
+ }
+}
+
+declare module PlayFabAddonModels {
+ export interface CreateOrUpdateAppleRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Allow validation of receipts from the Apple production environment. Required for app releases. */
+ AllowProduction?: boolean;
+ /** Allow validation of receipts from the Apple sandbox environment. Typically used while testing. */
+ AllowSandbox?: boolean;
+ /** iOS App Bundle ID obtained after setting up your app in the App Store. */
+ AppBundleId: string;
+ /** AppId obtained after setting up your app in the App Store. */
+ AppId?: string;
+ /** iOS App Shared Secret obtained after setting up your app in the App Store. */
+ AppSharedSecret?: string;
+ /** 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;
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+ /**
+ * Ignore expiration date for identity tokens. Be aware that when set to true this can invalidate expired tokens in the
+ * case where Apple rotates their signing keys.
+ */
+ IgnoreExpirationDate?: boolean;
+ /** IssuerId obtained after setting up your app in the App Store. */
+ IssuerId?: string;
+ /** KeyId obtained after setting up your app in the App Store. */
+ KeyId?: string;
+ /** PrivateKey obtained after setting up your app in the App Store. */
+ PrivateKey?: string;
+ /** Require secure authentication only for this app. */
+ RequireSecureAuthentication?: boolean;
+
+ }
+
+ export interface CreateOrUpdateAppleResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface CreateOrUpdateFacebookInstantGamesRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Facebook App ID obtained after setting up your app in Facebook Instant Games. */
+ AppID: string;
+ /** Facebook App Secret obtained after setting up your app in Facebook Instant Games. */
+ AppSecret: string;
+ /** 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;
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+
+ }
+
+ export interface CreateOrUpdateFacebookInstantGamesResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface CreateOrUpdateFacebookRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Facebook App ID obtained after setting up your app in Facebook. */
+ AppID: string;
+ /** Facebook App Secret obtained after setting up your app in Facebook. */
+ AppSecret: string;
+ /** 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;
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+ /** Email address for purchase dispute notifications. */
+ NotificationEmail: string;
+
+ }
+
+ export interface CreateOrUpdateFacebookResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface CreateOrUpdateGoogleRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /**
+ * Google App License Key obtained after setting up your app in the Google Play developer portal. Required if using Google
+ * receipt validation.
+ */
+ AppLicenseKey?: string;
+ /**
+ * Google App Package ID obtained after setting up your app in the Google Play developer portal. Required if using Google
+ * receipt validation.
+ */
+ AppPackageID?: string;
+ /** 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;
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+ /**
+ * Google OAuth Client ID obtained through the Google Developer Console by creating a new set of "OAuth Client ID".
+ * Required if using Google Authentication.
+ */
+ OAuthClientID?: string;
+ /**
+ * Google OAuth Client Secret obtained through the Google Developer Console by creating a new set of "OAuth Client ID".
+ * Required if using Google Authentication.
+ */
+ OAuthClientSecret?: string;
+ /**
+ * Authorized Redirect Uri obtained through the Google Developer Console. This currently defaults to
+ * https://oauth.playfab.com/oauth2/google. If you are authenticating players via browser, please update this to your own
+ * domain.
+ */
+ OAuthCustomRedirectUri?: string;
+ /** Needed to enable pending purchase handling and subscription processing. */
+ ServiceAccountKey?: string;
+
+ }
+
+ export interface CreateOrUpdateGoogleResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface CreateOrUpdateKongregateRequest 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;
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+ /** Kongregate Secret API Key obtained after setting up your game in your Kongregate developer account. */
+ SecretAPIKey: string;
+
+ }
+
+ export interface CreateOrUpdateKongregateResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface CreateOrUpdateNintendoRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Nintendo Switch Application ID, without the "0x" prefix. */
+ ApplicationID?: string;
+ /** 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;
+ /** List of Nintendo Environments, currently supporting up to 4. Needs Catalog enabled. */
+ 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[];
+
+ }
+
+ export interface CreateOrUpdateNintendoResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface CreateOrUpdatePSNRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Client ID obtained after setting up your game with Sony. This one is associated with the existing PS4 marketplace. */
+ ClientID?: string;
+ /** Client secret obtained after setting up your game with Sony. This one is associated with the existing PS4 marketplace. */
+ ClientSecret?: string;
+ /** 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;
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+ /**
+ * Client ID obtained after setting up your game with Sony. This one is associated with the modern marketplace, which
+ * includes PS5, cross-generation for PS4, and unified entitlements.
+ */
+ NextGenClientID?: string;
+ /**
+ * Client secret obtained after setting up your game with Sony. This one is associated with the modern marketplace, which
+ * includes PS5, cross-generation for PS4, and unified entitlements.
+ */
+ NextGenClientSecret?: string;
+
+ }
+
+ export interface CreateOrUpdatePSNResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface CreateOrUpdateSteamRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Application ID obtained after setting up your app in Valve's developer portal. */
+ ApplicationId: string;
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** Enforce usage of AzurePlayFab identity in user authentication tickets. */
+ EnforceServiceSpecificTickets?: boolean;
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+ /** Sercet Key obtained after setting up your app in Valve's developer portal. */
+ SecretKey: string;
+ /** Use Steam Payments sandbox endpoint for test transactions. */
+ UseSandbox?: boolean;
+
+ }
+
+ export interface CreateOrUpdateSteamResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface CreateOrUpdateToxModRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Account ID obtained after creating your ToxMod developer account. */
+ AccountId: string;
+ /** Account Key obtained after creating your ToxMod developer account. */
+ AccountKey: string;
+ /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
+ CustomTags?: { [key: string]: string | null };
+ /** Whether ToxMod Addon is Enabled by Title. */
+ Enabled: boolean;
+ /** The optional entity to perform this action on. Defaults to the currently logged in entity. */
+ Entity?: EntityKey;
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+
+ }
+
+ export interface CreateOrUpdateToxModResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface CreateOrUpdateTwitchRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Client ID obtained after creating your Twitch developer account. */
+ ClientID?: string;
+ /** Client Secret obtained after creating your Twitch developer account. */
+ ClientSecret?: string;
+ /** 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;
+ /** If an error should be returned if the addon already exists. */
+ ErrorIfExists?: boolean;
+
+ }
+
+ export interface CreateOrUpdateTwitchResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeleteAppleRequest 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;
+
+ }
+
+ export interface DeleteAppleResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeleteFacebookInstantGamesRequest 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;
+
+ }
+
+ export interface DeleteFacebookInstantGamesResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeleteFacebookRequest 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;
+
+ }
+
+ export interface DeleteFacebookResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeleteGoogleRequest 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;
+
+ }
+
+ export interface DeleteGoogleResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeleteKongregateRequest 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;
+
+ }
+
+ export interface DeleteKongregateResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeleteNintendoRequest 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;
+
+ }
+
+ export interface DeleteNintendoResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeletePSNRequest 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;
+
+ }
+
+ export interface DeletePSNResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeleteSteamRequest 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;
+
+ }
+
+ export interface DeleteSteamResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeleteToxModRequest 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;
+
+ }
+
+ export interface DeleteToxModResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface DeleteTwitchRequest 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;
+
+ }
+
+ export interface DeleteTwitchResponse extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
+ export interface EntityKey {
+ /** Unique ID of the entity. */
+ Id: string;
+ /** Entity type. See https://docs.microsoft.com/gaming/playfab/features/data/entities/available-built-in-entity-types */
+ Type?: string;
+
+ }
+
+ export interface GetAppleRequest 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;
+
+ }
+
+ export interface GetAppleResponse extends PlayFabModule.IPlayFabResultCommon {
+ /** iOS App Bundle ID obtained after setting up your app in the App Store. */
+ AppBundleId?: string;
+ /** Addon status. */
+ Created: boolean;
+ /** Ignore expiration date for identity tokens. */
+ IgnoreExpirationDate?: boolean;
+ /** Require secure authentication only for this app. */
+ RequireSecureAuthentication?: boolean;
+
+ }
+
+ export interface GetFacebookInstantGamesRequest 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;
+
+ }
+
+ export interface GetFacebookInstantGamesResponse extends PlayFabModule.IPlayFabResultCommon {
+ /** Facebook App ID obtained after setting up your app in Facebook Instant Games. */
+ AppID?: string;
+ /** Addon status. */
+ Created: boolean;
+
+ }
+
+ export interface GetFacebookRequest 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;
+
+ }
+
+ export interface GetFacebookResponse extends PlayFabModule.IPlayFabResultCommon {
+ /** Facebook App ID obtained after setting up your app in Facebook. */
+ AppID?: string;
+ /** Addon status. */
+ Created: boolean;
+ /** Email address for purchase dispute notifications. */
+ NotificationEmail?: string;
+
+ }
+
+ export interface GetGoogleRequest 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;
+
+ }
+
+ export interface GetGoogleResponse extends PlayFabModule.IPlayFabResultCommon {
+ /**
+ * Google App Package ID obtained after setting up your app in the Google Play developer portal. Required if using Google
+ * receipt validation.
+ */
+ AppPackageID?: string;
+ /** Addon status. */
+ Created: boolean;
+ /**
+ * Google OAuth Client ID obtained through the Google Developer Console by creating a new set of "OAuth Client ID".
+ * Required if using Google Authentication.
+ */
+ OAuthClientID?: string;
+ /**
+ * Authorized Redirect Uri obtained through the Google Developer Console. This currently defaults to
+ * https://oauth.playfab.com/oauth2/google. If you are authenticating players via browser, please update this to your own
+ * domain.
+ */
+ OauthCustomRedirectUri?: string;
+
+ }
+
+ export interface GetKongregateRequest 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;
+
+ }
+
+ export interface GetKongregateResponse extends PlayFabModule.IPlayFabResultCommon {
+ /** Addon status. */
+ Created: boolean;
+
+ }
+
+ export interface GetNintendoRequest 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;
+
+ }
+
+ export interface GetNintendoResponse extends PlayFabModule.IPlayFabResultCommon {
+ /** Nintendo Switch Application ID, without the "0x" prefix. */
+ ApplicationID?: string;
+ /** Addon status. */
+ 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[];
+
+ }
+
+ export interface GetPSNRequest 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;
+
+ }
+
+ export interface GetPSNResponse extends PlayFabModule.IPlayFabResultCommon {
+ /** Client ID obtained after setting up your game with Sony. This one is associated with the existing PS4 marketplace. */
+ ClientID?: string;
+ /** Addon status. */
+ Created: boolean;
+ /**
+ * Client ID obtained after setting up your game with Sony. This one is associated with the modern marketplace, which
+ * includes PS5, cross-generation for PS4, and unified entitlements.
+ */
+ NextGenClientID?: string;
+
+ }
+
+ export interface GetSteamRequest 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;
+
+ }
+
+ export interface GetSteamResponse extends PlayFabModule.IPlayFabResultCommon {
+ /** Application ID obtained after setting up your game in Valve's developer portal. */
+ ApplicationId?: string;
+ /** Addon status. */
+ Created: boolean;
+ /** Enforce usage of AzurePlayFab identity in user authentication tickets. */
+ EnforceServiceSpecificTickets?: boolean;
+ /** Use Steam Payments sandbox endpoint for test transactions. */
+ UseSandbox?: boolean;
+
+ }
+
+ export interface GetToxModRequest 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;
+
+ }
+
+ export interface GetToxModResponse extends PlayFabModule.IPlayFabResultCommon {
+ /** Account ID obtained after creating your Twitch developer account. */
+ AccountId?: string;
+ /** Account Key obtained after creating your Twitch developer account. */
+ AccountKey?: string;
+ /** Addon status. */
+ Created: boolean;
+ /** Whether the ToxMod Addon is enabled by the title. */
+ Enabled: boolean;
+
+ }
+
+ export interface GetTwitchRequest 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;
+
+ }
+
+ export interface GetTwitchResponse extends PlayFabModule.IPlayFabResultCommon {
+ /** Client ID obtained after creating your Twitch developer account. */
+ ClientID?: string;
+ /** Addon status. */
+ Created: boolean;
+
+ }
+
+ export interface NintendoEnvironment {
+ /** Client ID for the Nintendo Environment. */
+ ClientID?: string;
+ /** Client Secret for the Nintendo Environment. */
+ ClientSecret?: string;
+ /** ID for the Nintendo Environment. */
+ ID?: string;
+
+ }
+
+
+}
diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts
index 13a109ea..8a96312d 100644
--- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts
+++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAdminApi.d.ts
@@ -25,23 +25,26 @@ declare module PlayFabAdminModule {
*/
AddPlayerTag(request: PlayFabAdminModels.AddPlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Increments the specified virtual currency by the stated amount
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Increments the specified virtual currency by the stated amount
* https://docs.microsoft.com/rest/api/playfab/admin/player-item-management/adduservirtualcurrency
*/
AddUserVirtualCurrency(request: PlayFabAdminModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Adds one or more virtual currencies to the set defined for the title. Virtual Currencies have a maximum value of
- * 2,147,483,647 when granted to a player. Any value over that will be discarded.
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Adds one or more virtual currencies to the set defined for the title. Virtual Currencies have a maximum
+ * value of 2,147,483,647 when granted to a player. Any value over that will be discarded.
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/addvirtualcurrencytypes
*/
AddVirtualCurrencyTypes(request: PlayFabAdminModels.AddVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Bans users by PlayFab ID with optional IP address, or MAC address for the provided game.
+ * Bans users by PlayFab ID with optional IP address for the provided game.
* https://docs.microsoft.com/rest/api/playfab/admin/account-management/banusers
*/
BanUsers(request: PlayFabAdminModels.BanUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Checks the global count for the limited edition item.
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Checks the global count for the limited edition item.
* https://docs.microsoft.com/rest/api/playfab/admin/player-item-management/checklimitededitionitemavailability
*/
CheckLimitedEditionItemAvailability(request: PlayFabAdminModels.CheckLimitedEditionItemAvailabilityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -93,6 +96,11 @@ declare module PlayFabAdminModule {
* https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletemasterplayeraccount
*/
DeleteMasterPlayerAccount(request: PlayFabAdminModels.DeleteMasterPlayerAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes PlayStream and telemetry event data associated with the master player account from PlayFab storage
+ * https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletemasterplayereventdata
+ */
+ DeleteMasterPlayerEventData(request: PlayFabAdminModels.DeleteMasterPlayerEventDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Deletes a player's subscription
* https://docs.microsoft.com/rest/api/playfab/admin/account-management/deletemembershipsubscription
@@ -108,6 +116,11 @@ declare module PlayFabAdminModule {
* https://docs.microsoft.com/rest/api/playfab/admin/account-management/deleteplayer
*/
DeletePlayer(request: PlayFabAdminModels.DeletePlayerRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes title-specific custom properties for a player
+ * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/deleteplayercustomproperties
+ */
+ DeletePlayerCustomProperties(request: PlayFabAdminModels.DeletePlayerCustomPropertiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Deletes an existing Player Shared Secret Key. It may take up to 5 minutes for this delete to be reflected after this API
* returns.
@@ -120,7 +133,8 @@ declare module PlayFabAdminModule {
*/
DeleteSegment(request: PlayFabAdminModels.DeleteSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Deletes an existing virtual item store
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Deletes an existing virtual item store
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/deletestore
*/
DeleteStore(request: PlayFabAdminModels.DeleteStoreRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -158,12 +172,14 @@ 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>;
/**
- * Retrieves the specified version of the title's catalog of virtual goods, including all defined properties
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Retrieves the specified version of the title's catalog of virtual goods, including all defined properties
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/getcatalogitems
*/
GetCatalogItems(request: PlayFabAdminModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -200,21 +216,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>;
- /**
- * Retrieves the details for a specific completed session, including links to standard out and standard error logs
- * https://docs.microsoft.com/rest/api/playfab/admin/matchmaking/getmatchmakergameinfo
- */
- GetMatchmakerGameInfo(request: PlayFabAdminModels.GetMatchmakerGameInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
- /**
- * Retrieves the details of defined game modes for the specified game server executable
- * https://docs.microsoft.com/rest/api/playfab/admin/matchmaking/getmatchmakergamemodes
- */
- GetMatchmakerGameModes(request: PlayFabAdminModels.GetMatchmakerGameModesRequest, 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
*/
GetPlayedTitleList(request: PlayFabAdminModels.GetPlayedTitleListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Retrieves a title-specific custom property value for a player.
+ * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/getplayercustomproperty
+ */
+ GetPlayerCustomProperty(request: PlayFabAdminModels.GetPlayerCustomPropertyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Gets a player's ID from an auth token.
* https://docs.microsoft.com/rest/api/playfab/admin/account-management/getplayeridfromauthtoken
@@ -235,15 +246,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.
@@ -271,7 +273,8 @@ declare module PlayFabAdminModule {
*/
GetPublisherData(request: PlayFabAdminModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Retrieves the random drop table configuration for the title
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Retrieves the random drop table configuration for the title
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/getrandomresulttables
*/
GetRandomResultTables(request: PlayFabAdminModels.GetRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -283,13 +286,19 @@ 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
*/
GetSegments(request: PlayFabAdminModels.GetSegmentsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Retrieves the set of items defined for the specified store, including all prices defined
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Retrieves the set of items defined for the specified store, including all prices defined
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/getstoreitems
*/
GetStoreItems(request: PlayFabAdminModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -334,7 +343,8 @@ declare module PlayFabAdminModule {
*/
GetUserInternalData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Retrieves the specified user's current inventory of virtual goods
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Retrieves the specified user's current inventory of virtual goods
* https://docs.microsoft.com/rest/api/playfab/admin/player-item-management/getuserinventory
*/
GetUserInventory(request: PlayFabAdminModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -359,12 +369,14 @@ declare module PlayFabAdminModule {
*/
GetUserReadOnlyData(request: PlayFabAdminModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Adds the specified items to the specified user inventories
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Adds the specified items to the specified user inventories
* https://docs.microsoft.com/rest/api/playfab/admin/player-item-management/grantitemstousers
*/
GrantItemsToUsers(request: PlayFabAdminModels.GrantItemsToUsersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Increases the global count for the given scarce resource.
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Increases the global count for the given scarce resource.
* https://docs.microsoft.com/rest/api/playfab/admin/player-item-management/incrementlimitededitionitemavailability
*/
IncrementLimitedEditionItemAvailability(request: PlayFabAdminModels.IncrementLimitedEditionItemAvailabilityRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -379,17 +391,19 @@ declare module PlayFabAdminModule {
*/
ListOpenIdConnection(request: PlayFabAdminModels.ListOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Retuns the list of all defined virtual currencies for the title
- * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/listvirtualcurrencytypes
+ * Retrieves title-specific custom property values for a player.
+ * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/listplayercustomproperties
*/
- ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ ListPlayerCustomProperties(request: PlayFabAdminModels.ListPlayerCustomPropertiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Updates the build details for the specified game server executable
- * https://docs.microsoft.com/rest/api/playfab/admin/custom-server-management/modifyserverbuild
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Retuns the list of all defined virtual currencies for the title
+ * https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/listvirtualcurrencytypes
*/
- ModifyServerBuild(request: PlayFabAdminModels.ModifyServerBuildRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ ListVirtualCurrencyTypes(request: PlayFabAdminModels.ListVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Attempts to process an order refund through the original real money payment provider.
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Attempts to process an order refund through the original real money payment provider.
* https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/refundpurchase
*/
RefundPurchase(request: PlayFabAdminModels.RefundPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -399,7 +413,8 @@ declare module PlayFabAdminModule {
*/
RemovePlayerTag(request: PlayFabAdminModels.RemovePlayerTagRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Removes one or more virtual currencies from the set defined for the title.
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Removes one or more virtual currencies from the set defined for the title.
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/removevirtualcurrencytypes
*/
RemoveVirtualCurrencyTypes(request: PlayFabAdminModels.RemoveVirtualCurrencyTypesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -419,7 +434,8 @@ declare module PlayFabAdminModule {
*/
ResetUserStatistics(request: PlayFabAdminModels.ResetUserStatisticsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Attempts to resolve a dispute with the original order's payment provider.
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Attempts to resolve a dispute with the original order's payment provider.
* https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/resolvepurchasedispute
*/
ResolvePurchaseDispute(request: PlayFabAdminModels.ResolvePurchaseDisputeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -434,12 +450,14 @@ declare module PlayFabAdminModule {
*/
RevokeBans(request: PlayFabAdminModels.RevokeBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Revokes access to an item in a user's inventory
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Revokes access to an item in a user's inventory
* https://docs.microsoft.com/rest/api/playfab/admin/player-item-management/revokeinventoryitem
*/
RevokeInventoryItem(request: PlayFabAdminModels.RevokeInventoryItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Revokes access for up to 25 items across multiple users and characters.
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Revokes access for up to 25 items across multiple users and characters.
* 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>;
@@ -456,7 +474,8 @@ declare module PlayFabAdminModule {
*/
SendAccountRecoveryEmail(request: PlayFabAdminModels.SendAccountRecoveryEmailRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Creates the catalog configuration of all virtual goods for the specified catalog version
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Creates the catalog configuration of all virtual goods for the specified catalog version
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/setcatalogitems
*/
SetCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -481,7 +500,8 @@ declare module PlayFabAdminModule {
*/
SetPublisherData(request: PlayFabAdminModels.SetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Sets all the items in one virtual store
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Sets all the items in one virtual store
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/setstoreitems
*/
SetStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -512,7 +532,8 @@ declare module PlayFabAdminModule {
*/
SetupPushNotification(request: PlayFabAdminModels.SetupPushNotificationRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Decrements the specified virtual currency by the stated amount
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Decrements the specified virtual currency by the stated amount
* https://docs.microsoft.com/rest/api/playfab/admin/player-item-management/subtractuservirtualcurrency
*/
SubtractUserVirtualCurrency(request: PlayFabAdminModels.SubtractUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -522,7 +543,8 @@ declare module PlayFabAdminModule {
*/
UpdateBans(request: PlayFabAdminModels.UpdateBansRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Updates the catalog configuration for virtual goods in the specified catalog version
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Updates the catalog configuration for virtual goods in the specified catalog version
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/updatecatalogitems
*/
UpdateCatalogItems(request: PlayFabAdminModels.UpdateCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -537,6 +559,11 @@ declare module PlayFabAdminModule {
* https://docs.microsoft.com/rest/api/playfab/admin/authentication/updateopenidconnection
*/
UpdateOpenIdConnection(request: PlayFabAdminModels.UpdateOpenIdConnectionRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Updates the title-specific custom property values for a player
+ * https://docs.microsoft.com/rest/api/playfab/admin/player-data-management/updateplayercustomproperties
+ */
+ UpdatePlayerCustomProperties(request: PlayFabAdminModels.UpdatePlayerCustomPropertiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Updates a existing Player Shared Secret Key. It may take up to 5 minutes for this update to become generally available
* after this API returns.
@@ -554,7 +581,8 @@ declare module PlayFabAdminModule {
*/
UpdatePolicy(request: PlayFabAdminModels.UpdatePolicyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Updates the random drop table configuration for the title
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Updates the random drop table configuration for the title
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/updaterandomresulttables
*/
UpdateRandomResultTables(request: PlayFabAdminModels.UpdateRandomResultTablesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -564,7 +592,8 @@ declare module PlayFabAdminModule {
*/
UpdateSegment(request: PlayFabAdminModels.UpdateSegmentRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Updates an existing virtual item store with new or modified items
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Updates an existing virtual item store with new or modified items
* https://docs.microsoft.com/rest/api/playfab/admin/title-wide-data-management/updatestoreitems
*/
UpdateStoreItems(request: PlayFabAdminModels.UpdateStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -608,6 +637,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>;
}
}
@@ -621,9 +655,37 @@ declare module PlayFabAdminModels {
}
+ export interface Action {
+ /** Action content to add inventory item v2 */
+ AddInventoryItemV2Content?: AddInventoryItemV2Content;
+ /** Action content to ban player */
+ BanPlayerContent?: BanPlayerContent;
+ /** Action content to delete inventory item v2 */
+ DeleteInventoryItemV2Content?: DeleteInventoryItemV2Content;
+ /** Action content to delete player */
+ DeletePlayerContent?: DeletePlayerContent;
+ /** Action content to execute cloud script */
+ ExecuteCloudScriptContent?: ExecuteCloudScriptContent;
+ /** Action content to execute azure function */
+ ExecuteFunctionContent?: ExecuteFunctionContent;
+ /** Action content to grant item */
+ GrantItemContent?: GrantItemContent;
+ /** Action content to grant virtual currency */
+ GrantVirtualCurrencyContent?: GrantVirtualCurrencyContent;
+ /** Action content to increment player statistic */
+ IncrementPlayerStatisticContent?: IncrementPlayerStatisticContent;
+ /** Action content to send push notification */
+ PushNotificationContent?: PushNotificationContent;
+ /** Action content to send email */
+ SendEmailContent?: SendEmailContent;
+ /** Action content to subtract inventory item v2 */
+ SubtractInventoryItemV2Content?: SubtractInventoryItemV2Content;
+
+ }
+
export interface ActionsOnPlayersInSegmentTaskParameter {
- /** ID of the action to perform on each player in segment. */
- ActionId: string;
+ /** List of actions to perform on each player in a segment. Each action object can contain only one action type. */
+ Actions?: Action[];
/** ID of the segment to perform actions on. */
SegmentId: string;
@@ -657,16 +719,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;
@@ -687,6 +739,34 @@ declare module PlayFabAdminModels {
}
+ export interface AddInventoryItemsV2SegmentAction {
+ /** Amount of the item to be granted to a player */
+ Amount?: number;
+ /** The collection id for where the item will be granted in the player inventory */
+ CollectionId?: string;
+ /** The duration in seconds of the subscription to be granted to a player */
+ DurationInSeconds?: number;
+ /** The id of item to be granted to the player */
+ ItemId?: string;
+ /** The stack id for where the item will be granted in the player inventory */
+ StackId?: string;
+
+ }
+
+ export interface AddInventoryItemV2Content {
+ /** Amount of the item to be granted to a player */
+ Amount?: number;
+ /** The collection id for where the item will be granted in the player inventory */
+ CollectionId?: string;
+ /** The duration in seconds of the subscription to be granted to a player */
+ DurationInSeconds?: number;
+ /** The id of item to be granted to the player */
+ ItemId?: string;
+ /** The stack id for where the item will be granted in the player inventory */
+ StackId?: string;
+
+ }
+
export interface AddLocalizedNewsRequest extends PlayFabModule.IPlayFabRequestCommon {
/** Localized body text of the news. */
Body: string;
@@ -710,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. */
@@ -789,6 +871,16 @@ declare module PlayFabAdminModels {
PlayFabId?: string;
/** The reason why this ban was applied. */
Reason?: string;
+ /** The family type of the user that is included in the ban. */
+ UserFamilyType?: string;
+
+ }
+
+ export interface BanPlayerContent {
+ /** Duration(in hours) to ban a player. If not provided, the player will be banned permanently. */
+ BanDurationHours?: number;
+ /** Reason to ban a player */
+ BanReason?: string;
}
@@ -809,6 +901,8 @@ declare module PlayFabAdminModels {
PlayFabId: string;
/** The reason for this ban. Maximum 140 characters. */
Reason?: string;
+ /** The family type of the user that should be included in the ban if applicable. May affect multiple players. */
+ UserFamilyType?: string;
}
@@ -1020,16 +1114,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;
@@ -1057,7 +1141,8 @@ declare module PlayFabAdminModels {
| "EU"
| "NA"
| "OC"
- | "SA";
+ | "SA"
+ | "Unknown";
type CountryCode = "AF"
@@ -1308,7 +1393,8 @@ declare module PlayFabAdminModels {
| "EH"
| "YE"
| "ZM"
- | "ZW";
+ | "ZW"
+ | "Unknown";
export interface CreateActionsOnPlayerSegmentTaskRequest extends PlayFabModule.IPlayFabRequestCommon {
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
@@ -1376,6 +1462,8 @@ declare module PlayFabAdminModels {
IssuerDiscoveryUrl?: string;
/** Manually specified information for an OpenID Connect issuer. */
IssuerInformation?: OpenIdIssuerInformation;
+ /** Override the issuer name for user indexing and lookup. */
+ IssuerOverride?: string;
}
@@ -1593,12 +1681,88 @@ declare module PlayFabAdminModels {
| "ZMW"
| "ZWD";
+ export interface CustomPropertyBooleanSegmentFilter {
+ /** Custom property comparison. */
+ Comparison?: string;
+ /** Custom property name. */
+ PropertyName?: string;
+ /** Custom property boolean value. */
+ PropertyValue: boolean;
+
+ }
+
+ export interface CustomPropertyDateTimeSegmentFilter {
+ /** Custom property comparison. */
+ Comparison?: string;
+ /** Custom property name. */
+ PropertyName?: string;
+ /** Custom property datetime value. */
+ PropertyValue: string;
+
+ }
+
+ export interface CustomPropertyDetails {
+ /** The custom property's name. */
+ Name?: string;
+ /** The custom property's value. */
+ Value?: any;
+
+ }
+
+ export interface CustomPropertyNumericSegmentFilter {
+ /** Custom property comparison. */
+ Comparison?: string;
+ /** Custom property name. */
+ PropertyName?: string;
+ /** Custom property numeric value. */
+ PropertyValue: number;
+
+ }
+
+ export interface CustomPropertyStringSegmentFilter {
+ /** Custom property comparison. */
+ Comparison?: string;
+ /** Custom property name. */
+ PropertyName?: string;
+ /** Custom property string value. */
+ PropertyValue?: string;
+
+ }
+
export interface DeleteContentRequest extends PlayFabModule.IPlayFabRequestCommon {
/** Key of the content item to be deleted */
Key: string;
}
+ export interface DeletedPropertyDetails {
+ /** The name of the property which was requested to be deleted. */
+ Name?: string;
+ /** Indicates whether or not the property was deleted. If false, no property with that name existed. */
+ WasDeleted: boolean;
+
+ }
+
+ export interface DeleteInventoryItemsV2SegmentAction {
+ /** The collection id for where the item will be removed from the player inventory */
+ CollectionId?: string;
+ /** The id of item to be removed from the player */
+ ItemId?: string;
+ /** The stack id for where the item will be removed from the player inventory */
+ StackId?: string;
+
+ }
+
+ export interface DeleteInventoryItemV2Content {
+ /** The collection id for where the item will be removed from the player inventory */
+ CollectionId?: string;
+ /** The id of item to be removed from the player */
+ ItemId?: string;
+ /** The stack id for where the item will be removed from the player inventory */
+ StackId?: string;
+
+ }
+
export interface DeleteMasterPlayerAccountRequest extends PlayFabModule.IPlayFabRequestCommon {
/** Developer created string to identify a user without PlayFab ID */
MetaData?: string;
@@ -1618,6 +1782,16 @@ declare module PlayFabAdminModels {
}
+ export interface DeleteMasterPlayerEventDataRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */
+ PlayFabId: string;
+
+ }
+
+ export interface DeleteMasterPlayerEventDataResult extends PlayFabModule.IPlayFabResultCommon {
+
+ }
+
export interface DeleteMembershipSubscriptionRequest extends PlayFabModule.IPlayFabRequestCommon {
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
CustomTags?: { [key: string]: string | null };
@@ -1640,6 +1814,38 @@ declare module PlayFabAdminModels {
}
+ export interface DeletePlayerContent {
+
+ }
+
+ export interface DeletePlayerCustomPropertiesRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** 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. One can ensure that the delete operation will only be performed if the
+ * player's properties have not been updated by any other clients since the last version.
+ */
+ ExpectedPropertiesVersion?: number;
+ /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */
+ PlayFabId: string;
+ /** A list of property names denoting which properties should be deleted. */
+ PropertyNames: string[];
+
+ }
+
+ export interface DeletePlayerCustomPropertiesResult extends PlayFabModule.IPlayFabResultCommon {
+ /** The list of properties requested to be deleted. */
+ DeletedProperties?: DeletedPropertyDetails[];
+ /** PlayFab unique identifier of the user whose properties were deleted. */
+ PlayFabId?: string;
+ /**
+ * Indicates the current version of a player's properties that have been set. This is incremented after updates and
+ * deletes. This version can be provided in update and delete calls for concurrency control.
+ */
+ PropertiesVersion: number;
+
+ }
+
export interface DeletePlayerRequest extends PlayFabModule.IPlayFabRequestCommon {
/** Unique PlayFab assigned ID of the user on whom the operation will be performed. */
PlayFabId: string;
@@ -1759,6 +1965,16 @@ declare module PlayFabAdminModels {
}
+ export interface ExecuteCloudScriptContent {
+ /** Arguments(JSON) to be passed into the cloudscript method */
+ CloudScriptMethodArguments: string;
+ /** Cloudscript method name */
+ CloudScriptMethodName: string;
+ /** Publish cloudscript results as playstream event */
+ PublishResultsToPlayStream: boolean;
+
+ }
+
export interface ExecuteCloudScriptResult {
/** Number of PlayFab API requests issued by the CloudScript function */
APIRequestsIssued: number;
@@ -1809,6 +2025,16 @@ declare module PlayFabAdminModels {
}
+ export interface ExecuteFunctionContent {
+ /** Arguments(JSON) to be passed into the cloudscript azure function */
+ CloudScriptFunctionArguments: string;
+ /** Cloudscript azure function name */
+ CloudScriptFunctionName: string;
+ /** Publish results from executing the azure function as playstream event */
+ PublishResultsToPlayStream: boolean;
+
+ }
+
export interface ExportMasterPlayerDataRequest extends PlayFabModule.IPlayFabRequestCommon {
/** Unique PlayFab assigned ID of the user on whom the operation will be performed. */
PlayFabId: string;
@@ -1854,25 +2080,6 @@ declare module PlayFabAdminModels {
}
- type GameBuildStatus = "Available"
-
- | "Validating"
- | "InvalidBuildPackage"
- | "Processing"
- | "FailedToProcess";
-
- export interface GameModeInfo {
- /** specific game mode type */
- Gamemode: string;
- /** maximum user count a specific Game Server Instance can support */
- MaxPlayerCount: number;
- /** minimum user count required for this Game Server Instance to continue (usually 1) */
- MinPlayerCount: number;
- /** whether to start as an open session, meaning that players can matchmake into it (defaults to true) */
- StartOpen?: boolean;
-
- }
-
type GenericErrorCodes = "Success"
| "UnkownError"
@@ -1978,7 +2185,6 @@ declare module PlayFabAdminModels {
| "UnableToConnectToDatabase"
| "InternalServerError"
| "InvalidReportDate"
- | "ReportNotAvailable"
| "DatabaseThroughputExceeded"
| "InvalidGameTicket"
| "ExpiredGameTicket"
@@ -2354,7 +2560,6 @@ declare module PlayFabAdminModels {
| "InsightsManagementGetOperationStatusInvalidParameter"
| "DuplicatePurchaseTransactionId"
| "EvaluationModePlayerCountExceeded"
- | "GetPlayersInSegmentRateLimitExceeded"
| "CloudScriptFunctionNameSizeExceeded"
| "PaidInsightsFeaturesNotEnabled"
| "CloudScriptAzureFunctionsQueueRequestError"
@@ -2417,6 +2622,66 @@ declare module PlayFabAdminModels {
| "AnalysisSubscriptionManagementInvalidInput"
| "InvalidGameCenterId"
| "InvalidNintendoSwitchAccountId"
+ | "EntityAPIKeysNotSupported"
+ | "IpAddressBanned"
+ | "EntityLineageBanned"
+ | "NamespaceMismatch"
+ | "InvalidServiceConfiguration"
+ | "InvalidNamespaceMismatch"
+ | "LeaderboardColumnLengthMismatch"
+ | "InvalidStatisticScore"
+ | "LeaderboardColumnsNotSpecified"
+ | "LeaderboardMaxSizeTooLarge"
+ | "InvalidAttributeStatisticsSpecified"
+ | "LeaderboardNotFound"
+ | "TokenSigningKeyNotFound"
+ | "LeaderboardNameConflict"
+ | "LinkedStatisticColumnMismatch"
+ | "NoLinkedStatisticToLeaderboard"
+ | "StatDefinitionAlreadyLinkedToLeaderboard"
+ | "LinkingStatsNotAllowedForEntityType"
+ | "LeaderboardCountLimitExceeded"
+ | "LeaderboardSizeLimitExceeded"
+ | "LeaderboardDefinitionModificationNotAllowedWhileLinked"
+ | "StatisticDefinitionModificationNotAllowedWhileLinked"
+ | "LeaderboardUpdateNotAllowedWhileLinked"
+ | "CloudScriptAzureFunctionsEventHubRequestError"
+ | "ExternalEntityNotAllowedForTier"
+ | "InvalidBaseTimeForInterval"
+ | "EntityTypeMismatchWithStatDefinition"
+ | "SpecifiedVersionLeaderboardNotFound"
+ | "LeaderboardColumnLengthMismatchWithStatDefinition"
+ | "DuplicateColumnNameFound"
+ | "LinkedStatisticColumnNotFound"
+ | "LinkedStatisticColumnRequired"
+ | "MultipleLinkedStatisticsNotAllowed"
+ | "DuplicateLinkedStatisticColumnNameFound"
+ | "AggregationTypeNotAllowedForMultiColumnStatistic"
+ | "MaxQueryableVersionsValueNotAllowedForTier"
+ | "StatisticDefinitionHasNullOrEmptyVersionConfiguration"
+ | "StatisticColumnLengthMismatch"
+ | "InvalidExternalEntityId"
+ | "UpdatingStatisticsUsingTransactionIdNotAvailableForFreeTier"
+ | "TransactionAlreadyApplied"
+ | "ReportDataNotRetrievedSuccessfully"
+ | "ResetIntervalCannotBeModified"
+ | "VersionIncrementRateExceeded"
+ | "InvalidSteamUsername"
+ | "InvalidVersionResetForLinkedLeaderboard"
+ | "BattleNetNotEnabledForTitle"
+ | "ReportNotProcessed"
+ | "DataNotAvailable"
+ | "InvalidReportName"
+ | "ResourceNotModified"
+ | "StudioCreationLimitExceeded"
+ | "StudioDeletionInitiated"
+ | "ProductDisabledForTitle"
+ | "PreconditionFailed"
+ | "CannotEnableAnonymousPlayerCreation"
+ | "ParentCustomerAccountNotFound"
+ | "AccountLinkedToABannedPlayer"
+ | "AzureSubscriptionNotEligibleForLinking"
+ | "EntityIsNotAMember"
| "MatchmakingEntityInvalid"
| "MatchmakingPlayerAttributesInvalid"
| "MatchmakingQueueNotFound"
@@ -2460,6 +2725,8 @@ declare module PlayFabAdminModels {
| "CatalogItemTypeInvalid"
| "CatalogBadRequest"
| "CatalogTooManyRequests"
+ | "InvalidCatalogItemConfiguration"
+ | "LegacyEconomyDisabled"
| "ExportInvalidStatusUpdate"
| "ExportInvalidPrefix"
| "ExportBlobContainerDoesNotExist"
@@ -2506,6 +2773,7 @@ declare module PlayFabAdminModels {
| "MultiplayerServerBuildReferencedByMatchmakingQueue"
| "MultiplayerServerBuildReferencedByBuildAlias"
| "MultiplayerServerBuildAliasReferencedByMatchmakingQueue"
+ | "PartySerializationError"
| "ExperimentationExperimentStopped"
| "ExperimentationExperimentRunning"
| "ExperimentationExperimentNotFound"
@@ -2529,6 +2797,10 @@ declare module PlayFabAdminModels {
| "ExperimentationExclusionGroupCannotDelete"
| "ExperimentationExclusionGroupInvalidTrafficAllocation"
| "ExperimentationExclusionGroupInvalidName"
+ | "ExperimentationLegacyExperimentInvalidOperation"
+ | "ExperimentationExperimentStopFailed"
+ | "ExperimentationExperimentDeleteFailed"
+ | "ExperimentationExperimentStartFailed"
| "MaxActionDepthExceeded"
| "TitleNotOnUpdatedPricingPlan"
| "SegmentManagementTitleNotInFlight"
@@ -2545,8 +2817,12 @@ declare module PlayFabAdminModels {
| "AsyncExportNotInFlight"
| "AsyncExportNotFound"
| "AsyncExportRateLimitExceeded"
+ | "AnalyticsSegmentCountOverLimit"
+ | "GetSegmentPlayerCountNotInFlight"
+ | "GetSegmentPlayerCountRateLimitExceeded"
| "SnapshotNotFound"
| "InventoryApiNotImplemented"
+ | "InventoryCollectionDeletionDisallowed"
| "LobbyDoesNotExist"
| "LobbyRateLimitExceeded"
| "LobbyPlayerAlreadyJoined"
@@ -2559,10 +2835,23 @@ declare module PlayFabAdminModels {
| "LobbyNewOwnerMustBeConnected"
| "LobbyCurrentOwnerStillConnected"
| "LobbyMemberIsNotOwner"
+ | "LobbyServerMismatch"
+ | "LobbyServerNotFound"
+ | "LobbyDifferentServerAlreadyJoined"
+ | "LobbyServerAlreadyJoined"
+ | "LobbyIsNotClientOwned"
+ | "LobbyDoesNotUseConnections"
| "EventSamplingInvalidRatio"
| "EventSamplingInvalidEventNamespace"
| "EventSamplingInvalidEventName"
| "EventSamplingRatioNotFound"
+ | "TelemetryKeyNotFound"
+ | "TelemetryKeyInvalidName"
+ | "TelemetryKeyAlreadyExists"
+ | "TelemetryKeyInvalid"
+ | "TelemetryKeyCountOverLimit"
+ | "TelemetryKeyDeactivated"
+ | "TelemetryKeyLongInsightsRetentionNotAllowed"
| "EventSinkConnectionInvalid"
| "EventSinkConnectionUnauthorized"
| "EventSinkRegionInvalid"
@@ -2575,9 +2864,170 @@ declare module PlayFabAdminModels {
| "EventSinkTenantNotFound"
| "EventSinkAadNotFound"
| "EventSinkDatabaseNotFound"
+ | "EventSinkTitleUnauthorized"
+ | "EventSinkInsufficientRoleAssignment"
+ | "EventSinkContainerNotFound"
+ | "EventSinkTenantIdInvalid"
+ | "EventSinkResourceMisconfigured"
+ | "EventSinkAccessDenied"
+ | "EventSinkWriteConflict"
+ | "EventSinkResourceNotFound"
+ | "EventSinkResourceFeatureNotSupported"
+ | "EventSinkBucketNameInvalid"
+ | "EventSinkResourceUnavailable"
| "OperationCanceled"
| "InvalidDisplayNameRandomSuffixLength"
- | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed";
+ | "AllowNonUniquePlayerDisplayNamesDisableNotAllowed"
+ | "PartitionedEventInvalid"
+ | "PartitionedEventCountOverLimit"
+ | "ManageEventNamespaceInvalid"
+ | "ManageEventNameInvalid"
+ | "ManagedEventNotFound"
+ | "ManageEventsInvalidRatio"
+ | "ManagedEventInvalid"
+ | "PlayerCustomPropertiesPropertyNameTooLong"
+ | "PlayerCustomPropertiesPropertyNameIsInvalid"
+ | "PlayerCustomPropertiesStringPropertyValueTooLong"
+ | "PlayerCustomPropertiesValueIsInvalidType"
+ | "PlayerCustomPropertiesVersionMismatch"
+ | "PlayerCustomPropertiesPropertyCountTooHigh"
+ | "PlayerCustomPropertiesDuplicatePropertyName"
+ | "PlayerCustomPropertiesPropertyDoesNotExist"
+ | "AddonAlreadyExists"
+ | "AddonDoesntExist"
+ | "TrueSkillUnauthorized"
+ | "TrueSkillInvalidTitleId"
+ | "TrueSkillInvalidScenarioId"
+ | "TrueSkillInvalidModelId"
+ | "TrueSkillInvalidModelName"
+ | "TrueSkillInvalidPlayerIds"
+ | "TrueSkillInvalidEntityKey"
+ | "TrueSkillInvalidConditionKey"
+ | "TrueSkillInvalidConditionValue"
+ | "TrueSkillInvalidConditionAffinityWeight"
+ | "TrueSkillInvalidEventName"
+ | "TrueSkillMatchResultCreated"
+ | "TrueSkillMatchResultAlreadySubmitted"
+ | "TrueSkillBadPlayerIdInMatchResult"
+ | "TrueSkillInvalidBotIdInMatchResult"
+ | "TrueSkillDuplicatePlayerInMatchResult"
+ | "TrueSkillNoPlayerInMatchResultTeam"
+ | "TrueSkillPlayersInMatchResultExceedingLimit"
+ | "TrueSkillInvalidPreMatchPartyInMatchResult"
+ | "TrueSkillInvalidTimestampInMatchResult"
+ | "TrueSkillStartTimeMissingInMatchResult"
+ | "TrueSkillEndTimeMissingInMatchResult"
+ | "TrueSkillInvalidPlayerSecondsPlayedInMatchResult"
+ | "TrueSkillNoTeamInMatchResult"
+ | "TrueSkillNotEnoughTeamsInMatchResult"
+ | "TrueSkillInvalidRanksInMatchResult"
+ | "TrueSkillNoWinnerInMatchResult"
+ | "TrueSkillMissingRequiredCondition"
+ | "TrueSkillMissingRequiredEvent"
+ | "TrueSkillUnknownEventName"
+ | "TrueSkillInvalidEventCount"
+ | "TrueSkillUnknownConditionKey"
+ | "TrueSkillUnknownConditionValue"
+ | "TrueSkillScenarioConfigDoesNotExist"
+ | "TrueSkillUnknownModelId"
+ | "TrueSkillNoModelInScenario"
+ | "TrueSkillNotSupportedForTitle"
+ | "TrueSkillModelIsNotActive"
+ | "TrueSkillUnauthorizedToQueryOtherPlayerSkills"
+ | "TrueSkillInvalidMaxIterations"
+ | "TrueSkillEndTimeBeforeStartTime"
+ | "TrueSkillInvalidJobId"
+ | "TrueSkillInvalidMetadataId"
+ | "TrueSkillMissingBuildVerison"
+ | "TrueSkillJobAlreadyExists"
+ | "TrueSkillJobNotFound"
+ | "TrueSkillOperationCanceled"
+ | "TrueSkillActiveModelLimitExceeded"
+ | "TrueSkillTotalModelLimitExceeded"
+ | "TrueSkillUnknownInitialModelId"
+ | "TrueSkillUnauthorizedForJob"
+ | "TrueSkillInvalidScenarioName"
+ | "TrueSkillConditionStateIsRequired"
+ | "TrueSkillEventStateIsRequired"
+ | "TrueSkillDuplicateEvent"
+ | "TrueSkillDuplicateCondition"
+ | "TrueSkillInvalidAnomalyThreshold"
+ | "TrueSkillConditionKeyLimitExceeded"
+ | "TrueSkillConditionValuePerKeyLimitExceeded"
+ | "TrueSkillInvalidTimestamp"
+ | "TrueSkillEventLimitExceeded"
+ | "TrueSkillInvalidPlayers"
+ | "TrueSkillTrueSkillPlayerNull"
+ | "TrueSkillInvalidPlayerId"
+ | "TrueSkillInvalidSquadSize"
+ | "TrueSkillConditionSetNotInModel"
+ | "TrueSkillModelStateInvalidForOperation"
+ | "TrueSkillScenarioContainsActiveModel"
+ | "TrueSkillInvalidConditionRank"
+ | "TrueSkillTotalScenarioLimitExceeded"
+ | "TrueSkillInvalidConditionsList"
+ | "GameSaveManifestNotFound"
+ | "GameSaveManifestVersionAlreadyExists"
+ | "GameSaveConflictUpdatingManifest"
+ | "GameSaveManifestUpdatesNotAllowed"
+ | "GameSaveFileAlreadyExists"
+ | "GameSaveManifestVersionNotFinalized"
+ | "GameSaveUnknownFileInManifest"
+ | "GameSaveFileExceededReportedSize"
+ | "GameSaveFileNotUploaded"
+ | "GameSaveBadRequest"
+ | "GameSaveOperationNotAllowed"
+ | "GameSaveDataStorageQuotaExceeded"
+ | "GameSaveNewerManifestExists"
+ | "GameSaveBaseVersionNotAvailable"
+ | "GameSaveManifestVersionQuarantined"
+ | "GameSaveManifestUploadProgressUpdateNotAllowed"
+ | "GameSaveNotFinalizedManifestNotEligibleAsKnownGood"
+ | "GameSaveNoUpdatesRequested"
+ | "GameSaveTitleDoesNotExist"
+ | "GameSaveOperationNotAllowedForTitle"
+ | "GameSaveManifestFilesLimitExceeded"
+ | "GameSaveManifestDescriptionUpdateNotAllowed"
+ | "GameSaveTitleConfigNotFound"
+ | "GameSaveTitleAlreadyOnboarded"
+ | "GameSaveServiceNotEnabledForTitle"
+ | "GameSaveServiceOnboardingPending"
+ | "GameSaveManifestNotEligibleAsConflictingVersion"
+ | "GameSaveServiceUnavailable"
+ | "GameSaveConflict"
+ | "GameSaveManifestNotEligibleForRollback"
+ | "GameSaveTitleClientAnonymousAccountCreationNotDisabled"
+ | "GameSaveTitleConfigNoUpdatesRequested"
+ | "GameSavePlayerNotEligibleForTransfer"
+ | "StateShareForbidden"
+ | "StateShareTitleNotInFlight"
+ | "StateShareStateNotFound"
+ | "StateShareLinkNotFound"
+ | "StateShareStateRedemptionLimitExceeded"
+ | "StateShareStateRedemptionLimitNotUpdated"
+ | "StateShareCreatedStatesLimitExceeded"
+ | "StateShareIdMissingOrMalformed"
+ | "PlayerCreationDisabled"
+ | "AccountAlreadyExists"
+ | "TagInvalid"
+ | "TagTooLong"
+ | "StatisticColumnAggregationMismatch"
+ | "StatisticResetIntervalMismatch"
+ | "VersionConfigurationCannotBeSpecifiedForLinkedStat"
+ | "VersionConfigurationIsRequired"
+ | "InvalidEntityTypeForAggregation"
+ | "MultiLevelAggregationNotAllowed"
+ | "AggregationTypeNotAllowedForLinkedStat"
+ | "OperationDeniedDueToDefinitionPolicy"
+ | "StatisticUpdateNotAllowedWhileLinked"
+ | "UnsupportedEntityType"
+ | "EntityTypeSpecifiedRequiresAggregationSource"
+ | "PlayFabErrorEventNotSupportedForEntityType"
+ | "MetadataLengthExceeded"
+ | "MaxQueryableVersionsExceeded"
+ | "StatisticVersionIncrementNotAllowedWhileLinked"
+ | "StoreMetricsRequestInvalidInput"
+ | "StoreMetricsErrorRetrievingMetrics";
export interface GetActionsOnPlayersInSegmentTaskInstanceResult extends PlayFabModule.IPlayFabResultCommon {
/** Parameter of this task instance */
@@ -2709,61 +3159,36 @@ declare module PlayFabAdminModels {
}
- export interface GetMatchmakerGameInfoRequest extends PlayFabModule.IPlayFabRequestCommon {
- /** unique identifier of the lobby for which info is being requested */
- LobbyId: string;
-
- }
-
- export interface GetMatchmakerGameInfoResult extends PlayFabModule.IPlayFabResultCommon {
- /** version identifier of the game server executable binary being run */
- BuildVersion?: string;
- /** time when Game Server Instance is currently scheduled to end */
- EndTime?: string;
- /** unique identifier of the lobby */
- LobbyId?: string;
- /** game mode for this Game Server Instance */
- Mode?: string;
- /** array of unique PlayFab identifiers for users currently connected to this Game Server Instance */
- Players?: string[];
- /** region in which the Game Server Instance is running */
- Region?: string;
- /** IPV4 address of the server */
- ServerIPV4Address?: string;
- /** IPV6 address of the server */
- ServerIPV6Address?: string;
- /** communication port for this Game Server Instance */
- ServerPort: number;
- /** Public DNS name (if any) of the server */
- ServerPublicDNSName?: string;
- /** time when the Game Server Instance was created */
- StartTime: string;
- /** unique identifier of the Game Server Instance for this lobby */
- TitleId?: string;
-
- }
-
- export interface GetMatchmakerGameModesRequest extends PlayFabModule.IPlayFabRequestCommon {
- /** previously uploaded build version for which game modes are being requested */
- BuildVersion: string;
+ export interface GetPlayedTitleListRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */
+ PlayFabId: string;
}
- export interface GetMatchmakerGameModesResult extends PlayFabModule.IPlayFabResultCommon {
- /** array of game modes available for the specified build */
- GameModes?: GameModeInfo[];
+ export interface GetPlayedTitleListResult extends PlayFabModule.IPlayFabResultCommon {
+ /** List of titles the player has played */
+ TitleIds?: string[];
}
- export interface GetPlayedTitleListRequest extends PlayFabModule.IPlayFabRequestCommon {
+ export interface GetPlayerCustomPropertyRequest extends PlayFabModule.IPlayFabRequestCommon {
/** Unique PlayFab assigned ID of the user on whom the operation will be performed. */
PlayFabId: string;
+ /** Specific property name to search for in the player's properties. */
+ PropertyName: string;
}
- export interface GetPlayedTitleListResult extends PlayFabModule.IPlayFabResultCommon {
- /** List of titles the player has played */
- TitleIds?: string[];
+ export interface GetPlayerCustomPropertyResult extends PlayFabModule.IPlayFabResultCommon {
+ /** PlayFab unique identifier of the user whose properties are being returned. */
+ PlayFabId?: string;
+ /**
+ * Indicates the current version of a player's properties that have been set. This is incremented after updates and
+ * deletes. This version can be provided in update and delete calls for concurrency control.
+ */
+ PropertiesVersion: number;
+ /** Player specific property and its corresponding value. */
+ Property?: CustomPropertyDetails;
}
@@ -2834,42 +3259,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 1,800 (30 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 };
@@ -2921,12 +3310,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. */
@@ -2960,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;
@@ -3170,6 +3576,16 @@ declare module PlayFabAdminModels {
}
+ export interface GrantItemContent {
+ /** The catalog version of the item to be granted to the player */
+ CatalogVersion?: string;
+ /** The id of item to be granted to the player */
+ ItemId?: string;
+ /** Quantity of the item to be granted to a player */
+ ItemQuantity: number;
+
+ }
+
export interface GrantItemSegmentAction {
/** Item catalog id. */
CatelogId?: string;
@@ -3196,6 +3612,14 @@ declare module PlayFabAdminModels {
}
+ export interface GrantVirtualCurrencyContent {
+ /** Amount of currency to be granted to a player */
+ CurrencyAmount: number;
+ /** Code of the currency to be granted to a player */
+ CurrencyCode: string;
+
+ }
+
export interface GrantVirtualCurrencySegmentAction {
/** Virtual currency amount. */
Amount: number;
@@ -3220,6 +3644,14 @@ declare module PlayFabAdminModels {
}
+ export interface IncrementPlayerStatisticContent {
+ /** Amount(in whole number) to increase the player statistic by */
+ StatisticChangeBy: number;
+ /** Name of the player statistic to be incremented */
+ StatisticName: string;
+
+ }
+
export interface IncrementPlayerStatisticSegmentAction {
/** Increment value. */
IncrementValue: number;
@@ -3362,6 +3794,25 @@ declare module PlayFabAdminModels {
}
+ export interface ListPlayerCustomPropertiesRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */
+ PlayFabId: string;
+
+ }
+
+ export interface ListPlayerCustomPropertiesResult extends PlayFabModule.IPlayFabResultCommon {
+ /** PlayFab unique identifier of the user whose properties are being returned. */
+ PlayFabId?: string;
+ /** Player specific properties and their corresponding values for this title. */
+ Properties?: CustomPropertyDetails[];
+ /**
+ * Indicates the current version of a player's properties that have been set. This is incremented after updates and
+ * deletes. This version can be provided in update and delete calls for concurrency control.
+ */
+ PropertiesVersion: number;
+
+ }
+
export interface ListVirtualCurrencyTypesRequest extends PlayFabModule.IPlayFabRequestCommon {
}
@@ -3414,7 +3865,10 @@ declare module PlayFabAdminModels {
| "OpenIdConnect"
| "Apple"
| "NintendoSwitchAccount"
- | "GooglePlayGames";
+ | "GooglePlayGames"
+ | "XboxMobileStore"
+ | "King"
+ | "BattleNet";
export interface LogStatement {
/** Optional object accompanying the message as contextual information */
@@ -3460,61 +3914,6 @@ declare module PlayFabAdminModels {
}
- export interface ModifyServerBuildRequest extends PlayFabModule.IPlayFabRequestCommon {
- /** array of regions where this build can used, when it is active */
- ActiveRegions?: string[];
- /** unique identifier of the previously uploaded build executable to be updated */
- BuildId: string;
- /** appended to the end of the command line when starting game servers */
- CommandLineTemplate?: string;
- /** developer comment(s) for this build */
- Comment?: string;
- /** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
- CustomTags?: { [key: string]: string | null };
- /** path to the game server executable. Defaults to gameserver.exe */
- ExecutablePath?: string;
- /** maximum number of game server instances that can run on a single host machine */
- MaxGamesPerHost: number;
- /**
- * minimum capacity of additional game server instances that can be started before the autoscaling service starts new host
- * machines (given the number of current running host machines and game server instances)
- */
- MinFreeGameSlots: number;
- /** new timestamp */
- Timestamp?: string;
-
- }
-
- export interface ModifyServerBuildResult extends PlayFabModule.IPlayFabResultCommon {
- /** array of regions where this build can used, when it is active */
- ActiveRegions?: string[];
- /** unique identifier for this build executable */
- BuildId?: string;
- /** appended to the end of the command line when starting game servers */
- CommandLineTemplate?: string;
- /** developer comment(s) for this build */
- Comment?: string;
- /** path to the game server executable. Defaults to gameserver.exe */
- ExecutablePath?: string;
- /** maximum number of game server instances that can run on a single host machine */
- MaxGamesPerHost: number;
- /**
- * minimum capacity of additional game server instances that can be started before the autoscaling service starts new host
- * machines (given the number of current running host machines and game server instances)
- */
- MinFreeGameSlots: number;
- /** the current status of the build validation and processing steps */
- Status?: string;
- /** time this build was last modified (or uploaded, if this build has never been modified) */
- Timestamp: string;
- /**
- * Unique identifier for the title, found in the Settings > Game Properties section of the PlayFab developer site when a
- * title has been selected.
- */
- TitleId?: string;
-
- }
-
export interface ModifyUserVirtualCurrencyResult extends PlayFabModule.IPlayFabResultCommon {
/** Balance of the virtual currency after modification. */
Balance: number;
@@ -3538,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;
@@ -3547,8 +3952,12 @@ declare module PlayFabAdminModels {
ConnectionId?: string;
/** Shows if data about the connection will be loaded from the issuer's discovery document */
DiscoverConfiguration: boolean;
+ /** Ignore 'nonce' claim in identity tokens. */
+ IgnoreNonce?: boolean;
/** Information for an OpenID Connect provider. */
IssuerInformation?: OpenIdIssuerInformation;
+ /** Override the issuer name for user indexing and lookup. */
+ IssuerOverride?: string;
}
@@ -3565,15 +3974,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
@@ -3607,80 +4019,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;
- /** 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[];
@@ -3770,18 +4108,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;
@@ -3814,18 +4140,37 @@ declare module PlayFabAdminModels {
}
- type PushNotificationPlatform = "ApplePushNotificationService"
+ 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;
- | "GoogleCloudMessaging";
+ }
- export interface PushNotificationRegistration {
- /** Notification configured endpoint */
- NotificationEndpointARN?: string;
- /** Push notification platform */
- Platform?: string;
+ export interface PushNotificationContent {
+ /** Text of message to send. */
+ Message?: string;
+ /** Id of the push notification template. */
+ PushNotificationTemplateId?: string;
+ /** Subject of message to send (may not be displayed in all platforms) */
+ Subject?: string;
}
+ type PushNotificationPlatform = "ApplePushNotificationService"
+
+ | "GoogleCloudMessaging";
+
export interface PushNotificationRegistrationModel {
/** Notification configured endpoint */
NotificationEndpointARN?: string;
@@ -3889,15 +4234,6 @@ declare module PlayFabAdminModels {
}
- type Region = "USCentral"
-
- | "USEast"
- | "EUWest"
- | "Singapore"
- | "Japan"
- | "Brazil"
- | "Australia";
-
export interface RemovePlayerTagRequest extends PlayFabModule.IPlayFabRequestCommon {
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
CustomTags?: { [key: string]: string | null };
@@ -4138,6 +4474,14 @@ declare module PlayFabAdminModels {
AllPlayersFilter?: AllPlayersSegmentFilter;
/** Filter property for player churn risk level. */
ChurnPredictionFilter?: ChurnPredictionSegmentFilter;
+ /** Filter property for boolean custom properties. */
+ CustomPropertyBooleanFilter?: CustomPropertyBooleanSegmentFilter;
+ /** Filter property for datetime custom properties. */
+ CustomPropertyDateTimeFilter?: CustomPropertyDateTimeSegmentFilter;
+ /** Filter property for numeric custom properties. */
+ CustomPropertyNumericFilter?: CustomPropertyNumericSegmentFilter;
+ /** Filter property for string custom properties. */
+ CustomPropertyStringFilter?: CustomPropertyStringSegmentFilter;
/** Filter property for first login date. */
FirstLoginDateFilter?: FirstLoginDateSegmentFilter;
/** Filter property for first login timespan. */
@@ -4622,7 +4966,8 @@ declare module PlayFabAdminModels {
| "FacebookInstantGames"
| "OpenIdConnect"
| "Apple"
- | "NintendoSwitchAccount";
+ | "NintendoSwitchAccount"
+ | "GooglePlayGames";
export interface SegmentModel {
/** Segment description. */
@@ -4653,8 +4998,12 @@ declare module PlayFabAdminModels {
| "GoogleCloudMessaging";
export interface SegmentTrigger {
+ /** Add inventory item v2 segment trigger action. */
+ AddInventoryItemsV2Action?: AddInventoryItemsV2SegmentAction;
/** Ban player segment trigger action. */
BanPlayerAction?: BanPlayerSegmentAction;
+ /** Delete inventory item v2 segment trigger action. */
+ DeleteInventoryItemsV2Action?: DeleteInventoryItemsV2SegmentAction;
/** Delete player segment trigger action. */
DeletePlayerAction?: DeletePlayerSegmentAction;
/** Delete player statistic segment trigger action. */
@@ -4673,6 +5022,8 @@ declare module PlayFabAdminModels {
IncrementPlayerStatisticAction?: IncrementPlayerStatisticSegmentAction;
/** Push notification segment trigger action. */
PushNotificationAction?: PushNotificationSegmentAction;
+ /** Subtract inventory item v2 segment trigger action. */
+ SubtractInventoryItemsV2Action?: SubtractInventoryItemsV2SegmentAction;
}
@@ -4690,6 +5041,12 @@ declare module PlayFabAdminModels {
}
+ export interface SendEmailContent {
+ /** The email template id of the email template to send. */
+ EmailTemplateId: string;
+
+ }
+
export interface SetMembershipOverrideRequest extends PlayFabModule.IPlayFabRequestCommon {
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
CustomTags?: { [key: string]: string | null };
@@ -4707,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;
@@ -4928,6 +5285,34 @@ declare module PlayFabAdminModels {
| "FreeTrial"
| "PaymentPending";
+ export interface SubtractInventoryItemsV2SegmentAction {
+ /** Amount of the item to removed from the player */
+ Amount?: number;
+ /** The collection id for where the item will be removed from the player inventory */
+ CollectionId?: string;
+ /** The duration in seconds to be removed from the subscription in the players inventory */
+ DurationInSeconds?: number;
+ /** The id of item to be removed from the player */
+ ItemId?: string;
+ /** The stack id for where the item will be removed from the player inventory */
+ StackId?: string;
+
+ }
+
+ export interface SubtractInventoryItemV2Content {
+ /** Amount of the item to removed from the player */
+ Amount?: number;
+ /** The collection id for where the item will be removed from the player inventory */
+ CollectionId?: string;
+ /** The duration in seconds to be removed from the subscription in the players inventory */
+ DurationInSeconds?: number;
+ /** The id of item to be removed from the player */
+ ItemId?: string;
+ /** The stack id for where the item will be removed from the player inventory */
+ StackId?: string;
+
+ }
+
export interface SubtractUserVirtualCurrencyRequest extends PlayFabModule.IPlayFabRequestCommon {
/** Amount to be subtracted from the user balance of the specified virtual currency. */
Amount: number;
@@ -5025,6 +5410,8 @@ declare module PlayFabAdminModels {
Permanent?: boolean;
/** The updated reason for the ban to be updated. Maximum 140 characters. Null for no change. */
Reason?: string;
+ /** The updated family type of the user that should be included in the ban. Null for no change. */
+ UserFamilyType?: string;
}
@@ -5089,10 +5476,40 @@ declare module PlayFabAdminModels {
ClientSecret?: string;
/** A name for the connection that identifies it within the title. */
ConnectionId: string;
+ /** Ignore 'nonce' claim in identity tokens. */
+ IgnoreNonce?: boolean;
/** The issuer URL or discovery document URL to read issuer information from */
IssuerDiscoveryUrl?: string;
/** Manually specified information for an OpenID Connect issuer. */
IssuerInformation?: OpenIdIssuerInformation;
+ /** Override the issuer name for user indexing and lookup. */
+ IssuerOverride?: string;
+
+ }
+
+ export interface UpdatePlayerCustomPropertiesRequest extends PlayFabModule.IPlayFabRequestCommon {
+ /** 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. One can ensure that the update operation will only be performed if the
+ * player's properties have not been updated by any other clients since last the version.
+ */
+ ExpectedPropertiesVersion?: number;
+ /** Unique PlayFab assigned ID of the user on whom the operation will be performed. */
+ PlayFabId: string;
+ /** Collection of properties to be set for a player. */
+ Properties: UpdateProperty[];
+
+ }
+
+ export interface UpdatePlayerCustomPropertiesResult extends PlayFabModule.IPlayFabResultCommon {
+ /** PlayFab unique identifier of the user whose properties were updated. */
+ PlayFabId?: string;
+ /**
+ * Indicates the current version of a player's properties that have been set. This is incremented after updates and
+ * deletes. This version can be provided in update and delete calls for concurrency control.
+ */
+ PropertiesVersion: number;
}
@@ -5132,8 +5549,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. */
@@ -5146,6 +5566,19 @@ 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[];
+
+ }
+
+ export interface UpdateProperty {
+ /** Name of the custom property. Can contain Unicode letters and digits. They are limited in size. */
+ Name: string;
+ /** Value of the custom property. Limited to booleans, numbers, and strings. */
+ Value: any;
}
@@ -5286,6 +5719,8 @@ declare module PlayFabAdminModels {
AndroidDeviceInfo?: UserAndroidDeviceInfo;
/** Sign in with Apple account information, if an Apple account has been linked */
AppleAccountInfo?: UserAppleIdInfo;
+ /** Battle.net account information, if a Battle.net account has been linked */
+ BattleNetAccountInfo?: UserBattleNetInfo;
/** Timestamp indicating when the user account was created */
Created: string;
/** Custom ID information, if a custom ID has been assigned */
@@ -5316,6 +5751,8 @@ declare module PlayFabAdminModels {
PrivateInfo?: UserPrivateAccountInfo;
/** User PlayStation :tm: Network account information, if a PlayStation :tm: Network account has been linked */
PsnInfo?: UserPsnInfo;
+ /** Server Custom ID information, if a server custom ID has been assigned */
+ ServerCustomIdInfo?: UserServerCustomIdInfo;
/** User Steam information, if a Steam account has been linked */
SteamInfo?: UserSteamInfo;
/** Title-specific information for the user account */
@@ -5341,6 +5778,14 @@ declare module PlayFabAdminModels {
}
+ export interface UserBattleNetInfo {
+ /** Battle.net identifier */
+ BattleNetAccountId?: string;
+ /** Battle.net display name */
+ BattleNetBattleTag?: string;
+
+ }
+
export interface UserCustomIdInfo {
/** Custom ID */
CustomId?: string;
@@ -5378,6 +5823,11 @@ declare module PlayFabAdminModels {
}
+ type UserFamilyType = "None"
+
+ | "Xbox"
+ | "Steam";
+
export interface UserGameCenterInfo {
/** Gamecenter identifier */
GameCenterId?: string;
@@ -5468,7 +5918,10 @@ declare module PlayFabAdminModels {
| "OpenIdConnect"
| "Apple"
| "NintendoSwitchAccount"
- | "GooglePlayGames";
+ | "GooglePlayGames"
+ | "XboxMobileStore"
+ | "King"
+ | "BattleNet";
export interface UserOriginationSegmentFilter {
/** User login provider. */
@@ -5490,6 +5943,12 @@ declare module PlayFabAdminModels {
}
+ export interface UserServerCustomIdInfo {
+ /** Custom ID */
+ CustomId?: string;
+
+ }
+
export interface UserSteamInfo {
/** what stage of game ownership the user is listed as being in, from Steam */
SteamActivationStatus?: string;
@@ -5546,6 +6005,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/PlayFabAuthenticationApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts
index 37464940..58381549 100644
--- a/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts
+++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabAuthenticationApi.d.ts
@@ -116,7 +116,14 @@ declare module PlayFabAuthenticationModels {
type IdentifiedDeviceType = "Unknown"
| "XboxOne"
- | "Scarlett";
+ | "Scarlett"
+ | "WindowsOneCore"
+ | "WindowsOneCoreMobile"
+ | "Win32"
+ | "android"
+ | "iOS"
+ | "PlayStation"
+ | "Nintendo";
type LoginIdentityProvider = "Unknown"
@@ -140,7 +147,10 @@ declare module PlayFabAuthenticationModels {
| "OpenIdConnect"
| "Apple"
| "NintendoSwitchAccount"
- | "GooglePlayGames";
+ | "GooglePlayGames"
+ | "XboxMobileStore"
+ | "King"
+ | "BattleNet";
export interface ValidateEntityTokenRequest extends PlayFabModule.IPlayFabRequestCommon {
/** The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.). */
diff --git a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts
index 9543ba48..3819a54d 100644
--- a/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts
+++ b/PlayFabSdk/src/Typings/PlayFab/PlayFabClientApi.d.ts
@@ -45,7 +45,8 @@ declare module PlayFabClientModule {
*/
AddUsernamePassword(request: PlayFabClientModels.AddUsernamePasswordRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Increments the user's balance of the specified virtual currency by the stated amount
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Increments the user's balance of the specified virtual currency by the stated amount
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/adduservirtualcurrency
*/
AddUserVirtualCurrency(request: PlayFabClientModels.AddUserVirtualCurrencyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -67,13 +68,16 @@ declare module PlayFabClientModule {
*/
CancelTrade(request: PlayFabClientModels.CancelTradeRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Confirms with the payment provider that the purchase was approved (if applicable) and adjusts inventory and virtual
- * currency balances as appropriate
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Confirms with the payment provider that the purchase was approved (if applicable) and adjusts inventory and
+ * virtual currency balances as appropriate
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/confirmpurchase
*/
ConfirmPurchase(request: PlayFabClientModels.ConfirmPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's inventory.
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Consume uses of a consumable item. When all uses are consumed, it will be removed from the player's
+ * inventory.
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/consumeitem
*/
ConsumeItem(request: PlayFabClientModels.ConsumeItemRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -107,6 +111,11 @@ declare module PlayFabClientModule {
* https://docs.microsoft.com/rest/api/playfab/client/shared-group-data/createsharedgroup
*/
CreateSharedGroup(request: PlayFabClientModels.CreateSharedGroupRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Deletes title-specific custom properties for a player
+ * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/deleteplayercustomproperties
+ */
+ DeletePlayerCustomProperties(request: PlayFabClientModels.DeletePlayerCustomPropertiesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. The
* PlayFab ID is the entity ID of the player's master_player_account entity.
@@ -130,7 +139,8 @@ declare module PlayFabClientModule {
*/
GetAllUsersCharacters(request: PlayFabClientModels.ListUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Retrieves the specified version of the title's catalog of virtual goods, including all defined properties
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Retrieves the specified version of the title's catalog of virtual goods, including all defined properties
* https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/getcatalogitems
*/
GetCatalogItems(request: PlayFabClientModels.GetCatalogItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -140,7 +150,8 @@ declare module PlayFabClientModule {
*/
GetCharacterData(request: PlayFabClientModels.GetCharacterDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Retrieves the specified character's current inventory of virtual goods
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Retrieves the specified character's current inventory of virtual goods
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/getcharacterinventory
*/
GetCharacterInventory(request: PlayFabClientModels.GetCharacterInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -169,11 +180,6 @@ declare module PlayFabClientModule {
* https://docs.microsoft.com/rest/api/playfab/client/content/getcontentdownloadurl
*/
GetContentDownloadUrl(request: PlayFabClientModels.GetContentDownloadUrlRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
- /**
- * Get details about all current running game servers matching the given parameters.
- * https://docs.microsoft.com/rest/api/playfab/client/matchmaking/getcurrentgames
- */
- GetCurrentGames(request: PlayFabClientModels.CurrentGamesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves a list of ranked friends of the current player for the given statistic, starting from the indicated point in
* the leaderboard
@@ -192,11 +198,6 @@ declare module PlayFabClientModule {
* https://docs.microsoft.com/rest/api/playfab/client/friend-list-management/getfriendslist
*/
GetFriendsList(request: PlayFabClientModels.GetFriendsListRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
- /**
- * Get details about the regions hosting game servers matching the given parameters.
- * https://docs.microsoft.com/rest/api/playfab/client/matchmaking/getgameserverregions
- */
- GetGameServerRegions(request: PlayFabClientModels.GameServerRegionsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves a list of ranked users for the given statistic, starting from the indicated point in the leaderboard
* https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getleaderboard
@@ -219,9 +220,10 @@ declare module PlayFabClientModule {
*/
GetLeaderboardForUserCharacters(request: PlayFabClientModels.GetLeaderboardForUsersCharactersRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * For payments flows where the provider requires playfab (the fulfiller) to initiate the transaction, but the client
- * completes the rest of the flow. In the Xsolla case, the token returned here will be passed to Xsolla by the client to
- * create a cart. Poll GetPurchase using the returned OrderId once you've completed the payment.
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ For payments flows where the provider requires playfab (the fulfiller) to initiate the transaction, but the
+ * client completes the rest of the flow. In the Xsolla case, the token returned here will be passed to Xsolla by the
+ * client to create a cart. Poll GetPurchase using the returned OrderId once you've completed the payment.
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/getpaymenttoken
*/
GetPaymentToken(request: PlayFabClientModels.GetPaymentTokenRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -236,6 +238,11 @@ declare module PlayFabClientModule {
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayercombinedinfo
*/
GetPlayerCombinedInfo(request: PlayFabClientModels.GetPlayerCombinedInfoRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Retrieves a title-specific custom property value for a player.
+ * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/getplayercustomproperty
+ */
+ GetPlayerCustomProperty(request: PlayFabClientModels.GetPlayerCustomPropertyRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves the player's profile
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayerprofile
@@ -267,6 +274,11 @@ declare module PlayFabClientModule {
* https://docs.microsoft.com/rest/api/playfab/client/trading/getplayertrades
*/
GetPlayerTrades(request: PlayFabClientModels.GetPlayerTradesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Retrieves the unique PlayFab identifiers for the given set of Battle.net account identifiers.
+ * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfrombattlenetaccountids
+ */
+ GetPlayFabIDsFromBattleNetAccountIds(request: PlayFabClientModels.GetPlayFabIDsFromBattleNetAccountIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves the unique PlayFab identifiers for the given set of Facebook identifiers.
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromfacebookids
@@ -320,17 +332,35 @@ declare module PlayFabClientModule {
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromnintendoswitchdeviceids
*/
GetPlayFabIDsFromNintendoSwitchDeviceIds(request: PlayFabClientModels.GetPlayFabIDsFromNintendoSwitchDeviceIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Retrieves the unique PlayFab identifiers for the given set of OpenId subject identifiers. A OpenId identifier is the
+ * service name plus the service-specific ID for the player, as specified by the title when the OpenId identifier was added
+ * to the player account.
+ * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromopenidsubjectidentifiers
+ */
+ GetPlayFabIDsFromOpenIdSubjectIdentifiers(request: PlayFabClientModels.GetPlayFabIDsFromOpenIdsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves the unique PlayFab identifiers for the given set of PlayStation :tm: Network identifiers.
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfrompsnaccountids
*/
GetPlayFabIDsFromPSNAccountIDs(request: PlayFabClientModels.GetPlayFabIDsFromPSNAccountIDsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Retrieves the unique PlayFab identifiers for the given set of PlayStation :tm: Network identifiers.
+ * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfrompsnonlineids
+ */
+ GetPlayFabIDsFromPSNOnlineIDs(request: PlayFabClientModels.GetPlayFabIDsFromPSNOnlineIDsRequest, 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.
* https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromsteamids
*/
GetPlayFabIDsFromSteamIDs(request: PlayFabClientModels.GetPlayFabIDsFromSteamIDsRequest, 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 persona
+ * names.
+ * https://docs.microsoft.com/rest/api/playfab/client/account-management/getplayfabidsfromsteamnames
+ */
+ GetPlayFabIDsFromSteamNames(request: PlayFabClientModels.GetPlayFabIDsFromSteamNamesRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Retrieves the unique PlayFab identifiers for the given set of Twitch identifiers. The Twitch identifiers are the IDs for
* the user accounts, available as "_id" from the Twitch API methods (ex:
@@ -349,8 +379,9 @@ declare module PlayFabClientModule {
*/
GetPublisherData(request: PlayFabClientModels.GetPublisherDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Retrieves a purchase along with its current PlayFab status. Returns inventory items from the purchase that are still
- * active.
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Retrieves a purchase along with its current PlayFab status. Returns inventory items from the purchase that
+ * are still active.
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/getpurchase
*/
GetPurchase(request: PlayFabClientModels.GetPurchaseRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -363,7 +394,8 @@ declare module PlayFabClientModule {
*/
GetSharedGroupData(request: PlayFabClientModels.GetSharedGroupDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Retrieves the set of items defined for the specified store, including all prices defined
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Retrieves the set of items defined for the specified store, including all prices defined
* https://docs.microsoft.com/rest/api/playfab/client/title-wide-data-management/getstoreitems
*/
GetStoreItems(request: PlayFabClientModels.GetStoreItemsRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -398,7 +430,8 @@ declare module PlayFabClientModule {
*/
GetUserData(request: PlayFabClientModels.GetUserDataRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
- * Retrieves the user's current inventory of virtual goods
+ * _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for
+ * version 2._ Retrieves the user's current inventory of virtual goods
* https://docs.microsoft.com/rest/api/playfab/client/player-item-management/getuserinventory
*/
GetUserInventory(request: PlayFabClientModels.GetUserInventoryRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
@@ -433,6 +466,11 @@ declare module PlayFabClientModule {
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linkapple
*/
LinkApple(request: PlayFabClientModels.LinkAppleRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Links the Battle.net account associated with the token to the user's PlayFab account.
+ * https://docs.microsoft.com/rest/api/playfab/client/account-management/linkbattlenetaccount
+ */
+ LinkBattleNetAccount(request: PlayFabClientModels.LinkBattleNetAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
/**
* Links the custom identifier, generated by the title, to the user's PlayFab account
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linkcustomid
@@ -513,6 +551,11 @@ declare module PlayFabClientModule {
* https://docs.microsoft.com/rest/api/playfab/client/account-management/linkxboxaccount
*/
LinkXboxAccount(request: PlayFabClientModels.LinkXboxAccountRequest, callback: PlayFabModule.ApiCallback, customData?: any, extraHeaders?: { [key: string]: string }): Promise>;
+ /**
+ * Retrieves title-specific custom property values for a player.
+ * https://docs.microsoft.com/rest/api/playfab/client/player-data-management/listplayercustomproperties
+ */
+ ListPlayerCustomProperties(request: PlayFabClientModels.ListPlayerCustomPropertiesRequest, callback: PlayFabModule.ApiCallback